138#ifndef vtkInteractorStyle_h
139#define vtkInteractorStyle_h
142#include "vtkRenderingCoreModule.h"
150#define VTKIS_ROTATE 1
155#define VTKIS_USCALE 6
157#define VTKIS_FORWARDFLY 8
158#define VTKIS_REVERSEFLY 9
159#define VTKIS_TWO_POINTER 10
162#define VTKIS_LOAD_CAMERA_POSE 13
163#define VTKIS_POSITION_PROP 14
165#define VTKIS_TOGGLE_DRAW_CONTROLS 16
167#define VTKIS_GESTURE 18
168#define VTKIS_ENV_ROTATE 19
169#define VTKIS_GROUNDMOVEMENT 20
170#define VTKIS_ELEVATION 21
171#define VTKIS_TELEPORTATION 22
173#define VTKIS_ANIM_OFF 0
174#define VTKIS_ANIM_ON 1
176VTK_ABI_NAMESPACE_BEGIN
217 void SetEnabled(
int) override;
228 vtkSetClampMacro(AutoAdjustCameraClippingRange,
vtkTypeBool, 0, 1);
238 void FindPokedRenderer(
int,
int);
244 vtkGetMacro(State,
int);
263 vtkSetClampMacro(TimerDuration,
unsigned long, 1, 100000);
264 vtkGetMacro(TimerDuration,
unsigned long);
279 virtual
void OnMouseMove() {}
452 vtkSetVector3Macro(PickColor,
double);
453 vtkGetVectorMacro(PickColor,
double, 3);
462 vtkSetMacro(MouseWheelMotionFactor,
double);
463 vtkGetMacro(MouseWheelMotionFactor,
double);
480 void DelegateTDxEvent(
unsigned long event,
void* calldata);
489 static
void ProcessEvents(
490 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
512 double MouseWheelMotionFactor;
515 unsigned long TimerDuration;
a actor that draws 2D data
represents an object (geometry & properties) in a rendered scene
supports function callbacks
a simple event forwarder command
a simple class to control print indentation
an abstract superclass for classes observing events invoked by vtkRenderWindowInteractor
provide event-driven interface to the rendering window (defines trackball mode)
virtual void StopAnimate()
Interaction mode entry points used internally.
virtual void OnFifthButtonUp()
virtual void OnMove3D(vtkEventData *)
Generic 3D event bindings can be overridden in subclasses.
virtual void OnMouseWheelBackward()
virtual void OnLeftButtonDoubleClick()
virtual void OnMiddleButtonDown()
virtual void StartEnvRotate()
Interaction mode entry points used internally.
virtual void HighlightProp(vtkProp *prop)
When picking successfully selects an actor, this method highlights the picked prop appropriately.
virtual void EndUniformScale()
Interaction mode entry points used internally.
static vtkInteractorStyle * New()
This class must be supplied with a vtkRenderWindowInteractor wrapper or parent.
virtual void OnStartSwipe()
gesture based events
virtual void StartPan()
Interaction mode entry points used internally.
virtual void StartTimer()
Interaction mode entry points used internally.
virtual void OnRightButtonDown()
virtual void OnDropLocation(double *vtkNotUsed(position))
When the mouse location is updated while dragging files.
virtual void Rotate()
These methods for the different interactions in different modes are overridden in subclasses to perfo...
virtual void EndDolly()
Interaction mode entry points used internally.
virtual void OnKeyPress()
virtual void HighlightProp3D(vtkProp3D *prop3D)
When picking successfully selects an actor, this method highlights the picked prop appropriately.
virtual void UniformScale()
virtual void OnExpose()
These are more esoteric events, but are useful in some cases.
virtual void OnRightButtonUp()
virtual void OnStartPinch()
virtual void StartGesture()
Interaction mode entry points used internally.
virtual void OnEndPinch()
virtual void OnStartRotate()
virtual void OnMouseWheelRight()
virtual void OnConfigure()
virtual void OnLeftButtonDown()
virtual void EndPan()
Interaction mode entry points used internally.
virtual void OnMouseWheelForward()
virtual void OnDropFiles(vtkStringArray *vtkNotUsed(filePaths))
When files are dropped on the render window.
virtual void OnFourthButtonUp()
virtual void HighlightActor2D(vtkActor2D *actor2D)
When picking successfully selects an actor, this method highlights the picked prop appropriately.
virtual void OnMiddleButtonUp()
virtual void EndGesture()
Interaction mode entry points used internally.
virtual void OnMenu3D(vtkEventData *)
virtual void StartState(int newstate)
utility routines used by state changes
virtual void OnPick3D(vtkEventData *)
virtual void EnvironmentRotate()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void OnElevation3D(vtkEventData *)
virtual void OnRightButtonDoubleClick()
virtual void OnFifthButtonDown()
virtual void EndTwoPointer()
Interaction mode entry points used internally.
virtual void OnTimer()
OnTimer calls Rotate, Rotate etc which should be overridden by style subclasses.
virtual void OnPositionProp3D(vtkEventData *)
virtual void StartUniformScale()
Interaction mode entry points used internally.
virtual void OnStartPan()
virtual void OnEndSwipe()
virtual void OnViewerMovement3D(vtkEventData *)
virtual void OnEndRotate()
virtual void OnClip3D(vtkEventData *)
virtual void StartZoom()
Interaction mode entry points used internally.
virtual void OnMouseWheelLeft()
virtual void StartSpin()
Interaction mode entry points used internally.
virtual void EndEnvRotate()
Interaction mode entry points used internally.
virtual void OnKeyRelease()
virtual void StopState()
utility routines used by state changes
virtual void EndSpin()
Interaction mode entry points used internally.
virtual void EndTimer()
Interaction mode entry points used internally.
virtual void EndZoom()
Interaction mode entry points used internally.
virtual void OnLeftButtonUp()
virtual void OnNextPose3D(vtkEventData *)
virtual void StartTwoPointer()
Interaction mode entry points used internally.
virtual void OnButton3D(vtkEventData *)
virtual void StartDolly()
Interaction mode entry points used internally.
virtual void StartRotate()
Interaction mode entry points used internally.
virtual void StartAnimate()
Interaction mode entry points used internally.
virtual void OnMiddleButtonDoubleClick()
virtual void OnSelect3D(vtkEventData *)
virtual void OnFourthButtonDown()
void OnChar() override
OnChar is triggered when an ASCII key is pressed.
virtual void EndRotate()
Interaction mode entry points used internally.
abstract base class for most VTK objects
create wireframe outline around bounding box
map vtkPolyData to graphics primitives
represents an 3D object for placement in a rendered scene
abstract superclass for all actors, volumes and annotations
platform-independent render window interaction including picking and frame rate control.
abstract specification for renderers
a vtkAbstractArray subclass for strings
provide 3DConnexion device event-driven interface to the rendering window
#define VTK_MARSHAL_EXCLUDE_REASON_IS_REDUNDANT
#define VTK_MARSHAL_EXCLUDE_REASON_IS_INTERNAL
#define VTK_MARSHALEXCLUDE(reason)