Go to the documentation of this file.
36 #ifndef vtkInteractorStyleFlight_h
37 #define vtkInteractorStyleFlight_h
39 #include "vtkInteractionStyleModule.h"
57 void JumpTo(
double campos[3],
double focpos[3]);
64 vtkGetMacro(MotionStepSize,
double);
72 vtkGetMacro(MotionAccelerationFactor,
double);
80 vtkGetMacro(AngleStepSize,
double);
88 vtkGetMacro(AngleAccelerationFactor,
double);
96 vtkGetMacro(DisableMotion,
int);
109 vtkGetMacro(RestoreUpVector,
int);
114 vtkGetVectorMacro(DefaultUpVector,
double,3);
115 vtkSetVectorMacro(DefaultUpVector,
double,3);
175 double DefaultUpVector[3];
177 double IdealFocalPoint[3];
vtkInteractorStyleFlight()
void FinishCamera(vtkCamera *cam)
virtual void ForwardFly()
void FlyByMouse(vtkCamera *cam)
provides flight motion routines
virtual void OnRightButtonUp()
void UpdateMouseSteering(vtkCamera *cam)
virtual void OnLeftButtonDown()
virtual void OnMiddleButtonDown()
virtual void ReverseFly()
virtual void EndForwardFly()
double AngleAccelerationFactor
virtual void OnTimer()
OnTimer calls Rotate, Rotate etc which should be overridden by style subclasses.
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()
a simple class to control print indentation
void SetupMotionVars(vtkCamera *cam)
a virtual camera for 3D rendering
void UpdateSteering(vtkCamera *cam)
Routines used internally for computing motion and steering.
virtual void OnRightButtonDown()
double MotionAccelerationFactor
provide event-driven interface to the rendering window (defines trackball mode)
virtual void OnMouseMove()
Concrete implementation of Mouse event bindings for flight.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
virtual void OnChar()
Concrete implementation of Keyboard event bindings for flight.
void MotionAlongVector(double vector[3], double amount, vtkCamera *cam)
~vtkInteractorStyleFlight()
void GetLRVector(double vector[3], vtkCamera *cam)
virtual void StartReverseFly()
virtual void OnMiddleButtonUp()
void FlyByKey(vtkCamera *cam)
virtual void OnLeftButtonUp()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void EndReverseFly()
static vtkInteractorStyleFlight * New()