29 #include "vtkCommonDataModelModule.h"
30 #include "vtkPointSet.h"
34 class VTKCOMMONDATAMODEL_EXPORT
vtkPath :
public vtkPointSet
40 void PrintSelf(ostream& os, vtkIndent indent);
68 void InsertNextPoint(
float pts[3],
int code);
69 void InsertNextPoint(
double pts[3],
int code);
70 void InsertNextPoint(
double x,
double y,
double z,
int code);
75 void SetCodes(vtkIntArray *);
76 vtkIntArray *GetCodes();
82 vtkCell *
GetCell(vtkIdType) {
return NULL; }
88 void GetCellPoints(vtkIdType, vtkIdList *ptIds);
91 void GetPointCells(vtkIdType ptId, vtkIdList *cellIds);
98 void Allocate(vtkIdType size=1000,
int extSize=1000);
106 static vtkPath* GetData(vtkInformation* info);
107 static vtkPath* GetData(vtkInformationVector* v,
int i=0);
116 void operator=(
const vtkPath&);
concrete dataset representing a path defined by Bezier curves.
provides thread-safe access to cells
vtkCell * GetCell(vtkIdType)
int GetCellType(vtkIdType)
vtkIdType GetNumberOfCells()