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 ()
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..

Definition at line 69 of file vtkMesaImageWindow.h.


Constructor & Destructor Documentation

vtkMesaImageWindow::vtkMesaImageWindow   [protected]
 

vtkMesaImageWindow::~vtkMesaImageWindow   [protected]
 

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

Definition at line 124 of file vtkMesaImageWindow.h.


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 void    [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 89 of file vtkMesaImageWindow.h.

virtual void* vtkMesaImageWindow::GetGenericWindowId   [virtual]
 

Reimplemented from vtkXImageWindow.

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

Reimplemented from vtkXImageWindow.

Definition at line 91 of file vtkMesaImageWindow.h.

virtual void* vtkMesaImageWindow::GetGenericContext   [virtual]
 

Reimplemented from vtkXImageWindow.

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

Reimplemented from vtkXImageWindow.

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

Determine the desired visual for the window

Reimplemented from vtkXImageWindow.

XVisualInfo* vtkMesaImageWindow::GetDesiredVisualInfo  
 

virtual int vtkMesaImageWindow::GetDesiredDepth   [virtual]
 

Determine the desired depth of the 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]
 

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]
 

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

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

Definition at line 125 of file vtkMesaImageWindow.h.


Member Data Documentation

GLXContext vtkMesaImageWindow::ContextId [protected]
 

Definition at line 127 of file vtkMesaImageWindow.h.

OSMesaContext vtkMesaImageWindow::OffScreenContextId [protected]
 

Definition at line 128 of file vtkMesaImageWindow.h.

void* vtkMesaImageWindow::OffScreenWindow [protected]
 

Definition at line 129 of file vtkMesaImageWindow.h.

int vtkMesaImageWindow::ScreenDoubleBuffer [protected]
 

Definition at line 130 of file vtkMesaImageWindow.h.

int vtkMesaImageWindow::ScreenMapped [protected]
 

Definition at line 131 of file vtkMesaImageWindow.h.


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