29 #ifndef vtkXRenderWindowInteractor_h
30 #define vtkXRenderWindowInteractor_h
35 #include "vtkRenderWindowInteractor.h"
36 #include "vtkRenderingUIModule.h"
40 class vtkCallbackCommand;
41 class vtkXRenderWindowInteractorInternals;
51 void PrintSelf(ostream& os, vtkIndent indent)
override;
113 bool OwnDisplay =
false;
116 int PositionBeforeStereo[2];
static vtkXRenderWindowInteractor * New()
vtkXRenderWindowInteractorInternals * Internal
void StartEventLoop() override
This will start up the X event loop and never return.
~vtkXRenderWindowInteractor() override
void ProcessEvents() override
Run the event loop and return.
static int NumAppInitialized
vtkXRenderWindowInteractor(const vtkXRenderWindowInteractor &)=delete
int InternalCreateTimer(int timerId, int timerType, unsigned long duration) override
X-specific internal timer methods.
void PrintSelf(ostream &os, vtkIndent indent) override
void Finalize()
Deallocate X resource that may have been allocated Also calls finalize on the render window if availa...
void TerminateApp() override
Break the event loop on 'q','e' keypress.
void Enable() override
Enable/Disable interactions.
void UpdateSize(int, int) override
Update the Size data member and set the associated RenderWindow's size.
int InternalDestroyTimer(int platformTimerId) override
void DispatchEvent(XEvent *)
vtkXRenderWindowInteractor()
void operator=(const vtkXRenderWindowInteractor &)=delete
void UpdateSizeNoXResize(int, int)
Update the Size data member and set the associated RenderWindow's size but do not resize the XWindow.
vtkTypeMacro(vtkXRenderWindowInteractor, vtkRenderWindowInteractor)
void GetMousePosition(int *x, int *y) override
Re-defines virtual function to get mouse position by querying X-server.
void Initialize() override
Initializes the event handlers without an XtAppContext.