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

Method GetMTime

Common/DataModel/vtkPolyData.cxx:2101–2121  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2099
2100//------------------------------------------------------------------------------
2101vtkMTimeType vtkPolyData::GetMTime()
2102{
2103 vtkMTimeType time = this->Superclass::GetMTime();
2104 if (this->Verts)
2105 {
2106 time = vtkMath::Max(this->Verts->GetMTime(), time);
2107 }
2108 if (this->Lines)
2109 {
2110 time = vtkMath::Max(this->Lines->GetMTime(), time);
2111 }
2112 if (this->Polys)
2113 {
2114 time = vtkMath::Max(this->Polys->GetMTime(), time);
2115 }
2116 if (this->Strips)
2117 {
2118 time = vtkMath::Max(this->Strips->GetMTime(), time);
2119 }
2120 return time;
2121}
2122VTK_ABI_NAMESPACE_END

Callers 3

BuildLinksMethod · 0.45
PrintSelfMethod · 0.45
GetMeshMTimeMethod · 0.45

Calls 1

MaxFunction · 0.70

Tested by

no test coverage detected