VTK
|
transform points and associated normals and vectors More...
#include <vtkTransformFilter.h>
Public Types | |
typedef vtkPointSetAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkTransformFilter * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
unsigned long | GetMTime () |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
virtual void | SetTransform (vtkAbstractTransform *) |
virtual vtkAbstractTransform * | GetTransform () |
Static Public Member Functions | |
static vtkTransformFilter * | New () |
static int | IsTypeOf (const char *type) |
static vtkTransformFilter * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkTransformFilter () | |
~vtkTransformFilter () | |
int | RequestDataObject (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
vtkAbstractTransform * | Transform |
transform points and associated normals and vectors
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 48 of file vtkTransformFilter.h.
Reimplemented from vtkPointSetAlgorithm.
Definition at line 52 of file vtkTransformFilter.h.
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.
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 | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPointSetAlgorithm.
virtual vtkObjectBase* vtkTransformFilter::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPointSetAlgorithm.
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.
virtual int vtkTransformFilter::FillInputPortInformation | ( | int | port, |
vtkInformation * | info | ||
) | [virtual] |
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkPointSetAlgorithm.
int vtkTransformFilter::RequestDataObject | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkPointSetAlgorithm.
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 76 of file vtkTransformFilter.h.