33 #ifndef vtkCarbonRenderWindow_h
34 #define vtkCarbonRenderWindow_h
36 #if defined(__LP64__) && __LP64__
37 #error VTK_USE_CARBON cannot work in 64 bit; use VTK_USE_COCOA instead.
39 #if defined(MAC_OS_X_VERSION_MAX_ALLOWED) && (MAC_OS_X_VERSION_MAX_ALLOWED >= 1070)
40 #error VTK_USE_CARBON cannot work with the OS X 10.7 SDK or later; use VTK_USE_COCOA instead.
46 #include <Carbon/Carbon.h>
49 class vtkCarbonRenderWindowInternal;
66 virtual void WindowConfigure();
69 virtual void WindowInitialize();
75 virtual void Initialize();
93 virtual void PrefFullScreen();
125 vtkWarningMacro(
"SetNextWindowInfo not implemented (WindowRemap not implemented).");
132 virtual AGLContext GetContextId();
138 vtkWarningMacro(
"GetGenericDrawable Method not implemented.");
144 vtkWarningMacro(
"SetParentInfo Method not implemented.");
149 virtual HIViewRef GetWindowId();
154 vtkWarningMacro(
"SetNextWindowId not implemented (WindowRemap not implemented).");
169 void SetRootWindow(WindowPtr win);
170 WindowPtr GetRootWindow();
176 vtkSetMacro(MultiSamples,
int);
177 vtkGetMacro(MultiSamples,
int);
215 void UpdateSizeAndPosition(
int xPos,
int yPos,
int xSize,
int ySize);
219 void UpdateGLRegion();
229 GLint aglAttributes[64];
245 static OSStatus RegionEventProcessor(EventHandlerCallRef er,
249 void InitializeApplication();
254 void CreateOffScreenWindow(
int x,
int y);
255 void DestroyOffScreenWindow();
256 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
#define VTKRENDERINGOPENGL_EXPORT
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()