35 #ifndef __vtkCubicLine_h
36 #define __vtkCubicLine_h
38 #include "vtkCommonDataModelModule.h"
39 #include "vtkNonLinearCell.h"
44 class VTKCOMMONDATAMODEL_EXPORT
vtkCubicLine :
public vtkNonLinearCell
49 void PrintSelf(ostream& os,
vtkIndent indent);
59 int CellBoundary(
int subId,
double pcoords[3],
vtkIdList *pts);
61 vtkIncrementalPointLocator *locator,
vtkCellArray *verts,
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],
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]);
84 vtkIncrementalPointLocator *locator,
vtkCellArray *lines,
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
virtual void InterpolateFunctions(double pcoords[3], double weights[4])
dynamic, self-adjusting array of double
cell represents a cubic , isoparametric 1D line
abstract class to specify cell behavior
static void InterpolationDerivs(double pcoords[3], double derivs[4])
a simple class to control print indentation
list of point or cell ids
abstract superclass for arrays of numeric data
static void InterpolationFunctions(double pcoords[3], double weights[4])
object to represent cell connectivity
represent and manipulate 3D points