1 /*# ---------------------------------------------------------------------
3 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
5 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
6 # Previous Authors : Laurent Guigues, Jean-Pierre Roux
7 # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
9 # This software is governed by the CeCILL-B license under French law and
10 # abiding by the rules of distribution of free software. You can use,
11 # modify and/ or redistribute the software under the terms of the CeCILL-B
12 # license as circulated by CEA, CNRS and INRIA at the following URL
13 # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
14 # or in the file LICENSE.txt.
16 # As a counterpart to the access to the source code and rights to copy,
17 # modify and redistribute granted by the license, users are provided only
18 # with a limited warranty and the software's author, the holder of the
19 # economic rights, and the successive licensors have only limited
22 # The fact that you are presently reading this means that you have had
23 # knowledge of the CeCILL-B license and that you accept its terms.
24 # ------------------------------------------------------------------------ */
26 // -*- C++ -*- generated by wxGlade 0.3pre1 on Thu Jul 17 15:06:51 2003
28 #include "wxParametersDialog.h"
29 #include "../marDictionary.h"
31 wxParametersDialog::wxParametersDialog(wxWindow* parent, int id, const wxString& title, const wxPoint& pos, const wxSize& size, long style):
32 wxDialog(parent, id, title, pos, size, wxCAPTION|wxDIALOG_NO_PARENT){
34 marDictionary marDict;
36 // begin wxGlade: wxParametersDialog::wxParametersDialog
37 notebookParameter = new wxNotebook(this, -1, wxDefaultPosition, wxDefaultSize, 0);
38 notebookParameterContour = new wxPanel(notebookParameter, -1);
39 notebookParameterAxis = new wxPanel(notebookParameter, -1);
42 // notebookParameterQuant = new wxPanel(notebookParameter, -1);
44 // PS -> notebookParameterGeneral = new wxPanel(notebookParameter, -1);
45 // PS -> // label_1_copy = new wxStaticText(notebookParameterGeneral, -1, wxT("Work directory:"));
46 // PS -> // edtWorkDir = new wxTextCtrl(notebookParameterGeneral, -1, wxT(""));
47 // PS -> // button_4_copy = new wxButton(notebookParameterGeneral, ID_BTN_BROWSE_WORK_DIR, wxT("Browse..."));
48 // PS -> label_2_copy = new wxStaticText(notebookParameterGeneral, -1, wxT("DICOM directory:"));
49 // PS -> edtDICOMDir = new wxTextCtrl(notebookParameterGeneral, -1, wxT(""));
50 // PS -> button_5_copy = new wxButton(notebookParameterGeneral, ID_BTN_BROWSE_DICOM_DIR, wxT("Browse..."));
51 // PS -> chkMIP = new wxCheckBox(notebookParameterGeneral, -1, wxT("Calculate MIP by default?"));
52 // PS -> chkSlices = new wxCheckBox(notebookParameterGeneral, -1, wxT("Select all slices by default?"));
53 // PS -> chkDebugWindow = new wxCheckBox(notebookParameterGeneral, -1, wxT("Debug window visible?"));
54 // PS -> chkConsole = new wxCheckBox(notebookParameterGeneral, -1, wxT("Console window visible?"));
55 // PS -> // label_29 = new wxStaticText(notebookParameterGeneral, -1, wxT("3D background color:"));
56 // PS -> // btn3DBackColor = new wxButton(notebookParameterGeneral, ID_BTN_3D_BACK_COLOR, wxT(""));
57 // PS -> // radIsoContours = new wxRadioButton(notebookParameterContour, -1, wxT("IsoContours"));
58 // PS -> // radDeriche = new wxRadioButton(notebookParameterContour, -1, wxT("Snake + Deriche"));
59 label_7_copy = new wxStaticText(notebookParameterContour, -1, wxString( marDict.GetString(515) , wxConvUTF8));//" % Threshold :"
60 edtThresholdIsoContours = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
61 // PS -> // radSnake = new wxRadioButton(notebookParameterContour, -1, wxT("Snake + IsoContours"));
62 // PS -> // label_8_copy = new wxStaticText(notebookParameterContour, -1, wxT("Threshold:"));
63 // PS -> // edtThresholdSnake = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
64 // PS -> // label_9_copy = new wxStaticText(notebookParameterContour, -1, wxT("Iterations No:"));
65 // PS -> // edtIterationsSnake = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
66 // PS -> // label_10_copy = new wxStaticText(notebookParameterContour, -1, wxT("Extern coefficient:"));
67 // PS -> // edtExternCoefSnake = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
68 // PS -> // label_3_copy = new wxStaticText(notebookParameterContour, -1, wxT("Iterations No:"));
69 // PS -> // edtIterationsDeriche = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
70 // PS -> // label_4_copy = new wxStaticText(notebookParameterContour, -1, wxT("Ballon coefficient:"));
71 // PS -> // edtBallonCoefDeriche = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
72 // PS -> // label_5_copy = new wxStaticText(notebookParameterContour, -1, wxT("Gradient coefficient:"));
73 // PS -> // edtGradientCoefDeriche = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
74 // PS -> // label_6_copy = new wxStaticText(notebookParameterContour, -1, wxT("Sigma:"));
75 // PS -> // edtSigmaDeriche = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
76 // PS -> // label_11 = new wxStaticText(notebookParameterContour, -1, wxT("Scale:"));
77 // PS -> // edtScale = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
78 // PS -> // label_12 = new wxStaticText(notebookParameterContour, -1, wxT("Sample:"));
79 // PS -> // edtSample = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
80 //EED chkIsoContoursVis = new wxCheckBox(notebookParameterContour, -1, wxT("Visible \"IsoContours\""));
81 //EED chkDiametersVis = new wxCheckBox(notebookParameterContour, -1, wxT(marDict.GetString(655)));//"Visible diameters?"
82 //EED chkInvertSliceOrder = new wxCheckBox(notebookParameterContour, -1, wxT(marDict.GetString(745)));//"Invert slice order"
83 // PS -> // chkFillContours = new wxCheckBox(notebookParameterContour, -1, wxT("Fill contours?"));
84 // PS -> // label_13 = new wxStaticText(notebookParameterAxis, -1, wxT("Distance cdg:"));
85 // PS -> // edtDistanceCdg = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
86 label_14 = new wxStaticText(notebookParameterAxis, -1, wxString( marDict.GetString(660), wxConvUTF8 ));//"Flexion coefficient:"
87 edtFlexionCoef = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
88 label_15 = new wxStaticText(notebookParameterAxis, -1, wxString( marDict.GetString(665), wxConvUTF8 ));//"Tension coefficient:"
89 edtTensionCoef = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
90 label_16 = new wxStaticText(notebookParameterAxis, -1, wxString( marDict.GetString(670), wxConvUTF8 ));//"Mask size (2*n+1). n:"
91 edtMaskSize = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
92 label_17 = new wxStaticText(notebookParameterAxis, -1, wxString( marDict.GetString(675), wxConvUTF8 ));//"Discret step for axis (1/N):"
93 edtDiscreetStep = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
94 // PS -> // label_18 = new wxStaticText(notebookParameterAxis, -1, wxT("X"));
95 // PS -> // edtVoxelX = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
96 // PS -> // label_19 = new wxStaticText(notebookParameterAxis, -1, wxT("Y"));
97 // PS -> // edtVoxelY = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
98 // PS -> // label_20 = new wxStaticText(notebookParameterAxis, -1, wxT("Z"));
99 // PS -> // edtVoxelZ = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
100 // PS -> // label_21 = new wxStaticText(notebookParameterAxis, -1, wxT("Axis color"));
101 // PS -> // btnAxisColor = new wxButton(notebookParameterAxis, ID_BTN_AXIS_COLOR, wxT(""));
102 // PS -> // radMinimum = new wxRadioButton(notebookParameterAxis, -1, wxT("Minimum voxel"));
103 // PS -> // chkShowCell = new wxCheckBox(notebookParameterAxis, -1, wxT("Show cell?"));
104 // PS -> // radNormal = new wxRadioButton(notebookParameterAxis, -1, wxT("Normal voxel"));
105 // PS -> // chkShowIntCell = new wxCheckBox(notebookParameterAxis, -1, wxT("Show intensity cell?"));
106 // PS -> label_22 = new wxStaticText(notebookParameterAxis, -1, wxT("Distance int:"));
107 // PS -> edtDistanceInt = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
108 // PS -> label_26 = new wxStaticText(notebookParameterAxis, -1, wxT("Step coefficient (1/N):"));
109 // PS -> edtStepCoef = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
110 // PS -> label_28 = new wxStaticText(notebookParameterAxis, -1, wxT("Step:"));
111 // PS -> edtStep = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
112 // PS -> label_23 = new wxStaticText(notebookParameterAxis, -1, wxT("Cell max. int. \ncoef (1/N):"));
113 // PS -> edtCellMaxIntCoef = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
114 // PS -> label_25 = new wxStaticText(notebookParameterAxis, -1, wxT("Mass power:"));
115 // PS -> edtMassPower = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
116 // PS -> panel_3 = new wxPanel(notebookParameterAxis, -1);
117 // PS -> panel_4 = new wxPanel(notebookParameterAxis, -1);
118 // PS -> label_24 = new wxStaticText(notebookParameterAxis, -1, wxT("Cell coefficient:"));
119 // PS -> edtCellCoef = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
120 // PS -> label_27 = new wxStaticText(notebookParameterAxis, -1, wxT("ROI dimension:"));
121 // PS -> edtROIDimension = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
122 // PS -> panel_5 = new wxPanel(notebookParameterAxis, -1);
123 // PS -> panel_6 = new wxPanel(notebookParameterAxis, -1);
126 chkArea = new wxCheckBox(notebookParameterQuant, -1, wxT("Area"));
127 chkPerimeter = new wxCheckBox(notebookParameterQuant, -1, wxT("Perimeter"));
128 chkDiameterFromArea = new wxCheckBox(notebookParameterQuant, -1, wxT("Diameter from area"));
129 chkDiameterFromPerimeter = new wxCheckBox(notebookParameterQuant, -1, wxT("Diameter from perimeter"));
130 chkMinimumDiameter = new wxCheckBox(notebookParameterQuant, -1, wxT("Minimum diameter"));
131 chkMaximumDiameter = new wxCheckBox(notebookParameterQuant, -1, wxT("Maximum diameter"));
132 chkAverageDiameter = new wxCheckBox(notebookParameterQuant, -1, wxT("Average diameter"));
133 radArea = new wxRadioButton(notebookParameterQuant, -1, wxT("Area"));
134 radPerimeter = new wxRadioButton(notebookParameterQuant, -1, wxT("Perimeter"));
135 radDiameterFromArea = new wxRadioButton(notebookParameterQuant, -1, wxT("Diameter from area"));
136 radDiameterFromPerimeter = new wxRadioButton(notebookParameterQuant, -1, wxT("Diameter from perimeter"));
137 radMinimumDiameter = new wxRadioButton(notebookParameterQuant, -1, wxT("Minimum diameter"));
138 radMaximumDiameter = new wxRadioButton(notebookParameterQuant, -1, wxT("Maximum diameter"));
139 radAverageDiameter = new wxRadioButton(notebookParameterQuant, -1, wxT("Average diameter"));
142 buttonOK = new wxButton(this, wxID_OK, wxString( marDict.GetString(680), wxConvUTF8 ));//"OK"
143 buttonCancel = new wxButton(this, wxID_CANCEL, wxString( marDict.GetString(685), wxConvUTF8 ));//"Cancel"
144 buttonReset = new wxButton(this, ID_BTN_RESET, wxString( marDict.GetString(690), wxConvUTF8 ));//"Reset"
145 buttonApply = new wxButton(this, ID_BTN_APPLY, wxString( marDict.GetString(695), wxConvUTF8 ));//"Apply"
146 buttonDefault= new wxButton(this, ID_BTN_DEFAULT, wxString( marDict.GetString(700), wxConvUTF8 ));//"Default"
154 void wxParametersDialog::set_properties(){
155 marDictionary marDict;
156 // begin wxGlade: wxParametersDialog::set_properties
157 SetTitle(wxString(marDict.GetString(710), wxConvUTF8)); //"MARACAS Parameters..."
158 // PS -> // SetSize(wxSize(530, 500));
159 SetSize(wxSize(400, 250));
160 // PS -> // btn3DBackColor->SetSize(wxSize(511, 42));
161 // PS -> chkIsoContoursVis->SetSize(wxSize(145, 44));
162 // PS -> chkDiametersVis->SetSize(wxSize(129, 44));
163 // PS -> // chkFillContours->SetSize(wxSize(103, 44));
168 void wxParametersDialog::do_layout(){
169 marDictionary marDict;
170 // begin wxGlade: wxParametersDialog::do_layout
171 wxBoxSizer* object_1 = new wxBoxSizer(wxVERTICAL);
172 wxBoxSizer* object_40 = new wxBoxSizer(wxHORIZONTAL);
173 wxBoxSizer* object_35 = new wxBoxSizer(wxHORIZONTAL);
175 // wxStaticBoxSizer* object_38 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterQuant, -1, wxT("Stenosis type")), wxHORIZONTAL);
177 wxFlexGridSizer* object_39 = new wxFlexGridSizer(7, 1, 0, 0);
180 // wxStaticBoxSizer* object_36 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterQuant, -1, wxT("Data types")), wxHORIZONTAL);
182 wxFlexGridSizer* object_37 = new wxFlexGridSizer(7, 1, 0, 0);
183 wxBoxSizer* object_21 = new wxBoxSizer(wxVERTICAL);
184 // PS -> wxStaticBoxSizer* object_33 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterAxis, -1, wxT("Other info")), wxHORIZONTAL);
185 // PS -> wxFlexGridSizer* object_34 = new wxFlexGridSizer(3, 6, 20, 10);
186 // PS -> wxStaticBoxSizer* object_22 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterAxis, -1, wxT("Static")), wxHORIZONTAL);
187 wxBoxSizer* object_23 = new wxBoxSizer(wxHORIZONTAL);
188 // PS -> // wxBoxSizer* object_26 = new wxBoxSizer(wxVERTICAL);
189 // PS -> // wxStaticBoxSizer* object_31 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterAxis, -1, wxT("Choose...")), wxHORIZONTAL);
190 // PS -> // wxFlexGridSizer* object_32 = new wxFlexGridSizer(2, 2, 10, 0);
191 // PS -> // wxBoxSizer* object_27 = new wxBoxSizer(wxHORIZONTAL);
192 // PS -> // wxBoxSizer* object_30 = new wxBoxSizer(wxVERTICAL);
193 // PS -> // wxStaticBoxSizer* object_28 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterAxis, -1, wxT("Voxel size")), wxHORIZONTAL);
194 // PS -> // wxFlexGridSizer* object_29 = new wxFlexGridSizer(3, 2, 0, 10);
195 wxStaticBoxSizer* object_24 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterAxis, -1, wxString(marDict.GetString(720), wxConvUTF8)), wxHORIZONTAL);//"Extraction parameters"
196 // PS -> // wxFlexGridSizer* object_25 = new wxFlexGridSizer(5, 2, 10, 10);//PS
197 wxFlexGridSizer* object_25 = new wxFlexGridSizer(4, 2, 10, 10);
198 wxBoxSizer* object_7 = new wxBoxSizer(wxVERTICAL);
199 wxBoxSizer* object_17 = new wxBoxSizer(wxHORIZONTAL);
200 //EED wxStaticBoxSizer* object_20 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterContour, -1, wxT(marDict.GetString(725))), wxVERTICAL);//"Debug"
201 // PS -> // wxStaticBoxSizer* object_18 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterContour, -1, wxT("Slice")), wxHORIZONTAL);
202 // PS -> // wxFlexGridSizer* object_19 = new wxFlexGridSizer(2, 2, 10, 10);
203 wxStaticBoxSizer* object_8 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterContour, -1, wxString(marDict.GetString(730), wxConvUTF8)), wxHORIZONTAL);//"Contour calculation algorithm"
204 // PS -> // wxFlexGridSizer* object_9 = new wxFlexGridSizer(2, 2, 0, 0); //PS
205 wxFlexGridSizer* object_9 = new wxFlexGridSizer(1, 1, 0, 0);
206 // PS -> // wxStaticBoxSizer* object_15 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterContour, -1, wxT("")), wxHORIZONTAL);
207 // PS -> // wxGridSizer* object_16 = new wxGridSizer(4, 2, 0, 0);
208 wxBoxSizer* object_10 = new wxBoxSizer(wxVERTICAL);
209 // PS -> // wxStaticBoxSizer* object_13 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterContour, -1, wxT("")), wxHORIZONTAL);
210 // PS -> // wxFlexGridSizer* object_14 = new wxFlexGridSizer(3, 2, 0, 10);
211 // PS -> // wxStaticBoxSizer* object_11 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterContour, -1, wxT("")), wxHORIZONTAL);
212 wxFlexGridSizer* object_12 = new wxFlexGridSizer(1, 2, 0, 10);
213 // PS -> wxBoxSizer* object_2 = new wxBoxSizer(wxVERTICAL);
214 // PS -> wxStaticBoxSizer* object_5 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterGeneral, -1, wxT("User configuration")), wxHORIZONTAL);
215 // PS -> // wxFlexGridSizer* object_6 = new wxFlexGridSizer(6, 1, 0, 0); //PS
216 // PS -> wxFlexGridSizer* object_6 = new wxFlexGridSizer(5, 1, 0, 0);
217 // PS -> wxStaticBoxSizer* object_3 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterGeneral, -1, wxT("Data locations")), wxHORIZONTAL);
218 // PS -> // wxFlexGridSizer* object_4 = new wxFlexGridSizer(2, 3, 50, 0); //PS
219 // PS -> wxFlexGridSizer* object_4 = new wxFlexGridSizer(1, 3, 0, 10);
220 // PS -> // object_4->Add(label_1_copy, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 0);
221 // PS -> // object_4->Add(edtWorkDir, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL, 0);
222 // PS -> // object_4->Add(button_4_copy, 0, wxALIGN_CENTER_VERTICAL, 0);
223 // PS -> object_4->Add(label_2_copy, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 0);
224 // PS -> object_4->Add(edtDICOMDir, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL, 0);
225 // PS -> object_4->Add(button_5_copy, 0, wxALIGN_CENTER_VERTICAL, 0);
226 // PS -> object_4->AddGrowableCol(1);
227 // PS -> object_3->Add(object_4, 1, wxALIGN_CENTER_VERTICAL, 0);
228 // PS -> object_2->Add(object_3, 1, wxEXPAND, 0);
229 // PS -> object_6->Add(chkMIP, 0, 0, 0);
230 // PS -> object_6->Add(chkSlices, 0, 0, 0);
231 // PS -> object_6->Add(chkDebugWindow, 0, 0, 0);
232 // PS -> object_6->Add(chkConsole, 0, 0, 0);
233 // PS -> // object_6->Add(label_29, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 0);
234 // PS -> // object_6->Add(btn3DBackColor, 0, wxEXPAND, 0);
235 // PS -> object_6->AddGrowableRow(4);
236 // PS -> object_6->AddGrowableCol(0);
237 // PS -> object_5->Add(object_6, 1, wxEXPAND, 0);
238 // PS -> object_2->Add(object_5, 1, wxEXPAND, 0);
239 // PS -> notebookParameterGeneral->SetAutoLayout(true);
240 // PS -> notebookParameterGeneral->SetSizer(object_2);
241 // PS -> object_2->Fit(notebookParameterGeneral);
242 // PS -> object_2->SetSizeHints(notebookParameterGeneral);
243 // PS -> // object_9->Add(radIsoContours, 0, 0, 0);
244 // PS -> // object_9->Add(radDeriche, 0, 0, 0);
245 object_12->Add(label_7_copy, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 0);
246 object_12->Add(edtThresholdIsoContours, 0,wxEXPAND|wxALIGN_CENTER_VERTICAL , 0);
247 object_12->AddGrowableCol(1);
248 // PS -> // object_11->Add(object_12, 1, wxALIGN_CENTER_VERTICAL, 0);
249 // PS -> // object_10->Add(object_11, 1, wxEXPAND, 0); //PS
250 object_10->Add(object_12, 1, wxALIGN_CENTER_VERTICAL, 0);
251 // PS -> // object_10->Add(radSnake, 0, 0, 0);
252 // PS -> // object_14->Add(label_8_copy, 0, wxALIGN_RIGHT, 0);
253 // PS -> // object_14->Add(edtThresholdSnake, 0, wxEXPAND, 0);
254 // PS -> // object_14->Add(label_9_copy, 0, wxALIGN_RIGHT, 0);
255 // PS -> // object_14->Add(edtIterationsSnake, 0, 0, 0);
256 // PS -> // object_14->Add(label_10_copy, 0, wxALIGN_RIGHT, 0);
257 // PS -> // object_14->Add(edtExternCoefSnake, 0, 0, 0);
258 // PS -> // object_13->Add(object_14, 1, wxALIGN_CENTER_VERTICAL, 0);
259 // PS -> // object_10->Add(object_13, 1, wxEXPAND, 0);
260 object_9->Add(object_10, 1, wxEXPAND, 0);
261 // PS -> // object_16->Add(label_3_copy, 0, wxALIGN_RIGHT, 0);
262 // PS -> // object_16->Add(edtIterationsDeriche, 0, 0, 0);
263 // PS -> // object_16->Add(label_4_copy, 0, wxALIGN_RIGHT, 0);
264 // PS -> // object_16->Add(edtBallonCoefDeriche, 0, 0, 0);
265 // PS -> // object_16->Add(label_5_copy, 0, wxALIGN_RIGHT, 0);
266 // PS -> // object_16->Add(edtGradientCoefDeriche, 0, 0, 0);
267 // PS -> // object_16->Add(label_6_copy, 0, wxALIGN_RIGHT, 0);
268 // PS -> // object_16->Add(edtSigmaDeriche, 0, 0, 0);
269 // PS -> // object_15->Add(object_16, 1, wxEXPAND, 0);
270 // PS -> // object_9->Add(object_15, 1, wxEXPAND, 0);
271 object_9->AddGrowableRow(1);
272 object_9->AddGrowableCol(1);
273 object_8->Add(object_9, 1, wxEXPAND, 0);
274 // PS -> // object_7->Add(object_8, 2, wxEXPAND, 0);
275 object_7->Add(object_8, 1, wxEXPAND, 0);
276 // PS -> // object_19->Add(label_11, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL, 0);
277 // PS -> // object_19->Add(edtScale, 0, wxALIGN_CENTER_VERTICAL, 0);
278 // PS -> // object_19->Add(label_12, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL, 0);
279 // PS -> // object_19->Add(edtSample, 0, wxALIGN_CENTER_VERTICAL, 0);
280 // PS -> // object_19->AddGrowableCol(1);
281 // PS -> // object_18->Add(object_19, 1, wxALIGN_CENTER_VERTICAL, 0);
282 // PS -> // object_17->Add(object_18, 1, wxEXPAND, 0);
283 //EED object_20->Add(chkIsoContoursVis, 0, wxALIGN_CENTER_VERTICAL, 0);
284 //EED object_20->Add(chkDiametersVis , 0, wxALIGN_CENTER_VERTICAL, 0);
285 //EED object_20->Add(chkInvertSliceOrder , 0, wxALIGN_CENTER_VERTICAL, 0);
286 // PS -> // object_20->Add(chkFillContours, 0, wxALIGN_CENTER_VERTICAL, 0);
287 //EED object_17->Add(object_20, 1, wxEXPAND|wxALIGN_CENTER_VERTICAL, 0);
288 object_7->Add(object_17, 1, wxEXPAND, 0);
289 notebookParameterContour->SetAutoLayout(true);
290 notebookParameterContour->SetSizer(object_7);
291 object_7->Fit(notebookParameterContour);
292 object_7->SetSizeHints(notebookParameterContour);
293 // PS -> // object_25->Add(label_13, 0, wxALIGN_RIGHT, 0);
294 // PS -> // object_25->Add(edtDistanceCdg, 0, wxEXPAND, 0);
295 object_25->Add(label_14, 0, wxALIGN_RIGHT, 0);
296 object_25->Add(edtFlexionCoef, 0, wxEXPAND, 0);
297 object_25->Add(label_15, 0, wxALIGN_RIGHT, 0);
298 object_25->Add(edtTensionCoef, 0, wxEXPAND, 0);
299 object_25->Add(label_16, 0, wxALIGN_RIGHT, 0);
300 object_25->Add(edtMaskSize, 0, wxEXPAND, 0);
301 object_25->Add(label_17, 0, wxALIGN_RIGHT, 0);
302 object_25->Add(edtDiscreetStep, 0, wxEXPAND, 0);
303 object_25->AddGrowableRow(4);
304 object_25->AddGrowableCol(1);
305 object_24->Add(object_25, 1, wxALIGN_CENTER_VERTICAL, 0);
306 object_23->Add(object_24, 1, wxEXPAND, 0);
307 // PS -> // object_29->Add(label_18, 0, wxALIGN_RIGHT, 0);
308 // PS -> // object_29->Add(edtVoxelX, 0, wxEXPAND, 0);
309 // PS -> // object_29->Add(label_19, 0, wxALIGN_RIGHT, 0);
310 // PS -> // object_29->Add(edtVoxelY, 0, wxEXPAND, 0);
311 // PS -> // object_29->Add(label_20, 0, wxALIGN_RIGHT, 0);
312 // PS -> // object_29->Add(edtVoxelZ, 0, wxEXPAND, 0);
313 // PS -> // object_29->AddGrowableCol(1);
314 // PS -> // object_28->Add(object_29, 1, 0, 0);
315 // PS -> // object_27->Add(object_28, 1, wxEXPAND, 0);
316 // PS -> // object_30->Add(label_21, 0, 0, 0);
317 // PS -> // object_30->Add(btnAxisColor, 0, wxEXPAND|wxALIGN_CENTER_HORIZONTAL, 0);
318 // PS -> // object_27->Add(object_30, 1, 0, 0);
319 // PS -> // object_26->Add(object_27, 1, wxEXPAND, 0);
320 // PS -> // object_32->Add(radMinimum, 0, 0, 0);
321 // PS -> // object_32->Add(chkShowCell, 0, 0, 0);
322 // PS -> // object_32->Add(radNormal, 0, 0, 0);
323 // PS -> // object_32->Add(chkShowIntCell, 0, 0, 0);
324 // PS -> // object_31->Add(object_32, 1, wxALIGN_CENTER_VERTICAL, 0);
325 // PS -> // object_26->Add(object_31, 1, wxEXPAND, 0);
326 // PS -> // object_23->Add(object_26, 1, wxEXPAND, 0);
327 // PS -> object_22->Add(object_23, 1, wxEXPAND, 0);
328 // PS -> object_21->Add(object_22, 1, wxEXPAND, 0);
329 object_21->Add(object_23, 1, wxEXPAND, 0);
330 // PS -> object_34->Add(label_22, 0, wxALIGN_RIGHT, 0);
331 // PS -> object_34->Add(edtDistanceInt, 0, 0, 0);
332 // PS -> object_34->Add(label_26, 0, wxALIGN_RIGHT, 0);
333 // PS -> object_34->Add(edtStepCoef, 0, 0, 0);
334 // PS -> object_34->Add(label_28, 0, wxALIGN_RIGHT, 0);
335 // PS -> object_34->Add(edtStep, 0, 0, 0);
336 // PS -> object_34->Add(label_23, 0, wxALIGN_RIGHT, 0);
337 // PS -> object_34->Add(edtCellMaxIntCoef, 0, 0, 0);
338 // PS -> object_34->Add(label_25, 0, wxALIGN_RIGHT, 0);
339 // PS -> object_34->Add(edtMassPower, 0, 0, 0);
340 // PS -> object_34->Add(panel_3, 1, wxEXPAND, 0);
341 // PS -> object_34->Add(panel_4, 1, wxEXPAND, 0);
342 // PS -> object_34->Add(label_24, 0, wxALIGN_RIGHT, 0);
343 // PS -> object_34->Add(edtCellCoef, 0, 0, 0);
344 // PS -> object_34->Add(label_27, 0, wxALIGN_RIGHT, 0);
345 // PS -> object_34->Add(edtROIDimension, 0, 0, 0);
346 // PS -> object_34->Add(panel_5, 1, wxEXPAND, 0);
347 // PS -> object_34->Add(panel_6, 1, wxEXPAND, 0);
348 // PS -> object_33->Add(object_34, 1, wxALIGN_CENTER_VERTICAL, 0);
349 // PS -> object_21->Add(object_33, 1, wxEXPAND, 0);
350 notebookParameterAxis->SetAutoLayout(true);
351 notebookParameterAxis->SetSizer(object_21);
352 object_21->Fit(notebookParameterAxis);
353 object_21->SetSizeHints(notebookParameterAxis);
356 object_37->Add(chkArea, 0, 0, 0);
357 object_37->Add(chkPerimeter, 0, 0, 0);
358 object_37->Add(chkDiameterFromArea, 0, 0, 0);
359 object_37->Add(chkDiameterFromPerimeter, 0, 0, 0);
360 object_37->Add(chkMinimumDiameter, 0, 0, 0);
361 object_37->Add(chkMaximumDiameter, 0, 0, 0);
362 object_37->Add(chkAverageDiameter, 0, 0, 0);
363 object_37->AddGrowableRow(6);
364 object_36->Add(object_37, 1, wxEXPAND|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 0);
365 object_35->Add(object_36, 1, wxEXPAND, 0);
366 object_39->Add(radArea, 0, 0, 0);
367 object_39->Add(radPerimeter, 0, 0, 0);
368 object_39->Add(radDiameterFromArea, 0, 0, 0);
369 object_39->Add(radDiameterFromPerimeter, 0, 0, 0);
370 object_39->Add(radMinimumDiameter, 0, 0, 0);
371 object_39->Add(radMaximumDiameter, 0, 0, 0);
372 object_39->Add(radAverageDiameter, 0, 0, 0);
373 object_39->AddGrowableRow(6);
374 object_38->Add(object_39, 1, wxEXPAND, 0);
375 object_35->Add(object_38, 1, wxEXPAND, 0);
376 notebookParameterQuant->SetAutoLayout(true);
377 notebookParameterQuant->SetSizer(object_35);
378 object_35->Fit(notebookParameterQuant);
379 object_35->SetSizeHints(notebookParameterQuant);
382 // PS -> notebookParameter->AddPage(notebookParameterGeneral, wxT("General Parameters"));
383 notebookParameter->AddPage(notebookParameterAxis, wxString( marDict.GetString(740) , wxConvUTF8));//"Axis Parameters"
384 notebookParameter->AddPage(notebookParameterContour, wxString( marDict.GetString(735), wxConvUTF8 ));//"Contour Parameters"
387 // notebookParameter->AddPage(notebookParameterQuant, wxT("Quantification Parameters"));
390 // object_1->Add(new wxNotebookSizer(notebookParameter), 1, wxALL|wxEXPAND, 0);
391 object_1->Add( notebookParameter , 1, wxALL|wxEXPAND, 0);
393 object_40->Add(buttonOK, 1, 0, 0);
394 object_40->Add(buttonCancel, 1, 0, 0);
395 object_40->Add(buttonDefault, 1, 0, 0);
396 object_40->Add(buttonReset, 1, 0, 0);
397 object_40->Add(buttonApply, 1, 0, 0);
398 object_1->Add(object_40, 0, wxALL|wxEXPAND, 0);