Main Page | Packages | Class Hierarchy | Class List | Directories | Class Members

IDVR.Tools.OpenGLTools.ClearCanvasGL Class Reference

#include <ClearCanvasGL.h>

List of all members.


Detailed Description

Class for managing the correct deletion of the current canvas.

This class is part of the OpenGLTools namespace which is actually a subnamespace of the main namespace Tools.

To integrate a correct deletion method in OpenGL to the application's canvas which is implemented in the class OpenGLCanvas use only the class.
As every other class of the subpackage OpenGLTools this class has the base class OpenGLCode of the CSOpenGL library to correctly implement the OpenGL code Which will be handled by the OpenGLPanel which will show the specific drawing results on the screen.

The main task of this class is the deletion of the current canvas and reset it to the background color.

See also:
OpenGLCanvas - the GUI class for the canvas with its draw control.
Author:
Bernhard Pflugfelder
Version:
1.0
Date:
02-20-2005


Public Member Functions

 ClearCanvasGL (void)
 This is the standard constructor.
virtual void Init (void)
 This function overwrites the base init funtion of the class OpenGLCode.
virtual void Draw (void)
 This function overwrites the base draw funtion of the class OpenGLCode.
__property void set_CanvasBackColor (Color n_CanvasBackColor)
 Sets a new background color for the canvas.

Private Attributes

float m_CanvasBackColor __gc []
 Saves the current background color of the canvas.


Constructor & Destructor Documentation

ClearCanvasGL::ClearCanvasGL void   ) 
 

This is the standard constructor.

All member variables of this new instance will be set to zero/null.


Member Function Documentation

void ClearCanvasGL::Draw void   )  [virtual]
 

This function overwrites the base draw funtion of the class OpenGLCode.

It contains the actual drawing code in OpenGL and also performs the code.

void ClearCanvasGL::Init void   )  [virtual]
 

This function overwrites the base init funtion of the class OpenGLCode.

It contains the actual initialization code in OpenGL and also performs the code.

void ClearCanvasGL::set_CanvasBackColor Color  n_CanvasBackColor  ) 
 

Sets a new background color for the canvas.

Parameters:
n_CanvasBackColor the new canvas background color.


The documentation for this class was generated from the following files:
Generated on Sat Apr 9 11:51:00 2005 for RayCaster wiht Importance Driven Volume Rendering (IDVR) by  doxygen 1.4.1