33 #ifndef __vtkCarbonRenderWindow_h
34 #define __vtkCarbonRenderWindow_h
36 #if defined(__LP64__) && __LP64__
37 #error vtkCarbonRenderWindow does not work in 64 bit
46 #include <AvailabilityMacros.h>
47 #if MAC_OS_X_VERSION_MAX_ALLOWED < 1040
51 #include <Carbon/Carbon.h>
54 class vtkCarbonRenderWindowInternal;
71 virtual void WindowConfigure();
74 virtual void WindowInitialize();
80 virtual void Initialize();
98 virtual void PrefFullScreen();
102 virtual void SetSize(
int a[2]);
130 vtkWarningMacro(
"SetNextWindowInfo not implemented (WindowRemap not implemented).");
137 virtual AGLContext GetContextId();
143 vtkWarningMacro(
"GetGenericDrawable Method not implemented.");
149 vtkWarningMacro(
"SetParentInfo Method not implemented.");
154 virtual HIViewRef GetWindowId();
159 vtkWarningMacro(
"SetNextWindowId not implemented (WindowRemap not implemented).");
174 void SetRootWindow(WindowPtr win);
175 WindowPtr GetRootWindow();
181 vtkSetMacro(MultiSamples,
int);
182 vtkGetMacro(MultiSamples,
int);
220 void UpdateSizeAndPosition(
int xPos,
int yPos,
int xSize,
int ySize);
224 void UpdateGLRegion();
234 GLint aglAttributes[64];
250 static OSStatus RegionEventProcessor(EventHandlerCallRef er,
254 void InitializeApplication();
259 void CreateOffScreenWindow(
int x,
int y);
260 void DestroyOffScreenWindow();
261 void ResizeOffScreenWindow(
int x,
int y);