28 #ifndef __vtkCarbonRenderWindowInteractor_h
29 #define __vtkCarbonRenderWindowInteractor_h
39 #include <Carbon/Carbon.h>
92 static void SetClassExitMethod(
void (*
f)(
void *),
void *arg);
93 static void SetClassExitMethodArgDelete(
void (*
f)(
void *));
104 delta[0] = this->LastMouseDelta[0]; delta[1] = this->LastMouseDelta[1]; };
106 this->LastMouseDelta[0] = deltaX; this->LastMouseDelta[1] = deltaY; };
115 this->MouseInsideWindow =
val; };
117 return this->MouseInsideWindow; };
125 this->MouseButtonDown =
val; };
127 return this->MouseButtonDown; };
139 int LastMouseDelta[2];
149 static void (*ClassExitMethod)(
void *);
150 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)
#define vtkGetMacro(name, type)
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
#define vtkTypeMacro(thisClass, superclass)
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()
#define VTKRENDERINGOPENGL_EXPORT
void GetLastMouseDelta(int delta[2])
virtual void TerminateApp(void)
void SetMouseInsideWindow(int val)
EventHandlerUPP ViewProcUPP
#define vtkBooleanMacro(name, type)
static void * ClassExitMethodArg
EventHandlerUPP WindowProcUPP
#define vtkSetMacro(name, type)