35 #ifndef vtkXOpenGLRenderWindowInteractor_h 36 #define vtkXOpenGLRenderWindowInteractor_h 41 #include "vtkRenderingOpenGL2Module.h" 43 #include <X11/StringDefs.h> 44 #include <X11/Intrinsic.h> 47 class vtkXOpenGLRenderWindowInteractorInternals;
73 void SetBreakLoopFlag(
int);
74 void BreakLoopFlagOff();
75 void BreakLoopFlagOn();
116 virtual void SetWidget(Widget);
145 virtual void SetTopLevelShell(Widget);
174 int PositionBeforeStereo[2];
177 vtkXOpenGLRenderWindowInteractorInternals*
Internal;
186 XtIntervalId AddTimeOut(XtAppContext app_context,
unsigned long interval,
187 XtTimerCallbackProc proc, XtPointer client_data) ;
188 void Timer(XtPointer client_data, XtIntervalId *
id);
189 void Callback(Widget
w, XtPointer client_data, XEvent *
event, Boolean *ctd);
vtkXOpenGLRenderWindowInteractorInternals * Internal
an X event driven interface for a RenderWindow
virtual void GetMousePosition(int *x, int *y)
virtual void UpdateSize(int x, int y)
virtual int InternalDestroyTimer(int platformTimerId)
void PrintSelf(ostream &os, vtkIndent indent)
virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration)
#define vtkGetMacro(name, type)
void VTKRENDERINGOPENGL2_EXPORT vtkXOpenGLRenderWindowInteractorTimer(XtPointer, XtIntervalId *)
GLint GLint GLint GLint GLint GLint y
#define vtkTypeMacro(thisClass, superclass)
virtual void Initialize()
static vtkRenderWindowInteractor * New()
platform-independent render window interaction including picking and frame rate control.
GLint GLint GLint GLint GLint x
supports function callbacks
GLubyte GLubyte GLubyte GLubyte w
a simple class to control print indentation
virtual void StartEventLoop()
static int NumAppInitialized
virtual void TerminateApp(void)
void VTKRENDERINGOPENGL2_EXPORT vtkXOpenGLRenderWindowInteractorCallback(Widget, XtPointer, XEvent *, Boolean *)
Widget GetTopLevelShell()