VTK  9.4.20241218
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Friends | List of all members
vtkRenderWindowInteractor Class Reference

platform-independent render window interaction including picking and frame rate control. More...

#include <vtkRenderWindowInteractor.h>

Inheritance diagram for vtkRenderWindowInteractor:
[legend]
Collaboration diagram for vtkRenderWindowInteractor:
[legend]

Public Types

enum  { OneShotTimer = 1 , RepeatingTimer }
 
typedef vtkObject Superclass
 

Public Member Functions

virtual vtkTypeBool IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class.
 
vtkRenderWindowInteractorNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses.
 
void UnRegister (vtkObjectBase *o) override
 This Method detects loops of RenderWindow-Interactor, so objects are freed properly.
 
virtual void Start ()
 Start the event loop.
 
virtual void ProcessEvents ()
 Process all user-interaction, timer events and return.
 
virtual bool GetDone ()
 Is the interactor loop done.
 
virtual void SetDone (bool)
 
virtual void Enable ()
 Enable/Disable interactions.
 
virtual void Disable ()
 
virtual int GetEnabled ()
 
virtual void UpdateSize (int x, int y)
 Event loop notification member for window size change.
 
virtual int CreateTimer (int timerType)
 This class provides two groups of methods for manipulating timers.
 
virtual int DestroyTimer ()
 
int CreateRepeatingTimer (unsigned long duration)
 Create a repeating timer, with the specified duration (in milliseconds).
 
int CreateOneShotTimer (unsigned long duration)
 Create a one shot timer, with the specified duration (in milliseconds).
 
int IsOneShotTimer (int timerId)
 Query whether the specified timerId is a one shot timer.
 
unsigned long GetTimerDuration (int timerId)
 Get the duration (in milliseconds) for the specified timerId.
 
int ResetTimer (int timerId)
 Reset the specified timer.
 
int DestroyTimer (int timerId)
 Destroy the timer specified by timerId.
 
virtual int GetVTKTimerId (int platformTimerId)
 Get the VTK timer ID that corresponds to the supplied platform ID.
 
virtual void TerminateApp ()
 This function is called on 'q','e' keypress if exitmethod is not specified and should be overridden by platform dependent subclasses to provide a termination procedure if one is required.
 
virtual vtkAbstractPropPickerCreateDefaultPicker ()
 Create default picker.
 
virtual void GetMousePosition (int *x, int *y)
 Get the current position of the mouse.
 
virtual void Render ()
 Render the scene.
 
virtual int * GetEventPositions (int pointerIndex)
 
virtual int * GetLastEventPositions (int pointerIndex)
 
virtual void SetEventPosition (int x, int y, int pointerIndex)
 
virtual void SetEventPosition (int pos[2], int pointerIndex)
 
virtual void SetEventPositionFlipY (int x, int y, int pointerIndex)
 
virtual void SetEventPositionFlipY (int pos[2], int pointerIndex)
 
virtual vtkRendererFindPokedRenderer (int, int)
 When an event occurs, we must determine which Renderer the event occurred within, since one RenderWindow may contain multiple renderers.
 
vtkObserverMediatorGetObserverMediator ()
 Return the object used to mediate between vtkInteractorObservers contending for resources.
 
virtual void Initialize ()
 Prepare for handling events and set the Enabled flag to true.
 
void ReInitialize ()
 Prepare for handling events and set the Enabled flag to true.
 
virtual void EnableRenderOn ()
 Enable/Disable whether vtkRenderWindowInteractor::Render() calls this->RenderWindow->Render().
 
virtual void EnableRenderOff ()
 Enable/Disable whether vtkRenderWindowInteractor::Render() calls this->RenderWindow->Render().
 
virtual void SetEnableRender (bool)
 Enable/Disable whether vtkRenderWindowInteractor::Render() calls this->RenderWindow->Render().
 
virtual bool GetEnableRender ()
 Enable/Disable whether vtkRenderWindowInteractor::Render() calls this->RenderWindow->Render().
 
void SetRenderWindow (vtkRenderWindow *aren)
 Set/Get the rendering window being controlled by this object.
 
virtual vtkRenderWindowGetRenderWindow ()
 Set/Get the rendering window being controlled by this object.
 
void SetHardwareWindow (vtkHardwareWindow *aren)
 Set/Get the hardware window being controlled by this object.
 
virtual vtkHardwareWindowGetHardwareWindow ()
 Set/Get the hardware window being controlled by this object.
 
virtual void SetTimerDuration (unsigned long)
 Specify the default timer interval (in milliseconds).
 
virtual unsigned long GetTimerDuration ()
 Specify the default timer interval (in milliseconds).
 
virtual void SetTimerEventId (int)
 These methods are used to communicate information about the currently firing CreateTimerEvent or DestroyTimerEvent.
 
virtual int GetTimerEventId ()
 These methods are used to communicate information about the currently firing CreateTimerEvent or DestroyTimerEvent.
 
virtual void SetTimerEventType (int)
 These methods are used to communicate information about the currently firing CreateTimerEvent or DestroyTimerEvent.
 
virtual int GetTimerEventType ()
 These methods are used to communicate information about the currently firing CreateTimerEvent or DestroyTimerEvent.
 
virtual void SetTimerEventDuration (int)
 These methods are used to communicate information about the currently firing CreateTimerEvent or DestroyTimerEvent.
 
virtual int GetTimerEventDuration ()
 These methods are used to communicate information about the currently firing CreateTimerEvent or DestroyTimerEvent.
 
virtual void SetTimerEventPlatformId (int)
 These methods are used to communicate information about the currently firing CreateTimerEvent or DestroyTimerEvent.
 
virtual int GetTimerEventPlatformId ()
 These methods are used to communicate information about the currently firing CreateTimerEvent or DestroyTimerEvent.
 
virtual void SetInteractorStyle (vtkInteractorObserver *)
 External switching between joystick/trackball/new? modes.
 
virtual vtkInteractorObserverGetInteractorStyle ()
 External switching between joystick/trackball/new? modes.
 
virtual void SetLightFollowCamera (vtkTypeBool)
 Turn on/off the automatic repositioning of lights as the camera moves.
 
virtual vtkTypeBool GetLightFollowCamera ()
 Turn on/off the automatic repositioning of lights as the camera moves.
 
virtual void LightFollowCameraOn ()
 Turn on/off the automatic repositioning of lights as the camera moves.
 
virtual void LightFollowCameraOff ()
 Turn on/off the automatic repositioning of lights as the camera moves.
 
virtual void SetDesiredUpdateRate (double)
 Set/Get the desired update rate.
 
virtual double GetDesiredUpdateRate ()
 Set/Get the desired update rate.
 
virtual void SetStillUpdateRate (double)
 Set/Get the desired update rate when movement has stopped.
 
virtual double GetStillUpdateRate ()
 Set/Get the desired update rate when movement has stopped.
 
virtual int GetInitialized ()
 See whether interactor has been initialized yet.
 
virtual void SetPicker (vtkAbstractPicker *)
 Set/Get the object used to perform pick operations.
 
virtual vtkAbstractPickerGetPicker ()
 Set/Get the object used to perform pick operations.
 
virtual void SetPickingManager (vtkPickingManager *)
 Set the picking manager.
 
virtual vtkPickingManagerGetPickingManager ()
 Set the picking manager.
 
virtual void ExitCallback ()
 These methods correspond to the Exit, User and Pick callbacks.
 
virtual void UserCallback ()
 These methods correspond to the Exit, User and Pick callbacks.
 
virtual void StartPickCallback ()
 These methods correspond to the Exit, User and Pick callbacks.
 
virtual void EndPickCallback ()
 These methods correspond to the Exit, User and Pick callbacks.
 
void HideCursor ()
 Hide or show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to display a 3D cursor instead.
 
void ShowCursor ()
 Hide or show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to display a 3D cursor instead.
 
void FlyTo (vtkRenderer *ren, double x, double y, double z)
 Given a position x, move the current camera's focal point to x.
 
void FlyTo (vtkRenderer *ren, double *x)
 Given a position x, move the current camera's focal point to x.
 
void FlyToImage (vtkRenderer *ren, double x, double y)
 Given a position x, move the current camera's focal point to x.
 
void FlyToImage (vtkRenderer *ren, double *x)
 Given a position x, move the current camera's focal point to x.
 
virtual void SetNumberOfFlyFrames (int)
 Set the number of frames to fly to when FlyTo is invoked.
 
virtual int GetNumberOfFlyFrames ()
 Set the number of frames to fly to when FlyTo is invoked.
 
virtual void SetDolly (double)
 Set the total Dolly value to use when flying to (FlyTo()) a specified point.
 
virtual double GetDolly ()
 Set the total Dolly value to use when flying to (FlyTo()) a specified point.
 
virtual int * GetEventPosition ()
 Set/Get information about the current event.
 
virtual void GetEventPosition (int &, int &)
 Set/Get information about the current event.
 
virtual void GetEventPosition (int[2])
 Set/Get information about the current event.
 
virtual int * GetLastEventPosition ()
 Set/Get information about the current event.
 
virtual void GetLastEventPosition (int &, int &)
 Set/Get information about the current event.
 
virtual void GetLastEventPosition (int[2])
 Set/Get information about the current event.
 
virtual void SetLastEventPosition (int, int)
 Set/Get information about the current event.
 
void SetLastEventPosition (int[2])
 Set/Get information about the current event.
 
virtual void SetEventPosition (int x, int y)
 Set/Get information about the current event.
 
virtual void SetEventPosition (int pos[2])
 Set/Get information about the current event.
 
virtual void SetEventPositionFlipY (int x, int y)
 Set/Get information about the current event.
 
virtual void SetEventPositionFlipY (int pos[2])
 Set/Get information about the current event.
 
virtual void SetAltKey (int)
 Set/get whether alt modifier key was pressed.
 
virtual int GetAltKey ()
 Set/get whether alt modifier key was pressed.
 
virtual void SetControlKey (int)
 Set/get whether control modifier key was pressed.
 
virtual int GetControlKey ()
 Set/get whether control modifier key was pressed.
 
virtual void SetShiftKey (int)
 Set/get whether shift modifier key was pressed.
 
virtual int GetShiftKey ()
 Set/get whether shift modifier key was pressed.
 
virtual void SetKeyCode (char)
 Set/get the unicode value for the key that was pressed, as an 8-bit char value.
 
virtual char GetKeyCode ()
 Set/get the unicode value for the key that was pressed, as an 8-bit char value.
 
virtual void SetRepeatCount (int)
 Set/get the repeat count for the key or mouse event.
 
virtual int GetRepeatCount ()
 Set/get the repeat count for the key or mouse event.
 
virtual void SetKeySym (const char *)
 Set/get the key symbol for the key that was pressed.
 
virtual char * GetKeySym ()
 Set/get the key symbol for the key that was pressed.
 
virtual void SetPointerIndex (int)
 Set/get the index of the most recent pointer to have an event.
 
virtual int GetPointerIndex ()
 Set/get the index of the most recent pointer to have an event.
 
void SetRotation (double rotation)
 Set/get the rotation for the gesture in degrees, update LastRotation.
 
virtual double GetRotation ()
 Set/get the rotation for the gesture in degrees, update LastRotation.
 
virtual double GetLastRotation ()
 Set/get the rotation for the gesture in degrees, update LastRotation.
 
void SetScale (double scale)
 Set/get the scale for the gesture, updates LastScale.
 
virtual double GetScale ()
 Set/get the scale for the gesture, updates LastScale.
 
virtual double GetLastScale ()
 Set/get the scale for the gesture, updates LastScale.
 
void SetTranslation (double val[2])
 Set/get the translation for pan/swipe gestures, update LastTranslation.
 
virtual double * GetTranslation ()
 Set/get the translation for pan/swipe gestures, update LastTranslation.
 
