VTK
|
a cell that represents a triangle strip More...
#include <vtkTriangleStrip.h>
Inherits vtkCell.
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 vtkTriangleStrip * | New () |
static int | IsTypeOf (const char *type) |
static vtkTriangleStrip * | SafeDownCast (vtkObject *o) |
static void | DecomposeStrip (int npts, vtkIdType *pts, vtkCellArray *tris) |
Protected Member Functions | |
vtkTriangleStrip () | |
~vtkTriangleStrip () | |
Protected Attributes | |
vtkLine * | Line |
vtkTriangle * | Triangle |
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.
Definition at line 41 of file vtkTriangleStrip.h.
typedef vtkCell vtkTriangleStrip::Superclass |
Definition at line 45 of file vtkTriangleStrip.h.
|
protected |
|
protected |
|
static |
|
virtual |
|
static |
|
virtual |
|
static |
void vtkTriangleStrip::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
inline |
See the vtkCell API for descriptions of these methods.
Definition at line 50 of file vtkTriangleStrip.h.
|
inline |
See the vtkCell API for descriptions of these methods.
Definition at line 51 of file vtkTriangleStrip.h.
|
inline |
See the vtkCell API for descriptions of these methods.
Definition at line 52 of file vtkTriangleStrip.h.
|
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.
|
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 | ||
) |
void vtkTriangleStrip::Derivatives | ( | int | subId, |
double | pcoords[3], | ||
double * | values, | ||
int | dim, | ||
double * | derivs | ||
) |
|
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 |
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 |
Compute the interpolation functions/derivatives (aka shape functions/derivatives)
|
virtual |
Compute the interpolation functions/derivatives (aka shape functions/derivatives)
|
protected |
Definition at line 100 of file vtkTriangleStrip.h.
|
protected |
Definition at line 101 of file vtkTriangleStrip.h.