21 #ifndef __vtkOrientedImageData_h 22 #define __vtkOrientedImageData_h 25 #include "vtkSegmentationCoreConfigure.h" 27 #include "vtkImageData.h" 41 void PrintSelf(ostream& os, vtkIndent indent)
override;
44 void ShallowCopy(vtkDataObject *src)
override;
46 void DeepCopy(vtkDataObject *src)
override;
48 virtual void CopyDirections(vtkDataObject *src);
52 void SetDirections(
double dirs[3][3]);
54 void SetDirections(
double ir,
double ia,
double is,
55 double jr,
double ja,
double js,
56 double kr,
double ka,
double ks);
58 void GetDirections(
double dirs[3][3]);
61 double GetMinSpacing();
64 double GetMaxSpacing();
67 #if VTK_MAJOR_VERSION >= 9 || (VTK_MAJOR_VERSION >= 8 && VTK_MINOR_VERSION > 2) 68 using vtkImageData::GetDirectionMatrix;
70 void GetDirectionMatrix(vtkMatrix4x4* mat);
73 #if VTK_MAJOR_VERSION >= 9 || (VTK_MAJOR_VERSION >= 8 && VTK_MINOR_VERSION > 2) 74 using vtkImageData::SetDirectionMatrix;
76 void SetDirectionMatrix(vtkMatrix4x4* mat);
79 void GetImageToWorldMatrix(vtkMatrix4x4* mat);
81 void SetImageToWorldMatrix(vtkMatrix4x4* mat);
83 void SetGeometryFromImageToWorldMatrix(vtkMatrix4x4* mat);
86 void ComputeBounds()
override;
89 void GetWorldToImageMatrix(vtkMatrix4x4* mat);
101 double Directions[3][3];
Image data containing orientation information.