Go to the documentation of this file.
33 #ifndef vtkXRenderWindowInteractor_h
34 #define vtkXRenderWindowInteractor_h
39 #include "vtkRenderingOpenGL2Module.h"
41 #include <X11/StringDefs.h>
42 #include <X11/Intrinsic.h>
45 class vtkXRenderWindowInteractorInternals;
77 vtkGetMacro(BreakLoopFlag,
int);
78 void SetBreakLoopFlag(
int);
79 void BreakLoopFlagOff();
80 void BreakLoopFlagOn();
89 vtkGetMacro( App, XtAppContext );
129 virtual void SetWidget(Widget);
163 virtual void SetTopLevelShell(Widget);
195 int PositionBeforeStereo[2];
208 XtIntervalId AddTimeOut(XtAppContext app_context,
unsigned long interval,
209 XtTimerCallbackProc proc, XtPointer client_data) ;
210 void Timer(XtPointer client_data, XtIntervalId *
id);
211 void Callback(Widget w, XtPointer client_data, XEvent *event, Boolean *ctd);
static vtkRenderWindowInteractor * New()
virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration)
Internal methods for creating and destroying timers that must be implemented by subclasses.
virtual void StartEventLoop()
Run the event loop (does not return until TerminateApp is called).
Widget GetTopLevelShell()
virtual int InternalDestroyTimer(int platformTimerId)
virtual void UpdateSize(int x, int y)
Event loop notification member for window size change.
an X event driven interface for a RenderWindow
virtual void GetMousePosition(int *x, int *y)
Get the current position of the mouse.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
platform-independent render window interaction including picking and frame rate control.
virtual void TerminateApp(void)
This function is called on 'q','e' keypress if exitmethod is not specified and should be overridden b...
virtual void Enable()
Enable/Disable interactions.
vtkXRenderWindowInteractorInternals * Internal
void VTKRENDERINGOPENGL2_EXPORT vtkXRenderWindowInteractorTimer(XtPointer, XtIntervalId *)
supports function callbacks
virtual void Initialize()
Prepare for handling events and set the Enabled flag to true.
static int NumAppInitialized
void VTKRENDERINGOPENGL2_EXPORT vtkXRenderWindowInteractorCallback(Widget, XtPointer, XEvent *, Boolean *)