#include <vtkTransformToGrid.h>
Inheritance diagram for vtkTransformToGrid:
vtkTransformToGrid takes any transform as input and produces a grid for use by a vtkGridTransform. This can be used, for example, to invert a grid transform, concatenate two grid transforms, or to convert a thin plate spline transform into a grid transform.
Definition at line 37 of file vtkTransformToGrid.h.
Public Types | |
typedef vtkAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetInput (vtkAbstractTransform *) |
virtual vtkAbstractTransform * | GetInput () |
virtual void | SetGridExtent (int, int, int, int, int, int) |
virtual void | SetGridExtent (int[6]) |
virtual int * | GetGridExtent () |
virtual void | GetGridExtent (int &, int &, int &, int &, int &, int &) |
virtual void | GetGridExtent (int[6]) |
virtual void | SetGridOrigin (double, double, double) |
virtual void | SetGridOrigin (double[3]) |
virtual double * | GetGridOrigin () |
virtual void | GetGridOrigin (double &, double &, double &) |
virtual void | GetGridOrigin (double[3]) |
virtual void | SetGridSpacing (double, double, double) |
virtual void | SetGridSpacing (double[3]) |
virtual double * | GetGridSpacing () |
virtual void | GetGridSpacing (double &, double &, double &) |
virtual void | GetGridSpacing (double[3]) |
virtual void | SetGridScalarType (int) |
virtual int | GetGridScalarType () |
void | SetGridScalarTypeToFloat () |
void | SetGridScalarTypeToShort () |
void | SetGridScalarTypeToUnsignedShort () |
void | SetGridScalarTypeToUnsignedChar () |
void | SetGridScalarTypeToChar () |
double | GetDisplacementScale () |
double | GetDisplacementShift () |
vtkImageData * | GetOutput () |
virtual int | ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Static Public Member Functions | |
static vtkTransformToGrid * | New () |
static int | IsTypeOf (const char *type) |
static vtkTransformToGrid * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkTransformToGrid () | |
~vtkTransformToGrid () | |
void | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | UpdateShiftScale () |
unsigned long | GetMTime () |
virtual int | FillOutputPortInformation (int port, vtkInformation *info) |
Protected Attributes | |
vtkAbstractTransform * | Input |
int | GridScalarType |
int | GridExtent [6] |
double | GridOrigin [3] |
double | GridSpacing [3] |
double | DisplacementScale |
double | DisplacementShift |
vtkTimeStamp | ShiftScaleTime |
|
Reimplemented from vtkAlgorithm. Definition at line 41 of file vtkTransformToGrid.h. |
|
|
|
|
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkAlgorithm. |
|
Reimplemented from vtkAlgorithm. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkAlgorithm. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkAlgorithm. |
|
Reimplemented from vtkAlgorithm. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkAlgorithm. |
|
Set/Get the transform which will be converted into a grid. |
|
|
|
Get/Set the extent of the grid. |
|
Get/Set the extent of the grid. |
|
Get/Set the extent of the grid. |
|
Get/Set the extent of the grid. |
|
Get/Set the extent of the grid. |
|
Get/Set the origin of the grid. |
|
Get/Set the origin of the grid. |
|
Get/Set the origin of the grid. |
|
Get/Set the origin of the grid. |
|
Get/Set the origin of the grid. |
|
Get/Set the spacing between samples in the grid. |
|
Get/Set the spacing between samples in the grid. |
|
Get/Set the spacing between samples in the grid. |
|
Get/Set the spacing between samples in the grid. |
|
Get/Set the spacing between samples in the grid. |
|
Get/Set the scalar type of the grid. The default is double. |
|
Get/Set the scalar type of the grid. The default is double. |
|
Get/Set the scalar type of the grid. The default is double. Definition at line 72 of file vtkTransformToGrid.h. References VTK_DOUBLE. |
|
Get/Set the scalar type of the grid. The default is double. Definition at line 73 of file vtkTransformToGrid.h. References VTK_SHORT. |
|
Get/Set the scalar type of the grid. The default is double. Definition at line 74 of file vtkTransformToGrid.h. References VTK_UNSIGNED_SHORT. |
|
Get/Set the scalar type of the grid. The default is double. Definition at line 76 of file vtkTransformToGrid.h. References VTK_UNSIGNED_CHAR. |
|
Get/Set the scalar type of the grid. The default is double. Definition at line 78 of file vtkTransformToGrid.h. References VTK_CHAR. |
|
Get the scale and shift to convert integer grid elements into real values: dx = scale*di + shift. If the grid is of double type, then scale = 1 and shift = 0. Definition at line 86 of file vtkTransformToGrid.h. |
|
Get the scale and shift to convert integer grid elements into real values: dx = scale*di + shift. If the grid is of double type, then scale = 1 and shift = 0. Definition at line 88 of file vtkTransformToGrid.h. |
|
Get the output data object for a port on this algorithm. |
|
see vtkAlgorithm for details Reimplemented from vtkAlgorithm. |
|
|
|
|
|
Internal method to calculate the shift and scale values which will provide maximum grid precision for a particular integer type. |
|
Return this object's modified time. Reimplemented from vtkObject. |
|
Fill the output port information objects for this algorithm. This is invoked by the first call to GetOutputPortInformation for each port so subclasses can specify what they can handle. Reimplemented from vtkAlgorithm. |
|
Definition at line 118 of file vtkTransformToGrid.h. |
|
Definition at line 120 of file vtkTransformToGrid.h. |
|
Definition at line 121 of file vtkTransformToGrid.h. |
|
Definition at line 122 of file vtkTransformToGrid.h. |
|
Definition at line 123 of file vtkTransformToGrid.h. |
|
Definition at line 125 of file vtkTransformToGrid.h. |
|
Definition at line 126 of file vtkTransformToGrid.h. |
|
Definition at line 127 of file vtkTransformToGrid.h. |