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

cell represents a parabolic, isoparametric triangle More...

#include <vtkBiQuadraticTriangle.h>

Inheritance diagram for vtkBiQuadraticTriangle:
[legend]
Collaboration diagram for vtkBiQuadraticTriangle:
[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 vtkBiQuadraticTriangleNew ()
 
static int IsTypeOf (const char *type)
 
static vtkBiQuadraticTriangleSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkNonLinearCell
static int IsTypeOf (const char *type)
 
static vtkNonLinearCellSafeDownCast (vtkObject *o)
 

Protected Member Functions

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

Protected Attributes

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

Detailed Description

cell represents a parabolic, isoparametric triangle

vtkBiQuadraticTriangle is a concrete implementation of vtkNonLinearCell to represent a two-dimensional, 7-node, isoparametric parabolic triangle. The interpolation is the standard finite element, bi-quadratic isoparametric shape function. The cell includes three mid-edge nodes besides the three triangle vertices and a center node. The ordering of the three points defining the cell is point ids (0-2,3-6) 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). id #6 is the center node of the cell.

See Also
vtkTriangle vtkQuadraticTriangle vtkBiQuadraticQuad vtkBiQuadraticQuadraticWedge vtkBiQuadraticQuadraticHexahedron
Thanks :
<verbatim> This file has been developed by Oxalya - www.oxalya.com Copyright (c) EDF - www.edf.fr </verbatim>
Tests:
vtkBiQuadraticTriangle (Tests)

Definition at line 49 of file vtkBiQuadraticTriangle.h.

Member Typedef Documentation

Definition at line 53 of file vtkBiQuadraticTriangle.h.

Constructor & Destructor Documentation

vtkBiQuadraticTriangle::vtkBiQuadraticTriangle ( )
protected
vtkBiQuadraticTriangle::~vtkBiQuadraticTriangle ( )
protected

Member Function Documentation

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

Reimplemented from vtkNonLinearCell.

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

Reimplemented from vtkNonLinearCell.

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

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

Definition at line 59 of file vtkBiQuadraticTriangle.h.

int vtkBiQuadraticTriangle::GetCellDimension ( )
inline

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

Definition at line 60 of file vtkBiQuadraticTriangle.h.

int vtkBiQuadraticTriangle::GetNumberOfEdges ( )
inline

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

Definition at line 61 of file vtkBiQuadraticTriangle.h.

int vtkBiQuadraticTriangle::GetNumberOfFaces ( )
inline

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

Definition at line 62 of file vtkBiQuadraticTriangle.h.

vtkCell* vtkBiQuadraticTriangle::GetEdge ( int  edgeId)

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

vtkCell* vtkBiQuadraticTriangle::GetFace ( int  )
inline

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

Definition at line 64 of file vtkBiQuadraticTriangle.h.

int vtkBiQuadraticTriangle::CellBoundary ( int  subId,
double  pcoords[3],
vtkIdList pts 
)
void vtkBiQuadraticTriangle::Contour ( double  value,
vtkDataArray cellScalars,
vtkIncrementalPointLocator locator,
vtkCellArray verts,
vtkCellArray lines,
vtkCellArray polys,
vtkPointData *  inPd,
vtkPointData *  outPd,
vtkCellData inCd,
vtkIdType  cellId,
vtkCellData outCd 
)
int vtkBiQuadraticTriangle::EvaluatePosition ( double  x[3],
double *  closestPoint,
int &  subId,
double  pcoords[3],
double &  dist2,
double *  weights 
)
void vtkBiQuadraticTriangle::EvaluateLocation ( int &  subId,
double  pcoords[3],
double  x[3],
double *  weights 
)
int vtkBiQuadraticTriangle::Triangulate ( int  index,
vtkIdList ptIds,
vtkPoints pts 
)
void vtkBiQuadraticTriangle::Derivatives ( int  subId,
double  pcoords[3],
double *  values,
int  dim,
double *  derivs 
)
virtual double* vtkBiQuadraticTriangle::GetParametricCoords ( )
virtual
void vtkBiQuadraticTriangle::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 vtkBiQuadraticTriangle::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 vtkBiQuadraticTriangle::GetParametricCenter ( double  pcoords[3])
inline

Return the center of the quadratic triangle in parametric coordinates.

Definition at line 143 of file vtkBiQuadraticTriangle.h.

double vtkBiQuadraticTriangle::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 vtkBiQuadraticTriangle::InterpolationFunctions ( double  pcoords[3],
double  weights[7] 
)
static
static void vtkBiQuadraticTriangle::InterpolationDerivs ( double  pcoords[3],
double  derivs[14] 
)
static
virtual void vtkBiQuadraticTriangle::InterpolateFunctions ( double  pcoords[3],
double  weights[7] 
)
inlinevirtual
Deprecated:
Replaced by vtkBiQuadraticTriangle::InterpolateFunctions as of VTK 5.2

Definition at line 120 of file vtkBiQuadraticTriangle.h.

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

Definition at line 124 of file vtkBiQuadraticTriangle.h.

Member Data Documentation

vtkQuadraticEdge* vtkBiQuadraticTriangle::Edge
protected

Definition at line 134 of file vtkBiQuadraticTriangle.h.

vtkTriangle* vtkBiQuadraticTriangle::Face
protected

Definition at line 135 of file vtkBiQuadraticTriangle.h.

vtkDoubleArray* vtkBiQuadraticTriangle::Scalars
protected

Definition at line 136 of file vtkBiQuadraticTriangle.h.


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