MCPcopy Create free account
hub / github.com/Kitware/VTK / GetMTime

Method GetMTime

Rendering/Core/vtkDiscretizableColorTransferFunction.cxx:54–69  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

52
53//------------------------------------------------------------------------------
54vtkMTimeType vtkDiscretizableColorTransferFunction::GetMTime()
55{
56 vtkMTimeType mtime = this->Superclass::GetMTime();
57 if (this->ScalarOpacityFunction)
58 {
59 vtkMTimeType somtime = this->ScalarOpacityFunction->GetMTime();
60 mtime = somtime > mtime ? somtime : mtime;
61 }
62 if (this->LookupTable)
63 {
64 vtkMTimeType ltmtime = this->LookupTable->GetMTime();
65 mtime = ltmtime > mtime ? ltmtime : mtime;
66 }
67
68 return mtime;
69}
70
71//------------------------------------------------------------------------------
72void vtkDiscretizableColorTransferFunction::SetNumberOfIndexedColors(unsigned int count)

Callers 1

BuildMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected