20#include "vtkCommonCoreModule.h"
24VTK_ABI_NAMESPACE_BEGIN
65 virtual
void SetPosition(
int x,
int y);
66 virtual
void SetPosition(
int a[2]);
84 virtual
void SetSize(
int width,
int height);
85 virtual
void SetSize(
int a[2]);
110 vtkGetMacro(ShowWindow,
bool);
111 vtkSetMacro(ShowWindow,
bool);
112 vtkBooleanMacro(ShowWindow,
bool);
121 vtkSetMacro(UseOffScreenBuffers,
bool);
122 vtkGetMacro(UseOffScreenBuffers,
bool);
123 vtkBooleanMacro(UseOffScreenBuffers,
bool);
151 vtkGetStringMacro(WindowName);
152 vtkSetStringMacro(WindowName);
189 int ,
int ,
int ,
int ,
int ,
int = 0)
206 vtkGetMacro(DPI,
int);
216 virtual
bool DetectDPI() {
return false; }
225 this->SetShowWindow(val == 0);
226 this->SetUseOffScreenBuffers(val != 0);
236 vtkTypeBool GetOffScreenRendering() {
return this->GetShowWindow() ? 0 : 1; }
257 vtkSetVector2Macro(TileScale,
int);
258 vtkGetVector2Macro(TileScale,
int);
260 vtkSetVector4Macro(TileViewport,
double);
261 vtkGetVector4Macro(TileViewport,
double);
278 double TileViewport[4];
284 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 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 bool EnsureDisplay()
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...
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 VTK_UNBLOCKTHREADS 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(...)
#define VTK_MARSHAL_EXCLUDE_REASON_IS_INTERNAL
#define VTK_UNBLOCKTHREADS
#define VTK_MARSHALEXCLUDE(reason)