wxParametersDialog Class Reference

#include <wxParametersDialog.h>

Inheritance diagram for wxParametersDialog:
Inheritance graph
[legend]

List of all members.

Public Types

enum  { ID_BTN_DEFAULT = 1030 }

Public Member Functions

 wxParametersDialog (wxWindow *parent, int id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE)

Protected Attributes

wxStaticText * label_7_copy
wxTextCtrl * edtThresholdIsoContours
wxPanel * notebookParameterAxis
wxStaticText * label_14
wxTextCtrl * edtFlexionCoef
wxStaticText * label_15
wxTextCtrl * edtTensionCoef
wxStaticText * label_16
wxTextCtrl * edtMaskSize
wxStaticText * label_17
wxTextCtrl * edtDiscreetStep
wxPanel * notebookParameterContour
wxNotebook * notebookParameter
wxButton * buttonOK
wxButton * buttonCancel
wxButton * buttonReset
wxButton * buttonApply
wxButton * buttonDefault

Private Member Functions

void set_properties ()
void do_layout ()

Detailed Description

Definition at line 14 of file wxParametersDialog.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
ID_BTN_DEFAULT 

Definition at line 17 of file wxParametersDialog.h.

00017          {
00018         ID_BTN_BROWSE_WORK_DIR = 1024,
00019                         ID_BTN_BROWSE_DICOM_DIR = 1025,
00020                         ID_BTN_3D_BACK_COLOR = 1026,
00021                         ID_BTN_AXIS_COLOR = 1027,
00022                         ID_BTN_RESET = 1028,
00023                         ID_BTN_APPLY = 1029,
00024                         ID_BTN_DEFAULT = 1030
00025     };


Constructor & Destructor Documentation

wxParametersDialog::wxParametersDialog ( wxWindow *  parent,
int  id,
const wxString &  title,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxDEFAULT_DIALOG_STYLE 
)

Definition at line 6 of file wxParametersDialog.cpp.

References buttonApply, buttonCancel, buttonDefault, buttonOK, buttonReset, do_layout(), edtDiscreetStep, edtFlexionCoef, edtMaskSize, edtTensionCoef, edtThresholdIsoContours, marDictionary::GetString(), ID_BTN_APPLY, ID_BTN_DEFAULT, ID_BTN_RESET, label_14, label_15, label_16, label_17, label_7_copy, notebookParameter, notebookParameterAxis, notebookParameterContour, and set_properties().

