Man Page for vtkXRenderWindow
Table of Contents

NAME

vtkXRenderWindow - a rendering window for the X Window system

SYNOPSIS


#include "/opt/vtk-c++/graphics/vtkXRenderWindow.h"

class VTK_EXPORT vtkXRenderWindow : public vtkRenderWindow

vtkXRenderWindow();
~vtkXRenderWindow();
const char *GetClassName() {return "vtkXRenderWindow";};
void PrintSelf(ostream& os, vtkIndent indent);

int
*GetSize();
int
*GetScreenSize();
int
*GetPosition();
Display *GetDisplayId();
void
SetDisplayId(Display *);
void
SetDisplayId(void *);
Window GetParentId();
void
SetParentId(Window);
Window GetWindowId();
void
SetWindowId(Window);
void
SetWindowId(void *);
void
SetNextWindowId(Window);
void
SetWindowName(char *);
void
SetPosition(int,int);
virtual int
GetDesiredDepth() = 0;
virtual Colormap GetDesiredColormap() = 0;
virtual Visual *GetDesiredVisual() = 0;
virtual int GetEventPending();
void
SetWindowInfo(char *info);

DESCRIPTION

vtkXRenderWindow is a subclass of the abstract class vtkRenderWindow. vtkXRenderWindow interfaces to the X Window system
and provides some methods that are common to any vtkRenderWindow subclass that renders under X Windows. The
vtkXRenderWindowInteractor makes heavy use of these common methods.

SEE ALSO

vtkRenderWindow vtkXRenderWindowInteractor

SUMMARY

int *GetScreenSize()
Get the size of the screen in pixels

int *GetSize(void)
Get the current size of the window in pixels.

int *GetPosition(void)
Get the position in screen coordinates (pixels) of the window.

Display *GetDisplayId()
Get this RenderWindow's X display id.

Window GetParentId()
Get this RenderWindow's parent X window id.

Window GetWindowId()
Get this RenderWindow's X window id.

void SetPosition(int x, int y)
Move the window to a new position on the display.

void SetParentId(Window arg)
Sets the parent of the window that WILL BE created.

void SetWindowId(Window arg)
Set this RenderWindow's X window id to a pre-existing window.

void SetWindowInfo(char *info)
Set this RenderWindow's X window id to a pre-existing window.

void SetNextWindowId(Window arg)
Specify the X window id to use if a WindowRemap is done.

void SetDisplayId(Display *arg)
Set the X display id for this RenderWindow to use to a pre-existing X display id.


Table of Contents