20 #include "vtkCommonCoreModule.h"
24 VTK_ABI_NAMESPACE_BEGIN
28 #define VTK_CURSOR_DEFAULT 0
29 #define VTK_CURSOR_ARROW 1
30 #define VTK_CURSOR_SIZENE 2
31 #define VTK_CURSOR_SIZENW 3
32 #define VTK_CURSOR_SIZESW 4
33 #define VTK_CURSOR_SIZESE 5
34 #define VTK_CURSOR_SIZENS 6
35 #define VTK_CURSOR_SIZEWE 7
36 #define VTK_CURSOR_SIZEALL 8
37 #define VTK_CURSOR_HAND 9
38 #define VTK_CURSOR_CROSSHAIR 10
39 #define VTK_CURSOR_CUSTOM 11
78 virtual
void SetPosition(
int x,
int y);
79 virtual
void SetPosition(
int a[2]);
97 virtual
void SetSize(
int width,
int height);
98 virtual
void SetSize(
int a[2]);
105 int* GetActualSize() VTK_SIZEHINT(2);
110 virtual
int* GetScreenSize() VTK_SIZEHINT(2) {
return nullptr; }
123 vtkGetMacro(ShowWindow,
bool);
124 vtkSetMacro(ShowWindow,
bool);
125 vtkBooleanMacro(ShowWindow,
bool);
134 vtkSetMacro(UseOffScreenBuffers,
bool);
135 vtkGetMacro(UseOffScreenBuffers,
bool);
136 vtkBooleanMacro(UseOffScreenBuffers,
bool);
164 vtkGetStringMacro(WindowName);
165 vtkSetStringMacro(WindowName);
202 int ,
int ,
int ,
int ,
int ,
int = 0)
219 vtkGetMacro(DPI,
int);
229 virtual
bool DetectDPI() {
return false; }
238 this->SetShowWindow(val == 0);
239 this->SetUseOffScreenBuffers(val != 0);
249 vtkTypeBool GetOffScreenRendering() {
return this->GetShowWindow() ? 0 : 1; }
270 vtkSetVector2Macro(TileScale,
int);
271 vtkGetVector2Macro(TileScale,
int);
273 vtkSetVector4Macro(TileViewport,
double);
274 vtkGetVector4Macro(TileViewport,
double);
304 vtkSetMacro(CurrentCursor,
int);
305 vtkGetMacro(CurrentCursor,
int);
313 vtkSetFilePathMacro(CursorFileName);
314 vtkGetFilePathMacro(CursorFileName);
332 char* CursorFileName =
nullptr;
334 double TileViewport[4];
340 void operator=(
const vtkWindow&) =
delete;
343 VTK_ABI_NAMESPACE_END
virtual void SetIcon(vtkImageData *)
Set the icon used in title bar and task bar.
virtual void SetCursorPosition(int, int)
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 SetDisplayId(void *)
These are window system independent methods that are used to help interface vtkWindow to native windo...
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...
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual unsigned char * GetPixelData(int, int, int, int, int, int=0)
Get the pixel data of an image, transmitted as RGBRGBRGB.
struct Position_t Position
void SetTileScale(int s)
These methods are used by vtkWindowToImageFilter to tell a VTK window to simulate a larger window by ...
#define VTK_UNBLOCKTHREADS
virtual void * GetGenericParentId()
These are window system independent methods that are used to help interface vtkWindow to native windo...
virtual void SetParentInfo(const char *)
These are window system independent methods that are used to help interface vtkWindow to native windo...
virtual void SetParentId(void *)
These are window system independent methods that are used to help interface vtkWindow to native windo...
virtual void * GetGenericDrawable()
These are window system independent methods that are used to help interface vtkWindow to native windo...
virtual int GetPixelData(int, int, int, int, int, vtkUnsignedCharArray *, int=0)
Get the pixel data of an image, transmitted as RGBRGBRGB.
window superclass for vtkRenderWindow
a simple class to control print indentation
topologically and geometrically regular array of data
virtual bool EnsureDisplay()
These are window system independent methods that are used to help interface vtkWindow to native windo...
virtual void MakeCurrent()
Make the window current.
#define VTK_SIZEHINT(...)
dynamic, self-adjusting array of unsigned char
#define VTK_MARSHALEXCLUDE(reason)
virtual void * GetGenericWindowId()
These are window system independent methods that are used to help interface vtkWindow to native windo...
virtual void ReleaseCurrent()
Release the current context.
#define VTK_CURSOR_DEFAULT
virtual void Render()
Ask each viewport owned by this Window to render its image and synchronize this process.
virtual void * GetGenericDisplayId()
These are window system independent methods that are used to help interface vtkWindow to native windo...
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 SetWindowInfo(const char *)
These are window system independent methods that are used to help interface vtkWindow to native windo...
virtual void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this texture.
virtual void SetWindowId(void *)
These are window system independent methods that are used to help interface vtkWindow to native windo...
virtual void * GetGenericContext()
These are window system independent methods that are used to help interface vtkWindow to native windo...
#define VTK_MARSHAL_EXCLUDE_REASON_IS_INTERNAL