28#ifndef vtkCameraHandleSource_h
29#define vtkCameraHandleSource_h
33#include "vtkInteractionWidgetsModule.h"
60 void SetPosition(
double xPos,
double yPos,
double zPos)
override;
72 void SetDirection(
double xTarget,
double yTarget,
double zTarget)
override;
represents an object (geometry & properties) in a rendered scene
appends one or more polygonal datasets together
Appends a cylinder to a cone to form an arrow.
handle source used to represent one camera.
~vtkCameraHandleSource() override
double * GetDirection() override
Set/Get the direction of the camera handle.
void SetCamera(vtkCamera *cam)
Set the camera represented by this handle.
static vtkCameraHandleSource * New()
double * GetPosition() override
Set/Get the position of the camera handle.
void SetPosition(double xPos, double yPos, double zPos) override
Set/Get the position of the camera handle.
void operator=(const vtkCameraHandleSource &)=delete
void SetDirection(double xTarget, double yTarget, double zTarget) override
Set/Get the direction of the camera handle.
vtkCameraHandleSource(const vtkCameraHandleSource &)=delete
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
a virtual camera for 3D rendering
interface that can be inherited to define handler sources for any kind of interaction.
void SetPosition(const double pos[3])
Set the position of the handle.
void SetDirection(const double dir[3])
Set the direction of the handle.
virtual double * GetPosition()=0
Get the position of the handle.
virtual double * GetDirection()=0
Get the direction of the handle.
a simple class to control print indentation
Allocate and hold a VTK object.
Hold a reference to a vtkObjectBase instance.
static vtkSmartPointer< T > New()
Create an instance of a VTK object.
create a polygonal sphere centered at the origin