Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Attributes | List of all members
BIAS::wxChoiceWithMemory Class Reference

#include <Gui/ParamGUI.hh>

+ Inheritance diagram for BIAS::wxChoiceWithMemory:
+ Collaboration diagram for BIAS::wxChoiceWithMemory:

Public Member Functions

void AddDataToMemory (int index)
 
int GetIndexForSelection (int selection)
 
int GetSelectionForIndex (int index)
 
 wxChoiceWithMemory ()
 
 wxChoiceWithMemory (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, int n=0, const wxString choices[]=NULL, long style=0, const wxValidator &validator=wxDefaultValidator, const wxString &name=wxChoiceNameStr)
 
 wxChoiceWithMemory (wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0, const wxValidator &validator=wxDefaultValidator, const wxString &name=wxChoiceNameStr)
 

Protected Attributes

std::map< int, int > memoryIndexToSelection_
 
std::map< int, int > memorySelectionToIndex_
 

Detailed Description

Definition at line 127 of file ParamGUI.hh.

Constructor & Destructor Documentation

BIAS::wxChoiceWithMemory::wxChoiceWithMemory ( )
inline

Definition at line 130 of file ParamGUI.hh.

BIAS::wxChoiceWithMemory::wxChoiceWithMemory ( wxWindow parent,
wxWindowID  id,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
int  n = 0,
const wxString  choices[] = NULL,
long  style = 0,
const wxValidator &  validator = wxDefaultValidator,
const wxString &  name = wxChoiceNameStr 
)
inline

Definition at line 131 of file ParamGUI.hh.

BIAS::wxChoiceWithMemory::wxChoiceWithMemory ( wxWindow parent,
wxWindowID  id,
const wxPoint &  pos,
const wxSize &  size,
const wxArrayString &  choices,
long  style = 0,
const wxValidator &  validator = wxDefaultValidator,
const wxString &  name = wxChoiceNameStr 
)
inline

Definition at line 138 of file ParamGUI.hh.

Member Function Documentation

void wxChoiceWithMemory::AddDataToMemory ( int  index)

Definition at line 574 of file ParamGUI.cpp.

References memoryIndexToSelection_, and memorySelectionToIndex_.

Referenced by BIAS::ParamGUIPanel::AddEnumWidgets().

int wxChoiceWithMemory::GetIndexForSelection ( int  selection)

Definition at line 581 of file ParamGUI.cpp.

References memorySelectionToIndex_.

int wxChoiceWithMemory::GetSelectionForIndex ( int  index)

Definition at line 588 of file ParamGUI.cpp.

References memoryIndexToSelection_.

Referenced by BIAS::ParamGUIPanel::AddEnumWidgets().

Member Data Documentation

std::map<int, int> BIAS::wxChoiceWithMemory::memoryIndexToSelection_
protected

Definition at line 153 of file ParamGUI.hh.

Referenced by AddDataToMemory(), and GetSelectionForIndex().

std::map<int, int> BIAS::wxChoiceWithMemory::memorySelectionToIndex_
protected

Definition at line 152 of file ParamGUI.hh.

Referenced by AddDataToMemory(), and GetIndexForSelection().


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