32 #ifndef vtkPolyLineRepresentation_h 33 #define vtkPolyLineRepresentation_h 35 #include "vtkInteractionWidgetsModule.h" vtkWidgetRepresentation base class for a widget that represents an curve that connects control points...
virtual void GetPolyData(vtkPolyData *pd)=0
Grab the polydata (including points) that defines the interpolating curve.
virtual void InitializeHandles(vtkPoints *points)=0
Convenience method to allocate and set the handles from a vtkPoints instance.
virtual void InsertHandleOnLine(double *pos)=0
virtual double GetSummedLength()=0
Get the approximate vs.
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkWidgetRepresentation for a poly line.
virtual void SetNumberOfHandles(int npts)=0
Set/Get the number of handles for this widget.
dynamic, self-adjusting array of double
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void BuildRepresentation() override=0
These are methods that satisfy vtkWidgetRepresentation's API.
virtual vtkDoubleArray * GetHandlePositions()=0
Set/Get the position of the handles.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
represent and manipulate 3D points
vtkPolyLineSource * PolyLineSource
create a poly line from a list of input points