123 #ifndef vtkPolyLine_h
124 #define vtkPolyLine_h
127 #include "vtkCommonDataModelModule.h"
130 VTK_ABI_NAMESPACE_BEGIN
159 double* firstNormal,
bool threading =
false);
179 int EvaluatePosition(
const double x[3],
double closestPoint[3],
int& subId,
double pcoords[3],
180 double& dist2,
double weights[])
override;
181 void EvaluateLocation(
int& subId,
const double pcoords[3],
double x[3],
double* weights)
override;
182 int IntersectWithLine(
const double p1[3],
const double p2[3],
double tol,
double& t,
double x[3],
183 double pcoords[3],
int& subId)
override;
186 int subId,
const double pcoords[3],
const double* values,
int dim,
double* derivs)
override;
206 VTK_ABI_NAMESPACE_END
object to represent cell connectivity
represent and manipulate cell attribute data
abstract class to specify cell behavior
abstract superclass for arrays of numeric data
list of point or cell ids
Abstract class in support of both point location and point insertion.
a simple class to control print indentation
cell represents a 1D line
represent and manipulate point attribute data
represent and manipulate 3D points
cell represents a set of 1D lines
void Clip(double value, vtkDataArray *cellScalars, vtkIncrementalPointLocator *locator, vtkCellArray *lines, vtkPointData *inPd, vtkPointData *outPd, vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd, int insideOut) override
See the vtkCell API for descriptions of these methods.
static int GenerateSlidingNormals(vtkPoints *pts, vtkCellArray *lines, vtkDataArray *normals, double *firstNormal, bool threading=false)
Given points and lines, compute normals to the lines.
static int GenerateSlidingNormals(vtkPoints *pts, vtkCellArray *lines, vtkDataArray *normals)
Given points and lines, compute normals to the lines.
int GetNumberOfFaces() override
See the vtkCell API for descriptions of these methods.
int TriangulateLocalIds(int index, vtkIdList *ptIds) override
See the vtkCell API for descriptions of these methods.
int CellBoundary(int subId, const double pcoords[3], vtkIdList *pts) override
See the vtkCell API for descriptions of these methods.
int GetCellDimension() override
See the vtkCell API for descriptions of these methods.
void Contour(double value, vtkDataArray *cellScalars, vtkIncrementalPointLocator *locator, vtkCellArray *verts, vtkCellArray *lines, vtkCellArray *polys, vtkPointData *inPd, vtkPointData *outPd, vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd) override
See the vtkCell API for descriptions of these methods.
static vtkPolyLine * New()
void EvaluateLocation(int &subId, const double pcoords[3], double x[3], double *weights) override
See the vtkCell API for descriptions of these methods.
vtkCell * GetFace(int vtkNotUsed(faceId)) override
See the vtkCell API for descriptions of these methods.
int GetCellType() override
See the vtkCell API for descriptions of these methods.
vtkCell * GetEdge(int vtkNotUsed(edgeId)) override
See the vtkCell API for descriptions of these methods.
int GetNumberOfEdges() override
See the vtkCell API for descriptions of these methods.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int IntersectWithLine(const double p1[3], const double p2[3], double tol, double &t, double x[3], double pcoords[3], int &subId) override
See the vtkCell API for descriptions of these methods.
int GetParametricCenter(double pcoords[3]) override
Return the center of the point cloud in parametric coordinates.
void Derivatives(int subId, const double pcoords[3], const double *values, int dim, double *derivs) override
See the vtkCell API for descriptions of these methods.
int EvaluatePosition(const double x[3], double closestPoint[3], int &subId, double pcoords[3], double &dist2, double weights[]) override
See the vtkCell API for descriptions of these methods.
int IsPrimaryCell() override
See the vtkCell API for descriptions of these methods.