28 #ifndef __vtkPolyLine_h
29 #define __vtkPolyLine_h
31 #include "vtkCommonDataModelModule.h"
38 class vtkIncrementalPointLocator;
46 void PrintSelf(ostream& os,
vtkIndent indent);
65 vtkCell *
GetEdge(
int vtkNotUsed(edgeId)) {
return 0;};
66 vtkCell *
GetFace(
int vtkNotUsed(faceId)) {
return 0;};
67 int CellBoundary(
int subId,
double pcoords[3],
vtkIdList *pts);
69 vtkIncrementalPointLocator *locator, vtkCellArray *verts,
70 vtkCellArray *lines, vtkCellArray *polys,
71 vtkPointData *inPd, vtkPointData *outPd,
72 vtkCellData *inCd,
vtkIdType cellId, vtkCellData *outCd);
74 vtkIncrementalPointLocator *locator, vtkCellArray *lines,
75 vtkPointData *inPd, vtkPointData *outPd,
76 vtkCellData *inCd,
vtkIdType cellId, vtkCellData *outCd,
78 int EvaluatePosition(
double x[3],
double* closestPoint,
79 int& subId,
double pcoords[3],
80 double& dist2,
double *weights);
81 void EvaluateLocation(
int& subId,
double pcoords[3],
double x[3],
83 int IntersectWithLine(
double p1[3],
double p2[3],
double tol,
double& t,
84 double x[3],
double pcoords[3],
int& subId);
86 void Derivatives(
int subId,
double pcoords[3],
double *values,
87 int dim,
double *derivs);
92 int GetParametricCenter(
double pcoords[3]);
97 virtual void InterpolateFunctions(
double pcoords[3],
double *weights);
98 virtual void InterpolateDerivs(
double pcoords[3],
double *derivs);
vtkCell * GetEdge(int vtkNotUsed(edgeId))
a simple class to control print indentation
list of point or cell ids
abstract superclass for arrays of numeric data
vtkCell * GetFace(int vtkNotUsed(faceId))
represent and manipulate 3D points
cell represents a set of 1D lines