VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkTriangleFilter Class Reference

convert input polygons and strips to triangles More...

#include <vtkTriangleFilter.h>

Inheritance diagram for vtkTriangleFilter:
Inheritance graph
[legend]
Collaboration diagram for vtkTriangleFilter:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkTriangleFilterNewInstance () 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 vtkTriangleFilterNew ()
static int IsTypeOf (const char *type)
static vtkTriangleFilterSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkTriangleFilter ()
 ~vtkTriangleFilter ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

int PassVerts
int PassLines

Detailed Description

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.

Examples:
vtkTriangleFilter (Examples)
Tests:
vtkTriangleFilter (Tests)

Definition at line 36 of file vtkTriangleFilter.h.


Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 40 of file vtkTriangleFilter.h.


Constructor & Destructor Documentation

vtkTriangleFilter::vtkTriangleFilter ( ) [inline, protected]

Definition at line 64 of file vtkTriangleFilter.h.

vtkTriangleFilter::~vtkTriangleFilter ( ) [inline, protected]

Definition at line 65 of file vtkTriangleFilter.h.


Member Function Documentation

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.

Reimplemented from vtkPolyDataAlgorithm.

virtual vtkObjectBase* vtkTriangleFilter::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkPolyDataAlgorithm.

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.


Member Data Documentation

Definition at line 70 of file vtkTriangleFilter.h.

Definition at line 71 of file vtkTriangleFilter.h.


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