25 #ifndef vtkWarpTransform_h 26 #define vtkWarpTransform_h 28 #include "vtkCommonTransformsModule.h" 52 vtkGetMacro(InverseFlag,
int);
60 vtkSetMacro(InverseTolerance,
double);
61 vtkGetMacro(InverseTolerance,
double);
72 vtkSetMacro(InverseIterations,
int);
73 vtkGetMacro(InverseIterations,
int);
92 float derivative[3][3])
override;
94 double derivative[3][3])
override;
105 this->ForwardTransformPoint(in,out); };
107 this->ForwardTransformPoint(in,out); };
109 float derivative[3][3]) {
110 this->ForwardTransformDerivative(in,out,derivative); };
112 double derivative[3][3]) {
113 this->ForwardTransformDerivative(in,out,derivative); };
115 this->InverseTransformPoint(in,out); };
117 this->InverseTransformPoint(in,out); };
119 float derivative[3][3]) {
120 this->InverseTransformDerivative(in,out,derivative); };
122 double derivative[3][3]) {
123 this->InverseTransformDerivative(in,out,derivative); };
135 virtual void ForwardTransformPoint(
const float in[3],
float out[3]) = 0;
136 virtual void ForwardTransformPoint(
const double in[3],
double out[3]) = 0;
143 virtual void ForwardTransformDerivative(
const float in[3],
float out[3],
144 float derivative[3][3]) = 0;
145 virtual void ForwardTransformDerivative(
const double in[3],
double out[3],
146 double derivative[3][3]) = 0;
155 virtual void InverseTransformPoint(
const float in[3],
float out[3]);
156 virtual void InverseTransformPoint(
const double in[3],
double out[3]);
165 virtual void InverseTransformDerivative(
const float in[3],
float out[3],
166 float derivative[3][3]);
167 virtual void InverseTransformDerivative(
const double in[3],
double out[3],
168 double derivative[3][3]);
a simple class to control print indentation