16 #ifndef vtkCameraHandleSource_h
17 #define vtkCameraHandleSource_h
21 #include "vtkInteractionWidgetsModule.h"
23 VTK_ABI_NAMESPACE_BEGIN
49 void SetPosition(
double xPos,
double yPos,
double zPos)
override;
61 void SetDirection(
double xTarget,
double yTarget,
double zTarget)
override;
74 void RecomputeArrows();
76 void RecomputeSphere();
represents an object (geometry & properties) in a rendered scene
virtual double * GetPosition()=0
Get the position of the handle.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual double * GetDirection()=0
Get the direction of the handle.
interface that can be inherited to define handler sources for any kind of interaction.
static vtkSmartPointer< T > New()
Create an instance of a VTK object.
handle source used to represent one camera.
static vtkPolyDataAlgorithm * New()
create a polygonal sphere centered at the origin
a simple class to control print indentation
a virtual camera for 3D rendering
void SetDirection(const double dir[3])
Set the direction of the handle.
Appends a cylinder to a cone to form an arrow.
appends one or more polygonal datasets together
void SetPosition(const double pos[3])
Set the position of the handle.
void operator=(const vtkHandleSource &)=delete