32 #include "vtkCommonCoreModule.h"
35 VTK_ABI_NAMESPACE_BEGIN
74 virtual
void SetPosition(
int x,
int y);
75 virtual
void SetPosition(
int a[2]);
93 virtual
void SetSize(
int width,
int height);
94 virtual
void SetSize(
int a[2]);
119 vtkGetMacro(ShowWindow,
bool);
120 vtkSetMacro(ShowWindow,
bool);
121 vtkBooleanMacro(ShowWindow,
bool);
130 vtkSetMacro(UseOffScreenBuffers,
bool);
131 vtkGetMacro(UseOffScreenBuffers,
bool);
132 vtkBooleanMacro(UseOffScreenBuffers,
bool);
160 vtkGetStringMacro(WindowName);
161 vtkSetStringMacro(WindowName);
197 int ,
int ,
int ,
int ,
int ,
int = 0)
213 vtkGetMacro(DPI,
int);
231 this->SetShowWindow(val == 0);
232 this->SetUseOffScreenBuffers(val != 0);
262 vtkSetVector2Macro(TileScale,
int);
263 vtkGetVector2Macro(TileScale,
int);
265 vtkSetVector4Macro(TileViewport,
double);
266 vtkGetVector4Macro(TileViewport,
double);
283 double TileViewport[4];
289 void operator=(
const vtkWindow&) =
delete;
292 VTK_ABI_NAMESPACE_END
topologically and geometrically regular array of data
a simple class to control print indentation
abstract base class for most VTK objects
dynamic, self-adjusting array of unsigned char
window superclass for vtkRenderWindow
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual bool DetectDPI()
Attempt to detect and set the DPI of the display device by querying the system.
vtkTypeBool GetOffScreenRendering()
Deprecated, directly use GetShowWindow and GetOffScreenBuffers instead.
virtual void * GetGenericDrawable()
These are window system independent methods that are used to help interface vtkWindow to native windo...
virtual void SetIcon(vtkImageData *)
Set the icon used in title bar and task bar.
virtual void SetWindowInfo(const char *)
These are window system independent methods that are used to help interface vtkWindow to native windo...
virtual void ReleaseCurrent()
Release the current context.
virtual void * GetGenericParentId()
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.
virtual void SetDisplayId(void *)
These are window system independent methods that are used to help interface vtkWindow to native windo...
virtual unsigned char * GetPixelData(int, int, int, int, int, int=0)
Get the pixel data of an image, transmitted as RGBRGBRGB.
void SetOffScreenRendering(vtkTypeBool val)
Convenience to set SHowWindow and UseOffScreenBuffers in one call.
virtual void * GetGenericDisplayId()
These are window system independent methods that are used to help interface vtkWindow to native windo...
virtual int * GetPosition()
Get the position (x and y) of the rendering window in screen coordinates (in pixels).
virtual void * GetGenericWindowId()
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 ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this texture.
virtual void * GetGenericContext()
These are window system independent methods that are used to help interface vtkWindow to native windo...
virtual void Render()
Ask each viewport owned by this Window to render its image and synchronize this process.
virtual void SetParentId(void *)
These are window system independent methods that are used to help interface vtkWindow to native windo...
void SetTileScale(int s)
These methods are used by vtkWindowToImageFilter to tell a VTK window to simulate a larger window by ...
virtual void MakeCurrent()
Make the window current.
virtual void SetWindowId(void *)
These are window system independent methods that are used to help interface vtkWindow to native windo...
struct Position_t Position
#define VTK_SIZEHINT(...)