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

cell represents a parabolic, isoparametric triangle More...

#include <vtkQuadraticTriangle.h>

Inheritance diagram for vtkQuadraticTriangle:
[legend]
Collaboration diagram for vtkQuadraticTriangle:
[legend]

Public Types

typedef vtkNonLinearCell Superclass
 
- Public Types inherited from vtkNonLinearCell
typedef vtkCell Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
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)
 
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 Triangulate (int index, vtkIdList *ptIds, vtkPoints *pts)
 
void Derivatives (int subId, double pcoords[3], double *values, int dim, double *derivs)
 
virtual double * GetParametricCoords ()
 
int GetParametricCenter (double pcoords[3])
 
double GetParametricDistance (double pcoords[3])
 
int GetCellType ()
 
int GetCellDimension ()
 
int GetNumberOfEdges ()
 
int GetNumberOfFaces ()
 
vtkCell * GetEdge (int edgeId)
 
vtkCell * GetFace (int)
 
void Clip (double value, vtkDataArray *cellScalars, vtkIncrementalPointLocator *locator, vtkCellArray *polys, vtkPointData *inPd, vtkPointData *outPd, vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd, int insideOut)
 
int IntersectWithLine (double p1[3], double p2[3], double tol, double &t, double x[3], double pcoords[3], int &subId)
 
- Public Member Functions inherited from vtkNonLinearCell
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual int IsLinear ()
 

Static Public Member Functions

static vtkQuadraticTriangleNew ()
 
static int IsTypeOf (const char *type)
 
static vtkQuadraticTriangleSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkNonLinearCell
static int IsTypeOf (const char *type)
 
static vtkNonLinearCellSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkQuadraticTriangle ()
 
 ~vtkQuadraticTriangle ()
 
- Protected Member Functions inherited from vtkNonLinearCell
 vtkNonLinearCell ()
 
 ~vtkNonLinearCell ()
 

Protected Attributes

vtkQuadraticEdgeEdge
 
vtkTriangleFace
 
vtkDoubleArrayScalars
 
static void InterpolationFunctions (double pcoords[3], double weights[6])
 
static void InterpolationDerivs (double pcoords[3], double derivs[12])
 
virtual void InterpolateFunctions (double pcoords[3], double weights[6])
 
virtual void InterpolateDerivs (double pcoords[3], double derivs[12])
 

Detailed Description

cell represents a parabolic, isoparametric triangle

vtkQuadraticTriangle is a concrete implementation of vtkNonLinearCell to represent a two-dimensional, 6-node, isoparametric parabolic triangle. The interpolation is the standard finite element, quadratic isoparametric shape function. The cell includes three mid-edge nodes besides the three triangle vertices. The ordering of the three points defining the cell is point ids (0-2,3-5) where id #3 is the midedge node between points (0,1); id #4 is the midedge node between points (1,2); and id #5 is the midedge node between points (2,0).

See Also
vtkQuadraticEdge vtkQuadraticTetra vtkQuadraticPyramid vtkQuadraticQuad vtkQuadraticHexahedron vtkQuadraticWedge
Tests:
vtkQuadraticTriangle (Tests)

Definition at line 44 of file vtkQuadraticTriangle.h.

Member Typedef Documentation

Definition at line 48 of file vtkQuadraticTriangle.h.

Constructor & Destructor Documentation

vtkQuadraticTriangle::vtkQuadraticTriangle ( )
protected
vtkQuadraticTriangle::~vtkQuadraticTriangle ( )
protected

Member Function Documentation

static vtkQuadraticTriangle* vtkQuadraticTriangle::New ( )
static
virtual const char* vtkQuadraticTriangle::GetClassName ( )
virtual

Reimplemented from vtkNonLinearCell.

static int vtkQuadraticTriangle::IsTypeOf ( const char *  type)
static
virtual int vtkQuadraticTriangle::IsA ( const char *  type)
virtual

Reimplemented from vtkNonLinearCell.

static vtkQuadraticTriangle* vtkQuadraticTriangle::SafeDownCast ( vtkObject o)
static
void vtkQuadraticTriangle::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
int vtkQuadraticTriangle::GetCellType ( )
inline

Implement the vtkCell API. See the vtkCell API for descriptions of these methods.

Definition at line 54 of file vtkQuadraticTriangle.h.

int vtkQuadraticTriangle::GetCellDimension ( )
inline

Implement the vtkCell API. See the vtkCell API for descriptions of these methods.

Definition at line 55 of file vtkQuadraticTriangle.h.

