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

Method GetMeshMTime

Common/DataModel/vtkPolyData.cxx:2076–2098  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2074
2075//------------------------------------------------------------------------------
2076vtkMTimeType vtkPolyData::GetMeshMTime()
2077{
2078 vtkMTimeType time = this->Points ? this->Points->GetMTime() : 0;
2079 if (this->Verts)
2080 {
2081 time = vtkMath::Max(this->Verts->GetMTime(), time);
2082 }
2083 if (this->Lines)
2084 {
2085 time = vtkMath::Max(this->Lines->GetMTime(), time);
2086 }
2087 if (this->Polys)
2088 {
2089 time = vtkMath::Max(this->Polys->GetMTime(), time);
2090 }
2091 if (this->Strips)
2092 {
2093 time = vtkMath::Max(this->Strips->GetMTime(), time);
2094 }
2095 time = vtkMath::Max(this->GetGhostCellsTime(), time);
2096
2097 return time;
2098}
2099
2100//------------------------------------------------------------------------------
2101vtkMTimeType vtkPolyData::GetMTime()

Callers 1

ComputeCellsBoundsMethod · 0.95

Calls 3

GetGhostCellsTimeMethod · 0.80
MaxFunction · 0.70
GetMTimeMethod · 0.45

Tested by

no test coverage detected