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);
virtual void SetOffScreenRendering(int)
virtual void Finalize()=0
void SetNextWindowId(void *)
virtual void SetForceMakeCurrent()
virtual void SetWindowInfo(char *)=0
int ApplicationInitialized
virtual void * GetGenericDrawable()
virtual void WindowRemap()=0
virtual void * GetGenericWindowId()
void PrintSelf(ostream &os, vtkIndent indent)
virtual void HideCursor()=0
static vtkRenderWindow * New()
virtual int * GetScreenSize()=0
vtkCarbonRenderWindowInternal * Internal
virtual void SetWindowId(void *)=0
void SetNextWindowInfo(char *)
virtual void SetFullScreen(int)=0
virtual int GetEventPending()=0
virtual void SetSize(int, int)
void SetWindowId(void *foo)
virtual void SetStereoCapableWindow(int capable)
virtual bool IsCurrent()=0
virtual void SetParentId(void *)=0
a simple class to control print indentation
virtual void DestroyWindow()=0
virtual void MakeCurrent()=0
EventHandlerUPP RegionEventHandlerUPP
virtual int * GetPosition()
virtual void * GetGenericContext()
void SetParentInfo(char *)
virtual void SetDisplayId(void *)
virtual void * GetGenericDisplayId()
void SetParentId(void *foo)
Carbon OpenGL rendering window.
virtual void SetWindowName(const char *)
virtual void SetPosition(int, int)
virtual void CreateAWindow()=0
EventHandlerRef RegionEventHandler
virtual void ShowCursor()=0
virtual void * GetGenericParentId()