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

Static Public Methods

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

Public Attributes

GLXContext ContextId

Protected Methods

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

Detailed Description

OpenGL Imageing window.

Date:
2000/12/10 20:09:13
Revision:
1.15

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]
 

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

Definition at line 115 of file vtkOpenGLImageWindow.h.


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 void    [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 82 of file vtkOpenGLImageWindow.h.

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

Reimplemented from vtkXImageWindow.

Definition at line 83 of file vtkOpenGLImageWindow.h.

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

Reimplemented from vtkXImageWindow.

Definition at line 84 of file vtkOpenGLImageWindow.h.

virtual void* vtkOpenGLImageWindow::GetGenericContext   [virtual]
 

Reimplemented from vtkXImageWindow.

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

Reimplemented from vtkXImageWindow.

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

Determine the desired visual for the window

Reimplemented from vtkXImageWindow.

XVisualInfo* vtkOpenGLImageWindow::GetDesiredVisualInfo  
 

virtual int vtkOpenGLImageWindow::GetDesiredDepth   [virtual]
 

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

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]
 

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 108 of file vtkOpenGLImageWindow.h.

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

Definition at line 116 of file vtkOpenGLImageWindow.h.


Member Data Documentation

GLXContext vtkOpenGLImageWindow::ContextId
 

Definition at line 110 of file vtkOpenGLImageWindow.h.


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