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