#include <vtkWindow.h>
Inheritance diagram for vtkWindow:
vtkWindow is an abstract object to specify the behavior of a rendering window. It contains vtkViewports.
Definition at line 35 of file vtkWindow.h.
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetDisplayId (void *)=0 |
virtual void | SetWindowId (void *)=0 |
virtual void | SetParentId (void *)=0 |
virtual void * | GetGenericDisplayId ()=0 |
virtual void * | GetGenericWindowId ()=0 |
virtual void * | GetGenericParentId ()=0 |
virtual void * | GetGenericContext ()=0 |
virtual void * | GetGenericDrawable ()=0 |
virtual void | SetWindowInfo (char *)=0 |
virtual void | SetParentInfo (char *)=0 |
virtual int * | GetPosition () |
virtual void | SetPosition (int, int) |
virtual void | SetPosition (int a[2]) |
virtual int * | GetSize () |
virtual void | SetSize (int, int) |
virtual void | SetSize (int a[2]) |
virtual int * | GetScreenSize ()=0 |
virtual void | SetMapped (int) |
virtual int | GetMapped () |
virtual void | MappedOn () |
virtual void | MappedOff () |
virtual void | SetErase (int) |
virtual int | GetErase () |
virtual void | EraseOn () |
virtual void | EraseOff () |
virtual void | SetDoubleBuffer (int) |
virtual int | GetDoubleBuffer () |
virtual void | DoubleBufferOn () |
virtual void | DoubleBufferOff () |
virtual char * | GetWindowName () |
virtual void | SetWindowName (const char *) |
virtual void | Render ()=0 |
virtual unsigned char * | GetPixelData (int, int, int, int, int)=0 |
virtual int | GetPixelData (int, int, int, int, int, vtkUnsignedCharArray *)=0 |
virtual int | GetDPI () |
virtual void | SetDPI (int) |
virtual void | SetOffScreenRendering (int) |
virtual int | GetOffScreenRendering () |
virtual void | OffScreenRenderingOn () |
virtual void | OffScreenRenderingOff () |
virtual void | MakeCurrent () |
virtual void | SetTileScale (int, int) |
void | SetTileScale (int[2]) |
virtual int * | GetTileScale () |
virtual void | GetTileScale (int &, int &) |
virtual void | GetTileScale (int[2]) |
void | SetTileScale (int s) |
virtual void | SetTileViewport (double, double, double, double) |
virtual void | SetTileViewport (double[4]) |
virtual double * | GetTileViewport () |
virtual void | GetTileViewport (double &, double &, double &, double &) |
virtual void | GetTileViewport (double[4]) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkWindow * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkWindow () | |
~vtkWindow () | |
Protected Attributes | |
int | OffScreenRendering |
char * | WindowName |
int | Size [2] |
int | Position [2] |
int | Mapped |
int | Erase |
int | DoubleBuffer |
int | DPI |
double | TileViewport [4] |
int | TileSize [2] |
int | TileScale [2] |
|
Reimplemented from vtkObject. Reimplemented in vtkCarbonRenderWindow, vtkCocoaRenderWindow, vtkMesaRenderWindow, vtkOpenGLRenderWindow, vtkRenderWindow, vtkWin32OpenGLRenderWindow, vtkWinCEOpenGLRenderWindow, vtkXMesaRenderWindow, and vtkXOpenGLRenderWindow. Definition at line 38 of file vtkWindow.h. |
|
|
|
|
|
Reimplemented from vtkObject. Reimplemented in vtkCarbonRenderWindow, vtkCocoaRenderWindow, vtkMesaRenderWindow, vtkOpenGLRenderWindow, vtkRenderWindow, vtkWin32OpenGLRenderWindow, vtkWinCEOpenGLRenderWindow, vtkXMesaRenderWindow, and vtkXOpenGLRenderWindow. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkObject. Reimplemented in vtkCarbonRenderWindow, vtkCocoaRenderWindow, vtkMesaRenderWindow, vtkOpenGLRenderWindow, vtkRenderWindow, vtkWin32OpenGLRenderWindow, vtkWinCEOpenGLRenderWindow, vtkXMesaRenderWindow, and vtkXOpenGLRenderWindow. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkObject. Reimplemented in vtkCarbonRenderWindow, vtkCocoaRenderWindow, vtkMesaRenderWindow, vtkOpenGLRenderWindow, vtkRenderWindow, vtkWin32OpenGLRenderWindow, vtkWinCEOpenGLRenderWindow, vtkXMesaRenderWindow, and vtkXOpenGLRenderWindow. |
|
Reimplemented from vtkObject. Reimplemented in vtkCarbonRenderWindow, vtkCocoaRenderWindow, vtkMesaRenderWindow, vtkOpenGLRenderWindow, vtkRenderWindow, vtkWin32OpenGLRenderWindow, vtkWinCEOpenGLRenderWindow, vtkXMesaRenderWindow, and vtkXOpenGLRenderWindow. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkObject. Reimplemented in vtkCarbonRenderWindow, vtkCocoaRenderWindow, vtkMesaRenderWindow, vtkOpenGLRenderWindow, vtkRenderWindow, vtkWin32OpenGLRenderWindow, vtkWinCEOpenGLRenderWindow, vtkXMesaRenderWindow, and vtkXOpenGLRenderWindow. |
|
These are window system independent methods that are used to help interface vtkWindow to native windowing systems. Implemented in vtkCarbonRenderWindow, vtkCocoaRenderWindow, vtkRenderWindow, vtkWin32OpenGLRenderWindow, vtkWinCEOpenGLRenderWindow, vtkXMesaRenderWindow, and vtkXOpenGLRenderWindow. |
|
Implemented in vtkCarbonRenderWindow, vtkCocoaRenderWindow, vtkRenderWindow, vtkWin32OpenGLRenderWindow, vtkWinCEOpenGLRenderWindow, vtkXMesaRenderWindow, and vtkXOpenGLRenderWindow. |
|
Implemented in vtkCarbonRenderWindow, vtkCocoaRenderWindow, vtkRenderWindow, vtkWin32OpenGLRenderWindow, vtkWinCEOpenGLRenderWindow, vtkXMesaRenderWindow, and vtkXOpenGLRenderWindow. |
|
Implemented in vtkCarbonRenderWindow, vtkCocoaRenderWindow, vtkRenderWindow, vtkWin32OpenGLRenderWindow, vtkWinCEOpenGLRenderWindow, vtkXMesaRenderWindow, and vtkXOpenGLRenderWindow. |
|
Implemented in vtkCarbonRenderWindow, vtkCocoaRenderWindow, vtkRenderWindow, vtkWin32OpenGLRenderWindow, vtkWinCEOpenGLRenderWindow, vtkXMesaRenderWindow, and vtkXOpenGLRenderWindow. |
|
Implemented in vtkCarbonRenderWindow, vtkCocoaRenderWindow, vtkRenderWindow, vtkWin32OpenGLRenderWindow, vtkWinCEOpenGLRenderWindow, vtkXMesaRenderWindow, and vtkXOpenGLRenderWindow. |
|
Implemented in vtkCarbonRenderWindow, vtkCocoaRenderWindow, vtkRenderWindow, vtkWin32OpenGLRenderWindow, vtkWinCEOpenGLRenderWindow, vtkXMesaRenderWindow, and vtkXOpenGLRenderWindow. |
|
Implemented in vtkCarbonRenderWindow, vtkCocoaRenderWindow, vtkRenderWindow, vtkWin32OpenGLRenderWindow, vtkXMesaRenderWindow, and vtkXOpenGLRenderWindow. |
|
Implemented in vtkCarbonRenderWindow, vtkCocoaRenderWindow, vtkRenderWindow, vtkWin32OpenGLRenderWindow, vtkWinCEOpenGLRenderWindow, vtkXMesaRenderWindow, and vtkXOpenGLRenderWindow. |
|
Implemented in vtkCarbonRenderWindow, vtkCocoaRenderWindow, vtkRenderWindow, vtkWin32OpenGLRenderWindow, vtkWinCEOpenGLRenderWindow, vtkXMesaRenderWindow, and vtkXOpenGLRenderWindow. |
|
Set/Get the position in screen coordinates of the rendering window. Reimplemented in vtkCarbonRenderWindow, vtkCocoaRenderWindow, vtkWin32OpenGLRenderWindow, vtkWinCEOpenGLRenderWindow, vtkXMesaRenderWindow, and vtkXOpenGLRenderWindow. |
|
Set/Get the position in screen coordinates of the rendering window. Reimplemented in vtkCarbonRenderWindow, vtkCocoaRenderWindow, vtkWin32OpenGLRenderWindow, vtkWinCEOpenGLRenderWindow, vtkXMesaRenderWindow, and vtkXOpenGLRenderWindow. Referenced by vtkXOpenGLRenderWindow::SetPosition(), vtkXMesaRenderWindow::SetPosition(), and vtkWin32OpenGLRenderWindow::SetPosition(). |
|
Set/Get the position in screen coordinates of the rendering window. Reimplemented in vtkWin32OpenGLRenderWindow, vtkXMesaRenderWindow, and vtkXOpenGLRenderWindow. |
|
Set/Get the size of the window in screen coordinates. Reimplemented in vtkCarbonRenderWindow, vtkCocoaRenderWindow, vtkWin32OpenGLRenderWindow, and vtkWinCEOpenGLRenderWindow. |
|
Set/Get the size of the window in screen coordinates. Reimplemented in vtkCarbonRenderWindow, vtkCocoaRenderWindow, vtkWin32OpenGLRenderWindow, vtkWinCEOpenGLRenderWindow, vtkXMesaRenderWindow, and vtkXOpenGLRenderWindow. Referenced by vtkXOpenGLRenderWindow::SetSize(), vtkXMesaRenderWindow::SetSize(), and vtkWin32OpenGLRenderWindow::SetSize(). |
|
Set/Get the size of the window in screen coordinates. Reimplemented in vtkCarbonRenderWindow, vtkWin32OpenGLRenderWindow, vtkXMesaRenderWindow, and vtkXOpenGLRenderWindow. |
|
Get the size of the screen in pixels Implemented in vtkCarbonRenderWindow, vtkCocoaRenderWindow, vtkWin32OpenGLRenderWindow, vtkWinCEOpenGLRenderWindow, vtkXMesaRenderWindow, and vtkXOpenGLRenderWindow. |
|
Keep track of whether the rendering window has been mapped to screen. |
|
Get the size of the screen in pixels |
|
Get the size of the screen in pixels |
|
Get the size of the screen in pixels |
|
Turn on/off erasing the screen between images. This allows multiple exposure sequences if turned on. You will need to turn double buffering off or make use of the SwapBuffers methods to prevent you from swapping buffers between exposures. |
|
Turn on/off erasing the screen between images. This allows multiple exposure sequences if turned on. You will need to turn double buffering off or make use of the SwapBuffers methods to prevent you from swapping buffers between exposures. |
|
Turn on/off erasing the screen between images. This allows multiple exposure sequences if turned on. You will need to turn double buffering off or make use of the SwapBuffers methods to prevent you from swapping buffers between exposures. |
|
Turn on/off erasing the screen between images. This allows multiple exposure sequences if turned on. You will need to turn double buffering off or make use of the SwapBuffers methods to prevent you from swapping buffers between exposures. |
|
Keep track of whether double buffering is on or off |
|
Keep track of whether double buffering is on or off |
|
Keep track of whether double buffering is on or off |
|
Keep track of whether double buffering is on or off |
|
Get name of rendering window |
|
Get name of rendering window Reimplemented in vtkCarbonRenderWindow, vtkCocoaRenderWindow, vtkWin32OpenGLRenderWindow, vtkXMesaRenderWindow, and vtkXOpenGLRenderWindow. |
|
Ask each viewport owned by this Window to render its image and synchronize this process. Implemented in vtkRenderWindow, vtkXMesaRenderWindow, and vtkXOpenGLRenderWindow. |
|
Get the pixel data of an image, transmitted as RGBRGBRGB. The front argument indicates if the front buffer should be used or the back buffer. It is the caller's responsibility to delete the resulting array. It is very important to realize that the memory in this array is organized from the bottom of the window to the top. The origin of the screen is in the lower left corner. The y axis increases as you go up the screen. So the storage of pixels is from left to right and from bottom to top. Implemented in vtkMesaRenderWindow, and vtkOpenGLRenderWindow. |
|
Ask each viewport owned by this Window to render its image and synchronize this process. Implemented in vtkMesaRenderWindow, and vtkOpenGLRenderWindow. |
|
Return a best estimate to the dots per inch of the display device being rendered (or printed). |
|
Return a best estimate to the dots per inch of the display device being rendered (or printed). |
|
Create a window in memory instead of on the screen. This may not be supported for every type of window and on some windows you may need to invoke this prior to the first render. Reimplemented in vtkWin32OpenGLRenderWindow, vtkXMesaRenderWindow, and vtkXOpenGLRenderWindow. |
|
Create a window in memory instead of on the screen. This may not be supported for every type of window and on some windows you may need to invoke this prior to the first render. |
|
Create a window in memory instead of on the screen. This may not be supported for every type of window and on some windows you may need to invoke this prior to the first render. |
|
Create a window in memory instead of on the screen. This may not be supported for every type of window and on some windows you may need to invoke this prior to the first render. |
|
Make the window current. May be overridden in subclasses to do for example a glXMakeCurrent or a wglMakeCurrent. Reimplemented in vtkCarbonRenderWindow, vtkCocoaRenderWindow, vtkMesaRenderWindow, vtkOpenGLRenderWindow, vtkRenderWindow, vtkWin32OpenGLRenderWindow, vtkWinCEOpenGLRenderWindow, vtkXMesaRenderWindow, and vtkXOpenGLRenderWindow. Definition at line 139 of file vtkWindow.h. |
|
These methods are used by vtkWindowToImageFilter to tell a VTK window to simulate a larger window by tiling. For 3D geometry these methods have no impact. It is just in handling annotation that this information must be available to the mappers and the coordinate calculations. |
|
Make the window current. May be overridden in subclasses to do for example a glXMakeCurrent or a wglMakeCurrent. |
|
Make the window current. May be overridden in subclasses to do for example a glXMakeCurrent or a wglMakeCurrent. |
|
Make the window current. May be overridden in subclasses to do for example a glXMakeCurrent or a wglMakeCurrent. |
|
Make the window current. May be overridden in subclasses to do for example a glXMakeCurrent or a wglMakeCurrent. |
|
Make the window current. May be overridden in subclasses to do for example a glXMakeCurrent or a wglMakeCurrent. Definition at line 149 of file vtkWindow.h. |
|
Make the window current. May be overridden in subclasses to do for example a glXMakeCurrent or a wglMakeCurrent. |
|
Make the window current. May be overridden in subclasses to do for example a glXMakeCurrent or a wglMakeCurrent. |
|
Make the window current. May be overridden in subclasses to do for example a glXMakeCurrent or a wglMakeCurrent. |
|
Make the window current. May be overridden in subclasses to do for example a glXMakeCurrent or a wglMakeCurrent. |
|
Make the window current. May be overridden in subclasses to do for example a glXMakeCurrent or a wglMakeCurrent. |
|
Definition at line 151 of file vtkWindow.h. |
|
Definition at line 159 of file vtkWindow.h. |
|
Definition at line 160 of file vtkWindow.h. |
|
Definition at line 161 of file vtkWindow.h. |
|
Definition at line 162 of file vtkWindow.h. |
|
Definition at line 163 of file vtkWindow.h. |
|
Definition at line 164 of file vtkWindow.h. |
|
Definition at line 165 of file vtkWindow.h. |
|
Definition at line 167 of file vtkWindow.h. |
|
Definition at line 168 of file vtkWindow.h. |
|
Definition at line 169 of file vtkWindow.h. |