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

vtkMesaRenderWindow Class Reference

Mesa rendering window. More...

#include <vtkMesaRenderWindow.h>

Inheritance diagram for vtkMesaRenderWindow:

Inheritance graph
[legend]
Collaboration diagram for vtkMesaRenderWindow:

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 void Start (void)
virtual void Frame (void)
virtual void WindowConfigure (void)
virtual void WindowInitialize (void)
virtual void Initialize (void)
virtual void SetFullScreen (int)
virtual void WindowRemap (void)
virtual void PrefFullScreen (void)
virtual void SetSize (int, int)
virtual void SetSize (int a[2])
virtual Colormap GetDesiredColormap ()
virtual Visual * GetDesiredVisual ()
virtual XVisualInfo * GetDesiredVisualInfo ()
virtual int GetDesiredDepth ()
virtual void StereoUpdate ()
virtual void SetStereoCapableWindow (int capable)
virtual unsigned char * GetPixelData (int x, int y, int x2, int y2, int front)
virtual void SetPixelData (int x, int y, int x2, int y2, unsigned char *, int front)
virtual float * GetRGBAPixelData (int x, int y, int x2, int y2, int front)
virtual void SetRGBAPixelData (int x, int y, int x2, int y2, float *, int front, int blend=0)
virtual unsigned char * GetRGBACharPixelData (int x, int y, int x2, int y2, int front)
virtual void SetRGBACharPixelData (int x, int y, int x2, int y2, unsigned char *, int front, int blend=0)
virtual float * GetZbufferData (int x1, int y1, int x2, int y2)
virtual void SetZbufferData (int x1, int y1, int x2, int y2, float *buffer)
void MakeCurrent ()
void RegisterTextureResource (GLuint id)
virtual void SetOffScreenRendering (int i)
virtual void * GetGenericWindowId ()
virtual void * GetGenericContext ()
int GetDepthBufferSize ()

Static Public Methods

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

Protected Methods

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

Protected Attributes

void * OffScreenContextId
GLXContext ContextId
void * OffScreenWindow
int ScreenDoubleBuffer
int ScreenMapped
vtkIdList * TextureResourceIds

Detailed Description

Mesa rendering window.

Date:
2000/12/10 20:08:44
Revision:
1.14

vtkMesaRenderWindow is a concrete implementation of the abstract class vtkRenderWindow. vtkMesaRenderer interfaces to the Mesa graphics library. Application programmers should normally use vtkRenderWindow instead of the Mesa specific version.

Definition at line 85 of file vtkMesaRenderWindow.h.


Constructor & Destructor Documentation

vtkMesaRenderWindow::vtkMesaRenderWindow (    )  [protected]
 

vtkMesaRenderWindow::~vtkMesaRenderWindow (    )  [protected]
 

vtkMesaRenderWindow::vtkMesaRenderWindow (  const vtkMesaRenderWindow &    )  [inline, protected]
 

Definition at line 188 of file vtkMesaRenderWindow.h.


Member Function Documentation

vtkMesaRenderWindow* vtkMesaRenderWindow::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 vtkXRenderWindow.

virtual const char* vtkMesaRenderWindow::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 vtkMesaRenderWindow::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 vtkMesaRenderWindow::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.

vtkMesaRenderWindow* vtkMesaRenderWindow::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.

void vtkMesaRenderWindow::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 vtkXRenderWindow.

virtual void vtkMesaRenderWindow::Start (  void    )  [virtual]
 

Begin the rendering process.

Reimplemented from vtkRenderWindow.

virtual void vtkMesaRenderWindow::Frame (  void    )  [virtual]
 

End the rendering process and display the image.

Reimplemented from vtkRenderWindow.

virtual void vtkMesaRenderWindow::WindowConfigure (  void    )  [virtual]
 

Specify various window parameters.

virtual void vtkMesaRenderWindow::WindowInitialize (  void    )  [virtual]
 

Initialize the window for rendering.

virtual void vtkMesaRenderWindow::Initialize (  void    )  [virtual]
 

Initialize the rendering window.

virtual void vtkMesaRenderWindow::SetFullScreen (  int    )  [virtual]
 

Change the window to fill the entire screen.

Reimplemented from vtkRenderWindow.

virtual void vtkMesaRenderWindow::WindowRemap (  void    )  [virtual]
 

Resize the window.

Reimplemented from vtkRenderWindow.

virtual void vtkMesaRenderWindow::PrefFullScreen (  void    )  [virtual]
 

Set the preferred window size to full screen.

virtual void vtkMesaRenderWindow::SetSize (  int    x,
int    y
)  [virtual]
 

Specify the size of the rendering window.

Reimplemented from vtkWindow.

virtual void vtkMesaRenderWindow::SetSize (  int    a[2] )  [inline, virtual]
 

Reimplemented from vtkWindow.

Definition at line 129 of file vtkMesaRenderWindow.h.

virtual Colormap vtkMesaRenderWindow::GetDesiredColormap (    )  [virtual]
 

Get the X properties of an ideal rendering window.

