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...
dynamic, self-adjusting array of double
a simple class to control print indentation
represent and manipulate 3D points
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkWidgetRepresentation for a poly line.
virtual void SetNumberOfHandles(int npts)
Set the number of handles for this widget.
double GetSummedLength()
Get the true length of the poly line.
virtual vtkDoubleArray * GetHandlePositions()
Get the positions of the handles.
static vtkPolyLineRepresentation * New()
virtual void InsertHandleOnLine(double *pos)
void GetPolyData(vtkPolyData *pd)
Grab the polydata (including points) that defines the poly line.
vtkPolyLineSource * PolyLineSource
vtkPolyLineRepresentation()
virtual void BuildRepresentation()
Build the representation for the poly line.
virtual void InitializeHandles(vtkPoints *points)
Convenience method to allocate and set the handles from a vtkPoints instance.
~vtkPolyLineRepresentation()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
create a poly line from a list of input points