21 #ifndef __vtkOrientedImageData_h 22 #define __vtkOrientedImageData_h 25 #include "vtkSegmentationCoreConfigure.h" 27 #include "vtkImageData.h" 41 virtual void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
44 virtual void ShallowCopy(vtkDataObject *src) VTK_OVERRIDE;
46 virtual void DeepCopy(vtkDataObject *src) VTK_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 void GetDirectionMatrix(vtkMatrix4x4* mat);
69 void SetDirectionMatrix(vtkMatrix4x4* mat);
72 void GetImageToWorldMatrix(vtkMatrix4x4* mat);
74 void SetImageToWorldMatrix(vtkMatrix4x4* mat);
76 void SetGeometryFromImageToWorldMatrix(vtkMatrix4x4* mat);
79 virtual void ComputeBounds() VTK_OVERRIDE;
82 void GetWorldToImageMatrix(vtkMatrix4x4* mat);
89 ~vtkOrientedImageData();
94 double Directions[3][3];
97 vtkOrientedImageData(const vtkOrientedImageData&);
98 void operator=(const vtkOrientedImageData&);
Image data containing orientation information.