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

vtkMesaImageWindow Class Reference

Mesa Imageing window. More...

#include <vtkMesaImageWindow.h>

Inheritance diagram for vtkMesaImageWindow:

Inheritance graph
[legend]
Collaboration diagram for vtkMesaImageWindow:

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 MakeDefaultWindow ()
void SwapBuffers ()
void Frame ()
void Render ()
virtual void * GetGenericDisplayId ()
virtual void * GetGenericWindowId ()
virtual void * GetGenericParentId ()
virtual void * GetGenericContext ()
virtual void * GetGenericDrawable ()
virtual Colormap GetDesiredColormap ()
virtual Visual * GetDesiredVisual ()
XVisualInfo * GetDesiredVisualInfo ()
virtual int GetDesiredDepth ()
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)
void MakeCurrent ()
virtual void EraseWindow ()
virtual void SetOffScreenRendering (int i)

Static Public Methods

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

Protected Methods

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

Protected Attributes

GLXContext ContextId
OSMesaContext OffScreenContextId
void * OffScreenWindow
int ScreenDoubleBuffer
int ScreenMapped

Detailed Description

Mesa Imageing window.

Date:
2000/12/10 20:09:12
Revision:
1.9

vtkMesaImageWindow is a concrete implementation of the abstract class vtkImageWindow. vtkMesaImageer interfaces to the standard Mesa graphics library in the Windows/NT environment..


Member Function Documentation

virtual void vtkMesaImageWindow::EraseWindow   [inline, virtual]
 

Erase the window contents

Reimplemented from vtkXImageWindow.

void vtkMesaImageWindow::Frame   [virtual]
 

Flush the buffer and swap if necessary.

Reimplemented from vtkXImageWindow.

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

virtual Colormap vtkMesaImageWindow::GetDesiredColormap   [virtual]
 

Get the X properties of an ideal rendering window.

Reimplemented from vtkXImageWindow.

virtual int vtkMesaImageWindow::GetDesiredDepth   [virtual]
 

Determine the desired depth of the window.

Reimplemented from vtkXImageWindow.

virtual Visual* vtkMesaImageWindow::GetDesiredVisual   [virtual]
 

Determine the desired visual for the window

Reimplemented from vtkXImageWindow.

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

Xwindow get set functions

Reimplemented from vtkXImageWindow.

virtual unsigned char* vtkMesaImageWindow::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 vtkXImageWindow.

virtual float* vtkMesaImageWindow::GetRGBAPixelData int    x,
int    y,
int    x2,
int    y2,
int    front
[virtual]
 

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

virtual int vtkMesaImageWindow::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 vtkXImageWindow.

int vtkMesaImageWindow::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 vtkXImageWindow.

void vtkMesaImageWindow::MakeCurrent   [virtual]
 

Make this windows Mesa context the current context.

Reimplemented from vtkImageWindow.

virtual void vtkMesaImageWindow::MakeDefaultWindow   [virtual]
 

Initialize the window for rendering.

Reimplemented from vtkXImageWindow.

vtkMesaImageWindow* vtkMesaImageWindow::New   [static]
 

Creates a vtkImageWindow with background erasing disabled and gray scale hint off

Reimplemented from vtkXImageWindow.

void vtkMesaImageWindow::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 vtkXImageWindow.

void vtkMesaImageWindow::Render   [virtual]
 

Draw the contents of the window

Reimplemented from vtkImageWindow.

vtkMesaImageWindow* vtkMesaImageWindow::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 vtkXImageWindow.

virtual void vtkMesaImageWindow::SetOffScreenRendering int    i [virtual]
 

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

Reimplemented from vtkWindow.

void vtkMesaImageWindow::SwapBuffers   [virtual]
 

Swap the front and back buffers if double buffering is being used.

Reimplemented from vtkXImageWindow.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:29:08 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002