------------------------------------------------------------------------------
| 1820 | |
| 1821 | //------------------------------------------------------------------------------ |
| 1822 | void vtkImageData::ApplyPhysicalToIndexMatrix(vtkMatrix4x4* sourcePhysicalToIndexMatrix) |
| 1823 | { |
| 1824 | if (sourcePhysicalToIndexMatrix == nullptr) |
| 1825 | { |
| 1826 | vtkErrorMacro("Source PhysicalToIndexMatrix matrix is null"); |
| 1827 | return; |
| 1828 | } |
| 1829 | vtkNew<vtkMatrix4x4> indexToPhysicalMatrix; |
| 1830 | vtkMatrix4x4::Invert(sourcePhysicalToIndexMatrix, indexToPhysicalMatrix); |
| 1831 | this->ApplyIndexToPhysicalMatrix(indexToPhysicalMatrix); |
| 1832 | } |
| 1833 | |
| 1834 | //------------------------------------------------------------------------------ |
| 1835 | // Override this method because of blanking |