Inherited by DD::Image::Radio_KnobI.
Public Member Functions | |
virtual void | menu (const std::vector< std::string > &e)=0 |
virtual const std::vector < std::string > & | menu () const =0 |
virtual int | getSelectedItemIndex () const =0 |
virtual std::string | getSelectedItemString () const =0 |
Abstract base class for Enumeration Knob-specific methods.
virtual void DD::Image::Enumeration_KnobI::menu | ( | const std::vector< std::string > & | e | ) | [pure virtual] |
set the menu items on the knob to the given list. if you want this to persist you must use the SAVE_MENU flag on this knob.
Referenced by DD::Image::Write::updateDefaultLUT().
virtual const std::vector<std::string>& DD::Image::Enumeration_KnobI::menu | ( | ) | const [pure virtual] |
get the list of menu items on the knob
virtual int DD::Image::Enumeration_KnobI::getSelectedItemIndex | ( | ) | const [pure virtual] |
get the index of the currently selected item
virtual std::string DD::Image::Enumeration_KnobI::getSelectedItemString | ( | ) | const [pure virtual] |
get the currently selected menu item