24 #ifndef vtkWarpTransform_h
25 #define vtkWarpTransform_h
47 vtkGetMacro(InverseFlag,
int);
52 vtkSetMacro(InverseTolerance,
double);
53 vtkGetMacro(InverseTolerance,
double);
61 vtkSetMacro(InverseIterations,
int);
62 vtkGetMacro(InverseIterations,
int);
76 float derivative[3][3]);
78 double derivative[3][3]);
87 this->ForwardTransformPoint(in,out); };
89 this->ForwardTransformPoint(in,out); };
91 float derivative[3][3]) {
92 this->ForwardTransformDerivative(in,out,derivative); };
94 double derivative[3][3]) {
95 this->ForwardTransformDerivative(in,out,derivative); };
97 this->InverseTransformPoint(in,out); };
99 this->InverseTransformPoint(in,out); };
101 float derivative[3][3]) {
102 this->InverseTransformDerivative(in,out,derivative); };
104 double derivative[3][3]) {
105 this->InverseTransformDerivative(in,out,derivative); };
115 virtual void ForwardTransformPoint(
const float in[3],
float out[3]) = 0;
116 virtual void ForwardTransformPoint(
const double in[3],
double out[3]) = 0;
121 virtual void ForwardTransformDerivative(
const float in[3],
float out[3],
122 float derivative[3][3]) = 0;
123 virtual void ForwardTransformDerivative(
const double in[3],
double out[3],
124 double derivative[3][3]) = 0;
131 virtual void InverseTransformPoint(
const float in[3],
float out[3]);
132 virtual void InverseTransformPoint(
const double in[3],
double out[3]);
139 virtual void InverseTransformDerivative(
const float in[3],
float out[3],
140 float derivative[3][3]);
141 virtual void InverseTransformDerivative(
const double in[3],
double out[3],
142 double derivative[3][3]);
a simple class to control print indentation