 |
VTK
9.0.1
|
Go to the documentation of this file.
33 #ifndef vtkCocoaRenderWindowInteractor_h
34 #define vtkCocoaRenderWindowInteractor_h
37 #include "vtkRenderingUIModule.h"
38 #include "vtkTDxConfigure.h"
40 class vtkTDxMacDevice;
94 static void SetClassExitMethod(
void (*f)(
void*),
void* arg);
95 static void SetClassExitMethodArgDelete(
void (*f)(
void*));
115 void SetTimerDictionary(
void* dictionary);
116 void* GetTimerDictionary();
124 static void (*ClassExitMethod)(
void*);
125 static void (*ClassExitMethodArgDelete)(
void*);
150 void SetCocoaManager(
void* manager);
151 void* GetCocoaManager();
155 vtkTDxMacDevice* Device;
static vtkRenderWindowInteractor * New()
virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration)
Internal methods for creating and destroying timers that must be implemented by subclasses.
virtual void StartEventLoop()
Run the event loop (does not return until TerminateApp is called).
static void * ClassExitMethodArg
virtual int InternalDestroyTimer(int platformTimerId)
implements Cocoa specific functions required by vtkRenderWindowInteractor.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
platform-independent render window interaction including picking and frame rate control.
virtual void ExitCallback()
These methods correspond to the Exit, User and Pick callbacks.
virtual void TerminateApp(void)
This function is called on 'q','e' keypress if exitmethod is not specified and should be overridden b...
virtual void Enable()
Enable/Disable interactions.
virtual void Initialize()
Prepare for handling events and set the Enabled flag to true.
virtual void ProcessEvents()
Run the event loop and return.