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