43 #ifndef SVK_OBLIQUE_RESLICE_H
44 #define SVK_OBLIQUE_RESLICE_H
47 #include <vtkObject.h>
48 #include <vtkObjectFactory.h>
49 #include <vtkImageReslice.h>
50 #include <vtkMatrix4x4.h>
51 #include <vtkTransform.h>
79 } svkObliqueResliceInput;
83 } svkObliqueResliceOutput;
91 void SetTargetDcos(
double dcos[3][3]);
92 void SetMagnificationFactors(
float x,
float y,
float z);
93 void SetMatchSpacingAndFovOn( );
94 void SetInterpolationMode(
int interpolationMode);
95 svkInt* GetInterpolationMode();
103 virtual int RequestData(
104 vtkInformation* request,
105 vtkInformationVector** inputVector,
106 vtkInformationVector* outputVector
108 virtual int RequestInformation(
109 vtkInformation* request,
110 vtkInformationVector** inputVector,
111 vtkInformationVector* outputVector
119 virtual void UpdateProvenance();
120 virtual void UpdateHeader();
121 bool GetMatchSpacingAndFovOn( );
122 void SetReslicedHeaderSpacing();
123 void SetReslicedHeaderPerFrameFunctionalGroups();
124 void SetReslicedHeaderOrientation();
125 void SetRotationMatrix( );
126 void Print3x3(
double matrix[3][3],
string name);
127 bool IsDcosInitialized();
129 void ComputeTopLeftCorner(
double newTlc[3]);
134 vtkImageReslice* reslicer;
136 double targetDcos[3][3];
137 double newSpacing[3];
139 float magnification[3];
147 #endif //SVK_OBLIQUE_RESLICE_H
Definition: svkImageAlgorithmWithPortMapper.h:73
Definition: svkObliqueReslice.h:76
Definition: svkObliqueReslice.h:69
Definition: svkImageAlgorithm.h:70
Definition: svkObliqueReslice.h:77
Definition: svkImageData.h:107