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

Method GetMTime

Common/DataModel/vtkFieldData.cxx:804–819  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

802
803//------------------------------------------------------------------------------
804vtkMTimeType vtkFieldData::GetMTime()
805{
806 vtkMTimeType mTime = this->MTime;
807
808 for (int i = 0; i < this->NumberOfActiveArrays; ++i)
809 {
810 vtkAbstractArray* aa = this->Data[i];
811 if (aa)
812 {
813 vtkMTimeType otherMTime = aa->GetMTime();
814 mTime = std::max(otherMTime, mTime);
815 }
816 }
817
818 return mTime;
819}
820
821//------------------------------------------------------------------------------
822void vtkFieldData::CopyFieldOnOff(const char* field, int onOff)

Callers 1

GetRangeImplFunction · 0.45

Calls 1

maxFunction · 0.50

Tested by

no test coverage detected