33 #ifndef vtkCocoaRenderWindowInteractor_h
34 #define vtkCocoaRenderWindowInteractor_h
36 #include "vtkRenderingOpenGLModule.h"
38 #include "vtkTDxConfigure.h"
87 static void SetClassExitMethod(
void (*f)(
void *),
void *arg);
88 static void SetClassExitMethodArgDelete(
void (*f)(
void *));
108 void SetTimerDictionary(
void *dictionary);
109 void *GetTimerDictionary();
117 static void (*ClassExitMethod)(
void *);
118 static void (*ClassExitMethodArgDelete)(
void *);
143 void SetCocoaManager(
void *manager);
144 void *GetCocoaManager();
virtual void Enable()
Enable/Disable interactions.
Implementation of vtkTDxDevice on Mac.
virtual int InternalDestroyTimer(int platformTimerId)
Internal methods for creating and destroying timers that must be implemented by subclasses.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
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 Initialize()
Prepare for handling events and set the Enabled flag to true.
static vtkRenderWindowInteractor * New()
implements Cocoa specific functions required by vtkRenderWindowInteractor.
platform-independent render window interaction including picking and frame rate control.
a simple class to control print indentation
virtual void ExitCallback()
These methods correspond to the the Exit, User and Pick callbacks.
virtual void StartEventLoop()
Run the event loop (does not return until TerminateApp is called).
virtual void TerminateApp(void)
This function is called on 'q','e' keypress if exitmethod is not specified and should be overridden b...
static void * ClassExitMethodArg
Class variables so an exit method can be defined for this class (used to set different exit methods f...