------------------------------------------------------------------------------
| 542 | |
| 543 | //------------------------------------------------------------------------------ |
| 544 | void vtkCamera::ComputeModelViewMatrix() |
| 545 | { |
| 546 | if (this->ModelViewTransform->GetMTime() < this->ModelTransformMatrix->GetMTime() || |
| 547 | this->ModelViewTransform->GetMTime() < this->ViewTransform->GetMTime() || |
| 548 | (this->UseOffAxisProjection && |
| 549 | this->ModelViewTransform->GetMTime() < this->EyeTransformMatrix->GetMTime())) |
| 550 | { |
| 551 | if (this->UseOffAxisProjection) |
| 552 | { |
| 553 | this->ComputeViewTransform(); |
| 554 | } |
| 555 | vtkMatrix4x4::Multiply4x4(this->ViewTransform->GetMatrix(), this->ModelTransformMatrix, |
| 556 | this->ModelViewTransform->GetMatrix()); |
| 557 | } |
| 558 | } |
| 559 | |
| 560 | //------------------------------------------------------------------------------ |
| 561 | void vtkCamera::OrthogonalizeViewUp() |
no test coverage detected