21 #ifndef vtkCocoaRenderWindowInteractor_h
22 #define vtkCocoaRenderWindowInteractor_h
25 #include "vtkRenderingUIModule.h"
26 #include "vtkTDxConfigure.h"
28 VTK_ABI_NAMESPACE_BEGIN
29 class vtkTDxMacDevice;
33 VTK_ABI_NAMESPACE_BEGIN
84 static void SetClassExitMethod(
void (*f)(
void*),
void* arg);
85 static void SetClassExitMethodArgDelete(
void (*f)(
void*));
105 void SetTimerDictionary(
void* dictionary);
106 void* GetTimerDictionary();
114 static void (*ClassExitMethod)(
void*);
115 static void (*ClassExitMethodArgDelete)(
void*);
140 void SetCocoaManager(
void* manager);
141 void* GetCocoaManager();
145 vtkTDxMacDevice* Device;
161 VTK_ABI_NAMESPACE_END
virtual void Enable()
Enable/Disable interactions.
virtual int InternalDestroyTimer(int platformTimerId)
Internal methods for creating and destroying timers that must be implemented by subclasses.
virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration)
Internal methods for creating and destroying timers that must be implemented by subclasses.
static void * ClassExitMethodArg
Class variables so an exit method can be defined for this class (used to set different exit methods f...
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 Exit, User and Pick callbacks.
virtual void StartEventLoop()
Run the event loop (does not return until TerminateApp is called).
virtual void ProcessEvents()
Process all user-interaction, timer events and return.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void TerminateApp()
This function is called on 'q','e' keypress if exitmethod is not specified and should be overridden b...