VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkTriangleStrip Class Reference

a cell that represents a triangle strip More...

#include <vtkTriangleStrip.h>

Inherits vtkCell.

Collaboration diagram for vtkTriangleStrip:
[legend]

Public Types

typedef vtkCell Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
int EvaluatePosition (double x[3], double *closestPoint, int &subId, double pcoords[3], double &dist2, double *weights)
 
void EvaluateLocation (int &subId, double pcoords[3], double x[3], double *weights)
 
int IntersectWithLine (double p1[3], double p2[3], double tol, double &t, double x[3], double pcoords[3], int &subId)
 
int Triangulate (int index, vtkIdList *ptIds, vtkPoints *pts)
 
void Derivatives (int subId, double pcoords[3], double *values, int dim, double *derivs)
 
int IsPrimaryCell ()
 
int GetParametricCenter (double pcoords[3])
 
int GetCellType ()
 
int GetCellDimension ()
 
int GetNumberOfEdges ()
 
int GetNumberOfFaces ()
 
vtkCell * GetEdge (int edgeId)
 
vtkCell * GetFace (int vtkNotUsed(faceId))
 
int CellBoundary (int subId, double pcoords[3], vtkIdList *pts)
 
void Contour (double value, vtkDataArray *cellScalars, vtkIncrementalPointLocator *locator, vtkCellArray *verts, vtkCellArray *lines, vtkCellArray *polys, vtkPointData *inPd, vtkPointData *outPd, vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd)
 
void Clip (double value, vtkDataArray *cellScalars, vtkIncrementalPointLocator *locator, vtkCellArray *polys, vtkPointData *inPd, vtkPointData *outPd, vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd, int insideOut)
 
virtual void InterpolateFunctions (double pcoords[3], double *weights)
 
virtual void InterpolateDerivs (double pcoords[3], double *derivs)
 

Static Public Member Functions

static vtkTriangleStripNew ()
 
static int IsTypeOf (const char *type)
 
static vtkTriangleStripSafeDownCast (vtkObject *o)
 
static void DecomposeStrip (int npts, vtkIdType *pts, vtkCellArray *tris)
 

Protected Member Functions

 vtkTriangleStrip ()
 
 ~vtkTriangleStrip ()
 

Protected Attributes

vtkLineLine
 
vtkTriangleTriangle
 

Detailed Description

a cell that represents a triangle strip

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.

Examples:
vtkTriangleStrip (Examples)
Tests:
vtkTriangleStrip (Tests)

Definition at line 41 of file vtkTriangleStrip.h.

Member Typedef Documentation

Definition at line 45 of file vtkTriangleStrip.h.

Constructor & Destructor Documentation

vtkTriangleStrip::vtkTriangleStrip ( )
protected
vtkTriangleStrip::~vtkTriangleStrip ( )
protected

Member Function Documentation

static vtkTriangleStrip* vtkTriangleStrip::New ( )
static
virtual const char* vtkTriangleStrip::GetClassName ( )
virtual
static int vtkTriangleStrip::IsTypeOf ( const char *  type)
static
virtual int vtkTriangleStrip::IsA ( const char *  type)
virtual
static vtkTriangleStrip* vtkTriangleStrip::SafeDownCast ( vtkObject o)
static
void vtkTriangleStrip::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
int vtkTriangleStrip::GetCellType ( )
inline

See the vtkCell API for descriptions of these methods.

Definition at line 50 of file vtkTriangleStrip.h.

int vtkTriangleStrip::GetCellDimension ( )
inline

See the vtkCell API for descriptions of these methods.

Definition at line 51 of file vtkTriangleStrip.h.

int vtkTriangleStrip::GetNumberOfEdges ( )
inline

See the vtkCell API for descriptions of these methods.

Definition at line 52 of file vtkTriangleStrip.h.

int vtkTriangleStrip::GetNumberOfFaces ( )
inline

See the vtkCell API for descriptions of these methods.

Definition at line 53 of file vtkTriangleStrip.h.

vtkCell* vtkTriangleStrip::GetEdge ( int  edgeId)

See the vtkCell API for descriptions of these methods.

vtkCell* vtkTriangleStrip::GetFace ( int   vtkNotUsedfaceId)
inline

See the vtkCell API for descriptions of these methods.

Definition at line 55 of file vtkTriangleStrip.h.

int vtkTriangleStrip::CellBoundary ( int  subId,
double  pcoords[3],
vtkIdList pts 
)

See the vtkCell API for descriptions of these methods.

void vtkTriangleStrip::Contour ( double  value,
vtkDataArray cellScalars,
vtkIncrementalPointLocator *  locator,
vtkCellArray verts,
vtkCellArray lines,
vtkCellArray polys,
vtkPointData inPd,
vtkPointData outPd,
vtkCellData *  inCd,
vtkIdType  cellId,
vtkCellData *  outCd 
)

See the vtkCell API for descriptions of these methods.

void vtkTriangleStrip::Clip ( double  value,
vtkDataArray cellScalars,
vtkIncrementalPointLocator *  locator,
vtkCellArray polys,
vtkPointData inPd,
vtkPointData outPd,
vtkCellData *  inCd,
vtkIdType  cellId,
vtkCellData *  outCd,
int  insideOut 
)

See the vtkCell API for descriptions of these methods.

int vtkTriangleStrip::EvaluatePosition ( double  x[3],
double *  closestPoint,
int &  subId,
double  pcoords[3],
double &  dist2,
double *  weights 
)
void vtkTriangleStrip::EvaluateLocation ( int &  subId,
double  pcoords[3],
double  x[3],
double *  weights 
)
int vtkTriangleStrip::IntersectWithLine ( double  p1[3],
double  p2[3],
double  tol,
double &  t,
double  x[3],
double  pcoords[3],
int &  subId 
)
int vtkTriangleStrip::Triangulate ( int  index,
vtkIdList ptIds,
vtkPoints pts 
)
void vtkTriangleStrip::Derivatives ( int  subId,
double  pcoords[3],
double *  values,
int  dim,
double *  derivs 
)
int vtkTriangleStrip::IsPrimaryCell ( )
inline

Definition at line 79 of file vtkTriangleStrip.h.

int vtkTriangleStrip::GetParametricCenter ( double  pcoords[3])

Return the center of the point cloud in parametric coordinates.

static void vtkTriangleStrip::DecomposeStrip ( int  npts,
vtkIdType pts,
vtkCellArray tris 
)
static

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

virtual void vtkTriangleStrip::InterpolateFunctions ( double  pcoords[3],
double *  weights 
)
virtual

Compute the interpolation functions/derivatives (aka shape functions/derivatives)

virtual void vtkTriangleStrip::InterpolateDerivs ( double  pcoords[3],
double *  derivs 
)
virtual

Compute the interpolation functions/derivatives (aka shape functions/derivatives)

Member Data Documentation

vtkLine* vtkTriangleStrip::Line
protected

Definition at line 100 of file vtkTriangleStrip.h.

vtkTriangle* vtkTriangleStrip::Triangle
protected

Definition at line 101 of file vtkTriangleStrip.h.


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