00006                                                                                                                                          :
00007 wxDialog(parent, id, title, pos, size, wxCAPTION|wxDIALOG_NO_PARENT){
00008 
00009         marDictionary marDict;
00010 
00011     // begin wxGlade: wxParametersDialog::wxParametersDialog
00012     notebookParameter                   = new wxNotebook(this, -1, wxDefaultPosition, wxDefaultSize, 0);
00013     notebookParameterContour    = new wxPanel(notebookParameter, -1);
00014     notebookParameterAxis               = new wxPanel(notebookParameter, -1);
00015 
00016 // borrame EED
00017 //    notebookParameterQuant            = new wxPanel(notebookParameter, -1);
00018 
00019         // PS ->     notebookParameterGeneral = new wxPanel(notebookParameter, -1);
00020         // PS -> //    label_1_copy = new wxStaticText(notebookParameterGeneral, -1, wxT("Work directory:"));
00021         // PS -> //    edtWorkDir = new wxTextCtrl(notebookParameterGeneral, -1, wxT(""));
00022         // PS -> //    button_4_copy = new wxButton(notebookParameterGeneral, ID_BTN_BROWSE_WORK_DIR, wxT("Browse..."));
00023         // PS ->     label_2_copy = new wxStaticText(notebookParameterGeneral, -1, wxT("DICOM directory:"));
00024         // PS ->     edtDICOMDir = new wxTextCtrl(notebookParameterGeneral, -1, wxT(""));
00025         // PS ->     button_5_copy = new wxButton(notebookParameterGeneral, ID_BTN_BROWSE_DICOM_DIR, wxT("Browse..."));
00026         // PS ->     chkMIP = new wxCheckBox(notebookParameterGeneral, -1, wxT("Calculate MIP by default?"));
00027         // PS ->     chkSlices = new wxCheckBox(notebookParameterGeneral, -1, wxT("Select all slices by default?"));
00028         // PS ->     chkDebugWindow = new wxCheckBox(notebookParameterGeneral, -1, wxT("Debug window visible?"));
00029         // PS ->     chkConsole = new wxCheckBox(notebookParameterGeneral, -1, wxT("Console window visible?"));
00030         // PS -> //    label_29 = new wxStaticText(notebookParameterGeneral, -1, wxT("3D background color:"));
00031         // PS -> //    btn3DBackColor = new wxButton(notebookParameterGeneral, ID_BTN_3D_BACK_COLOR, wxT(""));
00032         // PS -> //    radIsoContours = new wxRadioButton(notebookParameterContour, -1, wxT("IsoContours"));
00033         // PS -> //    radDeriche = new wxRadioButton(notebookParameterContour, -1, wxT("Snake + Deriche"));
00034     label_7_copy = new wxStaticText(notebookParameterContour, -1, wxString( marDict.GetString(515) , wxConvUTF8));//" %  Threshold  :"
00035     edtThresholdIsoContours = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
00036         // PS -> //    radSnake = new wxRadioButton(notebookParameterContour, -1, wxT("Snake + IsoContours"));
00037         // PS -> //    label_8_copy = new wxStaticText(notebookParameterContour, -1, wxT("Threshold:"));
00038         // PS -> //    edtThresholdSnake = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
00039         // PS -> //    label_9_copy = new wxStaticText(notebookParameterContour, -1, wxT("Iterations No:"));
00040         // PS -> //    edtIterationsSnake = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
00041         // PS -> //    label_10_copy = new wxStaticText(notebookParameterContour, -1, wxT("Extern coefficient:"));
00042         // PS -> //    edtExternCoefSnake = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
00043         // PS -> //    label_3_copy = new wxStaticText(notebookParameterContour, -1, wxT("Iterations No:"));
00044         // PS -> //    edtIterationsDeriche = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
00045         // PS -> //    label_4_copy = new wxStaticText(notebookParameterContour, -1, wxT("Ballon coefficient:"));
00046         // PS -> //    edtBallonCoefDeriche = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
00047         // PS -> //    label_5_copy = new wxStaticText(notebookParameterContour, -1, wxT("Gradient coefficient:"));
00048         // PS -> //    edtGradientCoefDeriche = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
00049         // PS -> //    label_6_copy = new wxStaticText(notebookParameterContour, -1, wxT("Sigma:"));
00050         // PS -> //    edtSigmaDeriche = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
00051         // PS -> //    label_11 = new wxStaticText(notebookParameterContour, -1, wxT("Scale:"));
00052         // PS -> //    edtScale = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
00053         // PS -> //    label_12 = new wxStaticText(notebookParameterContour, -1, wxT("Sample:"));
00054         // PS -> //    edtSample = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
00055 //EED    chkIsoContoursVis = new wxCheckBox(notebookParameterContour, -1, wxT("Visible \"IsoContours\""));
00056 //EED    chkDiametersVis                = new wxCheckBox(notebookParameterContour, -1, wxT(marDict.GetString(655)));//"Visible diameters?"
00057 //EED    chkInvertSliceOrder = new wxCheckBox(notebookParameterContour, -1, wxT(marDict.GetString(745)));//"Invert slice order"
00058         // PS -> //    chkFillContours = new wxCheckBox(notebookParameterContour, -1, wxT("Fill contours?"));
00059         // PS -> //    label_13 = new wxStaticText(notebookParameterAxis, -1, wxT("Distance cdg:"));
00060         // PS -> //    edtDistanceCdg = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
00061     label_14 = new wxStaticText(notebookParameterAxis, -1, wxString( marDict.GetString(660), wxConvUTF8 ));//"Flexion coefficient:"
00062     edtFlexionCoef = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
00063     label_15 = new wxStaticText(notebookParameterAxis, -1, wxString( marDict.GetString(665), wxConvUTF8 ));//"Tension coefficient:"
00064     edtTensionCoef = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
00065     label_16 = new wxStaticText(notebookParameterAxis, -1, wxString( marDict.GetString(670), wxConvUTF8 ));//"Mask size (2*n+1). n:"
00066     edtMaskSize = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
00067     label_17 = new wxStaticText(notebookParameterAxis, -1, wxString( marDict.GetString(675), wxConvUTF8 ));//"Discret step for axis (1/N):"
00068     edtDiscreetStep = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
00069         // PS -> //    label_18 = new wxStaticText(notebookParameterAxis, -1, wxT("X"));
00070         // PS -> //    edtVoxelX = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
00071         // PS -> //    label_19 = new wxStaticText(notebookParameterAxis, -1, wxT("Y"));
00072         // PS -> //    edtVoxelY = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
00073         // PS -> //    label_20 = new wxStaticText(notebookParameterAxis, -1, wxT("Z"));
00074         // PS -> //    edtVoxelZ = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
00075         // PS -> //    label_21 = new wxStaticText(notebookParameterAxis, -1, wxT("Axis color"));
00076         // PS -> //    btnAxisColor = new wxButton(notebookParameterAxis, ID_BTN_AXIS_COLOR, wxT(""));
00077         // PS -> //    radMinimum = new wxRadioButton(notebookParameterAxis, -1, wxT("Minimum voxel"));
00078         // PS -> //    chkShowCell = new wxCheckBox(notebookParameterAxis, -1, wxT("Show cell?"));
00079         // PS -> //    radNormal = new wxRadioButton(notebookParameterAxis, -1, wxT("Normal voxel"));
00080         // PS -> //    chkShowIntCell = new wxCheckBox(notebookParameterAxis, -1, wxT("Show intensity cell?"));
00081         // PS ->     label_22 = new wxStaticText(notebookParameterAxis, -1, wxT("Distance int:"));
00082         // PS ->     edtDistanceInt = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
00083         // PS ->     label_26 = new wxStaticText(notebookParameterAxis, -1, wxT("Step coefficient (1/N):"));
00084         // PS ->     edtStepCoef = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
00085         // PS ->     label_28 = new wxStaticText(notebookParameterAxis, -1, wxT("Step:"));
00086         // PS ->     edtStep = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
00087         // PS ->     label_23 = new wxStaticText(notebookParameterAxis, -1, wxT("Cell max. int. \ncoef (1/N):"));
00088         // PS ->     edtCellMaxIntCoef = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
00089         // PS ->     label_25 = new wxStaticText(notebookParameterAxis, -1, wxT("Mass power:"));
00090         // PS ->     edtMassPower = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
00091         // PS ->     panel_3 = new wxPanel(notebookParameterAxis, -1);
00092         // PS ->     panel_4 = new wxPanel(notebookParameterAxis, -1);
00093         // PS ->     label_24 = new wxStaticText(notebookParameterAxis, -1, wxT("Cell coefficient:"));
00094         // PS ->     edtCellCoef = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
00095         // PS ->     label_27 = new wxStaticText(notebookParameterAxis, -1, wxT("ROI dimension:"));
00096         // PS ->     edtROIDimension = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
00097         // PS ->     panel_5 = new wxPanel(notebookParameterAxis, -1);
00098         // PS ->     panel_6 = new wxPanel(notebookParameterAxis, -1);
00099 
00100 /* // EED borrame
00101     chkArea = new wxCheckBox(notebookParameterQuant, -1, wxT("Area"));
00102     chkPerimeter = new wxCheckBox(notebookParameterQuant, -1, wxT("Perimeter"));
00103     chkDiameterFromArea = new wxCheckBox(notebookParameterQuant, -1, wxT("Diameter from area"));
00104     chkDiameterFromPerimeter = new wxCheckBox(notebookParameterQuant, -1, wxT("Diameter from perimeter"));
00105     chkMinimumDiameter = new wxCheckBox(notebookParameterQuant, -1, wxT("Minimum diameter"));
00106     chkMaximumDiameter = new wxCheckBox(notebookParameterQuant, -1, wxT("Maximum diameter"));
00107     chkAverageDiameter = new wxCheckBox(notebookParameterQuant, -1, wxT("Average diameter"));
00108     radArea = new wxRadioButton(notebookParameterQuant, -1, wxT("Area"));
00109     radPerimeter = new wxRadioButton(notebookParameterQuant, -1, wxT("Perimeter"));
00110     radDiameterFromArea = new wxRadioButton(notebookParameterQuant, -1, wxT("Diameter from area"));
00111     radDiameterFromPerimeter = new wxRadioButton(notebookParameterQuant, -1, wxT("Diameter from perimeter"));
00112     radMinimumDiameter = new wxRadioButton(notebookParameterQuant, -1, wxT("Minimum diameter"));
00113     radMaximumDiameter = new wxRadioButton(notebookParameterQuant, -1, wxT("Maximum diameter"));
00114     radAverageDiameter = new wxRadioButton(notebookParameterQuant, -1, wxT("Average diameter"));
00115 */
00116 
00117     buttonOK     = new wxButton(this, wxID_OK,        wxString( marDict.GetString(680), wxConvUTF8 ));//"OK"
00118     buttonCancel = new wxButton(this, wxID_CANCEL,    wxString( marDict.GetString(685), wxConvUTF8 ));//"Cancel"
00119     buttonReset  = new wxButton(this, ID_BTN_RESET,   wxString( marDict.GetString(690), wxConvUTF8 ));//"Reset"
00120     buttonApply  = new wxButton(this, ID_BTN_APPLY,   wxString( marDict.GetString(695), wxConvUTF8 ));//"Apply"
00121     buttonDefault= new wxButton(this, ID_BTN_DEFAULT, wxString( marDict.GetString(700), wxConvUTF8 ));//"Default"
00122         
00123     set_properties();
00124     do_layout();
00125     // end wxGlade
00126 }

