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