35 #ifndef vtkXRenderWindowInteractor_h
36 #define vtkXRenderWindowInteractor_h
43 #include <X11/StringDefs.h>
44 #include <X11/Intrinsic.h>
47 class vtkXRenderWindowInteractorInternals;
72 vtkGetMacro(BreakLoopFlag,
int);
73 void SetBreakLoopFlag(
int);
74 void BreakLoopFlagOff();
75 void BreakLoopFlagOn();
82 vtkGetMacro( App, XtAppContext );
116 virtual void SetWidget(Widget);
145 virtual void SetTopLevelShell(Widget);
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);
189 void Callback(Widget w, XtPointer client_data, XEvent *event, Boolean *ctd);
191 static int BreakLoopFlag;
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 VTKRENDERINGOPENGL2_EXPORT
Widget GetTopLevelShell()
virtual void Initialize()
static vtkRenderWindowInteractor * New()
platform-independent render window interaction including picking and frame rate control.
supports function callbacks
a simple class to control print indentation
virtual void StartEventLoop()
virtual void TerminateApp(void)
void VTKRENDERINGOPENGL_EXPORT vtkXRenderWindowInteractorCallback(Widget, XtPointer, XEvent *, Boolean *)
an X event driven interface for a RenderWindow
void VTKRENDERINGOPENGL_EXPORT vtkXRenderWindowInteractorTimer(XtPointer, XtIntervalId *)