Overture  Version 25
Public Types | Public Member Functions | Protected Member Functions | List of all members
ColourBar Class Reference

#include <ColourBar.h>

Public Types

enum  ColourBarPosition {
  leftColourBar = 0, rightColourBar, topColourBar, bottomColourBar,
  userDefinedColourBar, useOldColourBar, customColourBar1, customColourBar2,
  customColourBar3, numberOfColourBarPositions
}
 
enum  ColourBarLabelOption { colourBarLabelsOff =0, colourBarOnlyEndLabels, colourBarLabelsOn }
 

Public Member Functions

 ColourBar (GL_GraphicsInterface *gi=NULL, GraphicsParameters *gparams=NULL)
 
 ~ColourBar ()
 
void setGraphicsInterface (GL_GraphicsInterface *gi)
 
void setGraphicsParameters (GraphicsParameters *parameters)
 
void draw (const int &numberOfContourLevels, RealArray &contourLevels, GUITypes::real uMin, GUITypes::real uMax)
 
void update ()
 
void positionInWindow (GUITypes::real leftSide, GUITypes::real rightSide, GUITypes::real bottom, GUITypes::real top)
 

Protected Member Functions

void update_junk ()
 

Member Enumeration Documentation

Enumerator
colourBarLabelsOff 
colourBarOnlyEndLabels 
colourBarLabelsOn 
Enumerator
leftColourBar 
rightColourBar 
topColourBar 
bottomColourBar 
userDefinedColourBar 
useOldColourBar 
customColourBar1 
customColourBar2 
customColourBar3 
numberOfColourBarPositions 

Constructor & Destructor Documentation

ColourBar::ColourBar ( GL_GraphicsInterface gi = NULL,
GraphicsParameters gparams = NULL 
)
ColourBar::~ColourBar ( )

Member Function Documentation

void ColourBar::draw ( const int &  numberOfContourLevels,
RealArray contourLevels,
GUITypes::real  uMin,
GUITypes::real  uMax 
)
void ColourBar::positionInWindow ( GUITypes::real  leftSide,
GUITypes::real  rightSide,
GUITypes::real  bottom,
GUITypes::real  top 
)
void ColourBar::setGraphicsInterface ( GL_GraphicsInterface gi)
void ColourBar::setGraphicsParameters ( GraphicsParameters parameters)
void ColourBar::update ( )
void ColourBar::update_junk ( )
protected

The documentation for this class was generated from the following files: