28 #ifndef vtkGridTransform_h 29 #define vtkGridTransform_h 31 #include "vtkFiltersHybridModule.h" 35 class vtkGridTransformConnectionHolder;
38 #define VTK_GRID_NEAREST VTK_NEAREST_INTERPOLATION 39 #define VTK_GRID_LINEAR VTK_LINEAR_INTERPOLATION 40 #define VTK_GRID_CUBIC VTK_CUBIC_INTERPOLATION 69 vtkGetMacro(DisplacementScale,
double);
79 vtkGetMacro(DisplacementShift,
double);
88 void SetInterpolationMode(
int mode);
89 vtkGetMacro(InterpolationMode,
int);
96 const char *GetInterpolationModeAsString();
116 void InternalUpdate() VTK_OVERRIDE;
127 void ForwardTransformPoint(const
float in[3],
float out[3]) VTK_OVERRIDE;
128 void ForwardTransformPoint(const
double in[3],
double out[3]) VTK_OVERRIDE;
131 void ForwardTransformDerivative(const
float in[3],
float out[3],
132 float derivative[3][3]) VTK_OVERRIDE;
133 void ForwardTransformDerivative(const
double in[3],
double out[3],
134 double derivative[3][3]) VTK_OVERRIDE;
136 void InverseTransformPoint(const
float in[3],
float out[3]) VTK_OVERRIDE;
137 void InverseTransformPoint(const
double in[3],
double out[3]) VTK_OVERRIDE;
139 void InverseTransformDerivative(const
float in[3],
float out[3],
140 float derivative[3][3]) VTK_OVERRIDE;
141 void InverseTransformDerivative(const
double in[3],
double out[3],
142 double derivative[3][3]) VTK_OVERRIDE;
144 void (*InterpolationFunction)(
double point[3],
double displacement[3],
145 double derivatives[3][3],
146 void *gridPtr,
int gridType,
149 int InterpolationMode;
150 double DisplacementScale;
151 double DisplacementShift;
155 double GridSpacing[3];
156 double GridOrigin[3];
164 vtkGridTransformConnectionHolder* ConnectionHolder;
170 switch (this->InterpolationMode)
173 return "NearestNeighbor";
vtkTypeUInt32 vtkMTimeType
#define VTK_LINEAR_INTERPOLATION
#define VTK_CUBIC_INTERPOLATION
Proxy object to connect input/output ports.
a simple class to control print indentation
topologically and geometrically regular array of data
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
#define VTK_NEAREST_INTERPOLATION