Here is the call graph for this function:


Member Function Documentation

void wxParametersDialog::do_layout (  )  [private]

Definition at line 143 of file wxParametersDialog.cpp.

References buttonApply, buttonCancel, buttonDefault, buttonOK, buttonReset, edtDiscreetStep, edtFlexionCoef, edtMaskSize, edtTensionCoef, edtThresholdIsoContours, marDictionary::GetString(), label_14, label_15, label_16, label_17, label_7_copy, notebookParameter, notebookParameterAxis, and notebookParameterContour.

Referenced by wxParametersDialog().

00143                                   {
00144         marDictionary marDict;
00145     // begin wxGlade: wxParametersDialog::do_layout
00146     wxBoxSizer* object_1 = new wxBoxSizer(wxVERTICAL);
00147     wxBoxSizer* object_40 = new wxBoxSizer(wxHORIZONTAL);
00148     wxBoxSizer* object_35 = new wxBoxSizer(wxHORIZONTAL);
00149 // EED borrame
00150 //    wxStaticBoxSizer* object_38 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterQuant, -1, wxT("Stenosis type")), wxHORIZONTAL);
00151 
00152     wxFlexGridSizer* object_39 = new wxFlexGridSizer(7, 1, 0, 0);
00153 
00154 // EED Borrame
00155 //    wxStaticBoxSizer* object_36 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterQuant, -1, wxT("Data types")), wxHORIZONTAL);
00156 
00157     wxFlexGridSizer* object_37 = new wxFlexGridSizer(7, 1, 0, 0);
00158     wxBoxSizer* object_21 = new wxBoxSizer(wxVERTICAL);
00159         // PS ->     wxStaticBoxSizer* object_33 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterAxis, -1, wxT("Other info")), wxHORIZONTAL);
00160         // PS ->     wxFlexGridSizer* object_34 = new wxFlexGridSizer(3, 6, 20, 10);
00161         // PS ->     wxStaticBoxSizer* object_22 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterAxis, -1, wxT("Static")), wxHORIZONTAL);
00162     wxBoxSizer* object_23 = new wxBoxSizer(wxHORIZONTAL);
00163         // PS -> //    wxBoxSizer* object_26 = new wxBoxSizer(wxVERTICAL);
00164         // PS -> //    wxStaticBoxSizer* object_31 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterAxis, -1, wxT("Choose...")), wxHORIZONTAL);
00165         // PS -> //    wxFlexGridSizer* object_32 = new wxFlexGridSizer(2, 2, 10, 0);
00166         // PS -> //    wxBoxSizer* object_27 = new wxBoxSizer(wxHORIZONTAL);
00167         // PS -> //    wxBoxSizer* object_30 = new wxBoxSizer(wxVERTICAL);
00168         // PS -> //    wxStaticBoxSizer* object_28 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterAxis, -1, wxT("Voxel size")), wxHORIZONTAL);
00169         // PS -> //    wxFlexGridSizer* object_29 = new wxFlexGridSizer(3, 2, 0, 10);
00170     wxStaticBoxSizer* object_24 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterAxis, -1, wxString(marDict.GetString(720), wxConvUTF8)), wxHORIZONTAL);//"Extraction parameters"
00171         // PS -> //    wxFlexGridSizer* object_25 = new wxFlexGridSizer(5, 2, 10, 10);//PS
00172         wxFlexGridSizer* object_25 = new wxFlexGridSizer(4, 2, 10, 10);
00173     wxBoxSizer* object_7 = new wxBoxSizer(wxVERTICAL);
00174     wxBoxSizer* object_17 = new wxBoxSizer(wxHORIZONTAL);
00175 //EED    wxStaticBoxSizer* object_20 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterContour, -1, wxT(marDict.GetString(725))), wxVERTICAL);//"Debug"
00176         // PS -> //    wxStaticBoxSizer* object_18 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterContour, -1, wxT("Slice")), wxHORIZONTAL);
00177         // PS -> //    wxFlexGridSizer* object_19 = new wxFlexGridSizer(2, 2, 10, 10);
00178     wxStaticBoxSizer* object_8 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterContour, -1, wxString(marDict.GetString(730), wxConvUTF8)), wxHORIZONTAL);//"Contour calculation algorithm"
00179         // PS -> //    wxFlexGridSizer* object_9 = new wxFlexGridSizer(2, 2, 0, 0); //PS
00180         wxFlexGridSizer* object_9 = new wxFlexGridSizer(1, 1, 0, 0);
00181         // PS -> //    wxStaticBoxSizer* object_15 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterContour, -1, wxT("")), wxHORIZONTAL);
00182         // PS -> //    wxGridSizer* object_16 = new wxGridSizer(4, 2, 0, 0);
00183     wxBoxSizer* object_10 = new wxBoxSizer(wxVERTICAL);
00184         // PS -> //    wxStaticBoxSizer* object_13 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterContour, -1, wxT("")), wxHORIZONTAL);
00185         // PS -> //    wxFlexGridSizer* object_14 = new wxFlexGridSizer(3, 2, 0, 10);
00186         // PS -> //    wxStaticBoxSizer* object_11 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterContour, -1, wxT("")), wxHORIZONTAL);
00187     wxFlexGridSizer* object_12 = new wxFlexGridSizer(1, 2, 0, 10);
00188         // PS ->     wxBoxSizer* object_2 = new wxBoxSizer(wxVERTICAL);
00189         // PS ->     wxStaticBoxSizer* object_5 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterGeneral, -1, wxT("User configuration")), wxHORIZONTAL);
00190         // PS -> //    wxFlexGridSizer* object_6 = new wxFlexGridSizer(6, 1, 0, 0); //PS
00191         // PS ->        wxFlexGridSizer* object_6 = new wxFlexGridSizer(5, 1, 0, 0);
00192         // PS ->     wxStaticBoxSizer* object_3 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterGeneral, -1, wxT("Data locations")), wxHORIZONTAL);
00193         // PS -> //    wxFlexGridSizer* object_4 = new wxFlexGridSizer(2, 3, 50, 0); //PS
00194         // PS ->     wxFlexGridSizer* object_4 = new wxFlexGridSizer(1, 3, 0, 10);
00195         // PS -> //    object_4->Add(label_1_copy, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 0);
00196         // PS -> //    object_4->Add(edtWorkDir, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL, 0);
00197         // PS -> //    object_4->Add(button_4_copy, 0, wxALIGN_CENTER_VERTICAL, 0);
00198         // PS ->     object_4->Add(label_2_copy, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 0);
00199         // PS ->     object_4->Add(edtDICOMDir, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL, 0);
00200         // PS ->     object_4->Add(button_5_copy, 0, wxALIGN_CENTER_VERTICAL, 0);
00201         // PS ->     object_4->AddGrowableCol(1);
00202         // PS ->     object_3->Add(object_4, 1, wxALIGN_CENTER_VERTICAL, 0);
00203         // PS ->     object_2->Add(object_3, 1, wxEXPAND, 0);
00204         // PS ->     object_6->Add(chkMIP, 0, 0, 0);
00205         // PS ->     object_6->Add(chkSlices, 0, 0, 0);
00206         // PS ->     object_6->Add(chkDebugWindow, 0, 0, 0);
00207         // PS ->     object_6->Add(chkConsole, 0, 0, 0);
00208         // PS -> //    object_6->Add(label_29, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 0);
00209         // PS -> //    object_6->Add(btn3DBackColor, 0, wxEXPAND, 0);
00210         // PS ->     object_6->AddGrowableRow(4);
00211         // PS ->     object_6->AddGrowableCol(0);
00212         // PS ->     object_5->Add(object_6, 1, wxEXPAND, 0);
00213         // PS ->     object_2->Add(object_5, 1, wxEXPAND, 0);
00214         // PS ->     notebookParameterGeneral->SetAutoLayout(true);
00215         // PS ->     notebookParameterGeneral->SetSizer(object_2);
00216         // PS ->     object_2->Fit(notebookParameterGeneral);
00217         // PS ->     object_2->SetSizeHints(notebookParameterGeneral);
00218         // PS -> //    object_9->Add(radIsoContours, 0, 0, 0);
00219         // PS -> //    object_9->Add(radDeriche, 0, 0, 0);
00220     object_12->Add(label_7_copy, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 0);
00221     object_12->Add(edtThresholdIsoContours, 0,wxEXPAND|wxALIGN_CENTER_VERTICAL , 0);
00222     object_12->AddGrowableCol(1);
00223         // PS -> //    object_11->Add(object_12, 1, wxALIGN_CENTER_VERTICAL, 0); 
00224         // PS -> //    object_10->Add(object_11, 1, wxEXPAND, 0); //PS
00225         object_10->Add(object_12, 1, wxALIGN_CENTER_VERTICAL, 0);
00226         // PS -> //    object_10->Add(radSnake, 0, 0, 0);
00227         // PS -> //    object_14->Add(label_8_copy, 0, wxALIGN_RIGHT, 0);
00228         // PS -> //    object_14->Add(edtThresholdSnake, 0, wxEXPAND, 0);
00229         // PS -> //    object_14->Add(label_9_copy, 0, wxALIGN_RIGHT, 0);
00230         // PS -> //    object_14->Add(edtIterationsSnake, 0, 0, 0);
00231         // PS -> //    object_14->Add(label_10_copy, 0, wxALIGN_RIGHT, 0);
00232         // PS -> //    object_14->Add(edtExternCoefSnake, 0, 0, 0);
00233         // PS -> //    object_13->Add(object_14, 1, wxALIGN_CENTER_VERTICAL, 0);
00234         // PS -> //    object_10->Add(object_13, 1, wxEXPAND, 0);
00235     object_9->Add(object_10, 1, wxEXPAND, 0);
00236         // PS -> //    object_16->Add(label_3_copy, 0, wxALIGN_RIGHT, 0);
00237         // PS -> //    object_16->Add(edtIterationsDeriche, 0, 0, 0);
00238         // PS -> //    object_16->Add(label_4_copy, 0, wxALIGN_RIGHT, 0);
00239         // PS -> //    object_16->Add(edtBallonCoefDeriche, 0, 0, 0);
00240         // PS -> //    object_16->Add(label_5_copy, 0, wxALIGN_RIGHT, 0);
00241         // PS -> //    object_16->Add(edtGradientCoefDeriche, 0, 0, 0);
00242         // PS -> //    object_16->Add(label_6_copy, 0, wxALIGN_RIGHT, 0);
00243         // PS -> //    object_16->Add(edtSigmaDeriche, 0, 0, 0);
00244         // PS -> //    object_15->Add(object_16, 1, wxEXPAND, 0);
00245         // PS -> //    object_9->Add(object_15, 1, wxEXPAND, 0);
00246     object_9->AddGrowableRow(1);
00247     object_9->AddGrowableCol(1);
00248     object_8->Add(object_9, 1, wxEXPAND, 0);
00249         // PS -> //    object_7->Add(object_8, 2, wxEXPAND, 0);
00250         object_7->Add(object_8, 1, wxEXPAND, 0);
00251         // PS -> //    object_19->Add(label_11, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL, 0);
00252         // PS -> //    object_19->Add(edtScale, 0, wxALIGN_CENTER_VERTICAL, 0);
00253         // PS -> //    object_19->Add(label_12, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL, 0);
00254         // PS -> //    object_19->Add(edtSample, 0, wxALIGN_CENTER_VERTICAL, 0);
00255         // PS -> //    object_19->AddGrowableCol(1);
00256         // PS -> //    object_18->Add(object_19, 1, wxALIGN_CENTER_VERTICAL, 0);
00257         // PS -> //    object_17->Add(object_18, 1, wxEXPAND, 0);
00258  //EED   object_20->Add(chkIsoContoursVis, 0, wxALIGN_CENTER_VERTICAL, 0);
00259 //EED    object_20->Add(chkDiametersVis         , 0, wxALIGN_CENTER_VERTICAL, 0);
00260 //EED    object_20->Add(chkInvertSliceOrder     , 0, wxALIGN_CENTER_VERTICAL, 0);
00261         // PS -> //    object_20->Add(chkFillContours, 0, wxALIGN_CENTER_VERTICAL, 0);
00262 //EED    object_17->Add(object_20, 1, wxEXPAND|wxALIGN_CENTER_VERTICAL, 0);
00263     object_7->Add(object_17, 1, wxEXPAND, 0);
00264     notebookParameterContour->SetAutoLayout(true);
00265     notebookParameterContour->SetSizer(object_7);
00266     object_7->Fit(notebookParameterContour);
00267     object_7->SetSizeHints(notebookParameterContour);
00268         // PS -> //    object_25->Add(label_13, 0, wxALIGN_RIGHT, 0);
00269         // PS -> //    object_25->Add(edtDistanceCdg, 0, wxEXPAND, 0);
00270     object_25->Add(label_14, 0, wxALIGN_RIGHT, 0);
00271     object_25->Add(edtFlexionCoef, 0, wxEXPAND, 0);
00272     object_25->Add(label_15, 0, wxALIGN_RIGHT, 0);
00273     object_25->Add(edtTensionCoef, 0, wxEXPAND, 0);
00274     object_25->Add(label_16, 0, wxALIGN_RIGHT, 0);
00275     object_25->Add(edtMaskSize, 0, wxEXPAND, 0);
00276     object_25->Add(label_17, 0, wxALIGN_RIGHT, 0);
00277     object_25->Add(edtDiscreetStep, 0, wxEXPAND, 0);
00278     object_25->AddGrowableRow(4);
00279     object_25->AddGrowableCol(1);
00280     object_24->Add(object_25, 1, wxALIGN_CENTER_VERTICAL, 0);
00281         object_23->Add(object_24, 1, wxEXPAND, 0);
00282         // PS -> //    object_29->Add(label_18, 0, wxALIGN_RIGHT, 0);
00283         // PS -> //    object_29->Add(edtVoxelX, 0, wxEXPAND, 0);
00284         // PS -> //    object_29->Add(label_19, 0, wxALIGN_RIGHT, 0);
00285         // PS -> //    object_29->Add(edtVoxelY, 0, wxEXPAND, 0);
00286         // PS -> //    object_29->Add(label_20, 0, wxALIGN_RIGHT, 0);
00287         // PS -> //    object_29->Add(edtVoxelZ, 0, wxEXPAND, 0);
00288         // PS -> //    object_29->AddGrowableCol(1);
00289         // PS -> //    object_28->Add(object_29, 1, 0, 0);
00290         // PS -> //    object_27->Add(object_28, 1, wxEXPAND, 0);
00291         // PS -> //    object_30->Add(label_21, 0, 0, 0);
00292         // PS -> //    object_30->Add(btnAxisColor, 0, wxEXPAND|wxALIGN_CENTER_HORIZONTAL, 0);
00293         // PS -> //    object_27->Add(object_30, 1, 0, 0);
00294         // PS -> //    object_26->Add(object_27, 1, wxEXPAND, 0);
00295         // PS -> //    object_32->Add(radMinimum, 0, 0, 0);
00296         // PS -> //    object_32->Add(chkShowCell, 0, 0, 0);
00297         // PS -> //    object_32->Add(radNormal, 0, 0, 0);
00298         // PS -> //    object_32->Add(chkShowIntCell, 0, 0, 0);
00299         // PS -> //    object_31->Add(object_32, 1, wxALIGN_CENTER_VERTICAL, 0);
00300         // PS -> //    object_26->Add(object_31, 1, wxEXPAND, 0);
00301         // PS -> //    object_23->Add(object_26, 1, wxEXPAND, 0);
00302         // PS ->        object_22->Add(object_23, 1, wxEXPAND, 0);
00303         // PS ->        object_21->Add(object_22, 1, wxEXPAND, 0);
00304         object_21->Add(object_23, 1, wxEXPAND, 0);
00305         // PS ->     object_34->Add(label_22, 0, wxALIGN_RIGHT, 0);
00306         // PS ->     object_34->Add(edtDistanceInt, 0, 0, 0);
00307         // PS ->     object_34->Add(label_26, 0, wxALIGN_RIGHT, 0);
00308         // PS ->     object_34->Add(edtStepCoef, 0, 0, 0);
00309         // PS ->     object_34->Add(label_28, 0, wxALIGN_RIGHT, 0);
00310         // PS ->     object_34->Add(edtStep, 0, 0, 0);
00311         // PS ->     object_34->Add(label_23, 0, wxALIGN_RIGHT, 0);
00312         // PS ->     object_34->Add(edtCellMaxIntCoef, 0, 0, 0);
00313         // PS ->     object_34->Add(label_25, 0, wxALIGN_RIGHT, 0);
00314         // PS ->     object_34->Add(edtMassPower, 0, 0, 0);
00315         // PS ->     object_34->Add(panel_3, 1, wxEXPAND, 0);
00316         // PS ->     object_34->Add(panel_4, 1, wxEXPAND, 0);
00317         // PS ->     object_34->Add(label_24, 0, wxALIGN_RIGHT, 0);
00318         // PS ->     object_34->Add(edtCellCoef, 0, 0, 0);
00319         // PS ->     object_34->Add(label_27, 0, wxALIGN_RIGHT, 0);
00320         // PS ->     object_34->Add(edtROIDimension, 0, 0, 0);
00321         // PS ->     object_34->Add(panel_5, 1, wxEXPAND, 0);
00322         // PS ->     object_34->Add(panel_6, 1, wxEXPAND, 0);
00323         // PS ->     object_33->Add(object_34, 1, wxALIGN_CENTER_VERTICAL, 0);
00324         // PS ->     object_21->Add(object_33, 1, wxEXPAND, 0);
00325     notebookParameterAxis->SetAutoLayout(true);
00326     notebookParameterAxis->SetSizer(object_21);
00327     object_21->Fit(notebookParameterAxis);
00328     object_21->SetSizeHints(notebookParameterAxis);
00329 
00330 /* EED Borrame
00331     object_37->Add(chkArea, 0, 0, 0);
00332     object_37->Add(chkPerimeter, 0, 0, 0);
00333     object_37->Add(chkDiameterFromArea, 0, 0, 0);
00334     object_37->Add(chkDiameterFromPerimeter, 0, 0, 0);
00335     object_37->Add(chkMinimumDiameter, 0, 0, 0);
00336     object_37->Add(chkMaximumDiameter, 0, 0, 0);
00337     object_37->Add(chkAverageDiameter, 0, 0, 0);
00338     object_37->AddGrowableRow(6);
00339     object_36->Add(object_37, 1, wxEXPAND|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 0);
00340     object_35->Add(object_36, 1, wxEXPAND, 0);
00341     object_39->Add(radArea, 0, 0, 0);
00342     object_39->Add(radPerimeter, 0, 0, 0);
00343     object_39->Add(radDiameterFromArea, 0, 0, 0);
00344     object_39->Add(radDiameterFromPerimeter, 0, 0, 0);
00345     object_39->Add(radMinimumDiameter, 0, 0, 0);
00346     object_39->Add(radMaximumDiameter, 0, 0, 0);
00347     object_39->Add(radAverageDiameter, 0, 0, 0);
00348     object_39->AddGrowableRow(6);
00349     object_38->Add(object_39, 1, wxEXPAND, 0);
00350     object_35->Add(object_38, 1, wxEXPAND, 0);
00351     notebookParameterQuant->SetAutoLayout(true);
00352     notebookParameterQuant->SetSizer(object_35);
00353     object_35->Fit(notebookParameterQuant);
00354     object_35->SetSizeHints(notebookParameterQuant);
00355 */
00356 
00357         // PS ->     notebookParameter->AddPage(notebookParameterGeneral, wxT("General Parameters"));
00358     notebookParameter->AddPage(notebookParameterAxis, wxString( marDict.GetString(740) , wxConvUTF8));//"Axis Parameters"
00359     notebookParameter->AddPage(notebookParameterContour, wxString( marDict.GetString(735), wxConvUTF8 ));//"Contour Parameters"
00360 
00361 // EED borrame
00362 //    notebookParameter->AddPage(notebookParameterQuant, wxT("Quantification Parameters"));
00363 
00364 // EED 08/06/2007
00365 //    object_1->Add(new wxNotebookSizer(notebookParameter), 1, wxALL|wxEXPAND, 0);
00366     object_1->Add( notebookParameter , 1, wxALL|wxEXPAND, 0);
00367 
00368     object_40->Add(buttonOK, 1, 0, 0);
00369     object_40->Add(buttonCancel, 1, 0, 0);
00370         object_40->Add(buttonDefault, 1, 0, 0);
00371     object_40->Add(buttonReset, 1, 0, 0);
00372     object_40->Add(buttonApply, 1, 0, 0);
00373     object_1->Add(object_40, 0, wxALL|wxEXPAND, 0);
00374     SetAutoLayout(true);
00375     SetSizer(object_1);
00376     Layout();
00377     // end wxGlade
00378 }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxParametersDialog::set_properties (  )  [private]

