Go to the documentation of this file.
39 #ifndef vtkInteractorStyleFlight_h
40 #define vtkInteractorStyleFlight_h
42 #include "vtkInteractionStyleModule.h"
60 void JumpTo(
double campos[3],
double focpos[3]);
66 vtkSetMacro(MotionStepSize,
double);
67 vtkGetMacro(MotionStepSize,
double);
74 vtkSetMacro(MotionAccelerationFactor,
double);
75 vtkGetMacro(MotionAccelerationFactor,
double);
82 vtkSetMacro(AngleStepSize,
double);
83 vtkGetMacro(AngleStepSize,
double);
90 vtkSetMacro(AngleAccelerationFactor,
double);
91 vtkGetMacro(AngleAccelerationFactor,
double);
117 vtkGetVectorMacro(DefaultUpVector,
double,3);
118 vtkSetVectorMacro(DefaultUpVector,
double,3);
178 double DefaultUpVector[3];
180 double IdealFocalPoint[3];
void OnLeftButtonUp() override
~vtkInteractorStyleFlight() override
vtkInteractorStyleFlight()
void FinishCamera(vtkCamera *cam)
void OnKeyDown() override
virtual void ForwardFly()
void FlyByMouse(vtkCamera *cam)
provides flight motion routines
void UpdateMouseSteering(vtkCamera *cam)
void OnTimer() override
OnTimer calls Rotate, Rotate etc which should be overridden by style subclasses.
void OnMiddleButtonDown() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void OnRightButtonUp() override
virtual void ReverseFly()
virtual void EndForwardFly()
double AngleAccelerationFactor
void JumpTo(double campos[3], double focpos[3])
Move the Eye/Camera to a specific location (no intermediate steps are taken.
vtkPerspectiveTransform * Transform
virtual void StartForwardFly()
void OnMiddleButtonUp() override
vtkTypeBool DisableMotion
a simple class to control print indentation
void SetupMotionVars(vtkCamera *cam)
a virtual camera for 3D rendering
void OnRightButtonDown() override
void UpdateSteering(vtkCamera *cam)
Routines used internally for computing motion and steering.
double MotionAccelerationFactor
void OnMouseMove() override
Concrete implementation of Mouse event bindings for flight.
vtkTypeBool RestoreUpVector
void OnChar() override
Concrete implementation of Keyboard event bindings for flight.
provide event-driven interface to the rendering window (defines trackball mode)
void MotionAlongVector(double vector[3], double amount, vtkCamera *cam)
void GetLRVector(double vector[3], vtkCamera *cam)
virtual void StartReverseFly()
void FlyByKey(vtkCamera *cam)
void OnLeftButtonDown() override
virtual void EndReverseFly()
static vtkInteractorStyleFlight * New()