VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkTransformPolyDataFilter Class Reference

transform points and associated normals and vectors for polygonal dataset More...

#include <vtkTransformPolyDataFilter.h>

Inheritance diagram for vtkTransformPolyDataFilter:
Inheritance graph
[legend]
Collaboration diagram for vtkTransformPolyDataFilter:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkTransformPolyDataFilterNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
unsigned long GetMTime ()
virtual void SetTransform (vtkAbstractTransform *)
virtual vtkAbstractTransformGetTransform ()
virtual void SetOutputPointsPrecision (int)
virtual int GetOutputPointsPrecision ()

Static Public Member Functions

static vtkTransformPolyDataFilterNew ()
static int IsTypeOf (const char *type)
static vtkTransformPolyDataFilterSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkTransformPolyDataFilter ()
 ~vtkTransformPolyDataFilter ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

vtkAbstractTransformTransform
int OutputPointsPrecision

Detailed Description

transform points and associated normals and vectors for polygonal dataset

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.

See also:
vtkTransform vtkTransformFilter vtkActor
Examples:
vtkTransformPolyDataFilter (Examples)
Tests:
vtkTransformPolyDataFilter (Tests)

Definition at line 50 of file vtkTransformPolyDataFilter.h.


Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 54 of file vtkTransformPolyDataFilter.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataAlgorithm.

Reimplemented from vtkPolyDataAlgorithm.

virtual vtkObjectBase* vtkTransformPolyDataFilter::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkPolyDataAlgorithm.

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.

Specify the transform object used to transform points.

Specify the transform object used to transform points.

Set/get the desired precision for the output types. See the documentation for the vtkAlgorithm::DesiredOutputPrecision enum for an explanation of the available precision settings.

Set/get the desired precision for the output types. See the documentation for the vtkAlgorithm::DesiredOutputPrecision enum for an explanation of the available precision settings.

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.


Member Data Documentation

Definition at line 80 of file vtkTransformPolyDataFilter.h.

Definition at line 81 of file vtkTransformPolyDataFilter.h.


The documentation for this class was generated from the following file: