|
creaContours_lib
|
#include <wxInstantChooserPanel.h>


Public Member Functions | |
| wxInstantChooserPanel (wxWindow *parent, std::string title, bool theOrientation, bool resolutionALL=false, std::string configurationElem="", std::string groupConfig="") | |
| wxInstantChooserPanel (wxWindow *parent, wxWindowID id, std::string title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, bool theOrientation=true, std::string configurationElem="", std::string groupConfig="") | |
| ~wxInstantChooserPanel () | |
| void | addConcept (std::string aConceptName, int minV, int maxV, int actualV) |
| void | setWxEventHandler (wxEvtHandler *theEventHandler) |
| void | onResolutionSlider (wxScrollEvent &event) |
| void | onCheckBoxClicked (wxCommandEvent &event) |
| void | onConceptRelease (wxCommandEvent &event) |
| ConceptDataWrap * | getLastConceptData () |
| void | setInstant (std::vector< int > choiceInstant) |
| void | setInstant (std::map< std::string, int > *_actualInstant) |
| void | getInstant (std::vector< int > &choiceInstant) |
| void | getInstantData (std::map< std::string, int > &choiceInstantData) |
| std::map< std::string, int > * | getInstantData () |
| void | setResolutionRangeWithLasUpdate () |
| void | refreshConceptLabels () |
| void | setConfiguration (std::string aConfiguration) |
| std::string | getConfiguration () |
| void | setResolutionOverAll (bool condition) |
| bool | getIfResolutionOverAll () |
| void | setConceptValue (std::string theConceptName, int theValue) |
| int | getConceptValue (std::string theConceptName) |
| ConceptDataWrap * | getConceptDataOf (std::string theConceptName) |
| bool | getIfConceptCheckedAt (std::string theConceptName, int atChecksPosition) |
| void | onChangeInstant (wxCommandEvent &event) |
| void | addConcepts (std::vector< std::string > conceptNameVect, std::vector< int > conceptSizeVect) |
Private Member Functions | |
| void | initializeResolutionSlider () |
| void | changeResolutionAtConceptControl (wxConceptControl *theConceptToUpdate) |
| void | setVerticalMaxSelectedNums (std::string groupMaxVertNums) |
Private Attributes | |
| std::vector< wxConceptControl * > * | _concepts |
| wxConceptControl * | _lastConceptUpdated |
| wxSlider * | _resolutionSlider |
| wxFlexGridSizer * | _outSizer |
| bool | _orientation |
| bool | _resolutionOverALL |
| std::map< std::string, int > * | _actualInstant |
| std::vector< int > | _verticalMaxSelected |
| wxEvtHandler * | _eventHandler |
| std::string | _configuration |
Definition at line 70 of file wxInstantChooserPanel.h.
| wxInstantChooserPanel::wxInstantChooserPanel | ( | wxWindow * | parent, |
| std::string | title, | ||
| bool | theOrientation, | ||
| bool | resolutionALL = false, |
||
| std::string | configurationElem = "", |
||
| std::string | groupConfig = "" |
||
| ) |
Definition at line 56 of file wxInstantChooserPanel.cxx.
References onCheckBoxClicked().

| wxInstantChooserPanel::wxInstantChooserPanel | ( | wxWindow * | parent, |
| wxWindowID | id, | ||
| std::string | title, | ||
| const wxPoint & | pos = wxDefaultPosition, |
||
| const wxSize & | size = wxDefaultSize, |
||
| bool | theOrientation = true, |
||
| std::string | configurationElem = "", |
||
| std::string | groupConfig = "" |
||
| ) |
Definition at line 88 of file wxInstantChooserPanel.cxx.
References _actualInstant, _concepts, _configuration, _lastConceptUpdated, _orientation, _outSizer, _resolutionOverALL, _resolutionSlider, initializeResolutionSlider(), onCheckBoxClicked(), and setVerticalMaxSelectedNums().

| wxInstantChooserPanel::~wxInstantChooserPanel | ( | ) |
Definition at line 110 of file wxInstantChooserPanel.cxx.
References _actualInstant, _concepts, and _verticalMaxSelected.
| void wxInstantChooserPanel::addConcept | ( | std::string | aConceptName, |
| int | minV, | ||
| int | maxV, | ||
| int | actualV | ||
| ) |
Adds a concept to the instant managment. PRE: The concept doesn't exists in the included _concepts.
| aConceptName | |
| minV | |
| maxV | |
| actualV | Adds a concept to the instant managment. PRE: The concept doesn't exists in the included _concepts-> |
| aConceptName | |
| minV | |
| maxV | |
| actualV |
Definition at line 139 of file wxInstantChooserPanel.cxx.
References _concepts, _configuration, _lastConceptUpdated, _orientation, _outSizer, and onConceptRelease().
Referenced by addConcepts().


