Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

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 Methods

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 Methods

vtkTransformPolyDataFilter * New ()
int IsTypeOf (const char *type)
vtkTransformPolyDataFilter * SafeDownCast (vtkObject *o)

Protected Methods

 vtkTransformPolyDataFilter ()
 ~vtkTransformPolyDataFilter ()
 vtkTransformPolyDataFilter (const vtkTransformPolyDataFilter &)
void operator= (const vtkTransformPolyDataFilter &)
void Execute ()

Protected Attributes

vtkAbstractTransformTransform

Detailed Description

transform points and associated normals and vectors for polygonal dataset.

Date:
2000/12/10 20:08:56
Revision:
1.18

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)


Member Function Documentation

virtual const char* vtkTransformPolyDataFilter::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataToPolyDataFilter.

unsigned long vtkTransformPolyDataFilter::GetMTime   [virtual]
 

Return the MTime also considering the transform.

Reimplemented from vtkObject.

virtual int vtkTransformPolyDataFilter::IsA const char *    type [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 vtkPolyDataToPolyDataFilter.

int vtkTransformPolyDataFilter::IsTypeOf const char *    type [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 vtkPolyDataToPolyDataFilter.

vtkTransformPolyDataFilter* vtkTransformPolyDataFilter::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkPolyDataSource.

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

vtkTransformPolyDataFilter* vtkTransformPolyDataFilter::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataToPolyDataFilter.

virtual void vtkTransformPolyDataFilter::SetTransform vtkAbstractTransform   [virtual]
 

Specify the transform object used to transform points.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:33:58 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002