38 #ifndef __vtkXRenderWindowInteractor_h
39 #define __vtkXRenderWindowInteractor_h
45 #include <X11/StringDefs.h>
46 #include <X11/Intrinsic.h>
49 class vtkXRenderWindowInteractorInternals;
76 vtkGetMacro(BreakLoopFlag,
int);
77 void SetBreakLoopFlag(
int);
78 void BreakLoopFlagOff();
79 void BreakLoopFlagOn();
86 vtkGetMacro( App, XtAppContext );
104 virtual void Start();
125 virtual void SetWidget(Widget);
154 virtual void SetTopLevelShell(Widget);
183 int PositionBeforeStereo[2];
195 XtIntervalId AddTimeOut(XtAppContext app_context,
unsigned long interval,
196 XtTimerCallbackProc proc, XtPointer client_data) ;
197 void Timer(XtPointer client_data, XtIntervalId *
id);
198 void Callback(Widget w, XtPointer client_data, XEvent *event, Boolean *ctd);
virtual void GetMousePosition(int *x, int *y)
virtual void UpdateSize(int x, int y)
void VTK_RENDERING_EXPORT vtkXRenderWindowInteractorCallback(Widget, XtPointer, XEvent *, Boolean *)
virtual int InternalDestroyTimer(int platformTimerId)
void PrintSelf(ostream &os, vtkIndent indent)
virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration)
Widget GetTopLevelShell()
virtual void Initialize()
static vtkRenderWindowInteractor * New()
platform-independent render window interaction including picking and frame rate control.
supports function callbacks
static int NumAppInitialized
a simple class to control print indentation
void VTK_RENDERING_EXPORT vtkXRenderWindowInteractorTimer(XtPointer, XtIntervalId *)
vtkXRenderWindowInteractorInternals * Internal
virtual void TerminateApp(void)
an X event driven interface for a RenderWindow