32 #include "vtkCommonCoreModule.h" 48 virtual void SetDisplayId(
void *) = 0;
49 virtual void SetWindowId(
void *) = 0;
50 virtual void SetParentId(
void *) = 0;
51 virtual void *GetGenericDisplayId() = 0;
52 virtual void *GetGenericWindowId() = 0;
53 virtual void *GetGenericParentId() = 0;
54 virtual void *GetGenericContext() = 0;
55 virtual void *GetGenericDrawable() = 0;
56 virtual void SetWindowInfo(
const char *) = 0;
57 virtual void SetParentInfo(
const char *) = 0;
66 virtual
void SetPosition(
int,
int);
67 virtual
void SetPosition(
int a[2]);
75 virtual
void SetSize(
int,
int);
76 virtual
void SetSize(
int a[2]);
83 int *GetActualSize() VTK_SIZEHINT(2);
88 virtual
int *GetScreenSize() VTK_SIZEHINT(2) = 0;
95 vtkGetMacro(Mapped,vtkTypeBool);
96 vtkBooleanMacro(Mapped,vtkTypeBool);
106 vtkSetMacro(Erase,vtkTypeBool);
107 vtkGetMacro(Erase,vtkTypeBool);
108 vtkBooleanMacro(Erase,vtkTypeBool);
115 vtkSetMacro(DoubleBuffer,vtkTypeBool);
116 vtkGetMacro(DoubleBuffer,vtkTypeBool);
117 vtkBooleanMacro(DoubleBuffer,vtkTypeBool);
124 vtkGetStringMacro(WindowName);
125 vtkSetStringMacro(WindowName);
132 virtual
void Render() = 0;
147 virtual
unsigned char *GetPixelData(
int x,
int y,
int x2,
int y2,
148 int front,
int right=0) = 0;
149 virtual
int GetPixelData(
int x,
int y,
int x2,
int y2,
int front,
158 vtkGetMacro(DPI,
int);
168 virtual
bool DetectDPI() {
return false; }
194 vtkSetVector2Macro(TileScale,
int);
195 vtkGetVector2Macro(TileScale,
int);
197 vtkSetVector4Macro(TileViewport,
double);
198 vtkGetVector4Macro(TileViewport,
double);
214 double TileViewport[4];
220 void operator=(
const vtkWindow&) =
delete;
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetTileScale(int s)
These methods are used by vtkWindowToImageFilter to tell a VTK window to simulate a larger window by ...
window superclass for vtkRenderWindow
a simple class to control print indentation
virtual void MakeCurrent()
Make the window current.
#define VTK_SIZEHINT(...)
dynamic, self-adjusting array of unsigned char
vtkTypeBool OffScreenRendering