------------------------------------------------------------------------------
| 285 | |
| 286 | //------------------------------------------------------------------------------ |
| 287 | vtkMTimeType 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 |
no test coverage detected