 |
VTK
9.1.0
|
Go to the documentation of this file.
32 #include "vtkCommonCoreModule.h"
73 virtual
void SetPosition(
int x,
int y);
74 virtual
void SetPosition(
int a[2]);
92 virtual
void SetSize(
int width,
int height);
93 virtual
void SetSize(
int a[2]);
118 vtkGetMacro(ShowWindow,
bool);
119 vtkSetMacro(ShowWindow,
bool);
120 vtkBooleanMacro(ShowWindow,
bool);
129 vtkSetMacro(UseOffScreenBuffers,
bool);
130 vtkGetMacro(UseOffScreenBuffers,
bool);
131 vtkBooleanMacro(UseOffScreenBuffers,
bool);
159 vtkGetStringMacro(WindowName);
160 vtkSetStringMacro(WindowName);
196 int ,
int ,
int ,
int ,
int ,
int = 0)
212 vtkGetMacro(DPI,
int);
230 this->SetShowWindow(val == 0);
231 this->SetUseOffScreenBuffers(val != 0);
261 vtkSetVector2Macro(TileScale,
int);
262 vtkGetVector2Macro(TileScale,
int);
264 vtkSetVector4Macro(TileViewport,
double);
265 vtkGetVector4Macro(TileViewport,
double);
282 double TileViewport[4];
288 void operator=(
const vtkWindow&) =
delete;
virtual void * GetGenericContext()
These are window system independent methods that are used to help interface vtkWindow to native windo...
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...
dynamic, self-adjusting array of unsigned char
abstract base class for most VTK objects
void SetTileScale(int s)
These methods are used by vtkWindowToImageFilter to tell a VTK window to simulate a larger window by ...
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 bool DetectDPI()
Attempt to detect and set the DPI of the display device by querying the system.
virtual void * GetGenericParentId()
These are window system independent methods that are used to help interface vtkWindow to native windo...
window superclass for vtkRenderWindow
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 ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this texture.
#define VTK_SIZEHINT(...)
virtual int GetPixelData(int, int, int, int, int, vtkUnsignedCharArray *, 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.
topologically and geometrically regular array of data
a simple class to control print indentation
virtual void SetDisplayId(void *)
These are window system independent methods that are used to help interface vtkWindow to native windo...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int * GetPosition()
Get the position (x and y) of the rendering window in screen coordinates (in pixels).
virtual void Render()
Ask each viewport owned by this Window to render its image and synchronize this process.
struct Position_t Position
virtual void MakeCurrent()
Make the window current.
virtual void * GetGenericWindowId()
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 ReleaseCurrent()
Release the current context.
virtual void SetWindowId(void *)
These are window system independent methods that are used to help interface vtkWindow to native windo...
vtkTypeBool GetOffScreenRendering()
Deprecated, directly use GetShowWindow and GetOffScreenBuffers instead.