 |
VTK
9.0.1
|
Go to the documentation of this file.
32 #include "vtkCommonCoreModule.h"
72 virtual
void SetPosition(
int x,
int y);
73 virtual
void SetPosition(
int a[2]);
91 virtual
void SetSize(
int width,
int height);
92 virtual
void SetSize(
int a[2]);
117 vtkGetMacro(ShowWindow,
bool);
118 vtkSetMacro(ShowWindow,
bool);
119 vtkBooleanMacro(ShowWindow,
bool);
128 vtkSetMacro(UseOffScreenBuffers,
bool);
129 vtkGetMacro(UseOffScreenBuffers,
bool);
130 vtkBooleanMacro(UseOffScreenBuffers,
bool);
158 vtkGetStringMacro(WindowName);
159 vtkSetStringMacro(WindowName);
189 int ,
int ,
int ,
int ,
int ,
int = 0)
205 vtkGetMacro(DPI,
int);
223 this->SetShowWindow(val == 0);
224 this->SetUseOffScreenBuffers(val != 0);
248 vtkSetVector2Macro(TileScale,
int);
249 vtkGetVector2Macro(TileScale,
int);
251 vtkSetVector4Macro(TileViewport,
double);
252 vtkGetVector4Macro(TileViewport,
double);
269 double TileViewport[4];
275 void operator=(
const vtkWindow&) =
delete;
virtual void * GetGenericContext()
virtual void * GetGenericDisplayId()
virtual void SetWindowInfo(const char *)
dynamic, self-adjusting array of unsigned char
abstract base class for most VTK objects
virtual void * GetGenericDrawable()
virtual bool DetectDPI()
Attempt to detect and set the DPI of the display device by querying the system.
virtual void * GetGenericParentId()
window superclass for vtkRenderWindow
virtual void SetParentInfo(const char *)
virtual void SetParentId(void *)
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)
void SetOffScreenRendering(vtkTypeBool val)
Convenience to set SHowWindow and UseOffScreenBuffers in one call.
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 void Render()
Ask each viewport owned by this Window to render its image and synchronize this process.
virtual void MakeCurrent()
Make the window current.
virtual void * GetGenericWindowId()
virtual unsigned char * GetPixelData(int, int, int, int, int, int=0)
Get the pixel data of an image, transmitted as RGBRGBRGB.
virtual void SetWindowId(void *)
vtkTypeBool GetOffScreenRendering()
Deprecated, directly use GetShowWindow and GetOffScreenBuffers instead.