------------------------------------------------------------------------------
| 1681 | |
| 1682 | //------------------------------------------------------------------------------ |
| 1683 | void vtkImageData::ComputeTransforms() |
| 1684 | { |
| 1685 | this->DirectionMatrixIsIdentity = this->DirectionMatrix->IsIdentity(); |
| 1686 | |
| 1687 | vtkImageData::ComputeIndexToPhysicalMatrix(this->Origin, this->Spacing, |
| 1688 | this->DirectionMatrix->GetData(), this->IndexToPhysicalMatrix->GetData()); |
| 1689 | this->IndexToPhysicalMatrix->Modified(); |
| 1690 | |
| 1691 | vtkImageData::ComputePhysicalToIndexMatrix(this->Origin, this->Spacing, |
| 1692 | this->DirectionMatrix->GetData(), this->PhysicalToIndexMatrix->GetData()); |
| 1693 | this->PhysicalToIndexMatrix->Modified(); |
| 1694 | } |
| 1695 | |
| 1696 | //------------------------------------------------------------------------------ |
| 1697 | void vtkImageData::ComputeIndexToPhysicalMatrix( |
no test coverage detected