12 #ifndef vtkCocoaHardwareWindow_h
13 #define vtkCocoaHardwareWindow_h
16 #include "vtkRenderingUIModule.h"
24 @class vtkCocoaWindowDelegate;
28 class vtkCocoaWindowDelegate;
31 VTK_ABI_NAMESPACE_BEGIN
46 NSWindow* GetWindowId();
56 void* GetMetalLayer();
69 void SetSize(
int,
int)
override;
103 NSWindow* WindowId =
nullptr;
104 NSView* ViewId =
nullptr;
105 vtkCocoaWindowDelegate* Delegate =
nullptr;
107 bool OwnsWindow =
false;
108 bool CursorHidden =
false;
115 VTK_ABI_NAMESPACE_END
116 #endif // vtkCocoaHardwareWindow_h
create a window for renderers to draw into
virtual void HideCursor()
Hide or Show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to di...
static vtkHardwareWindow * New()
virtual void * GetGenericParentId()
These are window system independent methods that are used to help interface vtkWindow to native windo...
virtual void SetPosition(int x, int y)
Set the position (x and y) of the rendering window in screen coordinates (in pixels).
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetSize(int width, int height)
Set the size (width and height) of the rendering window in screen coordinates (in pixels)...
a simple class to control print indentation
represents a window in a Cocoa GUI
virtual void * GetGenericWindowId()
These are window system independent methods that are used to help interface vtkWindow to native windo...
virtual void SetWindowName(const char *)
Get name of rendering window.
virtual void ShowCursor()
Hide or Show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to di...
virtual void SetCurrentCursor(int)
Change the shape of the cursor.