Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkXRenderWindow Class Reference

a rendering window for the X Window system. More...

#include <vtkXRenderWindow.h>

Inheritance diagram for vtkXRenderWindow:

Inheritance graph
[legend]
Collaboration diagram for vtkXRenderWindow:

Collaboration graph
[legend]
List of all members.

Public Methods

void PrintSelf (ostream &os, vtkIndent indent)
virtual void * GetGenericDisplayId ()
virtual void * GetGenericWindowId ()
virtual void * GetGenericParentId ()
virtual void * GetGenericContext ()
virtual void * GetGenericDrawable ()
virtual int * GetSize ()
virtual int * GetScreenSize ()
virtual int * GetPosition ()
Display * GetDisplayId ()
void SetDisplayId (Display *)
void SetDisplayId (void *)
Window GetParentId ()
void SetParentId (Window)
void SetParentId (void *)
Window GetWindowId ()
void SetWindowId (Window)
void SetWindowId (void *)
void SetNextWindowId (Window)
void SetWindowName (char *)
void SetPosition (int, int)
void SetPosition (int a[2])
void HideCursor ()
void ShowCursor ()
virtual int GetDesiredDepth ()=0
virtual Colormap GetDesiredColormap ()=0
virtual Visual * GetDesiredVisual ()=0
virtual int GetEventPending ()
void SetWindowInfo (char *info)
void Render ()

Static Public Methods

vtkXRenderWindow * New ()

Protected Methods

 vtkXRenderWindow ()
 ~vtkXRenderWindow ()
 vtkXRenderWindow (const vtkXRenderWindow &)
void operator= (const vtkXRenderWindow &)

Protected Attributes

Window ParentId
Window WindowId
Window NextWindowId
Display * DisplayId
Colormap ColorMap
int OwnWindow
int OwnDisplay
int ScreenSize [2]
int CursorHidden

Detailed Description

a rendering window for the X Window system.

Date:
2000/12/10 20:09:01
Revision:
1.44

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
Examples:
vtkXRenderWindow (examples)

Definition at line 67 of file vtkXRenderWindow.h.


Constructor & Destructor Documentation

vtkXRenderWindow::vtkXRenderWindow   [protected]
 

vtkXRenderWindow::~vtkXRenderWindow   [protected]
 

vtkXRenderWindow::vtkXRenderWindow const vtkXRenderWindow &    [inline, protected]
 

Definition at line 141 of file vtkXRenderWindow.h.


Member Function Documentation

vtkXRenderWindow* vtkXRenderWindow::New   [static]
 

Construct an instance of vtkRenderWindow with its screen size set to 300x300, borders turned on, positioned at (0,0), double buffering turned on.

Reimplemented from vtkRenderWindow.

Reimplemented in vtkMesaRenderWindow, and vtkOpenGLRenderWindow.

void vtkXRenderWindow::PrintSelf ostream &    os,
vtkIndent    indent
[virtual]
 

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 vtkRenderWindow.

Reimplemented in vtkMesaRenderWindow, and vtkOpenGLRenderWindow.

virtual void* vtkXRenderWindow::GetGenericDisplayId   [inline, virtual]
 

Xwindow get set functions

Reimplemented from vtkRenderWindow.

Definition at line 74 of file vtkXRenderWindow.h.

virtual void* vtkXRenderWindow::GetGenericWindowId   [inline, virtual]
 

Reimplemented from vtkRenderWindow.

Reimplemented in vtkMesaRenderWindow.

Definition at line 75 of file vtkXRenderWindow.h.

virtual void* vtkXRenderWindow::GetGenericParentId   [inline, virtual]
 

Reimplemented from vtkRenderWindow.

Definition at line 76 of file vtkXRenderWindow.h.

virtual void* vtkXRenderWindow::GetGenericContext   [virtual]
 

Reimplemented from vtkRenderWindow.

Reimplemented in vtkMesaRenderWindow.

virtual void* vtkXRenderWindow::GetGenericDrawable   [inline, virtual]
 

Reimplemented from vtkRenderWindow.

Definition at line 78 of file vtkXRenderWindow.h.

virtual int* vtkXRenderWindow::GetSize   [virtual]
 

Get the current size of the window in pixels.

Reimplemented from vtkWindow.

virtual int* vtkXRenderWindow::GetScreenSize   [virtual]
 

Get the size of the screen in pixels

virtual int* vtkXRenderWindow::GetPosition   [virtual]
 

