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 const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
unsigned long GetMTime ()
virtual void SetTransform (vtkAbstractTransform *)
virtual vtkAbstractTransformGetTransform ()

Static Public Member Functions

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

Protected Member Functions

 vtkTransformPolyDataFilter ()
 ~vtkTransformPolyDataFilter ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

vtkAbstractTransformTransform

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 49 of file vtkTransformPolyDataFilter.h.


Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 53 of file vtkTransformPolyDataFilter.h.


Constructor & Destructor Documentation

vtkTransformPolyDataFilter::vtkTransformPolyDataFilter ( ) [protected]
vtkTransformPolyDataFilter::~vtkTransformPolyDataFilter ( ) [protected]

Member Function Documentation

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 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.

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.


Member Data Documentation

Definition at line 70 of file vtkTransformPolyDataFilter.h.


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