| void wxInstantChooserPanel::addConcepts | ( | std::vector< std::string > | conceptNameVect, |
| std::vector< int > | conceptSizeVect | ||
| ) |
Definition at line 514 of file wxInstantChooserPanel.cxx.
References addConcept().
Referenced by wxContourMainFrame::setVectImages().


|
private |
Definition at line 411 of file wxInstantChooserPanel.cxx.
References _resolutionSlider, wxConceptControl::getActualValue(), wxConceptControl::getMaxValue(), wxConceptControl::getMinValue(), and wxConceptControl::setRange().
Referenced by onResolutionSlider().


| ConceptDataWrap * wxInstantChooserPanel::getConceptDataOf | ( | std::string | theConceptName | ) |
Definition at line 480 of file wxInstantChooserPanel.cxx.
References _concepts.
Referenced by wxContourMainFrame::setVectImages(), and wxContourMainFrame::updateInstantImageData().

| int wxInstantChooserPanel::getConceptValue | ( | std::string | theConceptName | ) |
Definition at line 466 of file wxInstantChooserPanel.cxx.
References _concepts.
| std::string wxInstantChooserPanel::getConfiguration | ( | ) |
Definition at line 389 of file wxInstantChooserPanel.cxx.
References _configuration.
| bool wxInstantChooserPanel::getIfConceptCheckedAt | ( | std::string | theConceptName, |
| int | atChecksPosition | ||
| ) |
Definition at line 496 of file wxInstantChooserPanel.cxx.
References _concepts.
Referenced by wxContourMainFrame::getIfConceptCheckedAt(), wxContourMainFrame::onChangeInstantInstantPanel(), and onConceptRelease().

| bool wxInstantChooserPanel::getIfResolutionOverAll | ( | ) |
Definition at line 399 of file wxInstantChooserPanel.cxx.
References _resolutionOverALL.
| void wxInstantChooserPanel::getInstant | ( | std::vector< int > & | choiceInstant | ) |
Definition at line 304 of file wxInstantChooserPanel.cxx.
References _concepts.
Referenced by wxContourMainFrame::changeInstant(), wxContourMainFrame::createContour(), wxContourMainFrame::deleteAllContours(), wxContourMainFrame::getMaskValue(), wxContourMainFrame::getOutlinesName(), onConceptRelease(), wxContourMainFrame::onCopy(), wxContourMainFrame::onCreateContourBullEye(), wxContourMainFrame::onInformationContourLabels(), wxContourMainFrame::onMirror(), wxContourMainFrame::onPaste(), wxContourMainFrame::onRigidPressed(), wxContourMainFrame::onSaveResults(), wxContourMainFrame::onSnakePressed(), wxContourMainFrame::onSpreadAdd(), wxContourMainFrame::onSpreadAddAll(), wxContourMainFrame::onSpreadGo(), wxContourMainFrame::SaveValuesXYZ(), wxContourMainFrame::SegmentationOneSlice(), wxContourMainFrame::SegmentationOneSliceITK(), and wxContourMainFrame::updateInstantImageData().

| void wxInstantChooserPanel::getInstantData | ( | std::map< std::string, int > & | choiceInstantData | ) |
Definition at line 359 of file wxInstantChooserPanel.cxx.
References _concepts.
| std::map< std::string, int > * wxInstantChooserPanel::getInstantData | ( | ) |
Definition at line 340 of file wxInstantChooserPanel.cxx.
References _actualInstant, _concepts, wxConceptControl::getActualValue(), and wxConceptControl::getName().

| ConceptDataWrap * wxInstantChooserPanel::getLastConceptData | ( | ) |
Definition at line 275 of file wxInstantChooserPanel.cxx.
References _lastConceptUpdated, wxConceptControl::getActualValue(), wxConceptControl::getMaxShowedValue(), wxConceptControl::getMaxValue(), wxConceptControl::getMinShowedValue(), wxConceptControl::getMinValue(), and wxConceptControl::getName().
Referenced by wxContourMainFrame::getLastConceptData(), and onConceptRelease().


|
private |
Definition at line 405 of file wxInstantChooserPanel.cxx.
References _resolutionSlider, and onResolutionSlider().
Referenced by wxInstantChooserPanel().


| void wxInstantChooserPanel::onChangeInstant | ( | wxCommandEvent & | event | ) |
Definition at line 263 of file wxInstantChooserPanel.cxx.
| void wxInstantChooserPanel::onCheckBoxClicked | ( | wxCommandEvent & | event | ) |
Definition at line 189 of file wxInstantChooserPanel.cxx.
References _concepts, wxConceptControl::clearCheckAt(), wxConceptControl::getIfChecked(), and wxConceptControl::getNumCheckBox().
Referenced by wxInstantChooserPanel().


