28 #ifndef vtkSplineRepresentation_h
29 #define vtkSplineRepresentation_h
32 #include "vtkInteractionWidgetsModule.h"
74 vtkGetMacro(Resolution,
int);
represents an object (geometry & properties) in a rendered scene
ray-cast cell picker for all kinds of Prop3Ds
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
tessellate parametric functions
parametric function for 1D interpolating splines
create an array of quadrilaterals located in a plane
represent and manipulate 3D points
concrete dataset represents vertices, lines, polygons, and triangle strips
abstract superclass for all actors, volumes and annotations
represent surface properties of a geometric object
create a polygonal sphere centered at the origin
representation for a spline.
vtkParametricSpline * ParametricSpline
void BuildRepresentation() override
These are methods that satisfy vtkWidgetRepresentation's API.
vtkDoubleArray * GetHandlePositions() override
Get the position of the spline handles.
~vtkSplineRepresentation() override
double GetSummedLength() override
Get the approximate vs.
int InsertHandleOnLine(double *pos) override
Returns the position of insertion or -1 on fail.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkParametricFunctionSource * ParametricFunctionSource
static vtkSplineRepresentation * New()
void SetResolution(int resolution)
Set/Get the number of line segments representing the spline for this widget.
void SetNumberOfHandles(int npts) override
Set the number of handles for this widget.
void InitializeHandles(vtkPoints *points) override
Convenience method to allocate and set the handles from a vtkPoints instance.
void GetPolyData(vtkPolyData *pd) override
Grab the polydata (including points) that defines the spline.
vtkSplineRepresentation()
virtual void SetParametricSpline(vtkParametricSpline *)
Set the parametric spline object.