31 #ifndef vtkGridTransform_h
32 #define vtkGridTransform_h
34 #include "vtkFiltersHybridModule.h"
38 class vtkGridTransformConnectionHolder;
41 #define VTK_GRID_NEAREST VTK_NEAREST_INTERPOLATION
42 #define VTK_GRID_LINEAR VTK_LINEAR_INTERPOLATION
43 #define VTK_GRID_CUBIC VTK_CUBIC_INTERPOLATION
72 vtkGetMacro(DisplacementScale,
double);
82 vtkGetMacro(DisplacementShift,
double);
91 void SetInterpolationMode(
int mode);
92 vtkGetMacro(InterpolationMode,
int);
99 const char *GetInterpolationModeAsString();
135 float derivative[3][3]);
137 double derivative[3][3]);
143 float derivative[3][3]);
145 double derivative[3][3]);
147 void (*InterpolationFunction)(
double point[3],
double displacement[3],
148 double derivatives[3][3],
149 void *gridPtr,
int gridType,
158 double GridSpacing[3];
159 double GridOrigin[3];
167 vtkGridTransformConnectionHolder* ConnectionHolder;
173 switch (this->InterpolationMode)
176 return "NearestNeighbor";
#define VTK_LINEAR_INTERPOLATION
#define VTK_CUBIC_INTERPOLATION
vtkTypeUInt64 vtkMTimeType
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