VTK
|
convert input polygons and strips to triangles More...
#include <vtkTriangleFilter.h>
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkTriangleFilter * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | PassVertsOn () |
virtual void | PassVertsOff () |
virtual void | SetPassVerts (int) |
virtual int | GetPassVerts () |
virtual void | PassLinesOn () |
virtual void | PassLinesOff () |
virtual void | SetPassLines (int) |
virtual int | GetPassLines () |
Static Public Member Functions | |
static vtkTriangleFilter * | New () |
static int | IsTypeOf (const char *type) |
static vtkTriangleFilter * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkTriangleFilter () | |
~vtkTriangleFilter () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
int | PassVerts |
int | PassLines |
convert input polygons and strips to triangles
vtkTriangleFilter generates triangles from input polygons and triangle strips. It also generates line segments from polylines unless PassLines is off, and generates individual vertex cells from vtkVertex point lists unless PassVerts is off.
Definition at line 36 of file vtkTriangleFilter.h.
Reimplemented from vtkPolyDataAlgorithm.
Definition at line 40 of file vtkTriangleFilter.h.
vtkTriangleFilter::vtkTriangleFilter | ( | ) | [inline, protected] |
Definition at line 64 of file vtkTriangleFilter.h.
vtkTriangleFilter::~vtkTriangleFilter | ( | ) | [inline, protected] |
Definition at line 65 of file vtkTriangleFilter.h.
static vtkTriangleFilter* vtkTriangleFilter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkPolyDataAlgorithm.
static int vtkTriangleFilter::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 vtkTriangleFilter::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 vtkTriangleFilter* vtkTriangleFilter::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPolyDataAlgorithm.
virtual vtkObjectBase* vtkTriangleFilter::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPolyDataAlgorithm.
vtkTriangleFilter* vtkTriangleFilter::NewInstance | ( | ) | const |
Reimplemented from vtkPolyDataAlgorithm.
void vtkTriangleFilter::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.
virtual void vtkTriangleFilter::PassVertsOn | ( | ) | [virtual] |
Turn on/off passing vertices through filter (default: on). If this is on, then the input vertex cells will be broken into individual vertex cells (one point per cell). If it is off, the input vertex cells will be ignored.
virtual void vtkTriangleFilter::PassVertsOff | ( | ) | [virtual] |
Turn on/off passing vertices through filter (default: on). If this is on, then the input vertex cells will be broken into individual vertex cells (one point per cell). If it is off, the input vertex cells will be ignored.
virtual void vtkTriangleFilter::SetPassVerts | ( | int | ) | [virtual] |
Turn on/off passing vertices through filter (default: on). If this is on, then the input vertex cells will be broken into individual vertex cells (one point per cell). If it is off, the input vertex cells will be ignored.
virtual int vtkTriangleFilter::GetPassVerts | ( | ) | [virtual] |
Turn on/off passing vertices through filter (default: on). If this is on, then the input vertex cells will be broken into individual vertex cells (one point per cell). If it is off, the input vertex cells will be ignored.
virtual void vtkTriangleFilter::PassLinesOn | ( | ) | [virtual] |
Turn on/off passing lines through filter (default: on). If this is on, then the input polylines will be broken into line segments. If it is off, then the input lines will be ignored and the output will have no lines.
virtual void vtkTriangleFilter::PassLinesOff | ( | ) | [virtual] |
Turn on/off passing lines through filter (default: on). If this is on, then the input polylines will be broken into line segments. If it is off, then the input lines will be ignored and the output will have no lines.
virtual void vtkTriangleFilter::SetPassLines | ( | int | ) | [virtual] |
Turn on/off passing lines through filter (default: on). If this is on, then the input polylines will be broken into line segments. If it is off, then the input lines will be ignored and the output will have no lines.
virtual int vtkTriangleFilter::GetPassLines | ( | ) | [virtual] |
Turn on/off passing lines through filter (default: on). If this is on, then the input polylines will be broken into line segments. If it is off, then the input lines will be ignored and the output will have no lines.
int vtkTriangleFilter::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.
int vtkTriangleFilter::PassVerts [protected] |
Definition at line 70 of file vtkTriangleFilter.h.
int vtkTriangleFilter::PassLines [protected] |
Definition at line 71 of file vtkTriangleFilter.h.