virtual void GetTranslation (double &, double &)
 Set/get the translation for pan/swipe gestures, update LastTranslation.
 
virtual void GetTranslation (double[2])
 Set/get the translation for pan/swipe gestures, update LastTranslation.
 
virtual double * GetLastTranslation ()
 Set/get the translation for pan/swipe gestures, update LastTranslation.
 
virtual void GetLastTranslation (double &, double &)
 Set/get the translation for pan/swipe gestures, update LastTranslation.
 
virtual void GetLastTranslation (double[2])
 Set/get the translation for pan/swipe gestures, update LastTranslation.
 
void SetEventInformation (int x, int y, int ctrl, int shift, char keycode, int repeatcount, const char *keysym, int pointerIndex)
 Set all the event information in one call.
 
void SetEventInformation (int x, int y, int ctrl=0, int shift=0, char keycode=0, int repeatcount=0, const char *keysym=nullptr)
 Set all the event information in one call.
 
void SetEventInformationFlipY (int x, int y, int ctrl, int shift, char keycode, int repeatcount, const char *keysym, int pointerIndex)
 Calls SetEventInformation, but flips the Y based on the current Size[1] value (i.e.
 
void SetEventInformationFlipY (int x, int y, int ctrl=0, int shift=0, char keycode=0, int repeatcount=0, const char *keysym=nullptr)
 Calls SetEventInformation, but flips the Y based on the current Size[1] value (i.e.
 
void SetKeyEventInformation (int ctrl=0, int shift=0, char keycode=0, int repeatcount=0, const char *keysym=nullptr)
 Set all the keyboard-related event information in one call.
 
virtual void SetSize (int, int)
 This methods sets the Size ivar of the interactor without actually changing the size of the window.
 
void SetSize (int[2])
 This methods sets the Size ivar of the interactor without actually changing the size of the window.
 
virtual int * GetSize ()
 This methods sets the Size ivar of the interactor without actually changing the size of the window.
 
virtual void GetSize (int &, int &)
 This methods sets the Size ivar of the interactor without actually changing the size of the window.
 
virtual void GetSize (int[2])
 This methods sets the Size ivar of the interactor without actually changing the size of the window.
 
virtual void SetEventSize (int, int)
 This methods sets the Size ivar of the interactor without actually changing the size of the window.
 
void SetEventSize (int[2])
 This methods sets the Size ivar of the interactor without actually changing the size of the window.
 
virtual int * GetEventSize ()
 This methods sets the Size ivar of the interactor without actually changing the size of the window.
 
virtual void GetEventSize (int &, int &)
 This methods sets the Size ivar of the interactor without actually changing the size of the window.
 
virtual void GetEventSize (int[2])
 This methods sets the Size ivar of the interactor without actually changing the size of the window.
 
virtual void SetUseTDx (bool)
 Use a 3DConnexion device.
 
virtual bool GetUseTDx ()
 Use a 3DConnexion device.
 
virtual void MouseMoveEvent ()
 Fire various events.
 
virtual void RightButtonPressEvent ()
 Fire various events.
 
virtual void RightButtonReleaseEvent ()
 Fire various events.
 
virtual void LeftButtonPressEvent ()
 Fire various events.
 
virtual void LeftButtonReleaseEvent ()
 Fire various events.
 
virtual void MiddleButtonPressEvent ()
 Fire various events.
 
virtual void MiddleButtonReleaseEvent ()
 Fire various events.
 
virtual void MouseWheelForwardEvent ()
 Fire various events.
 
virtual void MouseWheelBackwardEvent ()
 Fire various events.
 
virtual void MouseWheelLeftEvent ()
 Fire various events.
 
virtual void MouseWheelRightEvent ()
 Fire various events.
 
virtual void ExposeEvent ()
 Fire various events.
 
virtual void ConfigureEvent ()
 Fire various events.
 
virtual void EnterEvent ()
 Fire various events.
 
virtual void LeaveEvent ()
 Fire various events.
 
virtual void KeyPressEvent ()
 Fire various events.
 
virtual void KeyReleaseEvent ()
 Fire various events.
 
virtual void CharEvent ()
 Fire various events.
 
virtual void ExitEvent ()
 Fire various events.
 
virtual void FourthButtonPressEvent ()
 Fire various events.
 
virtual void FourthButtonReleaseEvent ()
 Fire various events.
 
virtual void FifthButtonPressEvent ()
 Fire various events.
 
virtual void FifthButtonReleaseEvent ()
 Fire various events.
 
virtual void StartPinchEvent ()
 Fire various gesture based events.
 
virtual void PinchEvent ()
 Fire various gesture based events.
 
virtual void EndPinchEvent ()
 Fire various gesture based events.
 
virtual void StartRotateEvent ()
 Fire various gesture based events.
 
virtual void RotateEvent ()
 Fire various gesture based events.
 
virtual void EndRotateEvent ()
 Fire various gesture based events.
 
virtual void StartPanEvent ()
 Fire various gesture based events.
 
virtual void PanEvent ()
 Fire various gesture based events.
 
virtual void EndPanEvent ()
 Fire various gesture based events.
 
virtual void TapEvent ()
 Fire various gesture based events.
 
virtual void LongTapEvent ()
 Fire various gesture based events.
 
virtual void SwipeEvent ()
 Fire various gesture based events.
 
virtual void SetRecognizeGestures (bool)
 Convert multitouch events into gestures.
 
virtual bool GetRecognizeGestures ()
 Convert multitouch events into gestures.
 
virtual int GetPointersDownCount ()
 When handling gestures you can query this value to determine how many pointers are down for the gesture this is useful for pan gestures for example.
 
void ClearContact (size_t contactID)
 Most multitouch systems use persistent contact/pointer ids to track events/motion during multitouch events.
 
int GetPointerIndexForContact (size_t contactID)
 Most multitouch systems use persistent contact/pointer ids to track events/motion during multitouch events.
 
int GetPointerIndexForExistingContact (size_t contactID)
 Most multitouch systems use persistent contact/pointer ids to track events/motion during multitouch events.
 
bool IsPointerIndexSet (int i)
 Most multitouch systems use persistent contact/pointer ids to track events/motion during multitouch events.
 
void ClearPointerIndex (int i)
 Most multitouch systems use persistent contact/pointer ids to track events/motion during multitouch events.
 
virtual vtkCommand::EventIds GetCurrentGesture () const
 Get the current gesture that was recognized when handling multitouch and VR events.
 
virtual void SetCurrentGesture (vtkCommand::EventIds eid)
 Get the current gesture that was recognized when handling multitouch and VR events.
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 Turn debugging output on.
 
virtual void DebugOff ()
 Turn debugging output off.
 
bool GetDebug ()
 Get the value of the debug flag.
 
void SetDebug (bool debugFlag)
 Set the value of the debug flag.
 
virtual void Modified ()
 Update the modification time for this object.
 
virtual vtkMTimeType GetMTime ()
 Return this object's modified time.
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses.
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
vtkTypeBool HasObserver (unsigned long event)
 
vtkTypeBool HasObserver (const char *event)
 
vtkTypeBool InvokeEvent (unsigned long event)
 
vtkTypeBool InvokeEvent (const char *event)
 
std::string GetObjectDescription () const override
 The object description printed in messages and PrintSelf output.
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
vtkCommandGetCommand (unsigned long tag)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
void RemoveObserver (vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
void RemoveObservers (unsigned long event, vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
void RemoveObservers (const char *event, vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
vtkTypeBool HasObserver (unsigned long event, vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
vtkTypeBool HasObserver (const char *event, vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 Overloads to AddObserver that allow developers to add class member functions as callbacks for events.
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 Overloads to AddObserver that allow developers to add class member functions as callbacks for events.
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 Allow user to set the AbortFlagOn() with the return value of the callback method.
 
vtkTypeBool InvokeEvent (unsigned long event, void *callData)
 This method invokes an event and return whether the event was aborted or not.
 
vtkTypeBool InvokeEvent (const char *event, void *callData)
 This method invokes an event and return whether the event was aborted or not.
 
virtual void SetObjectName (const std::string &objectName)
 Set/get the name of this object for reporting purposes.
 
virtual std::string GetObjectName () const
 Set/get the name of this object for reporting purposes.
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 Return the class name as a string.
 
virtual std::string GetObjectDescription () const
 The object description printed in messages and PrintSelf output.
 
virtual vtkTypeBool IsA (const char *name)
 Return 1 if this class is the same type of (or a subclass of) the named class.
 
virtual vtkIdType GetNumberOfGenerationsFromBase (const char *name)
 Given the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class).
 
virtual void Delete ()
 Delete a VTK object.
 
virtual void FastDelete ()
 Delete a reference to this object.
 
void InitializeObjectBase ()
 
void Print (ostream &os)
 Print an object to an ostream.
 
void Register (vtkObjectBase *o)
 Increase the reference count (mark as used by another object).
 
virtual void UnRegister (vtkObjectBase *o)
 Decrease the reference count (release by another object).
 
int GetReferenceCount ()
 Return the current reference count of this object.
 
void SetReferenceCount (int)
 Sets the reference count.
 
bool GetIsInMemkind () const
 A local state flag that remembers whether this object lives in the normal or extended memory space.
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses.
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses.
 
virtual bool UsesGarbageCollector () const
 Indicate whether the class uses vtkGarbageCollector or not.
 

Static Public Member Functions

static vtkRenderWindowInteractorNew ()
 
static vtkTypeBool IsTypeOf (const char *type)
 
static vtkRenderWindowInteractorSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
 
static void BreakOnError ()
 This method is called when vtkErrorMacro executes.
 
static void SetGlobalWarningDisplay (vtkTypeBool val)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
 
static void GlobalWarningDisplayOn ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
 
static void GlobalWarningDisplayOff ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
 
static vtkTypeBool GetGlobalWarningDisplay ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 Return 1 if this class type is the same type of (or a subclass of) the named class.
 
static vtkIdType GetNumberOfGenerationsFromBaseType (const char *name)
 Given a the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class).
 
static vtkObjectBaseNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
 
static void SetMemkindDirectory (const char *directoryname)
 The name of a directory, ideally mounted -o dax, to memory map an extended memory space within.
 
static bool GetUsingMemkind ()
 A global state flag that controls whether vtkObjects are constructed in the usual way (the default) or within the extended memory space.
 

Static Public Attributes

static bool InteractorManagesTheEventLoop
 This flag is useful when you are integrating VTK in a larger system.
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkRenderWindowInteractor ()
 
 ~vtkRenderWindowInteractor () override
 
virtual vtkPickingManagerCreateDefaultPickingManager ()
 Create default pickingManager.
 
void GrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=nullptr)
 
void ReleaseFocus ()
 
virtual void StartEventLoop ()
 Run the event loop (does not return until TerminateApp is called).
 
virtual void RecognizeGesture (vtkCommand::EventIds)
 
virtual int InternalCreateTimer (int timerId, int timerType, unsigned long duration)
 Internal methods for creating and destroying timers that must be implemented by subclasses.
 
virtual int InternalDestroyTimer (int platformTimerId)
 Internal methods for creating and destroying timers that must be implemented by subclasses.
 
int GetCurrentTimerId ()
 Internal methods for creating and destroying timers that must be implemented by subclasses.
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
 ~vtkObject () override
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) override
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) override
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=nullptr)
 These methods allow a command to exclusively grab all events.
 
void InternalReleaseFocus ()
 These methods allow a command to exclusively grab all events.
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void RegisterInternal (vtkObjectBase *, vtkTypeBool check)
 
virtual void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
virtual void ObjectFinalize ()
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

vtkRenderWindowRenderWindow
 
vtkHardwareWindowHardwareWindow
 
vtkSmartPointer< vtkInteractorObserverInteractorStyle
 
vtkAbstractPickerPicker
 
vtkPickingManagerPickingManager
 
bool Done
 
int Initialized
 
int Enabled
 
bool EnableRender
 
int Style
 
vtkTypeBool LightFollowCamera
 
int ActorMode
 
double DesiredUpdateRate
 
double StillUpdateRate
 
int AltKey
 
int ControlKey
 
int ShiftKey
 
char KeyCode
 
double Rotation
 
double LastRotation
 
double Scale
 
double LastScale
 
double Translation [2]
 
double LastTranslation [2]
 
int RepeatCount
 
char * KeySym
 
int EventPosition [2]
 
int LastEventPosition [2]
 
int EventSize [2]
 
int Size [2]
 
int TimerEventId
 
int TimerEventType
 
int TimerEventDuration
 
int TimerEventPlatformId
 
int EventPositions [VTKI_MAX_POINTERS][2]
 
int LastEventPositions [VTKI_MAX_POINTERS][2]
 
int PointerIndex
 
size_t PointerIndexLookup [VTKI_MAX_POINTERS]
 
int NumberOfFlyFrames
 
double Dolly
 
vtkObserverMediatorObserverMediator
 Widget mediators are used to resolve contention for cursors and other resources.
 
vtkTimerIdMap * TimerMap
 
unsigned long TimerDuration
 
int HandleEventLoop
 
bool UseTDx
 
bool RecognizeGestures
 
int PointersDownCount
 
int PointersDown [VTKI_MAX_POINTERS]
 
int StartingEventPositions [VTKI_MAX_POINTERS][2]
 
vtkCommand::EventIds CurrentGesture
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
std::string ObjectName
 
- Protected Attributes inherited from vtkObjectBase
std::atomic< int32_t > ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Friends

class vtkInteractorEventRecorder
 
class vtkInteractorObserver
 These methods allow the interactor to control which events are processed.
 
struct vtkTimerStruct
 

Additional Inherited Members

- Static Protected Member Functions inherited from vtkObjectBase
static vtkMallocingFunction GetCurrentMallocFunction ()
 
static vtkReallocingFunction GetCurrentReallocFunction ()
 
static vtkFreeingFunction GetCurrentFreeFunction ()
 
static vtkFreeingFunction GetAlternateFreeFunction ()
 

Detailed Description

platform-independent render window interaction including picking and frame rate control.

vtkRenderWindowInteractor provides a platform-independent interaction mechanism for mouse/key/time events. It serves as a base class for platform-dependent implementations that handle routing of mouse/key/timer messages to vtkInteractorObserver and its subclasses. vtkRenderWindowInteractor also provides controls for picking, rendering frame rate, and headlights.

vtkRenderWindowInteractor has changed from previous implementations and now serves only as a shell to hold user preferences and route messages to vtkInteractorStyle. Callbacks are available for many events. Platform specific subclasses should provide methods for manipulating timers, TerminateApp, and an event loop if required via Initialize/Start/Enable/Disable.

Warning
vtkRenderWindowInteractor routes events through VTK's command/observer design pattern. That is, when vtkRenderWindowInteractor (actually, one of its subclasses) sees a platform-dependent event, it translates this into a VTK event using the InvokeEvent() method. Then any vtkInteractorObservers registered for that event are expected to respond as appropriate.
See also
vtkInteractorObserver
Events:
vtkCommand::CharEvent vtkCommand::ConfigureEvent vtkCommand::EndPanEvent vtkCommand::EndPickEvent vtkCommand::EndPinchEvent vtkCommand::EndRotateEvent vtkCommand::EnterEvent vtkCommand::ExitEvent vtkCommand::ExposeEvent vtkCommand::FifthButtonPressEvent vtkCommand::FifthButtonReleaseEvent vtkCommand::FourthButtonPressEvent vtkCommand::FourthButtonReleaseEvent vtkCommand::KeyPressEvent vtkCommand::KeyReleaseEvent vtkCommand::LeaveEvent vtkCommand::LeftButtonPressEvent vtkCommand::LeftButtonReleaseEvent vtkCommand::LongTapEvent vtkCommand::MiddleButtonPressEvent vtkCommand::MiddleButtonReleaseEvent vtkCommand::MouseMoveEvent vtkCommand::MouseWheelBackwardEvent vtkCommand::MouseWheelForwardEvent vtkCommand::MouseWheelLeftEvent vtkCommand::MouseWheelRightEvent vtkCommand::PanEvent vtkCommand::PinchEvent vtkCommand::RenderEvent vtkCommand::RightButtonPressEvent vtkCommand::RightButtonReleaseEvent vtkCommand::RotateEvent vtkCommand::StartEvent vtkCommand::StartPanEvent vtkCommand::StartPickEvent vtkCommand::StartPinchEvent vtkCommand::StartRotateEvent vtkCommand::SwipeEvent vtkCommand::TapEvent vtkCommand::UserEvent
Examples:
vtkRenderWindowInteractor (Examples)
Online Examples:

Tests:
vtkRenderWindowInteractor (Tests)

Definition at line 182 of file vtkRenderWindowInteractor.h.

Member Typedef Documentation

◆ Superclass

Definition at line 189 of file vtkRenderWindowInteractor.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
OneShotTimer 
RepeatingTimer 

Definition at line 357 of file vtkRenderWindowInteractor.h.

Constructor & Destructor Documentation

◆ vtkRenderWindowInteractor()

vtkRenderWindowInteractor::vtkRenderWindowInteractor ( )
protected

◆ ~vtkRenderWindowInteractor()

vtkRenderWindowInteractor::~vtkRenderWindowInteractor ( )
overrideprotected

Member Function Documentation

◆ New()

static vtkRenderWindowInteractor * vtkRenderWindowInteractor::New ( )
static

◆ IsTypeOf()

static vtkTypeBool vtkRenderWindowInteractor::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual vtkTypeBool vtkRenderWindowInteractor::IsA ( const char *  name)
virtual

◆ SafeDownCast()

static vtkRenderWindowInteractor * vtkRenderWindowInteractor::SafeDownCast ( vtkObjectBase o)
static

◆ NewInstanceInternal()

virtual vtkObjectBase * vtkRenderWindowInteractor::NewInstanceInternal ( ) const
protectedvirtual

◆ NewInstance()

vtkRenderWindowInteractor * vtkRenderWindowInteractor::NewInstance ( ) const

◆ PrintSelf()

void vtkRenderWindowInteractor::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
overridevirtual

Methods invoked by print to print information about the object including superclasses.

Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkObject.

Reimplemented in vtkRenderWindowInteractor3D, vtkWebAssemblyRenderWindowInteractor, vtkWin32RenderWindowInteractor, vtkXRenderWindowInteractor, vtkVRRenderWindowInteractor, and vtkZSpaceRenderWindowInteractor.

◆ Initialize()

virtual void vtkRenderWindowInteractor::Initialize ( )
virtual

Prepare for handling events and set the Enabled flag to true.

This will be called automatically by Start() if the interactor is not initialized, but it can be called manually if you need to perform any operations between initialization and the start of the event loop.

Reimplemented in QVTKInteractor, vtkOpenVRRenderWindowInteractor, vtkOpenXRRenderWindowInteractor, vtkAndroidRenderWindowInteractor, vtkCocoaRenderWindowInteractor, vtkIOSRenderWindowInteractor, vtkWebAssemblyRenderWindowInteractor, vtkWin32RenderWindowInteractor, vtkXRenderWindowInteractor, and vtkVRRenderWindowInteractor.

◆ ReInitialize()

void vtkRenderWindowInteractor::ReInitialize ( )
inline

Prepare for handling events and set the Enabled flag to true.

This will be called automatically by Start() if the interactor is not initialized, but it can be called manually if you need to perform any operations between initialization and the start of the event loop.

Definition at line 201 of file vtkRenderWindowInteractor.h.

◆ UnRegister()

void vtkRenderWindowInteractor::UnRegister ( vtkObjectBase o)
overridevirtual

This Method detects loops of RenderWindow-Interactor, so objects are freed properly.

Reimplemented from vtkObjectBase.

◆ Start()

virtual void vtkRenderWindowInteractor::Start ( )
virtual

Start the event loop.

This is provided so that you do not have to implement your own event loop. You still can use your own event loop if you want.

Reimplemented in QVTKInteractor.

◆ ProcessEvents()

virtual void vtkRenderWindowInteractor::ProcessEvents ( )
inlinevirtual

Process all user-interaction, timer events and return.

If there are no events, this method returns immediately. This method is implemented only on desktop (macOS, linux, windows) and WebAssembly (SDL2). It is not implemented on iOS and Android platforms.

Reimplemented in vtkCocoaRenderWindowInteractor, vtkWebAssemblyRenderWindowInteractor, vtkWin32RenderWindowInteractor, vtkXRenderWindowInteractor, vtkVRRenderWindowInteractor, and vtkZSpaceRenderWindowInteractor.

Definition at line 228 of file vtkRenderWindowInteractor.h.

◆ GetDone()

virtual bool vtkRenderWindowInteractor::GetDone ( )
virtual

Is the interactor loop done.

◆ SetDone()

virtual void vtkRenderWindowInteractor::SetDone ( bool  )
virtual

◆ Enable()

virtual void vtkRenderWindowInteractor::Enable ( )
inlinevirtual

Enable/Disable interactions.

By default interactors are enabled when initialized. Initialize() must be called prior to enabling/disabling interaction. These methods are used when a window/widget is being shared by multiple renderers and interactors. This allows a "modal" display where one interactor is active when its data is to be displayed and all other interactors associated with the widget are disabled when their data is not displayed.

Reimplemented in vtkRenderWindowInteractor3D, vtkAndroidRenderWindowInteractor, vtkCocoaRenderWindowInteractor, vtkIOSRenderWindowInteractor, vtkWin32RenderWindowInteractor, and vtkXRenderWindowInteractor.

Definition at line 245 of file vtkRenderWindowInteractor.h.

◆ Disable()

virtual void vtkRenderWindowInteractor::Disable ( )
inlinevirtual

◆ GetEnabled()

virtual int vtkRenderWindowInteractor::GetEnabled ( )
virtual

◆ EnableRenderOn()

virtual void vtkRenderWindowInteractor::EnableRenderOn ( )
virtual

Enable/Disable whether vtkRenderWindowInteractor::Render() calls this->RenderWindow->Render().

◆ EnableRenderOff()

virtual void vtkRenderWindowInteractor::EnableRenderOff ( )
virtual

Enable/Disable whether vtkRenderWindowInteractor::Render() calls this->RenderWindow->Render().

◆ SetEnableRender()

virtual void vtkRenderWindowInteractor::SetEnableRender ( bool  )
virtual

Enable/Disable whether vtkRenderWindowInteractor::Render() calls this->RenderWindow->Render().

◆ GetEnableRender()

virtual bool vtkRenderWindowInteractor::GetEnableRender ( )
virtual

Enable/Disable whether vtkRenderWindowInteractor::Render() calls this->RenderWindow->Render().

◆ SetRenderWindow()

void vtkRenderWindowInteractor::SetRenderWindow ( vtkRenderWindow aren)

Set/Get the rendering window being controlled by this object.

◆ GetRenderWindow()

virtual vtkRenderWindow * vtkRenderWindowInteractor::GetRenderWindow ( )
virtual

Set/Get the rendering window being controlled by this object.

◆ SetHardwareWindow()

void vtkRenderWindowInteractor::SetHardwareWindow ( vtkHardwareWindow aren)

Set/Get the hardware window being controlled by this object.

For opengl the hardware window is not used as the opengl subclasses of RenderWindow provide the functionality.

◆ GetHardwareWindow()

virtual vtkHardwareWindow * vtkRenderWindowInteractor::GetHardwareWindow ( )
virtual

Set/Get the hardware window being controlled by this object.

For opengl the hardware window is not used as the opengl subclasses of RenderWindow provide the functionality.

◆ UpdateSize()

virtual void vtkRenderWindowInteractor::UpdateSize ( int  x,
int  y 
)
virtual

Event loop notification member for window size change.

Window size is measured in pixels.

If the size has changed, this method will fire vtkCommand::WindowResizeEvent.

Reimplemented in vtkXRenderWindowInteractor.

◆ CreateTimer()

virtual int vtkRenderWindowInteractor::CreateTimer ( int  timerType)
virtual

This class provides two groups of methods for manipulating timers.

The first group (CreateTimer(timerType) and DestroyTimer()) implicitly use an internal timer id (and are present for backward compatibility). The second group (CreateRepeatingTimer(long),CreateOneShotTimer(long), ResetTimer(int),DestroyTimer(int)) use timer ids so multiple timers can be independently managed. In the first group, the CreateTimer() method takes an argument indicating whether the timer is created the first time (timerType==VTKI_TIMER_FIRST) or whether it is being reset (timerType==VTKI_TIMER_UPDATE). (In initial implementations of VTK this was how one shot and repeating timers were managed.) In the second group, the create methods take a timer duration argument (in milliseconds) and return a timer id. Thus the ResetTimer(timerId) and DestroyTimer(timerId) methods take this timer id and operate on the timer as appropriate. Make sure you run Initialize() before creating the timer in order for it to work.

◆ DestroyTimer() [1/2]

virtual int vtkRenderWindowInteractor::DestroyTimer ( )
virtual

◆ CreateRepeatingTimer()

int vtkRenderWindowInteractor::CreateRepeatingTimer ( unsigned long  duration)

Create a repeating timer, with the specified duration (in milliseconds).

Returns
the timer id.

◆ CreateOneShotTimer()

int vtkRenderWindowInteractor::CreateOneShotTimer ( unsigned long  duration)

Create a one shot timer, with the specified duration (in milliseconds).

Returns
the timer id.

◆ IsOneShotTimer()

int vtkRenderWindowInteractor::IsOneShotTimer ( int  timerId)

Query whether the specified timerId is a one shot timer.

Returns
1 if the timer is a one shot timer.

◆ GetTimerDuration() [1/2]

unsigned long vtkRenderWindowInteractor::GetTimerDuration ( int  timerId)

Get the duration (in milliseconds) for the specified timerId.

◆ ResetTimer()

int vtkRenderWindowInteractor::ResetTimer ( int  timerId)

Reset the specified timer.

◆ DestroyTimer() [2/2]

int vtkRenderWindowInteractor::DestroyTimer ( int  timerId)

Destroy the timer specified by timerId.

Returns
1 if the timer was destroyed.

◆ GetVTKTimerId()

virtual int vtkRenderWindowInteractor::GetVTKTimerId ( int  platformTimerId)
virtual

Get the VTK timer ID that corresponds to the supplied platform ID.

◆ SetTimerDuration()

virtual void vtkRenderWindowInteractor::SetTimerDuration ( unsigned long  )
virtual

Specify the default timer interval (in milliseconds).

(This is used in conjunction with the timer methods described previously, e.g., CreateTimer() uses this value; and CreateRepeatingTimer(duration) and CreateOneShotTimer(duration) use the default value if the parameter "duration" is less than or equal to zero.) Care must be taken when adjusting the timer interval from the default value of 10 milliseconds–it may adversely affect the interactors.

◆ GetTimerDuration() [2/2]

virtual unsigned long vtkRenderWindowInteractor::GetTimerDuration ( )
virtual

Specify the default timer interval (in milliseconds).

(This is used in conjunction with the timer methods described previously, e.g., CreateTimer() uses this value; and CreateRepeatingTimer(duration) and CreateOneShotTimer(duration) use the default value if the parameter "duration" is less than or equal to zero.) Care must be taken when adjusting the timer interval from the default value of 10 milliseconds–it may adversely affect the interactors.

◆ SetTimerEventId()

virtual void vtkRenderWindowInteractor::SetTimerEventId ( int  )
virtual

These methods are used to communicate information about the currently firing CreateTimerEvent or DestroyTimerEvent.

The caller of CreateTimerEvent sets up TimerEventId, TimerEventType and TimerEventDuration. The observer of CreateTimerEvent should set up an appropriate platform specific timer based on those values and set the TimerEventPlatformId before returning. The caller of DestroyTimerEvent sets up TimerEventPlatformId. The observer of DestroyTimerEvent should simply destroy the platform specific timer created by CreateTimerEvent. See vtkGenericRenderWindowInteractor's InternalCreateTimer and InternalDestroyTimer for an example.

◆ GetTimerEventId()

virtual int vtkRenderWindowInteractor::GetTimerEventId ( )
virtual

These methods are used to communicate information about the currently firing CreateTimerEvent or DestroyTimerEvent.

The caller of CreateTimerEvent sets up TimerEventId, TimerEventType and TimerEventDuration. The observer of CreateTimerEvent should set up an appropriate platform specific timer based on those values and set the TimerEventPlatformId before returning. The caller of DestroyTimerEvent sets up TimerEventPlatformId. The observer of DestroyTimerEvent should simply destroy the platform specific timer created by CreateTimerEvent. See vtkGenericRenderWindowInteractor's InternalCreateTimer and InternalDestroyTimer for an example.

◆ SetTimerEventType()

virtual void vtkRenderWindowInteractor::SetTimerEventType ( int  )
virtual

These methods are used to communicate information about the currently firing CreateTimerEvent or DestroyTimerEvent.

The caller of CreateTimerEvent sets up TimerEventId, TimerEventType and TimerEventDuration. The observer of CreateTimerEvent should set up an appropriate platform specific timer based on those values and set the TimerEventPlatformId before returning. The caller of DestroyTimerEvent sets up TimerEventPlatformId. The observer of DestroyTimerEvent should simply destroy the platform specific timer created by CreateTimerEvent. See vtkGenericRenderWindowInteractor's InternalCreateTimer and InternalDestroyTimer for an example.

◆ GetTimerEventType()

virtual int vtkRenderWindowInteractor::GetTimerEventType ( )
virtual

These methods are used to communicate information about the currently firing CreateTimerEvent or DestroyTimerEvent.

The caller of CreateTimerEvent sets up TimerEventId, TimerEventType and TimerEventDuration. The observer of CreateTimerEvent should set up an appropriate platform specific timer based on those values and set the TimerEventPlatformId before returning. The caller of DestroyTimerEvent sets up TimerEventPlatformId. The observer of DestroyTimerEvent should simply destroy the platform specific timer created by CreateTimerEvent. See vtkGenericRenderWindowInteractor's InternalCreateTimer and InternalDestroyTimer for an example.

◆ SetTimerEventDuration()

virtual void vtkRenderWindowInteractor::SetTimerEventDuration ( int  )
virtual

These methods are used to communicate information about the currently firing CreateTimerEvent or DestroyTimerEvent.

The caller of CreateTimerEvent sets up TimerEventId, TimerEventType and TimerEventDuration. The observer of CreateTimerEvent should set up an appropriate platform specific timer based on those values and set the TimerEventPlatformId before returning. The caller of DestroyTimerEvent sets up TimerEventPlatformId. The observer of DestroyTimerEvent should simply destroy the platform specific timer created by CreateTimerEvent. See vtkGenericRenderWindowInteractor's InternalCreateTimer and InternalDestroyTimer for an example.

◆ GetTimerEventDuration()

virtual int vtkRenderWindowInteractor::GetTimerEventDuration ( )
virtual

These methods are used to communicate information about the currently firing CreateTimerEvent or DestroyTimerEvent.

The caller of CreateTimerEvent sets up TimerEventId, TimerEventType and TimerEventDuration. The observer of CreateTimerEvent should set up an appropriate platform specific timer based on those values and set the TimerEventPlatformId before returning. The caller of DestroyTimerEvent sets up TimerEventPlatformId. The observer of DestroyTimerEvent should simply destroy the platform specific timer created by CreateTimerEvent. See vtkGenericRenderWindowInteractor's InternalCreateTimer and InternalDestroyTimer for an example.

◆ SetTimerEventPlatformId()

virtual void vtkRenderWindowInteractor::SetTimerEventPlatformId ( int  )
virtual

These methods are used to communicate information about the currently firing CreateTimerEvent or DestroyTimerEvent.

The caller of CreateTimerEvent sets up TimerEventId, TimerEventType and TimerEventDuration. The observer of CreateTimerEvent should set up an appropriate platform specific timer based on those values and set the TimerEventPlatformId before returning. The caller of DestroyTimerEvent sets up TimerEventPlatformId. The observer of DestroyTimerEvent should simply destroy the platform specific timer created by CreateTimerEvent. See vtkGenericRenderWindowInteractor's InternalCreateTimer and InternalDestroyTimer for an example.

◆ GetTimerEventPlatformId()

virtual int vtkRenderWindowInteractor::GetTimerEventPlatformId ( )
virtual

These methods are used to communicate information about the currently firing CreateTimerEvent or DestroyTimerEvent.

The caller of CreateTimerEvent sets up TimerEventId, TimerEventType and TimerEventDuration. The observer of CreateTimerEvent should set up an appropriate platform specific timer based on those values and set the TimerEventPlatformId before returning. The caller of DestroyTimerEvent sets up TimerEventPlatformId. The observer of DestroyTimerEvent should simply destroy the platform specific timer created by CreateTimerEvent. See vtkGenericRenderWindowInteractor's InternalCreateTimer and InternalDestroyTimer for an example.

◆ TerminateApp()

virtual void vtkRenderWindowInteractor::TerminateApp ( )
inlinevirtual

This function is called on 'q','e' keypress if exitmethod is not specified and should be overridden by platform dependent subclasses to provide a termination procedure if one is required.

Reimplemented in QVTKInteractor, vtkAndroidRenderWindowInteractor, vtkCocoaRenderWindowInteractor, vtkIOSRenderWindowInteractor, vtkWebAssemblyRenderWindowInteractor, vtkWin32RenderWindowInteractor, and vtkXRenderWindowInteractor.

Definition at line 405 of file vtkRenderWindowInteractor.h.

◆ SetInteractorStyle()

virtual void vtkRenderWindowInteractor::SetInteractorStyle ( vtkInteractorObserver )
virtual

External switching between joystick/trackball/new? modes.

Initial value is a vtkInteractorStyleSwitch object.

◆ GetInteractorStyle()

virtual vtkInteractorObserver * vtkRenderWindowInteractor::GetInteractorStyle ( )
virtual

External switching between joystick/trackball/new? modes.

Initial value is a vtkInteractorStyleSwitch object.

◆ SetLightFollowCamera()

virtual void vtkRenderWindowInteractor::SetLightFollowCamera ( vtkTypeBool  )
virtual

Turn on/off the automatic repositioning of lights as the camera moves.

Default is On.

◆ GetLightFollowCamera()

virtual vtkTypeBool vtkRenderWindowInteractor::GetLightFollowCamera ( )
virtual

Turn on/off the automatic repositioning of lights as the camera moves.

Default is On.

◆ LightFollowCameraOn()

virtual void vtkRenderWindowInteractor::LightFollowCameraOn ( )
virtual

Turn on/off the automatic repositioning of lights as the camera moves.

Default is On.

◆ LightFollowCameraOff()

virtual void vtkRenderWindowInteractor::LightFollowCameraOff ( )
virtual

Turn on/off the automatic repositioning of lights as the camera moves.

Default is On.

◆ SetDesiredUpdateRate()

virtual void vtkRenderWindowInteractor::SetDesiredUpdateRate ( double  )
virtual

Set/Get the desired update rate.

This is used by vtkLODActor's to tell them how quickly they need to render. This update is in effect only when the camera is being rotated, or zoomed. When the interactor is still, the StillUpdateRate is used instead. The default is 15.

◆ GetDesiredUpdateRate()

virtual double vtkRenderWindowInteractor::GetDesiredUpdateRate ( )
virtual

Set/Get the desired update rate.

This is used by vtkLODActor's to tell them how quickly they need to render. This update is in effect only when the camera is being rotated, or zoomed. When the interactor is still, the StillUpdateRate is used instead. The default is 15.

◆ SetStillUpdateRate()

virtual void vtkRenderWindowInteractor::SetStillUpdateRate ( double  )
virtual

Set/Get the desired update rate when movement has stopped.

For the non-still update rate, see the SetDesiredUpdateRate method. The default is 0.0001

◆ GetStillUpdateRate()

virtual double vtkRenderWindowInteractor::GetStillUpdateRate ( )
virtual

Set/Get the desired update rate when movement has stopped.

For the non-still update rate, see the SetDesiredUpdateRate method. The default is 0.0001

◆ GetInitialized()

virtual int vtkRenderWindowInteractor::GetInitialized ( )
virtual

See whether interactor has been initialized yet.

Default is 0.

◆ SetPicker()

virtual void vtkRenderWindowInteractor::SetPicker ( vtkAbstractPicker )
virtual

Set/Get the object used to perform pick operations.

In order to pick instances of vtkProp, the picker must be a subclass of vtkAbstractPropPicker, meaning that it can identify a particular instance of vtkProp.

◆ GetPicker()

virtual vtkAbstractPicker * vtkRenderWindowInteractor::GetPicker ( )
virtual

Set/Get the object used to perform pick operations.

In order to pick instances of vtkProp, the picker must be a subclass of vtkAbstractPropPicker, meaning that it can identify a particular instance of vtkProp.

◆ CreateDefaultPicker()

virtual vtkAbstractPropPicker * vtkRenderWindowInteractor::CreateDefaultPicker ( )
virtual

Create default picker.

Used to create one when none is specified. Default is an instance of vtkPropPicker.

◆ SetPickingManager()

virtual void vtkRenderWindowInteractor::SetPickingManager ( vtkPickingManager )
virtual

Set the picking manager.

Set/Get the object used to perform operations through the interactor By default, a valid but disabled picking manager is instantiated.

◆ GetPickingManager()

virtual vtkPickingManager * vtkRenderWindowInteractor::GetPickingManager ( )
virtual

Set the picking manager.

Set/Get the object used to perform operations through the interactor By default, a valid but disabled picking manager is instantiated.

◆ ExitCallback()

virtual void vtkRenderWindowInteractor::ExitCallback ( )
virtual

◆ UserCallback()

virtual void vtkRenderWindowInteractor::UserCallback ( )
virtual

These methods correspond to the Exit, User and Pick callbacks.

They allow for the Style to invoke them.

◆ StartPickCallback()

virtual void vtkRenderWindowInteractor::StartPickCallback ( )
virtual

These methods correspond to the Exit, User and Pick callbacks.

They allow for the Style to invoke them.

◆ EndPickCallback()

virtual void vtkRenderWindowInteractor::EndPickCallback ( )
virtual

These methods correspond to the Exit, User and Pick callbacks.

They allow for the Style to invoke them.

◆ GetMousePosition()

virtual void vtkRenderWindowInteractor::GetMousePosition ( int *  x,
int *  y 
)
inlinevirtual

Get the current position of the mouse.

Reimplemented in vtkXRenderWindowInteractor.

Definition at line 501 of file vtkRenderWindowInteractor.h.

◆ HideCursor()

void vtkRenderWindowInteractor::HideCursor ( )

Hide or show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to display a 3D cursor instead.

◆ ShowCursor()

void vtkRenderWindowInteractor::ShowCursor ( )

Hide or show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to display a 3D cursor instead.

◆ Render()

virtual void vtkRenderWindowInteractor::Render ( )
virtual

Render the scene.

Just pass the render call on to the associated vtkRenderWindow.

◆ FlyTo() [1/2]

void vtkRenderWindowInteractor::FlyTo ( vtkRenderer ren,
double  x,
double  y,
double  z 
)

Given a position x, move the current camera's focal point to x.

The movement is animated over the number of frames specified in NumberOfFlyFrames. The LOD desired frame rate is used.

◆ FlyTo() [2/2]

void vtkRenderWindowInteractor::FlyTo ( vtkRenderer ren,
double *  x 
)
inline

Given a position x, move the current camera's focal point to x.

The movement is animated over the number of frames specified in NumberOfFlyFrames. The LOD desired frame rate is used.

Definition at line 529 of file vtkRenderWindowInteractor.h.

◆ FlyToImage() [1/2]

void vtkRenderWindowInteractor::FlyToImage ( vtkRenderer ren,
double  x,
double  y 
)

Given a position x, move the current camera's focal point to x.

The movement is animated over the number of frames specified in NumberOfFlyFrames. The LOD desired frame rate is used.

◆ FlyToImage() [2/2]

void vtkRenderWindowInteractor::FlyToImage ( vtkRenderer ren,
double *  x 
)
inline

Given a position x, move the current camera's focal point to x.

The movement is animated over the number of frames specified in NumberOfFlyFrames. The LOD desired frame rate is used.

Definition at line 531 of file vtkRenderWindowInteractor.h.

◆ SetNumberOfFlyFrames()

virtual void vtkRenderWindowInteractor::SetNumberOfFlyFrames ( int  )
virtual

Set the number of frames to fly to when FlyTo is invoked.

◆ GetNumberOfFlyFrames()

virtual int vtkRenderWindowInteractor::GetNumberOfFlyFrames ( )
virtual

Set the number of frames to fly to when FlyTo is invoked.

◆ SetDolly()

virtual void vtkRenderWindowInteractor::SetDolly ( double  )
virtual

Set the total Dolly value to use when flying to (FlyTo()) a specified point.

Negative values fly away from the point.

◆ GetDolly()

virtual double vtkRenderWindowInteractor::GetDolly ( )
virtual

Set the total Dolly value to use when flying to (FlyTo()) a specified point.

Negative values fly away from the point.

◆ GetEventPosition() [1/3]

virtual int * vtkRenderWindowInteractor::GetEventPosition ( )
virtual

Set/Get information about the current event.

The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.

◆ GetEventPosition() [2/3]

virtual void vtkRenderWindowInteractor::GetEventPosition ( int &  ,
int &   
)
virtual

Set/Get information about the current event.

The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.

◆ GetEventPosition() [3/3]

virtual void vtkRenderWindowInteractor::GetEventPosition ( int  [2])
virtual

Set/Get information about the current event.

The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.

◆ GetLastEventPosition() [1/3]

virtual int * vtkRenderWindowInteractor::GetLastEventPosition ( )
virtual

Set/Get information about the current event.

The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.

◆ GetLastEventPosition() [2/3]

virtual void vtkRenderWindowInteractor::GetLastEventPosition ( int &  ,
int &   
)
virtual

Set/Get information about the current event.

The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.

◆ GetLastEventPosition() [3/3]

virtual void vtkRenderWindowInteractor::GetLastEventPosition ( int  [2])
virtual

Set/Get information about the current event.

The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.

◆ SetLastEventPosition() [1/2]

virtual void vtkRenderWindowInteractor::SetLastEventPosition ( int  ,
int   
)
virtual

Set/Get information about the current event.

The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.

◆ SetLastEventPosition() [2/2]

void vtkRenderWindowInteractor::SetLastEventPosition ( int  [2])

Set/Get information about the current event.

The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.

◆ SetEventPosition() [1/4]

virtual void vtkRenderWindowInteractor::SetEventPosition ( int  x,
int  y 
)
inlinevirtual

Set/Get information about the current event.

The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.

Definition at line 563 of file vtkRenderWindowInteractor.h.

◆ SetEventPosition() [2/4]

virtual void vtkRenderWindowInteractor::SetEventPosition ( int  pos[2])
inlinevirtual

Set/Get information about the current event.

The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.

Definition at line 577 of file vtkRenderWindowInteractor.h.

◆ SetEventPositionFlipY() [1/4]

virtual void vtkRenderWindowInteractor::SetEventPositionFlipY ( int  x,
int  y 
)
inlinevirtual

Set/Get information about the current event.

The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.

Definition at line 578 of file vtkRenderWindowInteractor.h.

◆ SetEventPositionFlipY() [2/4]

virtual void vtkRenderWindowInteractor::SetEventPositionFlipY ( int  pos[2])
inlinevirtual

Set/Get information about the current event.

The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.

Definition at line 582 of file vtkRenderWindowInteractor.h.

◆ GetEventPositions()

virtual int * vtkRenderWindowInteractor::GetEventPositions ( int  pointerIndex)
inlinevirtual

Definition at line 585 of file vtkRenderWindowInteractor.h.

◆ GetLastEventPositions()

virtual int * vtkRenderWindowInteractor::GetLastEventPositions ( int  pointerIndex)
inlinevirtual

Definition at line 593 of file vtkRenderWindowInteractor.h.

◆ SetEventPosition() [3/4]

virtual void vtkRenderWindowInteractor::SetEventPosition ( int  x,
int  y,
int  pointerIndex 
)
inlinevirtual

Definition at line 601 of file vtkRenderWindowInteractor.h.

◆ SetEventPosition() [4/4]

virtual void vtkRenderWindowInteractor::SetEventPosition ( int  pos[2],
int  pointerIndex 
)
inlinevirtual

Definition at line 627 of file vtkRenderWindowInteractor.h.

◆ SetEventPositionFlipY() [3/4]

virtual void vtkRenderWindowInteractor::SetEventPositionFlipY ( int  x,
int  y,
int  pointerIndex 
)
inlinevirtual

Definition at line 631 of file vtkRenderWindowInteractor.h.

◆ SetEventPositionFlipY() [4/4]

virtual void vtkRenderWindowInteractor::SetEventPositionFlipY ( int  pos[2],
int  pointerIndex 
)
inlinevirtual

Definition at line 635 of file vtkRenderWindowInteractor.h.

◆ SetAltKey()

virtual void vtkRenderWindowInteractor::SetAltKey ( int  )
virtual

Set/get whether alt modifier key was pressed.

On macOS, this corresponds to the Option key which may have unexpected effect on the KeyCode and KeySym.

AltGr does NOT trigger this modifier.

◆ GetAltKey()

virtual int vtkRenderWindowInteractor::GetAltKey ( )
virtual

Set/get whether alt modifier key was pressed.

On macOS, this corresponds to the Option key which may have unexpected effect on the KeyCode and KeySym.

AltGr does NOT trigger this modifier.

◆ SetControlKey()

virtual void vtkRenderWindowInteractor::SetControlKey ( int  )
virtual

Set/get whether control modifier key was pressed.

On macOS, pressing either Cmd or Control turn this modifier on.

◆ GetControlKey()

virtual int vtkRenderWindowInteractor::GetControlKey ( )
virtual

Set/get whether control modifier key was pressed.

On macOS, pressing either Cmd or Control turn this modifier on.

◆ SetShiftKey()

virtual void vtkRenderWindowInteractor::SetShiftKey ( int  )
virtual

Set/get whether shift modifier key was pressed.

◆ GetShiftKey()

virtual int vtkRenderWindowInteractor::GetShiftKey ( )
virtual

Set/get whether shift modifier key was pressed.

◆ SetKeyCode()

virtual void vtkRenderWindowInteractor::SetKeyCode ( char  )
virtual

Set/get the unicode value for the key that was pressed, as an 8-bit char value.

This restricts the value to the Basic Latin and Latin1 blocks of unicode.

Since the 'char' type may be signed, one should cast to 'unsigned char' before retrieving the code value.

unsigned char keyCode = static_cast<unsigned char>(rwi->GetKeyCode())

Please note KeyCode is impacted by modifiers:

"A" -> 'a' "Shift" + "A" -> 'A' "Ctrl" + "A" -> 1 "Alt" + "A" -> 'a'

The behavior with Control modifier is related to C0 and C1 control codes.

Please note KeyCode IS NOT reliable across platforms, especially for special characters with modifiers. Using KeySym should be more reliable.

Default is 0.

◆ GetKeyCode()

virtual char vtkRenderWindowInteractor::GetKeyCode ( )
virtual

Set/get the unicode value for the key that was pressed, as an 8-bit char value.

This restricts the value to the Basic Latin and Latin1 blocks of unicode.

Since the 'char' type may be signed, one should cast to 'unsigned char' before retrieving the code value.

unsigned char keyCode = static_cast<unsigned char>(rwi->GetKeyCode())

Please note KeyCode is impacted by modifiers:

"A" -> 'a' "Shift" + "A" -> 'A' "Ctrl" + "A" -> 1 "Alt" + "A" -> 'a'

The behavior with Control modifier is related to C0 and C1 control codes.

Please note KeyCode IS NOT reliable across platforms, especially for special characters with modifiers. Using KeySym should be more reliable.

Default is 0.

◆ SetRepeatCount()

virtual void vtkRenderWindowInteractor::SetRepeatCount ( int  )
virtual

Set/get the repeat count for the key or mouse event.

This specifies how many times a key has been pressed.

◆ GetRepeatCount()

virtual int vtkRenderWindowInteractor::GetRepeatCount ( )
virtual

Set/get the repeat count for the key or mouse event.

This specifies how many times a key has been pressed.

◆ SetKeySym()

virtual void vtkRenderWindowInteractor::SetKeySym ( const char *  )
virtual

Set/get the key symbol for the key that was pressed.

This is the key symbol as defined by the relevant X headers (xlib/X11/keysymdef.h). On X based platforms this corresponds to the installed X server, whereas on other platforms the native key codes are translated into a string representation using VTK defined tables.

Please note the KeySym is impacted by modifiers:

"A" -> "a" "Shift" + "A" -> "A" "Alt" + "A" -> "a" "Ctrl" + "A" -> "a"

Please note KeySym may NOT be fully reliable across platforms, especially for special characters with modifiers. Please check the actual KeySym on supported platform before relying on it. However, KeySym is intended to always correspond to the key the user intended to press, even accross layouts and platforms.

Default is nullptr.

◆ GetKeySym()

virtual char * vtkRenderWindowInteractor::GetKeySym ( )
virtual

Set/get the key symbol for the key that was pressed.

This is the key symbol as defined by the relevant X headers (xlib/X11/keysymdef.h). On X based platforms this corresponds to the installed X server, whereas on other platforms the native key codes are translated into a string representation using VTK defined tables.

Please note the KeySym is impacted by modifiers:

"A" -> "a" "Shift" + "A" -> "A" "Alt" + "A" -> "a" "Ctrl" + "A" -> "a"

Please note KeySym may NOT be fully reliable across platforms, especially for special characters with modifiers. Please check the actual KeySym on supported platform before relying on it. However, KeySym is intended to always correspond to the key the user intended to press, even accross layouts and platforms.

Default is nullptr.

◆ SetPointerIndex()

virtual void vtkRenderWindowInteractor::SetPointerIndex ( int  )
virtual

Set/get the index of the most recent pointer to have an event.

◆ GetPointerIndex()

virtual int vtkRenderWindowInteractor::GetPointerIndex ( )
virtual

Set/get the index of the most recent pointer to have an event.

◆ SetRotation()

void vtkRenderWindowInteractor::SetRotation ( double  rotation)

Set/get the rotation for the gesture in degrees, update LastRotation.

◆ GetRotation()

virtual double vtkRenderWindowInteractor::GetRotation ( )
virtual

Set/get the rotation for the gesture in degrees, update LastRotation.

◆ GetLastRotation()

virtual double vtkRenderWindowInteractor::GetLastRotation ( )
virtual

Set/get the rotation for the gesture in degrees, update LastRotation.

◆ SetScale()

void vtkRenderWindowInteractor::SetScale ( double  scale)

Set/get the scale for the gesture, updates LastScale.

◆ GetScale()

virtual double vtkRenderWindowInteractor::GetScale ( )
virtual

Set/get the scale for the gesture, updates LastScale.

◆ GetLastScale()

virtual double vtkRenderWindowInteractor::GetLastScale ( )
virtual

Set/get the scale for the gesture, updates LastScale.

◆ SetTranslation()

void vtkRenderWindowInteractor::SetTranslation ( double  val[2])

Set/get the translation for pan/swipe gestures, update LastTranslation.

◆ GetTranslation() [1/3]

virtual double * vtkRenderWindowInteractor::GetTranslation ( )
virtual

Set/get the translation for pan/swipe gestures, update LastTranslation.

◆ GetTranslation() [2/3]

virtual void vtkRenderWindowInteractor::GetTranslation ( double &  ,
double &   
)
virtual

Set/get the translation for pan/swipe gestures, update LastTranslation.

◆ GetTranslation() [3/3]

virtual void vtkRenderWindowInteractor::GetTranslation ( double  [2])
virtual

Set/get the translation for pan/swipe gestures, update LastTranslation.

◆ GetLastTranslation() [1/3]

virtual double * vtkRenderWindowInteractor::GetLastTranslation ( )
virtual

Set/get the translation for pan/swipe gestures, update LastTranslation.

◆ GetLastTranslation() [2/3]

virtual void vtkRenderWindowInteractor::GetLastTranslation ( double &  ,
double &   
)
virtual

Set/get the translation for pan/swipe gestures, update LastTranslation.

◆ GetLastTranslation() [3/3]

virtual void vtkRenderWindowInteractor::GetLastTranslation ( double  [2])
virtual

Set/get the translation for pan/swipe gestures, update LastTranslation.

◆ SetEventInformation() [1/2]

void vtkRenderWindowInteractor::SetEventInformation ( int  x,
int  y,
int  ctrl,
int  shift,
char  keycode,
int  repeatcount,
const char *  keysym,
int  pointerIndex 
)
inline

Set all the event information in one call.

Definition at line 771 of file vtkRenderWindowInteractor.h.

◆ SetEventInformation() [2/2]

void vtkRenderWindowInteractor::SetEventInformation ( int  x,
int  y,
int  ctrl = 0,
int  shift = 0,
char  keycode = 0,
int  repeatcount = 0,
const char *  keysym = nullptr 
)
inline

Set all the event information in one call.

Definition at line 786 of file vtkRenderWindowInteractor.h.

◆ SetEventInformationFlipY() [1/2]

void vtkRenderWindowInteractor::SetEventInformationFlipY ( int  x,
int  y,
int  ctrl,
int  shift,
char  keycode,
int  repeatcount,
const char *  keysym,
int  pointerIndex 
)
inline

Calls SetEventInformation, but flips the Y based on the current Size[1] value (i.e.

y = this->Size[1] - y - 1).

Definition at line 798 of file vtkRenderWindowInteractor.h.

◆ SetEventInformationFlipY() [2/2]

void vtkRenderWindowInteractor::SetEventInformationFlipY ( int  x,
int  y,
int  ctrl = 0,
int  shift = 0,
char  keycode = 0,
int  repeatcount = 0,
const char *  keysym = nullptr 
)
inline

Calls SetEventInformation, but flips the Y based on the current Size[1] value (i.e.

y = this->Size[1] - y - 1).

Definition at line 804 of file vtkRenderWindowInteractor.h.

◆ SetKeyEventInformation()

void vtkRenderWindowInteractor::SetKeyEventInformation ( int  ctrl = 0,
int  shift = 0,
char  keycode = 0,
int  repeatcount = 0,
const char *  keysym = nullptr 
)
inline

Set all the keyboard-related event information in one call.

Definition at line 815 of file vtkRenderWindowInteractor.h.

◆ SetSize() [1/2]

virtual void vtkRenderWindowInteractor::SetSize ( int  ,
int   
)
virtual

This methods sets the Size ivar of the interactor without actually changing the size of the window.

Normally application programmers would use UpdateSize if anything. This is useful for letting someone else change the size of the rendering window and just letting the interactor know about the change. The current event width/height (if any) is in EventSize (Expose event, for example). Window size is measured in pixels.

◆ SetSize() [2/2]

void vtkRenderWindowInteractor::SetSize ( int  [2])

This methods sets the Size ivar of the interactor without actually changing the size of the window.

Normally application programmers would use UpdateSize if anything. This is useful for letting someone else change the size of the rendering window and just letting the interactor know about the change. The current event width/height (if any) is in EventSize (Expose event, for example). Window size is measured in pixels.

◆ GetSize() [1/3]

virtual int * vtkRenderWindowInteractor::GetSize ( )
virtual

This methods sets the Size ivar of the interactor without actually changing the size of the window.

Normally application programmers would use UpdateSize if anything. This is useful for letting someone else change the size of the rendering window and just letting the interactor know about the change. The current event width/height (if any) is in EventSize (Expose event, for example). Window size is measured in pixels.

◆ GetSize() [2/3]

virtual void vtkRenderWindowInteractor::GetSize ( int &  ,
int &   
)
virtual

This methods sets the Size ivar of the interactor without actually changing the size of the window.

Normally application programmers would use UpdateSize if anything. This is useful for letting someone else change the size of the rendering window and just letting the interactor know about the change. The current event width/height (if any) is in EventSize (Expose event, for example). Window size is measured in pixels.

◆ GetSize() [3/3]

virtual void vtkRenderWindowInteractor::GetSize ( int  [2])
virtual

This methods sets the Size ivar of the interactor without actually changing the size of the window.

Normally application programmers would use UpdateSize if anything. This is useful for letting someone else change the size of the rendering window and just letting the interactor know about the change. The current event width/height (if any) is in EventSize (Expose event, for example). Window size is measured in pixels.

◆ SetEventSize() [1/2]

virtual void vtkRenderWindowInteractor::SetEventSize ( int  ,
int   
)
virtual

This methods sets the Size ivar of the interactor without actually changing the size of the window.

Normally application programmers would use UpdateSize if anything. This is useful for letting someone else change the size of the rendering window and just letting the interactor know about the change. The current event width/height (if any) is in EventSize (Expose event, for example). Window size is measured in pixels.

◆ SetEventSize() [2/2]

void vtkRenderWindowInteractor::SetEventSize ( int  [2])

This methods sets the Size ivar of the interactor without actually changing the size of the window.

Normally application programmers would use UpdateSize if anything. This is useful for letting someone else change the size of the rendering window and just letting the interactor know about the change. The current event width/height (if any) is in EventSize (Expose event, for example). Window size is measured in pixels.

◆ GetEventSize() [1/3]

virtual int * vtkRenderWindowInteractor::GetEventSize ( )
virtual

This methods sets the Size ivar of the interactor without actually changing the size of the window.

Normally application programmers would use UpdateSize if anything. This is useful for letting someone else change the size of the rendering window and just letting the interactor know about the change. The current event width/height (if any) is in EventSize (Expose event, for example). Window size is measured in pixels.

◆ GetEventSize() [2/3]

virtual void vtkRenderWindowInteractor::GetEventSize ( int &  ,
int &   
)
virtual

This methods sets the Size ivar of the interactor without actually changing the size of the window.

Normally application programmers would use UpdateSize if anything. This is useful for letting someone else change the size of the rendering window and just letting the interactor know about the change. The current event width/height (if any) is in EventSize (Expose event, for example). Window size is measured in pixels.

◆ GetEventSize() [3/3]

virtual void vtkRenderWindowInteractor::GetEventSize ( int  [2])
virtual

This methods sets the Size ivar of the interactor without actually changing the size of the window.

Normally application programmers would use UpdateSize if anything. This is useful for letting someone else change the size of the rendering window and just letting the interactor know about the change. The current event width/height (if any) is in EventSize (Expose event, for example). Window size is measured in pixels.

◆ FindPokedRenderer()

virtual vtkRenderer * vtkRenderWindowInteractor::FindPokedRenderer ( int  ,
int   
)
virtual

When an event occurs, we must determine which Renderer the event occurred within, since one RenderWindow may contain multiple renderers.

◆ GetObserverMediator()

vtkObserverMediator * vtkRenderWindowInteractor::GetObserverMediator ( )

Return the object used to mediate between vtkInteractorObservers contending for resources.

Multiple interactor observers will often request different resources (e.g., cursor shape); the mediator uses a strategy to provide the resource based on priority of the observer plus the particular request (default versus non-default cursor shape).

◆ SetUseTDx()

virtual void vtkRenderWindowInteractor::SetUseTDx ( bool  )
virtual

Use a 3DConnexion device.

Initial value is false. If VTK is not build with the TDx option, this is no-op. If VTK is build with the TDx option, and a device is not connected, a warning is emitted. It is must be called before the first Render to be effective, otherwise it is ignored.

◆ GetUseTDx()

virtual bool vtkRenderWindowInteractor::GetUseTDx ( )
virtual

Use a 3DConnexion device.

Initial value is false. If VTK is not build with the TDx option, this is no-op. If VTK is build with the TDx option, and a device is not connected, a warning is emitted. It is must be called before the first Render to be effective, otherwise it is ignored.

◆ MouseMoveEvent()

virtual void vtkRenderWindowInteractor::MouseMoveEvent ( )
virtual

Fire various events.

SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.

◆ RightButtonPressEvent()

virtual void vtkRenderWindowInteractor::RightButtonPressEvent ( )
virtual

Fire various events.

SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.

Reimplemented in vtkRenderWindowInteractor3D.

◆ RightButtonReleaseEvent()

virtual void vtkRenderWindowInteractor::RightButtonReleaseEvent ( )
virtual

Fire various events.

SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.

Reimplemented in vtkRenderWindowInteractor3D.

◆ LeftButtonPressEvent()

virtual void vtkRenderWindowInteractor::LeftButtonPressEvent ( )
virtual

Fire various events.

SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.

◆ LeftButtonReleaseEvent()

virtual void vtkRenderWindowInteractor::LeftButtonReleaseEvent ( )
virtual

Fire various events.

SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.

◆ MiddleButtonPressEvent()

virtual void vtkRenderWindowInteractor::MiddleButtonPressEvent ( )
virtual

Fire various events.

SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.

Reimplemented in vtkRenderWindowInteractor3D.

◆ MiddleButtonReleaseEvent()

virtual void vtkRenderWindowInteractor::MiddleButtonReleaseEvent ( )
virtual

Fire various events.

SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.

Reimplemented in vtkRenderWindowInteractor3D.

◆ MouseWheelForwardEvent()

virtual void vtkRenderWindowInteractor::MouseWheelForwardEvent ( )
virtual

Fire various events.

SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.

◆ MouseWheelBackwardEvent()

virtual void vtkRenderWindowInteractor::MouseWheelBackwardEvent ( )
virtual

Fire various events.

SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.

◆ MouseWheelLeftEvent()

virtual void vtkRenderWindowInteractor::MouseWheelLeftEvent ( )
virtual

Fire various events.

SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.

◆ MouseWheelRightEvent()

virtual void vtkRenderWindowInteractor::MouseWheelRightEvent ( )
virtual

Fire various events.

SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.

◆ ExposeEvent()

virtual void vtkRenderWindowInteractor::ExposeEvent ( )
virtual

Fire various events.

SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.

◆ ConfigureEvent()

virtual void vtkRenderWindowInteractor::ConfigureEvent ( )
virtual

Fire various events.

SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.

◆ EnterEvent()

virtual void vtkRenderWindowInteractor::EnterEvent ( )
virtual

Fire various events.

SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.

◆ LeaveEvent()

virtual void vtkRenderWindowInteractor::LeaveEvent ( )
virtual

Fire various events.

SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.

◆ KeyPressEvent()

virtual void vtkRenderWindowInteractor::KeyPressEvent ( )
virtual

Fire various events.

SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.

◆ KeyReleaseEvent()

virtual void vtkRenderWindowInteractor::KeyReleaseEvent ( )
virtual

Fire various events.

SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.

◆ CharEvent()

virtual void vtkRenderWindowInteractor::CharEvent ( )
virtual

Fire various events.

SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.

◆ ExitEvent()

virtual void vtkRenderWindowInteractor::ExitEvent ( )
virtual

Fire various events.

SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.

◆ FourthButtonPressEvent()

virtual void vtkRenderWindowInteractor::FourthButtonPressEvent ( )
virtual

Fire various events.

SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.

◆ FourthButtonReleaseEvent()

virtual void vtkRenderWindowInteractor::FourthButtonReleaseEvent ( )
virtual

Fire various events.

SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.

◆ FifthButtonPressEvent()

virtual void vtkRenderWindowInteractor::FifthButtonPressEvent ( )
virtual

Fire various events.

SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.

◆ FifthButtonReleaseEvent()

virtual void vtkRenderWindowInteractor::FifthButtonReleaseEvent ( )
virtual

Fire various events.

SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.

◆ StartPinchEvent()

virtual void vtkRenderWindowInteractor::StartPinchEvent ( )
virtual

Fire various gesture based events.

These methods will Invoke the corresponding vtk event.

◆ PinchEvent()

virtual void vtkRenderWindowInteractor::PinchEvent ( )
virtual

Fire various gesture based events.

These methods will Invoke the corresponding vtk event.

◆ EndPinchEvent()

virtual void vtkRenderWindowInteractor::EndPinchEvent ( )
virtual

Fire various gesture based events.

These methods will Invoke the corresponding vtk event.

◆ StartRotateEvent()

virtual void vtkRenderWindowInteractor::StartRotateEvent ( )
virtual

Fire various gesture based events.

These methods will Invoke the corresponding vtk event.

◆ RotateEvent()

virtual void vtkRenderWindowInteractor::RotateEvent ( )
virtual

Fire various gesture based events.

These methods will Invoke the corresponding vtk event.

◆ EndRotateEvent()

virtual void vtkRenderWindowInteractor::EndRotateEvent ( )
virtual

Fire various gesture based events.

These methods will Invoke the corresponding vtk event.

◆ StartPanEvent()

virtual void vtkRenderWindowInteractor::StartPanEvent ( )
virtual

Fire various gesture based events.

These methods will Invoke the corresponding vtk event.

◆ PanEvent()

virtual void vtkRenderWindowInteractor::PanEvent ( )
virtual

Fire various gesture based events.

These methods will Invoke the corresponding vtk event.

◆ EndPanEvent()

virtual void vtkRenderWindowInteractor::EndPanEvent ( )
virtual

Fire various gesture based events.

These methods will Invoke the corresponding vtk event.

◆ TapEvent()

virtual void vtkRenderWindowInteractor::TapEvent ( )
virtual

Fire various gesture based events.

These methods will Invoke the corresponding vtk event.

◆ LongTapEvent()

virtual void vtkRenderWindowInteractor::LongTapEvent ( )
virtual

Fire various gesture based events.

These methods will Invoke the corresponding vtk event.

◆ SwipeEvent()

virtual void vtkRenderWindowInteractor::SwipeEvent ( )
virtual

Fire various gesture based events.

These methods will Invoke the corresponding vtk event.

◆ SetRecognizeGestures()

virtual void vtkRenderWindowInteractor::SetRecognizeGestures ( bool  )
virtual

Convert multitouch events into gestures.

When this is on (its default) multitouch events received by this interactor will be converted into gestures by VTK. If turned off the raw multitouch events will be passed down.

◆ GetRecognizeGestures()

virtual bool vtkRenderWindowInteractor::GetRecognizeGestures ( )
virtual

Convert multitouch events into gestures.

When this is on (its default) multitouch events received by this interactor will be converted into gestures by VTK. If turned off the raw multitouch events will be passed down.

◆ GetPointersDownCount()

virtual int vtkRenderWindowInteractor::GetPointersDownCount ( )
virtual

When handling gestures you can query this value to determine how many pointers are down for the gesture this is useful for pan gestures for example.

◆ ClearContact()

void vtkRenderWindowInteractor::ClearContact ( size_t  contactID)

Most multitouch systems use persistent contact/pointer ids to track events/motion during multitouch events.

We keep an array that maps these system dependent contact ids to our pointer index These functions return -1 if the ID is not found or if there is no more room for contacts

◆ GetPointerIndexForContact()

int vtkRenderWindowInteractor::GetPointerIndexForContact ( size_t  contactID)

Most multitouch systems use persistent contact/pointer ids to track events/motion during multitouch events.

We keep an array that maps these system dependent contact ids to our pointer index These functions return -1 if the ID is not found or if there is no more room for contacts

◆ GetPointerIndexForExistingContact()

int vtkRenderWindowInteractor::GetPointerIndexForExistingContact ( size_t  contactID)

Most multitouch systems use persistent contact/pointer ids to track events/motion during multitouch events.

We keep an array that maps these system dependent contact ids to our pointer index These functions return -1 if the ID is not found or if there is no more room for contacts

◆ IsPointerIndexSet()

bool vtkRenderWindowInteractor::IsPointerIndexSet ( int  i)

Most multitouch systems use persistent contact/pointer ids to track events/motion during multitouch events.

We keep an array that maps these system dependent contact ids to our pointer index These functions return -1 if the ID is not found or if there is no more room for contacts

◆ ClearPointerIndex()

void vtkRenderWindowInteractor::ClearPointerIndex ( int  i)

Most multitouch systems use persistent contact/pointer ids to track events/motion during multitouch events.

We keep an array that maps these system dependent contact ids to our pointer index These functions return -1 if the ID is not found or if there is no more room for contacts

◆ GetCurrentGesture()

virtual vtkCommand::EventIds vtkRenderWindowInteractor::GetCurrentGesture ( ) const
virtual

Get the current gesture that was recognized when handling multitouch and VR events.

See also
RecognizeGestures()
vtkVRRenderWindowInteractor::RecognizeComplexGesture()

◆ SetCurrentGesture()

virtual void vtkRenderWindowInteractor::SetCurrentGesture ( vtkCommand::EventIds  eid)
virtual

Get the current gesture that was recognized when handling multitouch and VR events.

See also
RecognizeGestures()
vtkVRRenderWindowInteractor::RecognizeComplexGesture()

◆ CreateDefaultPickingManager()

virtual vtkPickingManager * vtkRenderWindowInteractor::CreateDefaultPickingManager ( )
protectedvirtual

Create default pickingManager.

Used to create one when none is specified. Default is an instance of vtkPickingManager.

◆ GrabFocus()

void vtkRenderWindowInteractor::GrabFocus ( vtkCommand mouseEvents,
vtkCommand keypressEvents = nullptr 
)
inlineprotected

Definition at line 1063 of file vtkRenderWindowInteractor.h.

◆ ReleaseFocus()

void vtkRenderWindowInteractor::ReleaseFocus ( )
inlineprotected

Definition at line 1067 of file vtkRenderWindowInteractor.h.

◆ InternalCreateTimer()

virtual int vtkRenderWindowInteractor::InternalCreateTimer ( int  timerId,
int  timerType,
unsigned long  duration 
)
protectedvirtual

Internal methods for creating and destroying timers that must be implemented by subclasses.

InternalCreateTimer() returns a platform-specific timerId and InternalDestroyTimer() returns non-zero value on success.

Reimplemented in QVTKInteractor, vtkAndroidRenderWindowInteractor, vtkCocoaRenderWindowInteractor, vtkGenericRenderWindowInteractor, vtkIOSRenderWindowInteractor, vtkWebAssemblyRenderWindowInteractor, vtkWin32RenderWindowInteractor, vtkXRenderWindowInteractor, and vtkVRRenderWindowInteractor.

◆ InternalDestroyTimer()

virtual int vtkRenderWindowInteractor::InternalDestroyTimer ( int  platformTimerId)
protectedvirtual

Internal methods for creating and destroying timers that must be implemented by subclasses.

InternalCreateTimer() returns a platform-specific timerId and InternalDestroyTimer() returns non-zero value on success.

Reimplemented in QVTKInteractor, vtkAndroidRenderWindowInteractor, vtkCocoaRenderWindowInteractor, vtkGenericRenderWindowInteractor, vtkIOSRenderWindowInteractor, vtkWebAssemblyRenderWindowInteractor, vtkWin32RenderWindowInteractor, vtkXRenderWindowInteractor, and vtkVRRenderWindowInteractor.

◆ GetCurrentTimerId()

int vtkRenderWindowInteractor::GetCurrentTimerId ( )
protected

Internal methods for creating and destroying timers that must be implemented by subclasses.

InternalCreateTimer() returns a platform-specific timerId and InternalDestroyTimer() returns non-zero value on success.

◆ StartEventLoop()

virtual void vtkRenderWindowInteractor::StartEventLoop ( )
inlineprotectedvirtual

◆ RecognizeGesture()

virtual void vtkRenderWindowInteractor::RecognizeGesture ( vtkCommand::EventIds  )
protectedvirtual

Reimplemented in vtkRenderWindowInteractor3D.

Friends And Related Symbol Documentation

◆ vtkInteractorEventRecorder

friend class vtkInteractorEventRecorder
friend

Definition at line 185 of file vtkRenderWindowInteractor.h.

◆ vtkInteractorObserver

friend class vtkInteractorObserver
friend

These methods allow the interactor to control which events are processed.

When the GrabFocus() method is called, then only events that the supplied vtkCommands have registered are invoked. (This method is typically used by widgets, i.e., subclasses of vtkInteractorObserver, to grab events once an event sequence begins.) Note that the friend declaration is done here to avoid doing so in the superclass vtkObject.

Definition at line 1062 of file vtkRenderWindowInteractor.h.

◆ vtkTimerStruct

friend struct vtkTimerStruct
friend

Definition at line 1075 of file vtkRenderWindowInteractor.h.

Member Data Documentation

◆ InteractorManagesTheEventLoop

bool vtkRenderWindowInteractor::InteractorManagesTheEventLoop
static

This flag is useful when you are integrating VTK in a larger system.

In such cases, an application can lock up if the Start() method in vtkRenderWindowInteractor processes events indefinitely without giving the system a chance to execute anything. The default value for this flag is true. It currently only affects VTK webassembly applications.

As an example with webassembly in the browser through emscripten SDK:

  1. If your app has an int main entry point, leave this value enabled. Emscripten will simulate an infinite event loop and avoid running code after interactor->Start() which is usually the end of main. Otherwise, all VTK objects will go out of scope immediately without giving a chance for user interaction with the render window.
  2. If your app does not have an int main entry point, disable this behavior. Otherwise, the webassembly application will not start up successfully.

Definition at line 980 of file vtkRenderWindowInteractor.h.

◆ RenderWindow

vtkRenderWindow* vtkRenderWindowInteractor::RenderWindow
protected

Definition at line 997 of file vtkRenderWindowInteractor.h.

◆ HardwareWindow

vtkHardwareWindow* vtkRenderWindowInteractor::HardwareWindow
protected

Definition at line 998 of file vtkRenderWindowInteractor.h.

◆ InteractorStyle

vtkSmartPointer<vtkInteractorObserver> vtkRenderWindowInteractor::InteractorStyle
protected

Definition at line 999 of file vtkRenderWindowInteractor.h.

◆ Picker

vtkAbstractPicker* vtkRenderWindowInteractor::Picker
protected

Definition at line 1002 of file vtkRenderWindowInteractor.h.

◆ PickingManager

vtkPickingManager* vtkRenderWindowInteractor::PickingManager
protected

Definition at line 1003 of file vtkRenderWindowInteractor.h.

◆ Done

bool vtkRenderWindowInteractor::Done
protected

Definition at line 1005 of file vtkRenderWindowInteractor.h.

◆ Initialized

int vtkRenderWindowInteractor::Initialized
protected

Definition at line 1013 of file vtkRenderWindowInteractor.h.

◆ Enabled

int vtkRenderWindowInteractor::Enabled
protected

Definition at line 1014 of file vtkRenderWindowInteractor.h.

◆ EnableRender

bool vtkRenderWindowInteractor::EnableRender
protected

Definition at line 1015 of file vtkRenderWindowInteractor.h.

◆ Style

int vtkRenderWindowInteractor::Style
protected

Definition at line 1016 of file vtkRenderWindowInteractor.h.

◆ LightFollowCamera

vtkTypeBool vtkRenderWindowInteractor::LightFollowCamera
protected

Definition at line 1017 of file vtkRenderWindowInteractor.h.

◆ ActorMode

int vtkRenderWindowInteractor::ActorMode
protected

Definition at line 1018 of file vtkRenderWindowInteractor.h.

◆ DesiredUpdateRate

double vtkRenderWindowInteractor::DesiredUpdateRate
protected

Definition at line 1019 of file vtkRenderWindowInteractor.h.

◆ StillUpdateRate

double vtkRenderWindowInteractor::StillUpdateRate
protected

Definition at line 1020 of file vtkRenderWindowInteractor.h.

◆ AltKey

int vtkRenderWindowInteractor::AltKey
protected

Definition at line 1023 of file vtkRenderWindowInteractor.h.

◆ ControlKey

int vtkRenderWindowInteractor::ControlKey
protected

Definition at line 1024 of file vtkRenderWindowInteractor.h.

◆ ShiftKey

int vtkRenderWindowInteractor::ShiftKey
protected

Definition at line 1025 of file vtkRenderWindowInteractor.h.

◆ KeyCode

char vtkRenderWindowInteractor::KeyCode
protected

Definition at line 1026 of file vtkRenderWindowInteractor.h.

◆ Rotation

double vtkRenderWindowInteractor::Rotation
protected

Definition at line 1027 of file vtkRenderWindowInteractor.h.

◆ LastRotation

double vtkRenderWindowInteractor::LastRotation
protected

Definition at line 1028 of file vtkRenderWindowInteractor.h.

◆ Scale

double vtkRenderWindowInteractor::Scale
protected

Definition at line 1029 of file vtkRenderWindowInteractor.h.

◆ LastScale

double vtkRenderWindowInteractor::LastScale
protected

Definition at line 1030 of file vtkRenderWindowInteractor.h.

◆ Translation

double vtkRenderWindowInteractor::Translation[2]
protected

Definition at line 1031 of file vtkRenderWindowInteractor.h.

◆ LastTranslation

double vtkRenderWindowInteractor::LastTranslation[2]
protected

Definition at line 1032 of file vtkRenderWindowInteractor.h.

◆ RepeatCount

int vtkRenderWindowInteractor::RepeatCount
protected

Definition at line 1033 of file vtkRenderWindowInteractor.h.

◆ KeySym

char* vtkRenderWindowInteractor::KeySym
protected

Definition at line 1034 of file vtkRenderWindowInteractor.h.

◆ EventPosition

int vtkRenderWindowInteractor::EventPosition[2]
protected

Definition at line 1035 of file vtkRenderWindowInteractor.h.

◆ LastEventPosition

int vtkRenderWindowInteractor::LastEventPosition[2]
protected

Definition at line 1036 of file vtkRenderWindowInteractor.h.

◆ EventSize

int vtkRenderWindowInteractor::EventSize[2]
protected

Definition at line 1037 of file vtkRenderWindowInteractor.h.

◆ Size

int vtkRenderWindowInteractor::Size[2]
protected

Definition at line 1038 of file vtkRenderWindowInteractor.h.

◆ TimerEventId

int vtkRenderWindowInteractor::TimerEventId
protected

Definition at line 1039 of file vtkRenderWindowInteractor.h.

◆ TimerEventType

int vtkRenderWindowInteractor::TimerEventType
protected

Definition at line 1040 of file vtkRenderWindowInteractor.h.

◆ TimerEventDuration

int vtkRenderWindowInteractor::TimerEventDuration
protected

Definition at line 1041 of file vtkRenderWindowInteractor.h.

◆ TimerEventPlatformId

int vtkRenderWindowInteractor::TimerEventPlatformId
protected

Definition at line 1042 of file vtkRenderWindowInteractor.h.

◆ EventPositions

int vtkRenderWindowInteractor::EventPositions[VTKI_MAX_POINTERS][2]
protected

Definition at line 1044 of file vtkRenderWindowInteractor.h.

◆ LastEventPositions

int vtkRenderWindowInteractor::LastEventPositions[VTKI_MAX_POINTERS][2]
protected

Definition at line 1045 of file vtkRenderWindowInteractor.h.

◆ PointerIndex

int vtkRenderWindowInteractor::PointerIndex
protected

Definition at line 1046 of file vtkRenderWindowInteractor.h.

◆ PointerIndexLookup

size_t vtkRenderWindowInteractor::PointerIndexLookup[VTKI_MAX_POINTERS]
protected

Definition at line 1048 of file vtkRenderWindowInteractor.h.

◆ NumberOfFlyFrames

int vtkRenderWindowInteractor::NumberOfFlyFrames
protected

Definition at line 1051 of file vtkRenderWindowInteractor.h.

◆ Dolly

double vtkRenderWindowInteractor::Dolly
protected

Definition at line 1052 of file vtkRenderWindowInteractor.h.

◆ ObserverMediator

vtkObserverMediator* vtkRenderWindowInteractor::ObserverMediator
protected

Widget mediators are used to resolve contention for cursors and other resources.

Definition at line 1072 of file vtkRenderWindowInteractor.h.

◆ TimerMap

vtkTimerIdMap* vtkRenderWindowInteractor::TimerMap
protected

Definition at line 1076 of file vtkRenderWindowInteractor.h.

◆ TimerDuration

unsigned long vtkRenderWindowInteractor::TimerDuration
protected

Definition at line 1077 of file vtkRenderWindowInteractor.h.

◆ HandleEventLoop

int vtkRenderWindowInteractor::HandleEventLoop
protected

Definition at line 1093 of file vtkRenderWindowInteractor.h.

◆ UseTDx

bool vtkRenderWindowInteractor::UseTDx
protected

Definition at line 1100 of file vtkRenderWindowInteractor.h.

◆ RecognizeGestures

bool vtkRenderWindowInteractor::RecognizeGestures
protected

Definition at line 1104 of file vtkRenderWindowInteractor.h.

◆ PointersDownCount

int vtkRenderWindowInteractor::PointersDownCount
protected

Definition at line 1105 of file vtkRenderWindowInteractor.h.

◆ PointersDown

int vtkRenderWindowInteractor::PointersDown[VTKI_MAX_POINTERS]
protected

Definition at line 1106 of file vtkRenderWindowInteractor.h.

◆ StartingEventPositions

int vtkRenderWindowInteractor::StartingEventPositions[VTKI_MAX_POINTERS][2]
protected

Definition at line 1108 of file vtkRenderWindowInteractor.h.

◆ CurrentGesture

vtkCommand::EventIds vtkRenderWindowInteractor::CurrentGesture
protected

Definition at line 1109 of file vtkRenderWindowInteractor.h.


The documentation for this class was generated from the following file: