Go to the documentation of this file.
32 #ifndef vtkPolyLineRepresentation_h
33 #define vtkPolyLineRepresentation_h
35 #include "vtkInteractionWidgetsModule.h"
represent and manipulate 3D points
void BuildRepresentation() override
Build the representation for the poly line.
vtkDoubleArray * GetHandlePositions() override
Get the positions of the handles.
static vtkPolyLineRepresentation * New()
void InitializeHandles(vtkPoints *points) override
Convenience method to allocate and set the handles from a vtkPoints instance.
void InsertHandleOnLine(double *pos) override
vtkWidgetRepresentation base class for a widget that represents an curve that connects control points...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPolyLineRepresentation()
vtkWidgetRepresentation for a poly line.
void GetPolyData(vtkPolyData *pd) override
Grab the polydata (including points) that defines the poly line.
a simple class to control print indentation
void SetNumberOfHandles(int npts) override
Set the number of handles for this widget.
create a poly line from a list of input points
vtkPolyLineSource * PolyLineSource
concrete dataset represents vertices, lines, polygons, and triangle strips
dynamic, self-adjusting array of double
~vtkPolyLineRepresentation() override
double GetSummedLength() override
Get the true length of the poly line.