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