Overview     Modules     Class Hierarchy     Classes     Members  

tlp::GlProgressBar Class Reference

#include <GlProgressBar.h>

Inherits tlp::GlComposite.

Inheritance diagram for tlp::GlProgressBar:

Inheritance graph
[legend]
Collaboration diagram for tlp::GlProgressBar:

Collaboration graph
[legend]
List of all members.

Detailed Description

This class allows to display a progress bar in OpenGL

Public Member Functions


Constructor & Destructor Documentation

tlp::GlProgressBar::GlProgressBar const Coord &  centerPosition,
const unsigned int  width,
const unsigned int  height,
const Color &  color
 

GlProgressBar constructor

Parameters:
centerPosition the position of the center of the frame containing the progress bar
width the width of the frame containing the progress bar
height the height of the frame containing the progress bar
color the color of the progress bar

tlp::GlProgressBar::~GlProgressBar  ) 
 


Member Function Documentation

void tlp::GlProgressBar::progress_handler int  step,
int  max_step
 

void tlp::GlProgressBar::setComment const std::string &  msg  )  [inline]
 

This method allow to set a comment message above the progress bar

Parameters:
msg the text of the comment to display



Tulip Software by LaBRI Visualization Team    2001 - 2010