Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File 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 ()
void MakeCurrent ()
virtual void EraseWindow ()
virtual void SetOffScreenRendering (int i)
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)

Static Public Methods

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

Protected Methods

 vtkMesaImageWindow ()
 ~vtkMesaImageWindow ()

Protected Attributes

GLXContext ContextId
OSMesaContext OffScreenContextId
void * OffScreenWindow
int ScreenDoubleBuffer
int ScreenMapped

Detailed Description

Mesa Imageing window.

Date:
2001/11/13 14:17:23
Revision:
1.17

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

Definition at line 67 of file vtkMesaImageWindow.h.


Constructor & Destructor Documentation

vtkMesaImageWindow::vtkMesaImageWindow   [protected]
 

vtkMesaImageWindow::~vtkMesaImageWindow   [protected]
 


Member Function Documentation

vtkMesaImageWindow* vtkMesaImageWindow::New   [static]
 

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

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.

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.

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.

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.

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.

virtual void vtkMesaImageWindow::MakeDefaultWindow   [virtual]
 

Initialize the window for rendering.

Reimplemented from vtkXImageWindow.

void vtkMesaImageWindow::SwapBuffers   [virtual]
 

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

Reimplemented from vtkXImageWindow.

void vtkMesaImageWindow::Frame   [virtual]
 

Flush the buffer and swap if necessary.

Reimplemented from vtkXImageWindow.

void vtkMesaImageWindow::Render void    [virtual]
 

Draw the contents of the window

Reimplemented from vtkImageWindow.

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

Xwindow get set functions

Reimplemented from vtkXImageWindow.

Definition at line 88 of file vtkMesaImageWindow.h.

virtual void* vtkMesaImageWindow::GetGenericWindowId   [virtual]
 

Xwindow get set functions

Reimplemented from vtkXImageWindow.

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

Xwindow get set functions

Reimplemented from vtkXImageWindow.

Definition at line 90 of file vtkMesaImageWindow.h.

virtual void* vtkMesaImageWindow::GetGenericContext   [virtual]
 

Xwindow get set functions

Reimplemented from vtkXImageWindow.

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

Xwindow get set functions

Reimplemented from vtkXImageWindow.

Definition at line 92 of file vtkMesaImageWindow.h.

virtual Colormap vtkMesaImageWindow::GetDesiredColormap   [virtual]
 

Get the X properties of an ideal rendering window.

Reimplemented from vtkXImageWindow.

virtual Visual* vtkMesaImageWindow::GetDesiredVisual   [virtual]
 

Get the X properties of an ideal rendering window.

Reimplemented from vtkXImageWindow.

XVisualInfo* vtkMesaImageWindow::GetDesiredVisualInfo  
 

Get the X properties of an ideal rendering window.

virtual int vtkMesaImageWindow::GetDesiredDepth   [virtual]
 

Get the X properties of an ideal rendering window.

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 void vtkMesaImageWindow::SetPixelData int    x,
int    y,
int    x2,
int    y2,
unsigned char *   ,
int    front
[virtual]
 

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

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 void vtkMesaImageWindow::SetRGBAPixelData int    x,
int    y,
int    x2,
int    y2,
float *   ,
int    front,
int    blend = 0
[virtual]
 

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

void vtkMesaImageWindow::MakeCurrent   [virtual]
 

Make this windows Mesa context the current context.

Reimplemented from vtkImageWindow.

virtual void vtkMesaImageWindow::EraseWindow   [inline, virtual]
 

Erase the window contents

Reimplemented from vtkXImageWindow.

Definition at line 121 of file vtkMesaImageWindow.h.

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.


Member Data Documentation

GLXContext vtkMesaImageWindow::ContextId [protected]
 

Definition at line 131 of file vtkMesaImageWindow.h.

OSMesaContext vtkMesaImageWindow::OffScreenContextId [protected]
 

Definition at line 132 of file vtkMesaImageWindow.h.

void* vtkMesaImageWindow::OffScreenWindow [protected]
 

Definition at line 133 of file vtkMesaImageWindow.h.

int vtkMesaImageWindow::ScreenDoubleBuffer [protected]
 

Definition at line 134 of file vtkMesaImageWindow.h.

int vtkMesaImageWindow::ScreenMapped [protected]
 

Definition at line 135 of file vtkMesaImageWindow.h.


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