29#include "vtkCommonCoreModule.h"
70 virtual
void SetPosition(
int x,
int y);
71 virtual
void SetPosition(
int a[2]);
89 virtual
void SetSize(
int width,
int height);
90 virtual
void SetSize(
int a[2]);
115 vtkGetMacro(ShowWindow,
bool);
116 vtkSetMacro(ShowWindow,
bool);
117 vtkBooleanMacro(ShowWindow,
bool);
126 vtkSetMacro(UseOffScreenBuffers,
bool);
127 vtkGetMacro(UseOffScreenBuffers,
bool);
128 vtkBooleanMacro(UseOffScreenBuffers,
bool);
156 vtkGetStringMacro(WindowName);
157 vtkSetStringMacro(WindowName);
193 int ,
int ,
int ,
int ,
int ,
int = 0)
209 vtkGetMacro(DPI,
int);
227 this->SetShowWindow(val == 0);
228 this->SetUseOffScreenBuffers(val != 0);
258 vtkSetVector2Macro(TileScale,
int);
259 vtkGetVector2Macro(TileScale,
int);
261 vtkSetVector4Macro(TileViewport,
double);
262 vtkGetVector4Macro(TileViewport,
double);
279 double TileViewport[4];
285 void operator=(
const vtkWindow&) =
delete;
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 void * GetGenericDrawable()
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.
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 SetIcon(vtkImageData *)
Set the icon used in title bar and task bar.
virtual void * GetGenericWindowId()
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 ReleaseCurrent()
Release the current context.
virtual void * GetGenericContext()
These are window system independent methods that are used to help interface vtkWindow to native windo...
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 * GetGenericDisplayId()
These are window system independent methods that are used to help interface vtkWindow to native windo...
virtual void SetDisplayId(void *)
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.
virtual int * GetPosition()
Get the position (x and y) of the rendering window in screen coordinates (in pixels).
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 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...
#define VTK_SIZEHINT(...)