39 #ifndef vtkInteractorStyleFlight_h
40 #define vtkInteractorStyleFlight_h
42 #include "vtkInteractionStyleModule.h"
60 void JumpTo(
double campos[3],
double focpos[3]);
67 vtkGetMacro(MotionStepSize,
double);
75 vtkGetMacro(MotionAccelerationFactor,
double);
83 vtkGetMacro(AngleStepSize,
double);
91 vtkGetMacro(AngleAccelerationFactor,
double);
99 vtkGetMacro(DisableMotion,
int);
112 vtkGetMacro(RestoreUpVector,
int);
117 vtkGetVectorMacro(DefaultUpVector,
double,3);
118 vtkSetVectorMacro(DefaultUpVector,
double,3);
142 virtual void ForwardFly();
143 virtual void ReverseFly();
145 virtual void StartForwardFly();
146 virtual void EndForwardFly();
147 virtual void StartReverseFly();
148 virtual void EndReverseFly();
160 void UpdateMouseSteering(
vtkCamera *cam);
164 void MotionAlongVector(
double vector[3],
double amount,
vtkCamera* cam);
178 double DefaultUpVector[3];
180 double IdealFocalPoint[3];
virtual void OnLeftButtonDown()
double AngleStepSize
Routines used internally for computing motion and steering.
double MotionAccelerationFactor
Routines used internally for computing motion and steering.
virtual void OnMiddleButtonDown()
virtual void OnRightButtonDown()
virtual void OnLeftButtonUp()
static vtkInteractorStyle * New()
This class must be supplied with a vtkRenderWindowInteractor wrapper or parent.
provides flight motion routines
virtual void OnMiddleButtonUp()
double AngleAccelerationFactor
Routines used internally for computing motion and steering.
double DeltaPitch
Routines used internally for computing motion and steering.
int RestoreUpVector
Routines used internally for computing motion and steering.
unsigned char KeysDown
Routines used internally for computing motion and steering.
virtual void OnTimer()
OnTimer calls Rotate, Rotate etc which should be overridden by style subclasses.
virtual void OnRightButtonUp()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
a virtual camera for 3D rendering
double DiagonalLength
Routines used internally for computing motion and steering.
double lYaw
Routines used internally for computing motion and steering.
double lPitch
Routines used internally for computing motion and steering.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
double MotionStepSize
Routines used internally for computing motion and steering.
virtual void OnChar()
OnChar is triggered when an ASCII key is pressed.
double AzimuthStepSize
Routines used internally for computing motion and steering.
provide event-driven interface to the rendering window (defines trackball mode)
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
double MotionUserScale
Routines used internally for computing motion and steering.
double DeltaYaw
Routines used internally for computing motion and steering.
virtual void OnMouseMove()
Generic event bindings can be overridden in subclasses.
int DisableMotion
Routines used internally for computing motion and steering.
vtkPerspectiveTransform * Transform
Routines used internally for computing motion and steering.