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

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual int * GetSize ()
virtual int * GetScreenSize ()
virtual int * GetPosition ()
Display * GetDisplayId ()
Window GetParentId ()
Window GetWindowId ()
void SetWindowInfo (char *info)
void SetParentInfo (char *info)
void Render ()
virtual void * GetGenericDisplayId ()
virtual void * GetGenericWindowId ()
virtual void * GetGenericParentId ()
virtual void * GetGenericContext ()
virtual void * GetGenericDrawable ()
void SetDisplayId (Display *)
void SetDisplayId (void *)
void SetParentId (Window)
void SetParentId (void *)
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 ()

Static Public Methods

int IsTypeOf (const char *type)
vtkXRenderWindow * SafeDownCast (vtkObject *o)
vtkXRenderWindow * New ()

Protected Methods

 vtkXRenderWindow ()
 ~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:
2001/10/11 13:38:37
Revision:
1.49

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

Definition at line 65 of file vtkXRenderWindow.h.


Constructor & Destructor Documentation

vtkXRenderWindow::vtkXRenderWindow   [protected]
 

vtkXRenderWindow::~vtkXRenderWindow   [protected]
 


Member Function Documentation

virtual const char* vtkXRenderWindow::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkRenderWindow.

int vtkXRenderWindow::IsTypeOf const char *    type [static]
 

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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkRenderWindow.

virtual int vtkXRenderWindow::IsA const char *    type [virtual]
 

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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkRenderWindow.

vtkXRenderWindow* vtkXRenderWindow::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkRenderWindow.

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.

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.

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]
 

Xwindow get set functions

Reimplemented from vtkRenderWindow.

Definition at line 75 of file vtkXRenderWindow.h.

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

Xwindow get set functions

Reimplemented from vtkRenderWindow.

Definition at line 76 of file vtkXRenderWindow.h.

virtual void* vtkXRenderWindow::GetGenericContext   [virtual]
 

Xwindow get set functions

Reimplemented from vtkRenderWindow.

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

Xwindow get set functions

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]
 

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

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]
 

Sets the parent of the window that WILL BE created.

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]
 

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

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]
 

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

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]
 

Move the window to a new position on the display.

Reimplemented from vtkWindow.

Definition at line 127 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]
 

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.

virtual int vtkXRenderWindow::GetDesiredDepth   [pure virtual]
 

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

virtual Colormap vtkXRenderWindow::GetDesiredColormap   [pure virtual]
 

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

virtual Visual* vtkXRenderWindow::GetDesiredVisual   [pure virtual]
 

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

virtual int vtkXRenderWindow::GetEventPending   [virtual]
 

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

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::SetParentInfo char *    info [virtual]
 

Sets the X window id of the window that WILL BE created.

Reimplemented from vtkRenderWindow.

void vtkXRenderWindow::Render void    [virtual]
 

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

Reimplemented from vtkRenderWindow.


Member Data Documentation

Window vtkXRenderWindow::ParentId [protected]
 

Definition at line 160 of file vtkXRenderWindow.h.

Window vtkXRenderWindow::WindowId [protected]
 

Definition at line 161 of file vtkXRenderWindow.h.

Window vtkXRenderWindow::NextWindowId [protected]
 

Definition at line 162 of file vtkXRenderWindow.h.

Display* vtkXRenderWindow::DisplayId [protected]
 

Definition at line 163 of file vtkXRenderWindow.h.

Colormap vtkXRenderWindow::ColorMap [protected]
 

Definition at line 164 of file vtkXRenderWindow.h.

int vtkXRenderWindow::OwnWindow [protected]
 

Definition at line 165 of file vtkXRenderWindow.h.

int vtkXRenderWindow::OwnDisplay [protected]
 

Definition at line 166 of file vtkXRenderWindow.h.

int vtkXRenderWindow::ScreenSize[2] [protected]
 

Definition at line 167 of file vtkXRenderWindow.h.

int vtkXRenderWindow::CursorHidden [protected]
 

Definition at line 168 of file vtkXRenderWindow.h.


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:49:03 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001