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

Method GetMTime

Common/DataModel/vtkPointSet.cxx:114–128  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

112
113//------------------------------------------------------------------------------
114vtkMTimeType vtkPointSet::GetMTime()
115{
116 vtkMTimeType dsTime = vtkDataSet::GetMTime();
117
118 if (this->Points)
119 {
120 dsTime = std::max(this->Points->GetMTime(), dsTime);
121 }
122
123 // don't get locator's mtime because its an internal object that cannot be
124 // modified directly from outside. Causes problems due to FindCell()
125 // SetPoints() method.
126
127 return dsTime;
128}
129
130//------------------------------------------------------------------------------
131void vtkPointSet::BuildPointLocator()

Callers 3

ComputeBoundsMethod · 0.45
BuildPointLocatorMethod · 0.45
BuildCellLocatorMethod · 0.45

Calls 2

GetMTimeFunction · 0.85
maxFunction · 0.50

Tested by

no test coverage detected