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 71 vtkSetMacro(DisplacementScale,
double);
72 vtkGetMacro(DisplacementScale,
double);
81 vtkSetMacro(DisplacementShift,
double);
82 vtkGetMacro(DisplacementShift,
double);
91 void SetInterpolationMode(
int mode);
92 vtkGetMacro(InterpolationMode,
int);
99 const char *GetInterpolationModeAsString();
135 float derivative[3][3])
override;
137 double derivative[3][3])
override;
143 float derivative[3][3])
override;
145 double derivative[3][3])
override;
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";
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
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
#define VTK_NEAREST_INTERPOLATION