| void wxInstantChooserPanel::onConceptRelease | ( | wxCommandEvent & | event | ) |
Definition at line 244 of file wxInstantChooserPanel.cxx.
References _lastConceptUpdated, ConceptDataWrap::getActualValue(), getIfConceptCheckedAt(), wxContourMainFrame::getInstance(), getInstant(), getLastConceptData(), ConceptDataWrap::getMaxShowedValue(), ConceptDataWrap::getMinShowedValue(), ConceptDataWrap::getName(), and wxContourMainFrame::onChangeInstantInstantPanel().
Referenced by addConcept().


| void wxInstantChooserPanel::onResolutionSlider | ( | wxScrollEvent & | event | ) |
Definition at line 156 of file wxInstantChooserPanel.cxx.
References _concepts, _lastConceptUpdated, _resolutionOverALL, _resolutionSlider, changeResolutionAtConceptControl(), wxConceptControl::getActualValue(), wxConceptControl::getMaxValue(), wxConceptControl::getMinValue(), wxConceptControl::getName(), and wxConceptControl::setRange().
Referenced by initializeResolutionSlider().


| void wxInstantChooserPanel::refreshConceptLabels | ( | ) |
Definition at line 379 of file wxInstantChooserPanel.cxx.
| void wxInstantChooserPanel::setConceptValue | ( | std::string | theConceptName, |
| int | theValue | ||
| ) |
Definition at line 451 of file wxInstantChooserPanel.cxx.
References _concepts.
Referenced by wxContourMainFrame::onChangeDeep(), wxContourMainFrame::onChangeInstant(), wxContourMainFrame::setConceptValue(), and wxContourMainFrame::setVectImages().

| void wxInstantChooserPanel::setConfiguration | ( | std::string | aConfiguration | ) |
Definition at line 384 of file wxInstantChooserPanel.cxx.
References _configuration.
| void wxInstantChooserPanel::setInstant | ( | std::vector< int > | choiceInstant | ) |
| void wxInstantChooserPanel::setInstant | ( | std::map< std::string, int > * | _actualInstant | ) |
Definition at line 319 of file wxInstantChooserPanel.cxx.
References _concepts, wxConceptControl::getName(), and wxConceptControl::setActualValue().

| void wxInstantChooserPanel::setResolutionOverAll | ( | bool | condition | ) |
Definition at line 394 of file wxInstantChooserPanel.cxx.
References _resolutionOverALL.
| void wxInstantChooserPanel::setResolutionRangeWithLasUpdate | ( | ) |
Definition at line 370 of file wxInstantChooserPanel.cxx.
References _lastConceptUpdated, _resolutionSlider, wxConceptControl::getMaxShowedValue(), and wxConceptControl::getMinShowedValue().

|
private |
Definition at line 431 of file wxInstantChooserPanel.cxx.
References _verticalMaxSelected.
Referenced by wxInstantChooserPanel().

| void wxInstantChooserPanel::setWxEventHandler | ( | wxEvtHandler * | theEventHandler | ) |
Definition at line 148 of file wxInstantChooserPanel.cxx.
References _eventHandler.
|
private |
Definition at line 181 of file wxInstantChooserPanel.h.
Referenced by getInstantData(), wxInstantChooserPanel(), and ~wxInstantChooserPanel().
|
private |
Definition at line 169 of file wxInstantChooserPanel.h.
Referenced by addConcept(), getConceptDataOf(), getConceptValue(), getIfConceptCheckedAt(), getInstant(), getInstantData(), onCheckBoxClicked(), onResolutionSlider(), setConceptValue(), setInstant(), wxInstantChooserPanel(), and ~wxInstantChooserPanel().
|
private |
Definition at line 187 of file wxInstantChooserPanel.h.
Referenced by addConcept(), getConfiguration(), setConfiguration(), and wxInstantChooserPanel().
|
private |
Definition at line 185 of file wxInstantChooserPanel.h.
Referenced by setWxEventHandler().
|
private |
Definition at line 171 of file wxInstantChooserPanel.h.
Referenced by addConcept(), getLastConceptData(), onConceptRelease(), onResolutionSlider(), setResolutionRangeWithLasUpdate(), and wxInstantChooserPanel().
|
private |
Definition at line 177 of file wxInstantChooserPanel.h.
Referenced by addConcept(), and wxInstantChooserPanel().
|
private |
Definition at line 175 of file wxInstantChooserPanel.h.
Referenced by addConcept(), and wxInstantChooserPanel().
|
private |
Definition at line 179 of file wxInstantChooserPanel.h.
Referenced by getIfResolutionOverAll(), onResolutionSlider(), setResolutionOverAll(), and wxInstantChooserPanel().
|
private |
Definition at line 173 of file wxInstantChooserPanel.h.
Referenced by changeResolutionAtConceptControl(), initializeResolutionSlider(), onResolutionSlider(), setResolutionRangeWithLasUpdate(), and wxInstantChooserPanel().
|
private |
Definition at line 183 of file wxInstantChooserPanel.h.
Referenced by setVerticalMaxSelectedNums(), and ~wxInstantChooserPanel().