#include <vtkTransformFilter.h>
vtkTransformFilter is a filter to transform point coordinates, and associated point normals and vectors. Other point data is passed through the filter.
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 vtkTransformFilter 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 47 of file vtkTransformFilter.h.
Public Types | |
typedef vtkPointSetAlgorithm | 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 vtkTransformFilter * | New () |
static int | IsTypeOf (const char *type) |
static vtkTransformFilter * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkTransformFilter () | |
~vtkTransformFilter () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
vtkAbstractTransform * | Transform |
vtkTransformFilter::vtkTransformFilter | ( | ) | [protected] |
vtkTransformFilter::~vtkTransformFilter | ( | ) | [protected] |
static vtkTransformFilter* vtkTransformFilter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkPointSetAlgorithm.
virtual const char* vtkTransformFilter::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkPointSetAlgorithm.
static int vtkTransformFilter::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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkPointSetAlgorithm.
virtual int vtkTransformFilter::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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkPointSetAlgorithm.
static vtkTransformFilter* vtkTransformFilter::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkPointSetAlgorithm.
void vtkTransformFilter::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 vtkPointSetAlgorithm.
unsigned long vtkTransformFilter::GetMTime | ( | ) | [virtual] |
Return the MTime also considering the transform.
Reimplemented from vtkObject.
virtual void vtkTransformFilter::SetTransform | ( | vtkAbstractTransform * | ) | [virtual] |
Specify the transform object used to transform points.
virtual vtkAbstractTransform* vtkTransformFilter::GetTransform | ( | ) | [virtual] |
Specify the transform object used to transform points.
int vtkTransformFilter::RequestData | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkPointSetAlgorithm.
vtkAbstractTransform* vtkTransformFilter::Transform [protected] |
Definition at line 68 of file vtkTransformFilter.h.