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

vtkOpenGLImageWindow Class Reference

OpenGL Imageing window. More...

#include <vtkOpenGLImageWindow.h>

Inheritance diagram for vtkOpenGLImageWindow:

Inheritance graph
[legend]
Collaboration diagram for vtkOpenGLImageWindow:

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 * 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

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

Public Attributes

GLXContext ContextId

Protected Methods

 vtkOpenGLImageWindow ()
 ~vtkOpenGLImageWindow ()

Detailed Description

OpenGL Imageing window.

Date:
2001/11/13 14:17:24
Revision:
1.19

vtkOpenGLImageWindow is a concrete implementation of the abstract class vtkImageWindow. vtkOpenGLImageer interfaces to the standard OpenGL graphics library in the Windows/NT environment..

Definition at line 62 of file vtkOpenGLImageWindow.h.


Constructor & Destructor Documentation

vtkOpenGLImageWindow::vtkOpenGLImageWindow   [protected]
 

vtkOpenGLImageWindow::~vtkOpenGLImageWindow   [protected]
 


Member Function Documentation

vtkOpenGLImageWindow* vtkOpenGLImageWindow::New   [static]
 

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

Reimplemented from vtkXImageWindow.

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

vtkOpenGLImageWindow* vtkOpenGLImageWindow::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 vtkOpenGLImageWindow::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 vtkOpenGLImageWindow::MakeDefaultWindow   [virtual]
 

Initialize the window for rendering.

Reimplemented from vtkXImageWindow.

void vtkOpenGLImageWindow::SwapBuffers   [virtual]
 

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

Reimplemented from vtkXImageWindow.

void vtkOpenGLImageWindow::Frame   [virtual]
 

Flush the buffers and swap if necessary

Reimplemented from vtkXImageWindow.

void vtkOpenGLImageWindow::Render void    [virtual]
 

Draw the contents of the window

Reimplemented from vtkImageWindow.

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

Xwindow get set functions

Reimplemented from vtkXImageWindow.

Definition at line 83 of file vtkOpenGLImageWindow.h.

virtual void* vtkOpenGLImageWindow::GetGenericWindowId   [inline, virtual]
 

Xwindow get set functions

Reimplemented from vtkXImageWindow.

Definition at line 84 of file vtkOpenGLImageWindow.h.

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

Xwindow get set functions

Reimplemented from vtkXImageWindow.

Definition at line 85 of file vtkOpenGLImageWindow.h.

virtual void* vtkOpenGLImageWindow::GetGenericContext   [virtual]
 

Xwindow get set functions

Reimplemented from vtkXImageWindow.

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

Xwindow get set functions

Reimplemented from vtkXImageWindow.

Definition at line 87 of file vtkOpenGLImageWindow.h.

virtual Colormap vtkOpenGLImageWindow::GetDesiredColormap   [virtual]
 

Get the X properties of an ideal rendering window.

Reimplemented from vtkXImageWindow.

virtual Visual* vtkOpenGLImageWindow::GetDesiredVisual   [virtual]
 

Get the X properties of an ideal rendering window.

Reimplemented from vtkXImageWindow.

XVisualInfo* vtkOpenGLImageWindow::GetDesiredVisualInfo  
 

Get the X properties of an ideal rendering window.

virtual int vtkOpenGLImageWindow::GetDesiredDepth   [virtual]
 

Get the X properties of an ideal rendering window.

Reimplemented from vtkXImageWindow.

virtual unsigned char* vtkOpenGLImageWindow::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 vtkOpenGLImageWindow::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* vtkOpenGLImageWindow::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 vtkOpenGLImageWindow::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 vtkOpenGLImageWindow::MakeCurrent   [virtual]
 

Make this windows OpenGL context the current context.

Reimplemented from vtkImageWindow.

virtual void vtkOpenGLImageWindow::EraseWindow   [inline, virtual]
 

Erase the window contents

Reimplemented from vtkXImageWindow.

Definition at line 116 of file vtkOpenGLImageWindow.h.


Member Data Documentation

GLXContext vtkOpenGLImageWindow::ContextId
 

Definition at line 118 of file vtkOpenGLImageWindow.h.


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