Go to the documentation of this file.
35 #ifndef vtkXRenderWindowInteractor_h
36 #define vtkXRenderWindowInteractor_h
41 #include "vtkRenderingOpenGL2Module.h"
43 #include <X11/StringDefs.h>
44 #include <X11/Intrinsic.h>
47 class vtkXRenderWindowInteractorInternals;
165 static XtAppContext App;
166 static int NumAppInitialized;
174 int PositionBeforeStereo[2];
175 Widget TopLevelShell;
177 vtkXRenderWindowInteractorInternals* Internal;
186 XtIntervalId
AddTimeOut(XtAppContext app_context,
unsigned long interval,
187 XtTimerCallbackProc proc, XtPointer client_data) ;
188 void Timer(XtPointer client_data, XtIntervalId *
id);
191 static int BreakLoopFlag;
XtIntervalId AddTimeOut(XtAppContext app_context, unsigned long interval, XtTimerCallbackProc proc, XtPointer client_data)
Widget GetTopLevelShell()
void VTKRENDERINGOPENGL_EXPORT vtkXRenderWindowInteractorTimer(XtPointer, XtIntervalId *)
virtual void StartEventLoop()
#define vtkTypeMacro(thisClass, superclass)
static vtkXRenderWindowInteractor * New()
GLint GLint GLint GLint GLint x
void PrintSelf(ostream &os, vtkIndent indent)
an X event driven interface for a RenderWindow
vtkXRenderWindowInteractor()
virtual void UpdateSize(int, int)
virtual void SetTopLevelShell(Widget)
virtual void GetMousePosition(int *x, int *y)
void Timer(XtPointer client_data, XtIntervalId *id)
virtual void Initialize()
virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration)
a simple class to control print indentation
virtual void SetWidget(Widget)
#define vtkGetMacro(name, type)
~vtkXRenderWindowInteractor()
platform-independent render window interaction including picking and frame rate control.
friend void vtkXRenderWindowInteractorTimer(XtPointer, XtIntervalId *)
virtual int InternalDestroyTimer(int platformTimerId)
GLint GLint GLint GLint GLint GLint y
friend void vtkXRenderWindowInteractorCallback(Widget, XtPointer, XEvent *, Boolean *)
supports function callbacks
void Callback(Widget w, XtPointer client_data, XEvent *event, Boolean *ctd)
virtual void Initialize(XtAppContext app)
GLubyte GLubyte GLubyte GLubyte w
void VTKRENDERINGOPENGL_EXPORT vtkXRenderWindowInteractorCallback(Widget, XtPointer, XEvent *, Boolean *)
void SetBreakLoopFlag(int)