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

Method GetMTime

Common/Transforms/vtkTransform.cxx:287–305  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

285
286//------------------------------------------------------------------------------
287vtkMTimeType vtkTransform::GetMTime()
288{
289 vtkMTimeType mtime = this->vtkLinearTransform::GetMTime();
290 vtkMTimeType mtime2;
291
292 // checking the matrix MTime is part of the legacy hack in InternalUpdate
293 if ((mtime2 = this->Matrix->GetMTime()) > this->MatrixUpdateMTime)
294 {
295 mtime = std::max(mtime2, mtime);
296 }
297
298 if (this->Input)
299 {
300 mtime2 = this->Input->GetMTime();
301 mtime = std::max(mtime2, mtime);
302 }
303 mtime2 = this->Concatenation->GetMaxMTime();
304 return std::max(mtime2, mtime);
305}
306
307//------------------------------------------------------------------------------
308// Get the x, y, z orientation angles from the transformation matrix as an

Callers 5

vtkTransformMethod · 0.45
IdentityMethod · 0.45
InverseMethod · 0.45
InternalDeepCopyMethod · 0.45
InternalUpdateMethod · 0.45

Calls 2

GetMaxMTimeMethod · 0.80
maxFunction · 0.50

Tested by

no test coverage detected