VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkTriangleFilter Class Reference

convert input polygons and strips to triangles More...

#include <vtkTriangleFilter.h>

Inherits vtkPolyDataAlgorithm.

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 vtkObjectBase * NewInstanceInternal () 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

typedef vtkPolyDataAlgorithm vtkTriangleFilter::Superclass

Definition at line 40 of file vtkTriangleFilter.h.

Constructor & Destructor Documentation

vtkTriangleFilter::vtkTriangleFilter ( )
inlineprotected

Definition at line 64 of file vtkTriangleFilter.h.

vtkTriangleFilter::~vtkTriangleFilter ( )
inlineprotected

Definition at line 65 of file vtkTriangleFilter.h.

Member Function Documentation

static vtkTriangleFilter* vtkTriangleFilter::New ( )
static
static int vtkTriangleFilter::IsTypeOf ( const char *  type)
static
virtual int vtkTriangleFilter::IsA ( const char *  type)
virtual
static vtkTriangleFilter* vtkTriangleFilter::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkTriangleFilter::NewInstanceInternal ( ) const
protectedvirtual
vtkTriangleFilter* vtkTriangleFilter::NewInstance ( ) const
void vtkTriangleFilter::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
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 *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protected

Member Data Documentation

int vtkTriangleFilter::PassVerts
protected

Definition at line 70 of file vtkTriangleFilter.h.

int vtkTriangleFilter::PassLines
protected

Definition at line 71 of file vtkTriangleFilter.h.


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