Documentation for vtkTriangleStrip

vtkTriangleStrip - a cell that represents a triangle strip

Super Class: vtkCell

Description:

vtkTriangleStrip is a concrete implementation of vtkCell to represent a 2D triangle strip. A triangle strip is a compact representation of triangles connected edge to edge in strip fashion. The connectivity of a triangle strip is three points defining an initial triangle, then for each additional triangle, a single point that, combined with the previous two points, defines the next triangle.

 

Methods:

void vtkTriangleStrip ()
void vtkTriangleStrip ()
static vtkTriangleStrip *New ()
const char *GetClassName ()
vtkCell *MakeObject ()
int GetCellType ()
int GetCellDimension ()
int GetNumberOfEdges ()
int GetNumberOfFaces ()
vtkCell *GetEdge (int )
vtkCell *GetFace (int )
int CellBoundary (int ,float ,vtkIdList *)
void Contour (float ,vtkScalars * ,vtkPointLocator * ,vtkCellArray * ,vtkCellArray * ,vtkCellArray * ,vtkPointData * ,vtkPointData * ,vtkCellData * ,int ,vtkCellData *)
void Clip (float ,vtkScalars * ,vtkPointLocator * ,vtkCellArray * ,vtkPointData * ,vtkPointData * ,vtkCellData * ,int ,vtkCellData * ,int )
int EvaluatePosition (float ,float ,int & ,float ,float & ,float *)
void EvaluateLocation (int & ,float ,float ,float *)
int IntersectWithLine (float ,float ,float ,float & ,float ,float ,int &)
int Triangulate (int ,vtkIdList * ,vtkPoints *)
void Derivatives (int ,float ,float * ,int ,float *)
int GetParametricCenter (float )
void DecomposeStrip (int ,int * ,vtkCellArray *)
int CellBoundary (int ,float ,vtkIdList &)
int Triangulate (int ,vtkIdList & ,vtkPoints &)

 

Detailed Method Descriptions:

See the vtkCell API for descriptions of these methods.

vtkCell *MakeObject ()
int GetCellType ()
int GetCellDimension ()
int GetNumberOfEdges ()
int GetNumberOfFaces ()
vtkCell *GetEdge (int )
vtkCell *GetFace (int )
int CellBoundary (int ,float ,vtkIdList *)
void Contour (float ,vtkScalars * ,vtkPointLocator * ,vtkCellArray * ,vtkCellArray * ,vtkCellArray * ,vtkPointData * ,vtkPointData * ,vtkCellData * ,int ,vtkCellData *)
void Clip (float ,vtkScalars * ,vtkPointLocator * ,vtkCellArray * ,vtkPointData * ,vtkPointData * ,vtkCellData * ,int ,vtkCellData * ,int )
int EvaluatePosition (float ,float ,int & ,float ,float & ,float *)
void EvaluateLocation (int & ,float ,float ,float *)
int IntersectWithLine (float ,float ,float ,float & ,float ,float ,int &)
int Triangulate (int ,vtkIdList * ,vtkPoints *)
void Derivatives (int ,float ,float * ,int ,float *)

Return the center of the point cloud in parametric coordinates.

int GetParametricCenter (float )

Given a triangle strip, decompose it into a list of (triangle) polygons. The polygons are appended to the end of the list of triangles.

void DecomposeStrip (int ,int * ,vtkCellArray *)

For legacy compatibility. Do not use.

int CellBoundary (int ,float ,vtkIdList &)