#include <vtkTransformPolyDataFilter.h>
vtkTransformPolyDataFilter is a filter to transform point coordinates and associated point and cell normals and vectors. Other point and cell data is passed through the filter unchanged. This filter is specialized for polygonal data. See vtkTransformFilter for more general data.
An alternative method of transformation is to use vtkActor's methods to scale, rotate, and translate objects. The difference between the two methods is that vtkActor's transformation simply effects where objects are rendered (via the graphics pipeline), whereas vtkTransformPolyDataFilter actually modifies point coordinates in the visualization pipeline. This is necessary for some objects (e.g., vtkProbeFilter) that require point coordinates as input.
Definition at line 46 of file vtkTransformPolyDataFilter.h.
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
unsigned long | GetMTime () |
virtual void | SetTransform (vtkAbstractTransform *) |
virtual vtkAbstractTransform * | GetTransform () |
Static Public Member Functions | |
static vtkTransformPolyDataFilter * | New () |
static int | IsTypeOf (const char *type) |
static vtkTransformPolyDataFilter * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkTransformPolyDataFilter () | |
~vtkTransformPolyDataFilter () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
vtkAbstractTransform * | Transform |
Reimplemented from vtkPolyDataAlgorithm.
Definition at line 50 of file vtkTransformPolyDataFilter.h.
vtkTransformPolyDataFilter::vtkTransformPolyDataFilter | ( | ) | [protected] |
vtkTransformPolyDataFilter::~vtkTransformPolyDataFilter | ( | ) | [protected] |
static vtkTransformPolyDataFilter* vtkTransformPolyDataFilter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkPolyDataAlgorithm.
virtual const char* vtkTransformPolyDataFilter::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkPolyDataAlgorithm.
static int vtkTransformPolyDataFilter::IsTypeOf | ( | const char * | name | ) | [static] |
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 vtkPolyDataAlgorithm.
virtual int vtkTransformPolyDataFilter::IsA | ( | const char * | name | ) | [virtual] |
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 vtkPolyDataAlgorithm.
static vtkTransformPolyDataFilter* vtkTransformPolyDataFilter::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkPolyDataAlgorithm.
void vtkTransformPolyDataFilter::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
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 vtkPolyDataAlgorithm.
unsigned long vtkTransformPolyDataFilter::GetMTime | ( | ) | [virtual] |
Return the MTime also considering the transform.
Reimplemented from vtkObject.
virtual void vtkTransformPolyDataFilter::SetTransform | ( | vtkAbstractTransform * | ) | [virtual] |
Specify the transform object used to transform points.
virtual vtkAbstractTransform* vtkTransformPolyDataFilter::GetTransform | ( | ) | [virtual] |
Specify the transform object used to transform points.
int vtkTransformPolyDataFilter::RequestData | ( | vtkInformation * | request, | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector | |||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkPolyDataAlgorithm.
Definition at line 67 of file vtkTransformPolyDataFilter.h.