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

#include <VRPinboard.h>

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

Classes

struct  PinboardFunction
 

Public Types

enum  {
  BTYPE_NAVGROUP = 0, BTYPE_TOGGLE = 1, BTYPE_SYNCGROUP = 2, BTYPE_FUNC = 3,
  BTYPE_SLIDER = 4, BTYPE_CUSTOMGROUP = 5
}
 

Public Member Functions

void addFunction (const char *functionName, int functionType, const char *buttonName, const char *menuName, ButtonCallback callback, void *callbackClass)
 
void makeButton (const char *functionName, const char *buttonName, const char *menuName, int type, ButtonCallback callback, void *inst, void *userData=NULL)
 
void readCustomEntry (const char *functionName)
 
 VRPinboard ()
 
 ~VRPinboard ()
 
void configInteraction ()
 
VRButtonaddButtonToMainMenu (buttonSpecCell *spec)
 
void removeButtonFromMainMenu (const char *name)
 
void removeButtonFromNamedMenu (const char *name, const char *Menuname)
 
VRButtonaddButtonToNamedMenu (buttonSpecCell *spec, const char *menuName)
 
VRMenuaddMenu (const char *name, vrui::coMenu *myMenu)
 
void removeMenuFromList (VRMenu *menu)
 
VRMenunamedMenu (const char *name)
 
bool setButtonState (const char *buttonName, float state)
 
int callButtonCallback (const char *buttonName)
 
void clearGroupState (int groupId)
 
int getIndex (const char *functionName)
 
const char * getCustomName (const char *functionName)
 
vrui::coRowMenuItemgetMenuItem (const char *name)
 
const char * getFileName (const char *string)
 
VRButtongetButtonByName (const char *buttonName)
 
virtual void menuEvent (vrui::coMenuItem *menuItem)
 
void hideQuitMenu ()
 
- Public Member Functions inherited from vrui::coMenuListener
virtual ~coMenuListener ()
 
virtual void menuPressEvent (coMenuItem *menuItem)
 
virtual void menuReleaseEvent (coMenuItem *menuItem)
 

Static Public Member Functions

static VRPinboardinstance ()
 
static void quitCallback (void *sceneGraph, buttonSpecCell *spec)
 

Public Attributes

std::vector< PinboardFunctionfunctions
 
bool customPinboard
 
vrui::coToolboxMenutheToolbox
 
VRMenumainMenu
 

Member Enumeration Documentation

anonymous enum
Enumerator
BTYPE_NAVGROUP 
BTYPE_TOGGLE 
BTYPE_SYNCGROUP 
BTYPE_FUNC 
BTYPE_SLIDER 
BTYPE_CUSTOMGROUP 

Constructor & Destructor Documentation

opencover::VRPinboard::VRPinboard ( )
opencover::VRPinboard::~VRPinboard ( )

Member Function Documentation

VRButton* opencover::VRPinboard::addButtonToMainMenu ( buttonSpecCell spec)
VRButton* opencover::VRPinboard::addButtonToNamedMenu ( buttonSpecCell spec,
const char *  menuName 
)
void opencover::VRPinboard::addFunction ( const char *  functionName,
int  functionType,
const char *  buttonName,
const char *  menuName,
ButtonCallback  callback,
void *  callbackClass 
)
VRMenu* opencover::VRPinboard::addMenu ( const char *  name,
vrui::coMenu myMenu 
)
int opencover::VRPinboard::callButtonCallback ( const char *  buttonName)
void opencover::VRPinboard::clearGroupState ( int  groupId)
void opencover::VRPinboard::configInteraction ( )
VRButton* opencover::VRPinboard::getButtonByName ( const char *  buttonName)
const char* opencover::VRPinboard::getCustomName ( const char *  functionName)
const char* opencover::VRPinboard::getFileName ( const char *  string)
int opencover::VRPinboard::getIndex ( const char *  functionName)
vrui::coRowMenuItem* opencover::VRPinboard::getMenuItem ( const char *  name)
void opencover::VRPinboard::hideQuitMenu ( )
static VRPinboard* opencover::VRPinboard::instance ( )
static
void opencover::VRPinboard::makeButton ( const char *  functionName,
const char *  buttonName,
const char *  menuName,
int  type,
ButtonCallback  callback,
void *  inst,
void *  userData = NULL 
)
virtual void opencover::VRPinboard::menuEvent ( vrui::coMenuItem menuItem)
virtual

Reimplemented from vrui::coMenuListener.

VRMenu* opencover::VRPinboard::namedMenu ( const char *  name)
static void opencover::VRPinboard::quitCallback ( void *  sceneGraph,
buttonSpecCell spec 
)
static
void opencover::VRPinboard::readCustomEntry ( const char *  functionName)
void opencover::VRPinboard::removeButtonFromMainMenu ( const char *  name)
void opencover::VRPinboard::removeButtonFromNamedMenu ( const char *  name,
const char *  Menuname 
)
void opencover::VRPinboard::removeMenuFromList ( VRMenu menu)
bool opencover::VRPinboard::setButtonState ( const char *  buttonName,
float  state 
)

Member Data Documentation

bool opencover::VRPinboard::customPinboard
std::vector<PinboardFunction> opencover::VRPinboard::functions
VRMenu* opencover::VRPinboard::mainMenu
vrui::coToolboxMenu* opencover::VRPinboard::theToolbox

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