Reimplemented from vtkXRenderWindow.

virtual Visual* vtkMesaRenderWindow::GetDesiredVisual (    )  [virtual]
 

Reimplemented from vtkXRenderWindow.

virtual XVisualInfo* vtkMesaRenderWindow::GetDesiredVisualInfo (    )  [virtual]
 

virtual int vtkMesaRenderWindow::GetDesiredDepth (    )  [virtual]
 

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

Reimplemented from vtkXRenderWindow.

virtual void vtkMesaRenderWindow::StereoUpdate (    )  [virtual]
 

Update system if needed due to stereo rendering.

Reimplemented from vtkRenderWindow.

virtual void vtkMesaRenderWindow::SetStereoCapableWindow (  int    capable )  [virtual]
 

Prescribe that the window be created in a stereo-capable mode. This method must be called before the window is realized. This method overrides the superclass method since this class can actually check whether the window has been realized yet.

Reimplemented from vtkRenderWindow.

virtual unsigned char* vtkMesaRenderWindow::GetPixelData (  int    x,
int    y,
int    x2,
int    y2,
int    front
)  [virtual]
 

Set/Get the pixel data of an image, transmitted as RGBRGB...

Reimplemented from vtkWindow.

virtual void vtkMesaRenderWindow::SetPixelData (  int    x,
int    y,
int    x2,
int    y2,
unsigned char *   ,
int    front
)  [virtual]
 

Set/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.

Reimplemented from vtkRenderWindow.

virtual float* vtkMesaRenderWindow::GetRGBAPixelData (  int    x,
int    y,
int    x2,
int    y2,
int    front
)  [virtual]
 

Set/Get the pixel data of an image, transmitted as RGBARGBA...

Reimplemented from vtkRenderWindow.

virtual void vtkMesaRenderWindow::SetRGBAPixelData (  int    x,
int    y,
int    x2,
int    y2,
float *   ,
int    front,
int    blend = 0
)  [virtual]
 

Reimplemented from vtkRenderWindow.

virtual unsigned char* vtkMesaRenderWindow::GetRGBACharPixelData (  int    x,
int    y,
int    x2,
int    y2,
int    front
)  [virtual]
 

Set/Get the pixel data of an image, transmitted as RGBARGBA...

Reimplemented from vtkRenderWindow.

virtual void vtkMesaRenderWindow::SetRGBACharPixelData (  int    x,
int    y,
int    x2,
int    y2,
unsigned char *   ,
int    front,
int    blend = 0
)  [virtual]
 

Reimplemented from vtkRenderWindow.

virtual float* vtkMesaRenderWindow::GetZbufferData (  int    x1,
int    y1,
int    x2,
int    y2
)  [virtual]
 

Set/Get the zbuffer data from an image

Reimplemented from vtkRenderWindow.

virtual void vtkMesaRenderWindow::SetZbufferData (  int    x1,
int    y1,
int    x2,
int    y2,
float *    buffer
)  [virtual]
 

Reimplemented from vtkRenderWindow.

void vtkMesaRenderWindow::MakeCurrent (    )  [virtual]
 

Make this window the current Mesa context.

Reimplemented from vtkRenderWindow.

void vtkMesaRenderWindow::RegisterTextureResource (  GLuint    id ) 
 

Register a texture name with this render window

virtual void vtkMesaRenderWindow::SetOffScreenRendering (  int    i )  [virtual]
 

Override the default implementation so that we can actively switch between on and off screen rendering.

Reimplemented from vtkWindow.

virtual void* vtkMesaRenderWindow::GetGenericWindowId (    )  [virtual]
 

Xwindow get set functions

Reimplemented from vtkXRenderWindow.

virtual void* vtkMesaRenderWindow::GetGenericContext (    )  [virtual]
 

Reimplemented from vtkXRenderWindow.

int vtkMesaRenderWindow::GetDepthBufferSize (    )  [virtual]
 

Get the size of the depth buffer.

Reimplemented from vtkRenderWindow.

void vtkMesaRenderWindow::operator= (  const vtkMesaRenderWindow &    )  [inline, protected]
 

Definition at line 189 of file vtkMesaRenderWindow.h.


Member Data Documentation

void* vtkMesaRenderWindow::OffScreenContextId [protected]
 

Definition at line 94 of file vtkMesaRenderWindow.h.

GLXContext vtkMesaRenderWindow::ContextId [protected]
 

Definition at line 96 of file vtkMesaRenderWindow.h.

void* vtkMesaRenderWindow::OffScreenWindow [protected]
 

Definition at line 183 of file vtkMesaRenderWindow.h.

int vtkMesaRenderWindow::ScreenDoubleBuffer [protected]
 

Definition at line 184 of file vtkMesaRenderWindow.h.

int vtkMesaRenderWindow::ScreenMapped [protected]
 

Definition at line 185 of file vtkMesaRenderWindow.h.

vtkIdList* vtkMesaRenderWindow::TextureResourceIds [protected]
 

Definition at line 191 of file vtkMesaRenderWindow.h.


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