1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
Usage
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.
To create an instance of class vtkTransformPolyDataFilter,
simply invoke its constructor as follows
obj = vtkTransformPolyDataFilter
Methods
The class vtkTransformPolyDataFilter has several methods
that can be used. They are listed below. Note that the
documentation is translated automatically from the VTK
sources, and may not be completely intelligible. When in
doubt, consult the VTK website. In the methods listed below,
obj is an instance of the vtkTransformPolyDataFilter class.
* string = obj.GetClassName ()
* int = obj.IsA (string name)
* vtkTransformPolyDataFilter = obj.NewInstance ()
* vtkTransformPolyDataFilter = obj.SafeDownCast (vtkObject
o)
* long = obj.GetMTime () - Return the MTime also considering
the transform.
* obj.SetTransform (vtkAbstractTransform ) - Specify the
transform object used to transform points.
* vtkAbstractTransform = obj.GetTransform () - Specify the
transform object used to transform points.
* FreeMat_Documentation
* Visualization_Toolkit_Graphics_Classes
* Generated on Thu Jul 25 2013 17:18:32 for FreeMat by
doxygen_ 1.8.1.1
|