OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
opencover::VRMenu Class Reference

#include <VRPinboard.h>

Inheritance diagram for opencover::VRMenu:
Inheritance graph
[legend]
Collaboration diagram for opencover::VRMenu:
Collaboration graph
[legend]

Public Member Functions

 VRMenu (const char *name)
 
virtual ~VRMenu ()
 
virtual void focusEvent (bool focus, vrui::coMenu *menu)
 
VRButtonaddButton (buttonSpecCell *spec)
 
void removeButton (const char *name)
 
VRButtonnamedButton (const char *name)
 
int isNamedMenu (const char *name)
 
vrui::coMenugetCoMenu ()
 
- Public Member Functions inherited from vrui::coMenuFocusListener
virtual ~coMenuFocusListener ()
 

Public Attributes

vrui::coMenumyMenu
 

Constructor & Destructor Documentation

opencover::VRMenu::VRMenu ( const char *  name)
virtual opencover::VRMenu::~VRMenu ( )
virtual

Member Function Documentation

VRButton* opencover::VRMenu::addButton ( buttonSpecCell spec)
virtual void opencover::VRMenu::focusEvent ( bool  focus,
vrui::coMenu menu 
)
virtual

Action listener for events triggered by coMenuItem. This method is called whenever a coMenuItem was selected.

Parameters
menuItempointer to menu item which triggered this event

Implements vrui::coMenuFocusListener.

vrui::coMenu* opencover::VRMenu::getCoMenu ( )
inline
int opencover::VRMenu::isNamedMenu ( const char *  name)
VRButton* opencover::VRMenu::namedButton ( const char *  name)
void opencover::VRMenu::removeButton ( const char *  name)

Member Data Documentation

vrui::coMenu* opencover::VRMenu::myMenu

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