20 #include "vtkCommonCoreModule.h"
23 VTK_ABI_NAMESPACE_BEGIN
62 virtual
void SetPosition(
int x,
int y);
63 virtual
void SetPosition(
int a[2]);
81 virtual
void SetSize(
int width,
int height);
82 virtual
void SetSize(
int a[2]);
89 int* GetActualSize() VTK_SIZEHINT(2);
94 virtual
int* GetScreenSize() VTK_SIZEHINT(2) {
return nullptr; }
107 vtkGetMacro(ShowWindow,
bool);
108 vtkSetMacro(ShowWindow,
bool);
109 vtkBooleanMacro(ShowWindow,
bool);
118 vtkSetMacro(UseOffScreenBuffers,
bool);
119 vtkGetMacro(UseOffScreenBuffers,
bool);
120 vtkBooleanMacro(UseOffScreenBuffers,
bool);
148 vtkGetStringMacro(WindowName);
149 vtkSetStringMacro(WindowName);
185 int ,
int ,
int ,
int ,
int ,
int = 0)
201 vtkGetMacro(DPI,
int);
219 this->SetShowWindow(val == 0);
220 this->SetUseOffScreenBuffers(val != 0);
250 vtkSetVector2Macro(TileScale,
int);
251 vtkGetVector2Macro(TileScale,
int);
253 vtkSetVector4Macro(TileViewport,
double);
254 vtkGetVector4Macro(TileViewport,
double);
271 double TileViewport[4];
277 void operator=(
const vtkWindow&) =
delete;
280 VTK_ABI_NAMESPACE_END
virtual void SetIcon(vtkImageData *)
Set the icon used in title bar and task bar.
virtual void SetDisplayId(void *)
These are window system independent methods that are used to help interface vtkWindow to native windo...
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 ...
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 void MakeCurrent()
Make the window current.
#define VTK_SIZEHINT(...)
virtual bool DetectDPI()
Attempt to detect and set the DPI of the display device by querying the system.
dynamic, self-adjusting array of unsigned char
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.
vtkTypeBool GetOffScreenRendering()
Deprecated, directly use GetShowWindow and GetOffScreenBuffers instead.
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 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...
void SetOffScreenRendering(vtkTypeBool val)
Convenience to set SHowWindow and UseOffScreenBuffers in one call.