35 #ifndef __vtkQuadraticTriangle_h
36 #define __vtkQuadraticTriangle_h
38 #include "vtkNonLinearCell.h"
40 class vtkQuadraticEdge;
49 void PrintSelf(ostream& os,
vtkIndent indent);
62 int CellBoundary(
int subId,
double pcoords[3],
vtkIdList *pts);
67 vtkCellData *inCd,
vtkIdType cellId, vtkCellData *outCd);
68 int EvaluatePosition(
double x[3],
double* closestPoint,
69 int& subId,
double pcoords[3],
70 double& dist2,
double *weights);
71 void EvaluateLocation(
int& subId,
double pcoords[3],
double x[3],
74 void Derivatives(
int subId,
double pcoords[3],
double *values,
75 int dim,
double *derivs);
76 virtual double *GetParametricCoords();
85 vtkCellData *inCd,
vtkIdType cellId, vtkCellData *outCd,
92 int IntersectWithLine(
double p1[3],
double p2[3],
double tol,
double& t,
93 double x[3],
double pcoords[3],
int& subId);
99 int GetParametricCenter(
double pcoords[3]);
103 double GetParametricDistance(
double pcoords[3]);
108 static void InterpolationFunctions(
double pcoords[3],
double weights[6]);
111 static void InterpolationDerivs(
double pcoords[3],
double derivs[12]);
140 pcoords[0] = pcoords[1] = 1./3;
represent and manipulate point attribute data
Abstract class in support of both point location and point insertion.
virtual void InterpolateDerivs(double pcoords[3], double derivs[12])
dynamic, self-adjusting array of double
abstract class to specify cell behavior
a simple class to control print indentation
int GetParametricCenter(double pcoords[3])
list of point or cell ids
abstract superclass for arrays of numeric data
virtual void InterpolateFunctions(double pcoords[3], double weights[6])
static void InterpolationFunctions(double pcoords[3], double weights[6])
object to represent cell connectivity
static void InterpolationDerivs(double pcoords[3], double derivs[12])
cell represents a parabolic, isoparametric triangle
represent and manipulate 3D points