Definition at line 129 of file wxParametersDialog.cpp.

References marDictionary::GetString().

Referenced by wxParametersDialog().

00129                                        {
00130         marDictionary marDict;
00131     // begin wxGlade: wxParametersDialog::set_properties
00132     SetTitle(wxString(marDict.GetString(710), wxConvUTF8)); //"MARACAS Parameters..."
00133         // PS -> //    SetSize(wxSize(530, 500));
00134     SetSize(wxSize(400, 250));
00135         // PS -> //    btn3DBackColor->SetSize(wxSize(511, 42));
00136         // PS ->     chkIsoContoursVis->SetSize(wxSize(145, 44));
00137         // PS ->     chkDiametersVis->SetSize(wxSize(129, 44));
00138         // PS -> //    chkFillContours->SetSize(wxSize(103, 44));
00139     // end wxGlade
00140 }

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

wxButton* wxParametersDialog::buttonApply [protected]

Definition at line 149 of file wxParametersDialog.h.

Referenced by do_layout(), and wxParametersDialog().

wxButton* wxParametersDialog::buttonCancel [protected]

Definition at line 147 of file wxParametersDialog.h.

Referenced by do_layout(), and wxParametersDialog().

wxButton* wxParametersDialog::buttonDefault [protected]

Definition at line 150 of file wxParametersDialog.h.

