create a grid for a vtkGridTransform
More...
#include <vtkTransformToGrid.h>
Inherits vtkAlgorithm.
|
virtual int | IsA (const char *type) |
|
vtkTransformToGrid * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
vtkImageData * | GetOutput () |
|
|
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 | SetGridScalarTypeToDouble () |
|
void | SetGridScalarTypeToFloat () |
|
void | SetGridScalarTypeToShort () |
|
void | SetGridScalarTypeToUnsignedShort () |
|
void | SetGridScalarTypeToUnsignedChar () |
|
void | SetGridScalarTypeToChar () |
|
|
double | GetDisplacementScale () |
|
double | GetDisplacementShift () |
|
|
virtual int | ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
|
create a grid for a vtkGridTransform
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.
- See Also
- vtkGridTransform vtkThinPlateSplineTransform vtkAbstractTransform
- Tests:
- vtkTransformToGrid (Tests)
Definition at line 38 of file vtkTransformToGrid.h.
vtkTransformToGrid::vtkTransformToGrid |
( |
| ) |
|
|
protected |
vtkTransformToGrid::~vtkTransformToGrid |
( |
| ) |
|
|
protected |
static int vtkTransformToGrid::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkTransformToGrid::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkTransformToGrid::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkTransformToGrid::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
virtual void vtkTransformToGrid::SetInput |
( |
vtkAbstractTransform * |
| ) |
|
|
virtual |
Set/Get the transform which will be converted into a grid.
virtual vtkAbstractTransform* vtkTransformToGrid::GetInput |
( |
| ) |
|
|
virtual |
Set/Get the transform which will be converted into a grid.
virtual void vtkTransformToGrid::SetGridExtent |
( |
int |
, |
|
|
int |
, |
|
|
int |
, |
|
|
int |
, |
|
|
int |
, |
|
|
int |
|
|
) |
| |
|
virtual |
Get/Set the extent of the grid.
virtual void vtkTransformToGrid::SetGridExtent |
( |
int |
[6] | ) |
|
|
virtual |
Get/Set the extent of the grid.
virtual int* vtkTransformToGrid::GetGridExtent |
( |
| ) |
|
|
virtual |
Get/Set the extent of the grid.
virtual void vtkTransformToGrid::GetGridExtent |
( |
int & |
, |
|
|
int & |
, |
|
|
int & |
, |
|
|
int & |
, |
|
|
int & |
, |
|
|
int & |
|
|
) |
| |
|
virtual |
Get/Set the extent of the grid.
virtual void vtkTransformToGrid::GetGridExtent |
( |
int |
[6] | ) |
|
|
virtual |
Get/Set the extent of the grid.
virtual void vtkTransformToGrid::SetGridOrigin |
( |
double |
, |
|
|
double |
, |
|
|
double |
|
|
) |
| |
|
virtual |
Get/Set the origin of the grid.
virtual void vtkTransformToGrid::SetGridOrigin |
( |
double |
[3] | ) |
|
|
virtual |
Get/Set the origin of the grid.
virtual double* vtkTransformToGrid::GetGridOrigin |
( |
| ) |
|
|
virtual |
Get/Set the origin of the grid.
virtual void vtkTransformToGrid::GetGridOrigin |
( |
double & |
, |
|
|
double & |
, |
|
|
double & |
|
|
) |
| |
|
virtual |
Get/Set the origin of the grid.
virtual void vtkTransformToGrid::GetGridOrigin |
( |
double |
[3] | ) |
|
|
virtual |
Get/Set the origin of the grid.
virtual void vtkTransformToGrid::SetGridSpacing |
( |
double |
, |
|
|
double |
, |
|
|
double |
|
|
) |
| |
|
virtual |
Get/Set the spacing between samples in the grid.
virtual void vtkTransformToGrid::SetGridSpacing |
( |
double |
[3] | ) |
|
|
virtual |
Get/Set the spacing between samples in the grid.
virtual double* vtkTransformToGrid::GetGridSpacing |
( |
| ) |
|
|
virtual |
Get/Set the spacing between samples in the grid.
virtual void vtkTransformToGrid::GetGridSpacing |
( |
double & |
, |
|
|
double & |
, |
|
|
double & |
|
|
) |
| |
|
virtual |
Get/Set the spacing between samples in the grid.
virtual void vtkTransformToGrid::GetGridSpacing |
( |
double |
[3] | ) |
|
|
virtual |
Get/Set the spacing between samples in the grid.
virtual void vtkTransformToGrid::SetGridScalarType |
( |
int |
| ) |
|
|
virtual |
Get/Set the scalar type of the grid. The default is float.
virtual int vtkTransformToGrid::GetGridScalarType |
( |
| ) |
|
|
virtual |
Get/Set the scalar type of the grid. The default is float.
void vtkTransformToGrid::SetGridScalarTypeToDouble |
( |
| ) |
|
|
inline |
Get/Set the scalar type of the grid. The default is float.
Definition at line 73 of file vtkTransformToGrid.h.
void vtkTransformToGrid::SetGridScalarTypeToFloat |
( |
| ) |
|
|
inline |
Get/Set the scalar type of the grid. The default is float.
Definition at line 74 of file vtkTransformToGrid.h.
void vtkTransformToGrid::SetGridScalarTypeToShort |
( |
| ) |
|
|
inline |
Get/Set the scalar type of the grid. The default is float.
Definition at line 75 of file vtkTransformToGrid.h.
void vtkTransformToGrid::SetGridScalarTypeToUnsignedShort |
( |
| ) |
|
|
inline |
Get/Set the scalar type of the grid. The default is float.
Definition at line 76 of file vtkTransformToGrid.h.
void vtkTransformToGrid::SetGridScalarTypeToUnsignedChar |
( |
| ) |
|
|
inline |
Get/Set the scalar type of the grid. The default is float.
Definition at line 78 of file vtkTransformToGrid.h.
void vtkTransformToGrid::SetGridScalarTypeToChar |
( |
| ) |
|
|
inline |
Get/Set the scalar type of the grid. The default is float.
Definition at line 80 of file vtkTransformToGrid.h.
double vtkTransformToGrid::GetDisplacementScale |
( |
| ) |
|
|
inline |
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.
double vtkTransformToGrid::GetDisplacementShift |
( |
| ) |
|
|
inline |
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 90 of file vtkTransformToGrid.h.
vtkImageData* vtkTransformToGrid::GetOutput |
( |
| ) |
|
Get the output data object for a port on this algorithm.
virtual int vtkTransformToGrid::ProcessRequest |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
virtual |
see vtkAlgorithm for details
void vtkTransformToGrid::RequestInformation |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protected |
void vtkTransformToGrid::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protected |
void vtkTransformToGrid::UpdateShiftScale |
( |
| ) |
|
|
protected |
Internal method to calculate the shift and scale values which will provide maximum grid precision for a particular integer type.
unsigned long vtkTransformToGrid::GetMTime |
( |
| ) |
|
|
protected |
virtual int vtkTransformToGrid::FillOutputPortInformation |
( |
int |
port, |
|
|
vtkInformation * |
info |
|
) |
| |
|
protectedvirtual |
vtkAbstractTransform* vtkTransformToGrid::Input |
|
protected |
int vtkTransformToGrid::GridScalarType |
|
protected |
int vtkTransformToGrid::GridExtent[6] |
|
protected |
double vtkTransformToGrid::GridOrigin[3] |
|
protected |
double vtkTransformToGrid::GridSpacing[3] |
|
protected |
double vtkTransformToGrid::DisplacementScale |
|
protected |
double vtkTransformToGrid::DisplacementShift |
|
protected |
vtkTimeStamp vtkTransformToGrid::ShiftScaleTime |
|
protected |
The documentation for this class was generated from the following file: