31 #ifndef vtkCameraPathRepresentation_h
32 #define vtkCameraPathRepresentation_h
35 #include "vtkInteractionWidgetsModule.h"
90 void DeleteCameraAt(
int index);
104 void ClearCameraHandles();
115 void CreateDefaultHandles(
int npts);
125 void ReconfigureHandles(
int newNPts,
int oldNPts);
146 void RebuildRepresentation();
148 void UpdateConfiguration(
int npts);
150 std::vector<vtkSmartPointer<vtkCameraHandleSource>> CameraHandles;
151 std::vector<vtkSmartPointer<vtkActor>> HandleActors;
abstract superclass for all actors, volumes and annotations
represents an object (geometry & properties) in a rendered scene
virtual void InitializeHandles(vtkPoints *points)=0
Convenience method to allocate and set the handles from a vtkPoints instance.
abstract representation for a spline.
virtual void SetParametricSpline(vtkParametricSpline *spline)
Set the parametric spline object.
virtual void SizeHandles()
interface that can be inherited to define handler sources for any kind of interaction.
virtual int GetHandleIndex(vtkProp *prop)=0
returns handle index or -1 on fail
handle source used to represent one camera.
virtual void SetNumberOfHandles(int npts)=0
Set/Get the number of handles for this widget.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual vtkHandleSource * GetHandleSource(int index)=0
representation for a camera path.
parametric function for 1D interpolating splines
virtual void SetDirectional(bool val)
Set the representation to be directional or not.
a simple class to control print indentation
a virtual camera for 3D rendering
void BuildRepresentation() override=0
These are methods that satisfy vtkWidgetRepresentation API.
virtual void EraseHandle(const int &)
virtual vtkActor * GetHandleActor(int index)=0
virtual int InsertHandleOnLine(double *pos)=0
Returns the position of insertion or -1 on fail.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
represent and manipulate 3D points