33 #ifndef vtkCocoaRenderWindowInteractor_h
34 #define vtkCocoaRenderWindowInteractor_h
37 #include "vtkRenderingUIModule.h"
38 #include "vtkTDxConfigure.h"
40 class vtkTDxMacDevice;
124 static void (*ClassExitMethod)(
void*);
125 static void (*ClassExitMethodArgDelete)(
void*);
155 vtkTDxMacDevice* Device;
implements Cocoa specific functions required by vtkRenderWindowInteractor.
void StartEventLoop() override
This will start up the event loop and never return.
~vtkCocoaRenderWindowInteractor() override
static void SetClassExitMethod(void(*f)(void *), void *arg)
Methods to set the default exit method for the class.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int InternalDestroyTimer(int platformTimerId) override
void ProcessEvents() override
Run the event loop and return.
void SetCocoaManager(void *manager)
Accessors for the cocoa manager (Really an NSMutableDictionary*).
static vtkCocoaRenderWindowInteractor * New()
Construct object so that light follows camera motion.
int InternalCreateTimer(int timerId, int timerType, unsigned long duration) override
Cocoa-specific internal timer methods.
void Enable() override
Enable/Disable interactions.
void Initialize() override
Initialize the even handler.
void TerminateApp() override
Cocoa specific application terminate, calls ClassExitMethod then calls PostQuitMessage(0) to terminat...
void ExitCallback() override
These methods correspond to the Exit, User and Pick callbacks.
void SetTimerDictionary(void *dictionary)
Accessors for the Cocoa member variables.
void * GetTimerDictionary()
vtkCocoaRenderWindowInteractor()
static void SetClassExitMethodArgDelete(void(*f)(void *))
static void * ClassExitMethodArg
a simple class to control print indentation
platform-independent render window interaction including picking and frame rate control.