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

MenuBar Class Reference

#include <MenuBar.h>

List of all members.

Public Member Functions

 MenuBar (int mainWindowRef=0, int position=0)
void switchRenderMode ()
void enableModeSelection ()
void disableModeSelection ()
void updateFileList ()

Public Attributes

int selectedFile
string renderModeStr
string fileInfoStr


Detailed Description

This file defines the MenuBar shown at the top (=default) of the window.

Definition at line 15 of file MenuBar.h.


Constructor & Destructor Documentation

MenuBar::MenuBar int  mainWindowRef = 0,
int  position = 0
 

Constructor of the menu bar.

Parameters:
mainWindowRef the name of the GLUI window to wich this subwindow is added
position the position of the menu bar = a GLUI constant, e.g GLUI_SUBWINDOW_TOP, GLUI_SUBWINDOW_BOTTOM, GLUI_SUBWINDOW_LEFT, GLUI_SUBWINDOW_RIGHT.

Definition at line 11 of file MenuBar.cpp.

References fileInfoStr, renderModeStr, selectedFile, and updateFileList().


Member Function Documentation

void MenuBar::disableModeSelection  ) 
 

Disables the mode selection button.

void MenuBar::enableModeSelection  ) 
 

Enables the mode selection button.

void MenuBar::switchRenderMode  ) 
 

Switch between volume and slice visualisation.

void MenuBar::updateFileList  ) 
 

Update the contents of the current fileList from wich the user can select available files

Definition at line 45 of file MenuBar.cpp.

References fileInfoStr, and renderModeStr.

Referenced by MenuBar().


Member Data Documentation

string MenuBar::fileInfoStr
 

The info of the opened file that is shown in the statebar.

Definition at line 41 of file MenuBar.h.

Referenced by MenuBar(), and updateFileList().

string MenuBar::renderModeStr
 

The renderMode name that is shown in the stateBar.

Definition at line 38 of file MenuBar.h.

Referenced by MenuBar(), and updateFileList().

int MenuBar::selectedFile
 

Index of the selected file

Definition at line 34 of file MenuBar.h.

Referenced by MenuBar().


The documentation for this class was generated from the following files:
Generated on Mon Dec 12 15:20:26 2005 for CCube by  doxygen 1.4.1