27 #ifndef vtkTransformToGrid_h
28 #define vtkTransformToGrid_h
30 #include "vtkFiltersHybridModule.h"
55 vtkSetVector6Macro(GridExtent,
int);
56 vtkGetVector6Macro(GridExtent,
int);
63 vtkSetVector3Macro(GridOrigin,
double);
64 vtkGetVector3Macro(GridOrigin,
double);
71 vtkSetVector3Macro(GridSpacing,
double);
72 vtkGetVector3Macro(GridSpacing,
double);
80 vtkGetMacro(GridScalarType,
int);
89 {this->SetGridScalarType(
VTK_CHAR);};
99 this->UpdateShiftScale();
return this->DisplacementScale; };
101 this->UpdateShiftScale();
return this->DisplacementShift; };
118 ~vtkTransformToGrid() VTK_OVERRIDE;
123 void RequestData(vtkInformation *,
124 vtkInformationVector **, vtkInformationVector *);
130 void UpdateShiftScale();
138 double GridOrigin[3];
139 double GridSpacing[3];
141 double DisplacementScale;
142 double DisplacementShift;
146 int FillOutputPortInformation(
int port, vtkInformation*
info) VTK_OVERRIDE;
149 vtkTransformToGrid(const vtkTransformToGrid&) VTK_DELETE_FUNCTION;
150 void operator=(const vtkTransformToGrid&) VTK_DELETE_FUNCTION;
vtkTypeUInt32 vtkMTimeType
#define VTK_UNSIGNED_SHORT
record modification and/or execution time
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
Upstream/Downstream requests form the generalized interface through which executives invoke a algorit...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Superclass for all sources, filters, and sinks in VTK.
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.
#define VTK_UNSIGNED_CHAR
static vtkAlgorithm * New()