1 // -*- C++ -*- generated by wxGlade 0.3pre1 on Thu Jul 17 15:06:51 2003
3 #include "wxParametersDialog.h"
4 #include "../marDictionary.h"
6 wxParametersDialog::wxParametersDialog(wxWindow* parent, int id, const wxString& title, const wxPoint& pos, const wxSize& size, long style):
7 wxDialog(parent, id, title, pos, size, wxCAPTION|wxDIALOG_NO_PARENT){
11 // begin wxGlade: wxParametersDialog::wxParametersDialog
12 notebookParameter = new wxNotebook(this, -1, wxDefaultPosition, wxDefaultSize, 0);
13 notebookParameterContour = new wxPanel(notebookParameter, -1);
14 notebookParameterAxis = new wxPanel(notebookParameter, -1);
17 // notebookParameterQuant = new wxPanel(notebookParameter, -1);
19 // PS -> notebookParameterGeneral = new wxPanel(notebookParameter, -1);
20 // PS -> // label_1_copy = new wxStaticText(notebookParameterGeneral, -1, wxT("Work directory:"));
21 // PS -> // edtWorkDir = new wxTextCtrl(notebookParameterGeneral, -1, wxT(""));
22 // PS -> // button_4_copy = new wxButton(notebookParameterGeneral, ID_BTN_BROWSE_WORK_DIR, wxT("Browse..."));
23 // PS -> label_2_copy = new wxStaticText(notebookParameterGeneral, -1, wxT("DICOM directory:"));
24 // PS -> edtDICOMDir = new wxTextCtrl(notebookParameterGeneral, -1, wxT(""));
25 // PS -> button_5_copy = new wxButton(notebookParameterGeneral, ID_BTN_BROWSE_DICOM_DIR, wxT("Browse..."));
26 // PS -> chkMIP = new wxCheckBox(notebookParameterGeneral, -1, wxT("Calculate MIP by default?"));
27 // PS -> chkSlices = new wxCheckBox(notebookParameterGeneral, -1, wxT("Select all slices by default?"));
28 // PS -> chkDebugWindow = new wxCheckBox(notebookParameterGeneral, -1, wxT("Debug window visible?"));
29 // PS -> chkConsole = new wxCheckBox(notebookParameterGeneral, -1, wxT("Console window visible?"));
30 // PS -> // label_29 = new wxStaticText(notebookParameterGeneral, -1, wxT("3D background color:"));
31 // PS -> // btn3DBackColor = new wxButton(notebookParameterGeneral, ID_BTN_3D_BACK_COLOR, wxT(""));
32 // PS -> // radIsoContours = new wxRadioButton(notebookParameterContour, -1, wxT("IsoContours"));
33 // PS -> // radDeriche = new wxRadioButton(notebookParameterContour, -1, wxT("Snake + Deriche"));
34 label_7_copy = new wxStaticText(notebookParameterContour, -1, wxString( marDict.GetString(515) , wxConvUTF8));//" % Threshold :"
35 edtThresholdIsoContours = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
36 // PS -> // radSnake = new wxRadioButton(notebookParameterContour, -1, wxT("Snake + IsoContours"));
37 // PS -> // label_8_copy = new wxStaticText(notebookParameterContour, -1, wxT("Threshold:"));
38 // PS -> // edtThresholdSnake = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
39 // PS -> // label_9_copy = new wxStaticText(notebookParameterContour, -1, wxT("Iterations No:"));
40 // PS -> // edtIterationsSnake = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
41 // PS -> // label_10_copy = new wxStaticText(notebookParameterContour, -1, wxT("Extern coefficient:"));
42 // PS -> // edtExternCoefSnake = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
43 // PS -> // label_3_copy = new wxStaticText(notebookParameterContour, -1, wxT("Iterations No:"));
44 // PS -> // edtIterationsDeriche = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
45 // PS -> // label_4_copy = new wxStaticText(notebookParameterContour, -1, wxT("Ballon coefficient:"));
46 // PS -> // edtBallonCoefDeriche = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
47 // PS -> // label_5_copy = new wxStaticText(notebookParameterContour, -1, wxT("Gradient coefficient:"));
48 // PS -> // edtGradientCoefDeriche = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
49 // PS -> // label_6_copy = new wxStaticText(notebookParameterContour, -1, wxT("Sigma:"));
50 // PS -> // edtSigmaDeriche = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
51 // PS -> // label_11 = new wxStaticText(notebookParameterContour, -1, wxT("Scale:"));
52 // PS -> // edtScale = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
53 // PS -> // label_12 = new wxStaticText(notebookParameterContour, -1, wxT("Sample:"));
54 // PS -> // edtSample = new wxTextCtrl(notebookParameterContour, -1, wxT(""));
55 //EED chkIsoContoursVis = new wxCheckBox(notebookParameterContour, -1, wxT("Visible \"IsoContours\""));
56 //EED chkDiametersVis = new wxCheckBox(notebookParameterContour, -1, wxT(marDict.GetString(655)));//"Visible diameters?"
57 //EED chkInvertSliceOrder = new wxCheckBox(notebookParameterContour, -1, wxT(marDict.GetString(745)));//"Invert slice order"
58 // PS -> // chkFillContours = new wxCheckBox(notebookParameterContour, -1, wxT("Fill contours?"));
59 // PS -> // label_13 = new wxStaticText(notebookParameterAxis, -1, wxT("Distance cdg:"));
60 // PS -> // edtDistanceCdg = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
61 label_14 = new wxStaticText(notebookParameterAxis, -1, wxString( marDict.GetString(660), wxConvUTF8 ));//"Flexion coefficient:"
62 edtFlexionCoef = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
63 label_15 = new wxStaticText(notebookParameterAxis, -1, wxString( marDict.GetString(665), wxConvUTF8 ));//"Tension coefficient:"
64 edtTensionCoef = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
65 label_16 = new wxStaticText(notebookParameterAxis, -1, wxString( marDict.GetString(670), wxConvUTF8 ));//"Mask size (2*n+1). n:"
66 edtMaskSize = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
67 label_17 = new wxStaticText(notebookParameterAxis, -1, wxString( marDict.GetString(675), wxConvUTF8 ));//"Discret step for axis (1/N):"
68 edtDiscreetStep = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
69 // PS -> // label_18 = new wxStaticText(notebookParameterAxis, -1, wxT("X"));
70 // PS -> // edtVoxelX = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
71 // PS -> // label_19 = new wxStaticText(notebookParameterAxis, -1, wxT("Y"));
72 // PS -> // edtVoxelY = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
73 // PS -> // label_20 = new wxStaticText(notebookParameterAxis, -1, wxT("Z"));
74 // PS -> // edtVoxelZ = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
75 // PS -> // label_21 = new wxStaticText(notebookParameterAxis, -1, wxT("Axis color"));
76 // PS -> // btnAxisColor = new wxButton(notebookParameterAxis, ID_BTN_AXIS_COLOR, wxT(""));
77 // PS -> // radMinimum = new wxRadioButton(notebookParameterAxis, -1, wxT("Minimum voxel"));
78 // PS -> // chkShowCell = new wxCheckBox(notebookParameterAxis, -1, wxT("Show cell?"));
79 // PS -> // radNormal = new wxRadioButton(notebookParameterAxis, -1, wxT("Normal voxel"));
80 // PS -> // chkShowIntCell = new wxCheckBox(notebookParameterAxis, -1, wxT("Show intensity cell?"));
81 // PS -> label_22 = new wxStaticText(notebookParameterAxis, -1, wxT("Distance int:"));
82 // PS -> edtDistanceInt = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
83 // PS -> label_26 = new wxStaticText(notebookParameterAxis, -1, wxT("Step coefficient (1/N):"));
84 // PS -> edtStepCoef = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
85 // PS -> label_28 = new wxStaticText(notebookParameterAxis, -1, wxT("Step:"));
86 // PS -> edtStep = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
87 // PS -> label_23 = new wxStaticText(notebookParameterAxis, -1, wxT("Cell max. int. \ncoef (1/N):"));
88 // PS -> edtCellMaxIntCoef = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
89 // PS -> label_25 = new wxStaticText(notebookParameterAxis, -1, wxT("Mass power:"));
90 // PS -> edtMassPower = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
91 // PS -> panel_3 = new wxPanel(notebookParameterAxis, -1);
92 // PS -> panel_4 = new wxPanel(notebookParameterAxis, -1);
93 // PS -> label_24 = new wxStaticText(notebookParameterAxis, -1, wxT("Cell coefficient:"));
94 // PS -> edtCellCoef = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
95 // PS -> label_27 = new wxStaticText(notebookParameterAxis, -1, wxT("ROI dimension:"));
96 // PS -> edtROIDimension = new wxTextCtrl(notebookParameterAxis, -1, wxT(""));
97 // PS -> panel_5 = new wxPanel(notebookParameterAxis, -1);
98 // PS -> panel_6 = new wxPanel(notebookParameterAxis, -1);
101 chkArea = new wxCheckBox(notebookParameterQuant, -1, wxT("Area"));
102 chkPerimeter = new wxCheckBox(notebookParameterQuant, -1, wxT("Perimeter"));
103 chkDiameterFromArea = new wxCheckBox(notebookParameterQuant, -1, wxT("Diameter from area"));
104 chkDiameterFromPerimeter = new wxCheckBox(notebookParameterQuant, -1, wxT("Diameter from perimeter"));
105 chkMinimumDiameter = new wxCheckBox(notebookParameterQuant, -1, wxT("Minimum diameter"));
106 chkMaximumDiameter = new wxCheckBox(notebookParameterQuant, -1, wxT("Maximum diameter"));
107 chkAverageDiameter = new wxCheckBox(notebookParameterQuant, -1, wxT("Average diameter"));
108 radArea = new wxRadioButton(notebookParameterQuant, -1, wxT("Area"));
109 radPerimeter = new wxRadioButton(notebookParameterQuant, -1, wxT("Perimeter"));
110 radDiameterFromArea = new wxRadioButton(notebookParameterQuant, -1, wxT("Diameter from area"));
111 radDiameterFromPerimeter = new wxRadioButton(notebookParameterQuant, -1, wxT("Diameter from perimeter"));
112 radMinimumDiameter = new wxRadioButton(notebookParameterQuant, -1, wxT("Minimum diameter"));
113 radMaximumDiameter = new wxRadioButton(notebookParameterQuant, -1, wxT("Maximum diameter"));
114 radAverageDiameter = new wxRadioButton(notebookParameterQuant, -1, wxT("Average diameter"));
117 buttonOK = new wxButton(this, wxID_OK, wxString( marDict.GetString(680), wxConvUTF8 ));//"OK"
118 buttonCancel = new wxButton(this, wxID_CANCEL, wxString( marDict.GetString(685), wxConvUTF8 ));//"Cancel"
119 buttonReset = new wxButton(this, ID_BTN_RESET, wxString( marDict.GetString(690), wxConvUTF8 ));//"Reset"
120 buttonApply = new wxButton(this, ID_BTN_APPLY, wxString( marDict.GetString(695), wxConvUTF8 ));//"Apply"
121 buttonDefault= new wxButton(this, ID_BTN_DEFAULT, wxString( marDict.GetString(700), wxConvUTF8 ));//"Default"
129 void wxParametersDialog::set_properties(){
130 marDictionary marDict;
131 // begin wxGlade: wxParametersDialog::set_properties
132 SetTitle(wxString(marDict.GetString(710), wxConvUTF8)); //"MARACAS Parameters..."
133 // PS -> // SetSize(wxSize(530, 500));
134 SetSize(wxSize(400, 250));
135 // PS -> // btn3DBackColor->SetSize(wxSize(511, 42));
136 // PS -> chkIsoContoursVis->SetSize(wxSize(145, 44));
137 // PS -> chkDiametersVis->SetSize(wxSize(129, 44));
138 // PS -> // chkFillContours->SetSize(wxSize(103, 44));
143 void wxParametersDialog::do_layout(){
144 marDictionary marDict;
145 // begin wxGlade: wxParametersDialog::do_layout
146 wxBoxSizer* object_1 = new wxBoxSizer(wxVERTICAL);
147 wxBoxSizer* object_40 = new wxBoxSizer(wxHORIZONTAL);
148 wxBoxSizer* object_35 = new wxBoxSizer(wxHORIZONTAL);
150 // wxStaticBoxSizer* object_38 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterQuant, -1, wxT("Stenosis type")), wxHORIZONTAL);
152 wxFlexGridSizer* object_39 = new wxFlexGridSizer(7, 1, 0, 0);
155 // wxStaticBoxSizer* object_36 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterQuant, -1, wxT("Data types")), wxHORIZONTAL);
157 wxFlexGridSizer* object_37 = new wxFlexGridSizer(7, 1, 0, 0);
158 wxBoxSizer* object_21 = new wxBoxSizer(wxVERTICAL);
159 // PS -> wxStaticBoxSizer* object_33 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterAxis, -1, wxT("Other info")), wxHORIZONTAL);
160 // PS -> wxFlexGridSizer* object_34 = new wxFlexGridSizer(3, 6, 20, 10);
161 // PS -> wxStaticBoxSizer* object_22 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterAxis, -1, wxT("Static")), wxHORIZONTAL);
162 wxBoxSizer* object_23 = new wxBoxSizer(wxHORIZONTAL);
163 // PS -> // wxBoxSizer* object_26 = new wxBoxSizer(wxVERTICAL);
164 // PS -> // wxStaticBoxSizer* object_31 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterAxis, -1, wxT("Choose...")), wxHORIZONTAL);
165 // PS -> // wxFlexGridSizer* object_32 = new wxFlexGridSizer(2, 2, 10, 0);
166 // PS -> // wxBoxSizer* object_27 = new wxBoxSizer(wxHORIZONTAL);
167 // PS -> // wxBoxSizer* object_30 = new wxBoxSizer(wxVERTICAL);
168 // PS -> // wxStaticBoxSizer* object_28 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterAxis, -1, wxT("Voxel size")), wxHORIZONTAL);
169 // PS -> // wxFlexGridSizer* object_29 = new wxFlexGridSizer(3, 2, 0, 10);
170 wxStaticBoxSizer* object_24 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterAxis, -1, wxString(marDict.GetString(720), wxConvUTF8)), wxHORIZONTAL);//"Extraction parameters"
171 // PS -> // wxFlexGridSizer* object_25 = new wxFlexGridSizer(5, 2, 10, 10);//PS
172 wxFlexGridSizer* object_25 = new wxFlexGridSizer(4, 2, 10, 10);
173 wxBoxSizer* object_7 = new wxBoxSizer(wxVERTICAL);
174 wxBoxSizer* object_17 = new wxBoxSizer(wxHORIZONTAL);
175 //EED wxStaticBoxSizer* object_20 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterContour, -1, wxT(marDict.GetString(725))), wxVERTICAL);//"Debug"
176 // PS -> // wxStaticBoxSizer* object_18 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterContour, -1, wxT("Slice")), wxHORIZONTAL);
177 // PS -> // wxFlexGridSizer* object_19 = new wxFlexGridSizer(2, 2, 10, 10);
178 wxStaticBoxSizer* object_8 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterContour, -1, wxString(marDict.GetString(730), wxConvUTF8)), wxHORIZONTAL);//"Contour calculation algorithm"
179 // PS -> // wxFlexGridSizer* object_9 = new wxFlexGridSizer(2, 2, 0, 0); //PS
180 wxFlexGridSizer* object_9 = new wxFlexGridSizer(1, 1, 0, 0);
181 // PS -> // wxStaticBoxSizer* object_15 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterContour, -1, wxT("")), wxHORIZONTAL);
182 // PS -> // wxGridSizer* object_16 = new wxGridSizer(4, 2, 0, 0);
183 wxBoxSizer* object_10 = new wxBoxSizer(wxVERTICAL);
184 // PS -> // wxStaticBoxSizer* object_13 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterContour, -1, wxT("")), wxHORIZONTAL);
185 // PS -> // wxFlexGridSizer* object_14 = new wxFlexGridSizer(3, 2, 0, 10);
186 // PS -> // wxStaticBoxSizer* object_11 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterContour, -1, wxT("")), wxHORIZONTAL);
187 wxFlexGridSizer* object_12 = new wxFlexGridSizer(1, 2, 0, 10);
188 // PS -> wxBoxSizer* object_2 = new wxBoxSizer(wxVERTICAL);
189 // PS -> wxStaticBoxSizer* object_5 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterGeneral, -1, wxT("User configuration")), wxHORIZONTAL);
190 // PS -> // wxFlexGridSizer* object_6 = new wxFlexGridSizer(6, 1, 0, 0); //PS
191 // PS -> wxFlexGridSizer* object_6 = new wxFlexGridSizer(5, 1, 0, 0);
192 // PS -> wxStaticBoxSizer* object_3 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterGeneral, -1, wxT("Data locations")), wxHORIZONTAL);
193 // PS -> // wxFlexGridSizer* object_4 = new wxFlexGridSizer(2, 3, 50, 0); //PS
194 // PS -> wxFlexGridSizer* object_4 = new wxFlexGridSizer(1, 3, 0, 10);
195 // PS -> // object_4->Add(label_1_copy, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 0);
196 // PS -> // object_4->Add(edtWorkDir, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL, 0);
197 // PS -> // object_4->Add(button_4_copy, 0, wxALIGN_CENTER_VERTICAL, 0);
198 // PS -> object_4->Add(label_2_copy, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 0);
199 // PS -> object_4->Add(edtDICOMDir, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL, 0);
200 // PS -> object_4->Add(button_5_copy, 0, wxALIGN_CENTER_VERTICAL, 0);
201 // PS -> object_4->AddGrowableCol(1);
202 // PS -> object_3->Add(object_4, 1, wxALIGN_CENTER_VERTICAL, 0);
203 // PS -> object_2->Add(object_3, 1, wxEXPAND, 0);
204 // PS -> object_6->Add(chkMIP, 0, 0, 0);
205 // PS -> object_6->Add(chkSlices, 0, 0, 0);
206 // PS -> object_6->Add(chkDebugWindow, 0, 0, 0);
207 // PS -> object_6->Add(chkConsole, 0, 0, 0);
208 // PS -> // object_6->Add(label_29, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 0);
209 // PS -> // object_6->Add(btn3DBackColor, 0, wxEXPAND, 0);
210 // PS -> object_6->AddGrowableRow(4);
211 // PS -> object_6->AddGrowableCol(0);
212 // PS -> object_5->Add(object_6, 1, wxEXPAND, 0);
213 // PS -> object_2->Add(object_5, 1, wxEXPAND, 0);
214 // PS -> notebookParameterGeneral->SetAutoLayout(true);
215 // PS -> notebookParameterGeneral->SetSizer(object_2);
216 // PS -> object_2->Fit(notebookParameterGeneral);
217 // PS -> object_2->SetSizeHints(notebookParameterGeneral);
218 // PS -> // object_9->Add(radIsoContours, 0, 0, 0);
219 // PS -> // object_9->Add(radDeriche, 0, 0, 0);
220 object_12->Add(label_7_copy, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 0);
221 object_12->Add(edtThresholdIsoContours, 0,wxEXPAND|wxALIGN_CENTER_VERTICAL , 0);
222 object_12->AddGrowableCol(1);
223 // PS -> // object_11->Add(object_12, 1, wxALIGN_CENTER_VERTICAL, 0);
224 // PS -> // object_10->Add(object_11, 1, wxEXPAND, 0); //PS
225 object_10->Add(object_12, 1, wxALIGN_CENTER_VERTICAL, 0);
226 // PS -> // object_10->Add(radSnake, 0, 0, 0);
227 // PS -> // object_14->Add(label_8_copy, 0, wxALIGN_RIGHT, 0);
228 // PS -> // object_14->Add(edtThresholdSnake, 0, wxEXPAND, 0);
229 // PS -> // object_14->Add(label_9_copy, 0, wxALIGN_RIGHT, 0);
230 // PS -> // object_14->Add(edtIterationsSnake, 0, 0, 0);
231 // PS -> // object_14->Add(label_10_copy, 0, wxALIGN_RIGHT, 0);
232 // PS -> // object_14->Add(edtExternCoefSnake, 0, 0, 0);
233 // PS -> // object_13->Add(object_14, 1, wxALIGN_CENTER_VERTICAL, 0);
234 // PS -> // object_10->Add(object_13, 1, wxEXPAND, 0);
235 object_9->Add(object_10, 1, wxEXPAND, 0);
236 // PS -> // object_16->Add(label_3_copy, 0, wxALIGN_RIGHT, 0);
237 // PS -> // object_16->Add(edtIterationsDeriche, 0, 0, 0);
238 // PS -> // object_16->Add(label_4_copy, 0, wxALIGN_RIGHT, 0);
239 // PS -> // object_16->Add(edtBallonCoefDeriche, 0, 0, 0);
240 // PS -> // object_16->Add(label_5_copy, 0, wxALIGN_RIGHT, 0);
241 // PS -> // object_16->Add(edtGradientCoefDeriche, 0, 0, 0);
242 // PS -> // object_16->Add(label_6_copy, 0, wxALIGN_RIGHT, 0);
243 // PS -> // object_16->Add(edtSigmaDeriche, 0, 0, 0);
244 // PS -> // object_15->Add(object_16, 1, wxEXPAND, 0);
245 // PS -> // object_9->Add(object_15, 1, wxEXPAND, 0);
246 object_9->AddGrowableRow(1);
247 object_9->AddGrowableCol(1);
248 object_8->Add(object_9, 1, wxEXPAND, 0);
249 // PS -> // object_7->Add(object_8, 2, wxEXPAND, 0);
250 object_7->Add(object_8, 1, wxEXPAND, 0);
251 // PS -> // object_19->Add(label_11, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL, 0);
252 // PS -> // object_19->Add(edtScale, 0, wxALIGN_CENTER_VERTICAL, 0);
253 // PS -> // object_19->Add(label_12, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL, 0);
254 // PS -> // object_19->Add(edtSample, 0, wxALIGN_CENTER_VERTICAL, 0);
255 // PS -> // object_19->AddGrowableCol(1);
256 // PS -> // object_18->Add(object_19, 1, wxALIGN_CENTER_VERTICAL, 0);
257 // PS -> // object_17->Add(object_18, 1, wxEXPAND, 0);
258 //EED object_20->Add(chkIsoContoursVis, 0, wxALIGN_CENTER_VERTICAL, 0);
259 //EED object_20->Add(chkDiametersVis , 0, wxALIGN_CENTER_VERTICAL, 0);
260 //EED object_20->Add(chkInvertSliceOrder , 0, wxALIGN_CENTER_VERTICAL, 0);
261 // PS -> // object_20->Add(chkFillContours, 0, wxALIGN_CENTER_VERTICAL, 0);
262 //EED object_17->Add(object_20, 1, wxEXPAND|wxALIGN_CENTER_VERTICAL, 0);
263 object_7->Add(object_17, 1, wxEXPAND, 0);
264 notebookParameterContour->SetAutoLayout(true);
265 notebookParameterContour->SetSizer(object_7);
266 object_7->Fit(notebookParameterContour);
267 object_7->SetSizeHints(notebookParameterContour);
268 // PS -> // object_25->Add(label_13, 0, wxALIGN_RIGHT, 0);
269 // PS -> // object_25->Add(edtDistanceCdg, 0, wxEXPAND, 0);
270 object_25->Add(label_14, 0, wxALIGN_RIGHT, 0);
271 object_25->Add(edtFlexionCoef, 0, wxEXPAND, 0);
272 object_25->Add(label_15, 0, wxALIGN_RIGHT, 0);
273 object_25->Add(edtTensionCoef, 0, wxEXPAND, 0);
274 object_25->Add(label_16, 0, wxALIGN_RIGHT, 0);
275 object_25->Add(edtMaskSize, 0, wxEXPAND, 0);
276 object_25->Add(label_17, 0, wxALIGN_RIGHT, 0);
277 object_25->Add(edtDiscreetStep, 0, wxEXPAND, 0);
278 object_25->AddGrowableRow(4);
279 object_25->AddGrowableCol(1);
280 object_24->Add(object_25, 1, wxALIGN_CENTER_VERTICAL, 0);
281 object_23->Add(object_24, 1, wxEXPAND, 0);
282 // PS -> // object_29->Add(label_18, 0, wxALIGN_RIGHT, 0);
283 // PS -> // object_29->Add(edtVoxelX, 0, wxEXPAND, 0);
284 // PS -> // object_29->Add(label_19, 0, wxALIGN_RIGHT, 0);
285 // PS -> // object_29->Add(edtVoxelY, 0, wxEXPAND, 0);
286 // PS -> // object_29->Add(label_20, 0, wxALIGN_RIGHT, 0);
287 // PS -> // object_29->Add(edtVoxelZ, 0, wxEXPAND, 0);
288 // PS -> // object_29->AddGrowableCol(1);
289 // PS -> // object_28->Add(object_29, 1, 0, 0);
290 // PS -> // object_27->Add(object_28, 1, wxEXPAND, 0);
291 // PS -> // object_30->Add(label_21, 0, 0, 0);
292 // PS -> // object_30->Add(btnAxisColor, 0, wxEXPAND|wxALIGN_CENTER_HORIZONTAL, 0);
293 // PS -> // object_27->Add(object_30, 1, 0, 0);
294 // PS -> // object_26->Add(object_27, 1, wxEXPAND, 0);
295 // PS -> // object_32->Add(radMinimum, 0, 0, 0);
296 // PS -> // object_32->Add(chkShowCell, 0, 0, 0);
297 // PS -> // object_32->Add(radNormal, 0, 0, 0);
298 // PS -> // object_32->Add(chkShowIntCell, 0, 0, 0);
299 // PS -> // object_31->Add(object_32, 1, wxALIGN_CENTER_VERTICAL, 0);
300 // PS -> // object_26->Add(object_31, 1, wxEXPAND, 0);
301 // PS -> // object_23->Add(object_26, 1, wxEXPAND, 0);
302 // PS -> object_22->Add(object_23, 1, wxEXPAND, 0);
303 // PS -> object_21->Add(object_22, 1, wxEXPAND, 0);
304 object_21->Add(object_23, 1, wxEXPAND, 0);
305 // PS -> object_34->Add(label_22, 0, wxALIGN_RIGHT, 0);
306 // PS -> object_34->Add(edtDistanceInt, 0, 0, 0);
307 // PS -> object_34->Add(label_26, 0, wxALIGN_RIGHT, 0);
308 // PS -> object_34->Add(edtStepCoef, 0, 0, 0);
309 // PS -> object_34->Add(label_28, 0, wxALIGN_RIGHT, 0);
310 // PS -> object_34->Add(edtStep, 0, 0, 0);
311 // PS -> object_34->Add(label_23, 0, wxALIGN_RIGHT, 0);
312 // PS -> object_34->Add(edtCellMaxIntCoef, 0, 0, 0);
313 // PS -> object_34->Add(label_25, 0, wxALIGN_RIGHT, 0);
314 // PS -> object_34->Add(edtMassPower, 0, 0, 0);
315 // PS -> object_34->Add(panel_3, 1, wxEXPAND, 0);
316 // PS -> object_34->Add(panel_4, 1, wxEXPAND, 0);
317 // PS -> object_34->Add(label_24, 0, wxALIGN_RIGHT, 0);
318 // PS -> object_34->Add(edtCellCoef, 0, 0, 0);
319 // PS -> object_34->Add(label_27, 0, wxALIGN_RIGHT, 0);
320 // PS -> object_34->Add(edtROIDimension, 0, 0, 0);
321 // PS -> object_34->Add(panel_5, 1, wxEXPAND, 0);
322 // PS -> object_34->Add(panel_6, 1, wxEXPAND, 0);
323 // PS -> object_33->Add(object_34, 1, wxALIGN_CENTER_VERTICAL, 0);
324 // PS -> object_21->Add(object_33, 1, wxEXPAND, 0);
325 notebookParameterAxis->SetAutoLayout(true);
326 notebookParameterAxis->SetSizer(object_21);
327 object_21->Fit(notebookParameterAxis);
328 object_21->SetSizeHints(notebookParameterAxis);
331 object_37->Add(chkArea, 0, 0, 0);
332 object_37->Add(chkPerimeter, 0, 0, 0);
333 object_37->Add(chkDiameterFromArea, 0, 0, 0);
334 object_37->Add(chkDiameterFromPerimeter, 0, 0, 0);
335 object_37->Add(chkMinimumDiameter, 0, 0, 0);
336 object_37->Add(chkMaximumDiameter, 0, 0, 0);
337 object_37->Add(chkAverageDiameter, 0, 0, 0);
338 object_37->AddGrowableRow(6);
339 object_36->Add(object_37, 1, wxEXPAND|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 0);
340 object_35->Add(object_36, 1, wxEXPAND, 0);
341 object_39->Add(radArea, 0, 0, 0);
342 object_39->Add(radPerimeter, 0, 0, 0);
343 object_39->Add(radDiameterFromArea, 0, 0, 0);
344 object_39->Add(radDiameterFromPerimeter, 0, 0, 0);
345 object_39->Add(radMinimumDiameter, 0, 0, 0);
346 object_39->Add(radMaximumDiameter, 0, 0, 0);
347 object_39->Add(radAverageDiameter, 0, 0, 0);
348 object_39->AddGrowableRow(6);
349 object_38->Add(object_39, 1, wxEXPAND, 0);
350 object_35->Add(object_38, 1, wxEXPAND, 0);
351 notebookParameterQuant->SetAutoLayout(true);
352 notebookParameterQuant->SetSizer(object_35);
353 object_35->Fit(notebookParameterQuant);
354 object_35->SetSizeHints(notebookParameterQuant);
357 // PS -> notebookParameter->AddPage(notebookParameterGeneral, wxT("General Parameters"));
358 notebookParameter->AddPage(notebookParameterAxis, wxString( marDict.GetString(740) , wxConvUTF8));//"Axis Parameters"
359 notebookParameter->AddPage(notebookParameterContour, wxString( marDict.GetString(735), wxConvUTF8 ));//"Contour Parameters"
362 // notebookParameter->AddPage(notebookParameterQuant, wxT("Quantification Parameters"));
365 // object_1->Add(new wxNotebookSizer(notebookParameter), 1, wxALL|wxEXPAND, 0);
366 object_1->Add( notebookParameter , 1, wxALL|wxEXPAND, 0);
368 object_40->Add(buttonOK, 1, 0, 0);
369 object_40->Add(buttonCancel, 1, 0, 0);
370 object_40->Add(buttonDefault, 1, 0, 0);
371 object_40->Add(buttonReset, 1, 0, 0);
372 object_40->Add(buttonApply, 1, 0, 0);
373 object_1->Add(object_40, 0, wxALL|wxEXPAND, 0);