int vtkQuadraticTriangle::GetNumberOfEdges ( )
inline

Implement the vtkCell API. See the vtkCell API for descriptions of these methods.

Definition at line 56 of file vtkQuadraticTriangle.h.

int vtkQuadraticTriangle::GetNumberOfFaces ( )
inline

Implement the vtkCell API. See the vtkCell API for descriptions of these methods.

Definition at line 57 of file vtkQuadraticTriangle.h.

vtkCell* vtkQuadraticTriangle::GetEdge ( int  edgeId)

Implement the vtkCell API. See the vtkCell API for descriptions of these methods.

vtkCell* vtkQuadraticTriangle::GetFace ( int  )
inline

Implement the vtkCell API. See the vtkCell API for descriptions of these methods.

Definition at line 59 of file vtkQuadraticTriangle.h.

int vtkQuadraticTriangle::CellBoundary ( int  subId,
double  pcoords[3],
vtkIdList pts 
)
void vtkQuadraticTriangle::Contour ( double  value,
vtkDataArray cellScalars,
vtkIncrementalPointLocator locator,
vtkCellArray verts,
vtkCellArray lines,
vtkCellArray polys,
vtkPointData inPd,
vtkPointData outPd,
vtkCellData inCd,
vtkIdType  cellId,
vtkCellData outCd 
)
int vtkQuadraticTriangle::EvaluatePosition ( double  x[3],
double *  closestPoint,
int &  subId,
double  pcoords[3],
double &  dist2,
double *  weights 
)
void vtkQuadraticTriangle::EvaluateLocation ( int &  subId,
double  pcoords[3],
double  x[3],
double *  weights 
)
int vtkQuadraticTriangle::Triangulate ( int  index,
vtkIdList ptIds,
vtkPoints pts 
)
void vtkQuadraticTriangle::Derivatives ( int  subId,
double  pcoords[3],
double *  values,
int  dim,
double *  derivs 
)
virtual double* vtkQuadraticTriangle::GetParametricCoords ( )
virtual
void vtkQuadraticTriangle::Clip ( double  value,
vtkDataArray cellScalars,
vtkIncrementalPointLocator locator,
vtkCellArray polys,
vtkPointData inPd,
vtkPointData outPd,
vtkCellData inCd,
vtkIdType  cellId,
vtkCellData outCd,
int  insideOut 
)

Clip this quadratic triangle using scalar value provided. Like contouring, except that it cuts the triangle to produce linear triangles.

int vtkQuadraticTriangle::IntersectWithLine ( double  p1[3],
double  p2[3],
double  tol,
double &  t,
double  x[3],
double  pcoords[3],
int &  subId 
)

Line-edge intersection. Intersection has to occur within [0,1] parametric coordinates and with specified tolerance.

int vtkQuadraticTriangle::GetParametricCenter ( double  pcoords[3])
inline

Return the center of the quadratic triangle in parametric coordinates.

Definition at line 138 of file vtkQuadraticTriangle.h.

double vtkQuadraticTriangle::GetParametricDistance ( double  pcoords[3])

Return the distance of the parametric coordinate provided to the cell. If inside the cell, a distance of zero is returned.

static void vtkQuadraticTriangle::InterpolationFunctions ( double  pcoords[3],
double  weights[6] 
)
static
static void vtkQuadraticTriangle::InterpolationDerivs ( double  pcoords[3],
double  derivs[12] 
)
static
virtual void vtkQuadraticTriangle::InterpolateFunctions ( double  pcoords[3],
double  weights[6] 
)
inlinevirtual
Deprecated:
Replaced by vtkQuadraticTriangle::InterpolateFunctions as of VTK 5.2

Definition at line 115 of file vtkQuadraticTriangle.h.

virtual void vtkQuadraticTriangle::InterpolateDerivs ( double  pcoords[3],
double  derivs[12] 
)
inlinevirtual
Deprecated:
Replaced by vtkQuadraticTriangle::InterpolateFunctions as of VTK 5.2

Definition at line 119 of file vtkQuadraticTriangle.h.

Member Data Documentation

vtkQuadraticEdge* vtkQuadraticTriangle::Edge
protected

Definition at line 129 of file vtkQuadraticTriangle.h.

vtkTriangle* vtkQuadraticTriangle::Face
protected

Definition at line 130 of file vtkQuadraticTriangle.h.

vtkDoubleArray* vtkQuadraticTriangle::Scalars
protected

Definition at line 131 of file vtkQuadraticTriangle.h.


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