creaContours_lib
|
#include <interfToolsSpreadPanel.h>
Public Member Functions | |
interfToolsSpreadPanel (wxWindow *parent, int sizex, int sizey, wxEvtHandler *evtHandler) | |
~interfToolsSpreadPanel () | |
void | addContourCheckBox (std::string id) |
void | removeContourCheckBox (std::string id) |
Private Member Functions | |
wxPanel * | initializeRadioBox () |
wxPanel * | initializeButton (std::string path, std::string nom) |
wxPanel * | initializeAddRemoveContour () |
Private Attributes | |
wxPanel * | resetbuttxt |
wxPanel * | gobuttxt |
wxPanel * | radiobox |
wxPanel * | addremovecont |
wxScrolledWindow * | scrollwin |
wxFlexGridSizer * | checkboxsizer |
std::vector< std::string > | checkvect |
Definition at line 39 of file interfToolsSpreadPanel.h.
interfToolsSpreadPanel::interfToolsSpreadPanel | ( | wxWindow * | parent, |
int | sizex, | ||
int | sizey, | ||
wxEvtHandler * | evtHandler | ||
) |
Definition at line 28 of file interfToolsSpreadPanel.cxx.
References addremovecont, gobuttxt, initializeAddRemoveContour(), initializeButton(), initializeRadioBox(), radiobox, and resetbuttxt.
interfToolsSpreadPanel::~interfToolsSpreadPanel | ( | ) |
Definition at line 54 of file interfToolsSpreadPanel.cxx.
void interfToolsSpreadPanel::addContourCheckBox | ( | std::string | id | ) |
Adds a new checkbox to the scrolledwindow using the checkboxsizer id of contour
Definition at line 113 of file interfToolsSpreadPanel.cxx.
References checkboxsizer, checkvect, and scrollwin.
Referenced by interfMainPanel::addContourCheckBox().
|
private |
initializes the panel that has all the contours that exist in the interface every time a contour is added into the scene, it must be added into this panel for all the contours it must exist a check box beside the contour. This checkbox controls the contours that are going to be used in the spread function.
Definition at line 96 of file interfToolsSpreadPanel.cxx.
References checkboxsizer, and scrollwin.
Referenced by interfToolsSpreadPanel().
|
private |
initializes the button and the text to be displayed it returns a panel with both components
Path | of the image to be used in the button |
nom | text to be displayed at right of the button |
Definition at line 69 of file interfToolsSpreadPanel.cxx.
Referenced by interfToolsSpreadPanel().
|
private |
initializes the radio box to display the options of the spread method.
Definition at line 58 of file interfToolsSpreadPanel.cxx.
Referenced by interfToolsSpreadPanel().
void interfToolsSpreadPanel::removeContourCheckBox | ( | std::string | id | ) |
Removes a checkbox from the list of checkboxes in the flexsizer (checkboxsizer) id of contour
Definition at line 127 of file interfToolsSpreadPanel.cxx.
References checkboxsizer, and checkvect.
Referenced by interfMainPanel::removeContourCheckBox().
|
private |
Definition at line 64 of file interfToolsSpreadPanel.h.
Referenced by interfToolsSpreadPanel().
|
private |
Definition at line 67 of file interfToolsSpreadPanel.h.
Referenced by addContourCheckBox(), initializeAddRemoveContour(), and removeContourCheckBox().
|
private |
Definition at line 68 of file interfToolsSpreadPanel.h.
Referenced by addContourCheckBox(), and removeContourCheckBox().
|
private |
Definition at line 62 of file interfToolsSpreadPanel.h.
Referenced by interfToolsSpreadPanel().
|
private |
Definition at line 63 of file interfToolsSpreadPanel.h.
Referenced by interfToolsSpreadPanel().
|
private |
Definition at line 61 of file interfToolsSpreadPanel.h.
Referenced by interfToolsSpreadPanel().
|
private |
Definition at line 66 of file interfToolsSpreadPanel.h.
Referenced by addContourCheckBox(), and initializeAddRemoveContour().