Referenced by do_layout(), and wxParametersDialog().

wxButton* wxParametersDialog::buttonOK [protected]

Definition at line 146 of file wxParametersDialog.h.

Referenced by do_layout(), and wxParametersDialog().

wxButton* wxParametersDialog::buttonReset [protected]

Definition at line 148 of file wxParametersDialog.h.

Referenced by do_layout(), and wxParametersDialog().

wxTextCtrl* wxParametersDialog::edtDiscreetStep [protected]
wxTextCtrl* wxParametersDialog::edtFlexionCoef [protected]
wxTextCtrl* wxParametersDialog::edtMaskSize [protected]
wxTextCtrl* wxParametersDialog::edtTensionCoef [protected]
wxStaticText* wxParametersDialog::label_14 [protected]

Definition at line 85 of file wxParametersDialog.h.

Referenced by do_layout(), and wxParametersDialog().

wxStaticText* wxParametersDialog::label_15 [protected]

Definition at line 87 of file wxParametersDialog.h.

Referenced by do_layout(), and wxParametersDialog().

wxStaticText* wxParametersDialog::label_16 [protected]

Definition at line 89 of file wxParametersDialog.h.

Referenced by do_layout(), and wxParametersDialog().

wxStaticText* wxParametersDialog::label_17 [protected]

Definition at line 91 of file wxParametersDialog.h.

Referenced by do_layout(), and wxParametersDialog().

wxStaticText* wxParametersDialog::label_7_copy [protected]

Definition at line 55 of file wxParametersDialog.h.

Referenced by do_layout(), and wxParametersDialog().

wxNotebook* wxParametersDialog::notebookParameter [protected]

Definition at line 145 of file wxParametersDialog.h.

Referenced by do_layout(), and wxParametersDialog().

Definition at line 82 of file wxParametersDialog.h.

Referenced by do_layout(), and wxParametersDialog().

Definition at line 123 of file wxParametersDialog.h.

Referenced by do_layout(), and wxParametersDialog().


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

Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1