Get the position in screen coordinates (pixels) of the window.

Reimplemented from vtkWindow.

Display* vtkXRenderWindow::GetDisplayId  
 

Get this RenderWindow's X display id.

void vtkXRenderWindow::SetDisplayId Display *   
 

Set the X display id for this RenderWindow to use to a pre-existing X display id.

void vtkXRenderWindow::SetDisplayId void *    foo [virtual]
 

Dummy stubs for vtkWindow API.

Reimplemented from vtkRenderWindow.

Window vtkXRenderWindow::GetParentId  
 

Get this RenderWindow's parent X window id.

void vtkXRenderWindow::SetParentId Window   
 

Sets the parent of the window that WILL BE created.

void vtkXRenderWindow::SetParentId void *    foo [virtual]
 

Reimplemented from vtkRenderWindow.

Window vtkXRenderWindow::GetWindowId  
 

Get this RenderWindow's X window id.

void vtkXRenderWindow::SetWindowId Window   
 

Set this RenderWindow's X window id to a pre-existing window.

void vtkXRenderWindow::SetWindowId void *    foo [virtual]
 

Reimplemented from vtkRenderWindow.

void vtkXRenderWindow::SetNextWindowId Window   
 

Specify the X window id to use if a WindowRemap is done.

void vtkXRenderWindow::SetWindowName char *    name [virtual]
 

Reimplemented from vtkWindow.

void vtkXRenderWindow::SetPosition int    x,
int    y
[virtual]
 

Move the window to a new position on the display.

Reimplemented from vtkWindow.

void vtkXRenderWindow::SetPosition int    a[2] [inline, virtual]
 

Reimplemented from vtkWindow.

Definition at line 117 of file vtkXRenderWindow.h.

void vtkXRenderWindow::HideCursor   [virtual]
 

Hide or Show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to display a 3D cursor instead.

Reimplemented from vtkRenderWindow.

void vtkXRenderWindow::ShowCursor   [virtual]
 

Reimplemented from vtkRenderWindow.

virtual int vtkXRenderWindow::GetDesiredDepth   [pure virtual]
 

Get the properties available at runtime that would result in the best Xwindow for 3D rendering.

Reimplemented in vtkMesaRenderWindow, and vtkOpenGLRenderWindow.

virtual Colormap vtkXRenderWindow::GetDesiredColormap   [pure virtual]
 

Reimplemented in vtkMesaRenderWindow, and vtkOpenGLRenderWindow.

virtual Visual* vtkXRenderWindow::GetDesiredVisual   [pure virtual]
 

Reimplemented in vtkMesaRenderWindow, and vtkOpenGLRenderWindow.

virtual int vtkXRenderWindow::GetEventPending   [virtual]
 

Reimplemented from vtkRenderWindow.

void vtkXRenderWindow::SetWindowInfo char *    info [virtual]
 

Set this RenderWindow's X window id to a pre-existing window.

Reimplemented from vtkRenderWindow.

void vtkXRenderWindow::Render   [virtual]
 

This computes the size of the render window before calling the supper classes render

Reimplemented from vtkRenderWindow.

void vtkXRenderWindow::operator= const vtkXRenderWindow &    [inline, protected]
 

Definition at line 142 of file vtkXRenderWindow.h.


Member Data Documentation

Window vtkXRenderWindow::ParentId [protected]
 

Definition at line 144 of file vtkXRenderWindow.h.

Window vtkXRenderWindow::WindowId [protected]
 

Definition at line 145 of file vtkXRenderWindow.h.

Window vtkXRenderWindow::NextWindowId [protected]
 

Definition at line 146 of file vtkXRenderWindow.h.

Display* vtkXRenderWindow::DisplayId [protected]
 

Definition at line 147 of file vtkXRenderWindow.h.

Colormap vtkXRenderWindow::ColorMap [protected]
 

Definition at line 148 of file vtkXRenderWindow.h.

int vtkXRenderWindow::OwnWindow [protected]
 

Definition at line 149 of file vtkXRenderWindow.h.

int vtkXRenderWindow::OwnDisplay [protected]
 

Definition at line 150 of file vtkXRenderWindow.h.

int vtkXRenderWindow::ScreenSize[2] [protected]
 

Definition at line 151 of file vtkXRenderWindow.h.

int vtkXRenderWindow::CursorHidden [protected]
 

Definition at line 152 of file vtkXRenderWindow.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 13:03:48 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001