Go to the documentation of this file.
31 #ifndef vtkCarbonRenderWindowInteractor_h
32 #define vtkCarbonRenderWindowInteractor_h
42 #include <Carbon/Carbon.h>
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)
virtual int InternalDestroyTimer(int platformTimerId)
int GetMouseInsideWindow()
EventHandlerUPP ViewProcUPP
~vtkCarbonRenderWindowInteractor()
virtual void Initialize()
#define vtkTypeMacro(thisClass, superclass)
Implementation of vtkTDxDevice on Mac.
void SetLastMouseDelta(int deltaX, int deltaY)
static void * ClassExitMethodArg
virtual void StartEventLoop()
virtual void ExitCallback()
a simple class to control print indentation
static vtkCarbonRenderWindowInteractor * New()
platform-independent render window interaction including picking and frame rate control.
vtkCarbonRenderWindowInteractor()
EventHandlerUPP WindowProcUPP
void GetLastMouseDelta(int delta[2])
void SetMouseInsideWindow(int val)
static void SetClassExitMethod(void(*f)(void *), void *arg)
void PrintSelf(ostream &os, vtkIndent indent)
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
implements Carbon specific functions required by vtkRenderWindowInteractor.
static void SetClassExitMethodArgDelete(void(*f)(void *))
#define VTKRENDERINGOPENGL_EXPORT
virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration)