27 #ifndef vtkInteractorStyleFlight_h
28 #define vtkInteractorStyleFlight_h
30 #include "vtkInteractionStyleModule.h"
32 VTK_ABI_NAMESPACE_BEGIN
49 void JumpTo(
double campos[3],
double focpos[3]);
55 vtkSetMacro(MotionStepSize,
double);
56 vtkGetMacro(MotionStepSize,
double);
63 vtkSetMacro(MotionAccelerationFactor,
double);
64 vtkGetMacro(MotionAccelerationFactor,
double);
71 vtkSetMacro(AngleStepSize,
double);
72 vtkGetMacro(AngleStepSize,
double);
79 vtkSetMacro(AngleAccelerationFactor,
double);
80 vtkGetMacro(AngleAccelerationFactor,
double);
106 vtkGetVectorMacro(DefaultUpVector,
double, 3);
107 vtkSetVectorMacro(DefaultUpVector,
double, 3);
131 virtual void ForwardFly();
132 virtual void ReverseFly();
134 virtual void StartForwardFly();
135 virtual void EndForwardFly();
136 virtual void StartReverseFly();
137 virtual void EndReverseFly();
149 void UpdateMouseSteering(
vtkCamera* cam);
153 void MotionAlongVector(
double vector[3],
double amount,
vtkCamera* cam);
167 double DefaultUpVector[3];
169 double IdealFocalPoint[3];
185 VTK_ABI_NAMESPACE_END
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()
void OnChar() override
OnChar is triggered when an ASCII key is pressed.
virtual void OnLeftButtonUp()
vtkTypeBool RestoreUpVector
Routines used internally for computing motion and steering.
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.
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()
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.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
double lPitch
Routines used internally for computing motion and steering.
double MotionStepSize
Routines used internally for computing motion and steering.
double AzimuthStepSize
Routines used internally for computing motion and steering.
provide event-driven interface to the rendering window (defines trackball mode)
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.
vtkPerspectiveTransform * Transform
Routines used internally for computing motion and steering.
vtkTypeBool DisableMotion
Routines used internally for computing motion and steering.