31 #ifndef vtkCarbonRenderWindowInteractor_h
32 #define vtkCarbonRenderWindowInteractor_h
42 #include <Carbon/Carbon.h>
79 static void SetClassExitMethod(
void (*f)(
void *),
void *arg);
80 static void SetClassExitMethodArgDelete(
void (*f)(
void *));
91 delta[0] = this->LastMouseDelta[0]; delta[1] = this->LastMouseDelta[1]; };
93 this->LastMouseDelta[0] = deltaX; this->LastMouseDelta[1] = deltaY; };
102 this->MouseInsideWindow = val; };
104 return this->MouseInsideWindow; };
112 this->MouseButtonDown = val; };
114 return this->MouseButtonDown; };
125 int LastMouseDelta[2];
135 static void (*ClassExitMethod)(
void *);
136 static void (*ClassExitMethodArgDelete)(
void *);
void SetMouseButtonDown(int val)
void SetLastMouseDelta(int deltaX, int deltaY)
Implementation of vtkTDxDevice on Mac.
virtual int InternalDestroyTimer(int platformTimerId)
void PrintSelf(ostream &os, vtkIndent indent)
int GetMouseInsideWindow()
virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration)
virtual void Initialize()
static vtkRenderWindowInteractor * New()
platform-independent render window interaction including picking and frame rate control.
implements Carbon specific functions required by vtkRenderWindowInteractor.
a simple class to control print indentation
virtual void ExitCallback()
virtual void StartEventLoop()
#define VTKRENDERINGOPENGL_EXPORT
void GetLastMouseDelta(int delta[2])
virtual void TerminateApp(void)
void SetMouseInsideWindow(int val)
EventHandlerUPP ViewProcUPP
static void * ClassExitMethodArg
EventHandlerUPP WindowProcUPP