#include <vtkRotationalExtrusionFilter.h>
Inheritance diagram for vtkRotationalExtrusionFilter:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetResolution (int) |
virtual int | GetResolution () |
virtual void | SetCapping (int) |
virtual int | GetCapping () |
virtual void | CappingOn () |
virtual void | CappingOff () |
virtual void | SetAngle (float) |
virtual float | GetAngle () |
virtual void | SetTranslation (float) |
virtual float | GetTranslation () |
virtual void | SetDeltaRadius (float) |
virtual float | GetDeltaRadius () |
Static Public Methods | |
int | IsTypeOf (const char *type) |
vtkRotationalExtrusionFilter * | SafeDownCast (vtkObject *o) |
vtkRotationalExtrusionFilter * | New () |
Protected Methods | |
vtkRotationalExtrusionFilter () | |
~vtkRotationalExtrusionFilter () | |
vtkRotationalExtrusionFilter (const vtkRotationalExtrusionFilter &) | |
void | operator= (const vtkRotationalExtrusionFilter &) |
void | Execute () |
Protected Attributes | |
int | Resolution |
int | Capping |
float | Angle |
float | Translation |
float | DeltaRadius |
vtkRotationalExtrusionFilter is a modeling filter. It takes polygonal data as input and generates polygonal data on output. The input dataset is swept around the z-axis to create new polygonal primitives. These primitives form a "skirt" or swept surface. For example, sweeping a line results in a cylindrical shell, and sweeping a circle creates a torus.
There are a number of control parameters for this filter. You can control whether the sweep of a 2D object (i.e., polygon or triangle strip) is capped with the generating geometry via the "Capping" instance variable. Also, you can control the angle of rotation, and whether translation along the z-axis is performed along with the rotation. (Translation is useful for creating "springs".) You also can adjust the radius of the generating geometry using the "DeltaRotation" instance variable.
The skirt is generated by locating certain topological features. Free edges (edges of polygons or triangle strips only used by one polygon or triangle strips) generate surfaces. This is true also of lines or polylines. Vertices generate lines.
This filter can be used to model axisymmetric objects like cylinders, bottles, and wine glasses; or translational/rotational symmetric objects like springs or corkscrews.
|
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. |
|
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. |
|
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. |
|
Create object with capping on, angle of 360 degrees, resolution = 12, and no translation along z-axis. vector (0,0,1), and point (0,0,0). Reimplemented from vtkPolyDataSource. |
|
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. |
|
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. |
|
Set/Get angle of rotation. |
|
Turn on/off the capping of the skirt. |
|
Set/Get change in radius during sweep process. |
|
Set/Get resolution of sweep operation. Resolution controls the number of intermediate node points. |
|
Set/Get total amount of translation along the z-axis. |