35 #ifndef __vtkCubicLine_h
36 #define __vtkCubicLine_h
38 #include "vtkCommonDataModelModule.h"
49 void PrintSelf(ostream& os, vtkIndent indent);
59 int CellBoundary(
int subId,
double pcoords[3], vtkIdList *pts);
60 void Contour(
double value, vtkDataArray *cellScalars,
63 vtkPointData *inPd, vtkPointData *outPd,
65 int EvaluatePosition(
double x[3],
double* closestPoint,
66 int& subId,
double pcoords[3],
67 double& dist2,
double *weights);
68 void EvaluateLocation(
int& subId,
double pcoords[3],
double x[3],
70 int Triangulate(
int index, vtkIdList *ptIds, vtkPoints *pts);
71 void Derivatives(
int subId,
double pcoords[3],
double *values,
72 int dim,
double *derivs);
73 virtual double *GetParametricCoords();
78 double GetParametricDistance(
double pcoords[3]);
83 void Clip(
double value, vtkDataArray *cellScalars,
85 vtkPointData *inPd, vtkPointData *outPd,
91 int GetParametricCenter(
double pcoords[3]);
96 int IntersectWithLine(
double p1[3],
double p2[3],
double tol,
double& t,
97 double x[3],
double pcoords[3],
int& subId);
104 static void InterpolationFunctions(
double pcoords[3],
double weights[4]);
106 static void InterpolationDerivs(
double pcoords[3],
double derivs[4]);
136 pcoords[0]=pcoords[1] = pcoords[2] = 0.0;
virtual void InterpolateDerivs(double pcoords[3], double derivs[4])
int GetParametricCenter(double pcoords[3])
represent and manipulate cell attribute data
Abstract class in support of both point location and point insertion.
abstract superclass for non-linear cells
virtual void InterpolateFunctions(double pcoords[3], double weights[4])
cell represents a cubic , isoparametric 1D line
static void InterpolationDerivs(double pcoords[3], double derivs[4])
static void InterpolationFunctions(double pcoords[3], double weights[4])
void PrintSelf(ostream &os, vtkIndent indent)
object to represent cell connectivity