/*# --------------------------------------------------------------------- # # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image # pour la Sant�) # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton # Previous Authors : Laurent Guigues, Jean-Pierre Roux # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil # # This software is governed by the CeCILL-B license under French law and # abiding by the rules of distribution of free software. You can use, # modify and/ or redistribute the software under the terms of the CeCILL-B # license as circulated by CEA, CNRS and INRIA at the following URL # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html # or in the file LICENSE.txt. # # As a counterpart to the access to the source code and rights to copy, # modify and redistribute granted by the license, users are provided only # with a limited warranty and the software's author, the holder of the # economic rights, and the successive licensors have only limited # liability. # # The fact that you are presently reading this means that you have had # knowledge of the CeCILL-B license and that you accept its terms. # ------------------------------------------------------------------------ */ // -*- C++ -*- generated by wxGlade 0.3pre1 on Thu Jul 17 15:06:51 2003 #include "wxParametersDialog.h" #include "../marDictionary.h" wxParametersDialog::wxParametersDialog(wxWindow* parent, int id, const wxString& title, const wxPoint& pos, const wxSize& size, long style): wxDialog(parent, id, title, pos, size, wxCAPTION|wxDIALOG_NO_PARENT){ marDictionary marDict; // begin wxGlade: wxParametersDialog::wxParametersDialog notebookParameter = new wxNotebook(this, -1, wxDefaultPosition, wxDefaultSize, 0); notebookParameterContour = new wxPanel(notebookParameter, -1); notebookParameterAxis = new wxPanel(notebookParameter, -1); // borrame EED // notebookParameterQuant = new wxPanel(notebookParameter, -1); // PS -> notebookParameterGeneral = new wxPanel(notebookParameter, -1); // PS -> // label_1_copy = new wxStaticText(notebookParameterGeneral, -1, wxT("Work directory:")); // PS -> // edtWorkDir = new wxTextCtrl(notebookParameterGeneral, -1, wxT("")); // PS -> // button_4_copy = new wxButton(notebookParameterGeneral, ID_BTN_BROWSE_WORK_DIR, wxT("Browse...")); // PS -> label_2_copy = new wxStaticText(notebookParameterGeneral, -1, wxT("DICOM directory:")); // PS -> edtDICOMDir = new wxTextCtrl(notebookParameterGeneral, -1, wxT("")); // PS -> button_5_copy = new wxButton(notebookParameterGeneral, ID_BTN_BROWSE_DICOM_DIR, wxT("Browse...")); // PS -> chkMIP = new wxCheckBox(notebookParameterGeneral, -1, wxT("Calculate MIP by default?")); // PS -> chkSlices = new wxCheckBox(notebookParameterGeneral, -1, wxT("Select all slices by default?")); // PS -> chkDebugWindow = new wxCheckBox(notebookParameterGeneral, -1, wxT("Debug window visible?")); // PS -> chkConsole = new wxCheckBox(notebookParameterGeneral, -1, wxT("Console window visible?")); // PS -> // label_29 = new wxStaticText(notebookParameterGeneral, -1, wxT("3D background color:")); // PS -> // btn3DBackColor = new wxButton(notebookParameterGeneral, ID_BTN_3D_BACK_COLOR, wxT("")); // PS -> // radIsoContours = new wxRadioButton(notebookParameterContour, -1, wxT("IsoContours")); // PS -> // radDeriche = new wxRadioButton(notebookParameterContour, -1, wxT("Snake + Deriche")); label_7_copy = new wxStaticText(notebookParameterContour, -1, wxString( marDict.GetString(515) , wxConvUTF8));//" % Threshold :" edtThresholdIsoContours = new wxTextCtrl(notebookParameterContour, -1, wxT("")); // PS -> // radSnake = new wxRadioButton(notebookParameterContour, -1, wxT("Snake + IsoContours")); // PS -> // label_8_copy = new wxStaticText(notebookParameterContour, -1, wxT("Threshold:")); // PS -> // edtThresholdSnake = new wxTextCtrl(notebookParameterContour, -1, wxT("")); // PS -> // label_9_copy = new wxStaticText(notebookParameterContour, -1, wxT("Iterations No:")); // PS -> // edtIterationsSnake = new wxTextCtrl(notebookParameterContour, -1, wxT("")); // PS -> // label_10_copy = new wxStaticText(notebookParameterContour, -1, wxT("Extern coefficient:")); // PS -> // edtExternCoefSnake = new wxTextCtrl(notebookParameterContour, -1, wxT("")); // PS -> // label_3_copy = new wxStaticText(notebookParameterContour, -1, wxT("Iterations No:")); // PS -> // edtIterationsDeriche = new wxTextCtrl(notebookParameterContour, -1, wxT("")); // PS -> // label_4_copy = new wxStaticText(notebookParameterContour, -1, wxT("Ballon coefficient:")); // PS -> // edtBallonCoefDeriche = new wxTextCtrl(notebookParameterContour, -1, wxT("")); // PS -> // label_5_copy = new wxStaticText(notebookParameterContour, -1, wxT("Gradient coefficient:")); // PS -> // edtGradientCoefDeriche = new wxTextCtrl(notebookParameterContour, -1, wxT("")); // PS -> // label_6_copy = new wxStaticText(notebookParameterContour, -1, wxT("Sigma:")); // PS -> // edtSigmaDeriche = new wxTextCtrl(notebookParameterContour, -1, wxT("")); // PS -> // label_11 = new wxStaticText(notebookParameterContour, -1, wxT("Scale:")); // PS -> // edtScale = new wxTextCtrl(notebookParameterContour, -1, wxT("")); // PS -> // label_12 = new wxStaticText(notebookParameterContour, -1, wxT("Sample:")); // PS -> // edtSample = new wxTextCtrl(notebookParameterContour, -1, wxT("")); //EED chkIsoContoursVis = new wxCheckBox(notebookParameterContour, -1, wxT("Visible \"IsoContours\"")); //EED chkDiametersVis = new wxCheckBox(notebookParameterContour, -1, wxT(marDict.GetString(655)));//"Visible diameters?" //EED chkInvertSliceOrder = new wxCheckBox(notebookParameterContour, -1, wxT(marDict.GetString(745)));//"Invert slice order" // PS -> // chkFillContours = new wxCheckBox(notebookParameterContour, -1, wxT("Fill contours?")); // PS -> // label_13 = new wxStaticText(notebookParameterAxis, -1, wxT("Distance cdg:")); // PS -> // edtDistanceCdg = new wxTextCtrl(notebookParameterAxis, -1, wxT("")); label_14 = new wxStaticText(notebookParameterAxis, -1, wxString( marDict.GetString(660), wxConvUTF8 ));//"Flexion coefficient:" edtFlexionCoef = new wxTextCtrl(notebookParameterAxis, -1, wxT("")); label_15 = new wxStaticText(notebookParameterAxis, -1, wxString( marDict.GetString(665), wxConvUTF8 ));//"Tension coefficient:" edtTensionCoef = new wxTextCtrl(notebookParameterAxis, -1, wxT("")); label_16 = new wxStaticText(notebookParameterAxis, -1, wxString( marDict.GetString(670), wxConvUTF8 ));//"Mask size (2*n+1). n:" edtMaskSize = new wxTextCtrl(notebookParameterAxis, -1, wxT("")); label_17 = new wxStaticText(notebookParameterAxis, -1, wxString( marDict.GetString(675), wxConvUTF8 ));//"Discret step for axis (1/N):" edtDiscreetStep = new wxTextCtrl(notebookParameterAxis, -1, wxT("")); // PS -> // label_18 = new wxStaticText(notebookParameterAxis, -1, wxT("X")); // PS -> // edtVoxelX = new wxTextCtrl(notebookParameterAxis, -1, wxT("")); // PS -> // label_19 = new wxStaticText(notebookParameterAxis, -1, wxT("Y")); // PS -> // edtVoxelY = new wxTextCtrl(notebookParameterAxis, -1, wxT("")); // PS -> // label_20 = new wxStaticText(notebookParameterAxis, -1, wxT("Z")); // PS -> // edtVoxelZ = new wxTextCtrl(notebookParameterAxis, -1, wxT("")); // PS -> // label_21 = new wxStaticText(notebookParameterAxis, -1, wxT("Axis color")); // PS -> // btnAxisColor = new wxButton(notebookParameterAxis, ID_BTN_AXIS_COLOR, wxT("")); // PS -> // radMinimum = new wxRadioButton(notebookParameterAxis, -1, wxT("Minimum voxel")); // PS -> // chkShowCell = new wxCheckBox(notebookParameterAxis, -1, wxT("Show cell?")); // PS -> // radNormal = new wxRadioButton(notebookParameterAxis, -1, wxT("Normal voxel")); // PS -> // chkShowIntCell = new wxCheckBox(notebookParameterAxis, -1, wxT("Show intensity cell?")); // PS -> label_22 = new wxStaticText(notebookParameterAxis, -1, wxT("Distance int:")); // PS -> edtDistanceInt = new wxTextCtrl(notebookParameterAxis, -1, wxT("")); // PS -> label_26 = new wxStaticText(notebookParameterAxis, -1, wxT("Step coefficient (1/N):")); // PS -> edtStepCoef = new wxTextCtrl(notebookParameterAxis, -1, wxT("")); // PS -> label_28 = new wxStaticText(notebookParameterAxis, -1, wxT("Step:")); // PS -> edtStep = new wxTextCtrl(notebookParameterAxis, -1, wxT("")); // PS -> label_23 = new wxStaticText(notebookParameterAxis, -1, wxT("Cell max. int. \ncoef (1/N):")); // PS -> edtCellMaxIntCoef = new wxTextCtrl(notebookParameterAxis, -1, wxT("")); // PS -> label_25 = new wxStaticText(notebookParameterAxis, -1, wxT("Mass power:")); // PS -> edtMassPower = new wxTextCtrl(notebookParameterAxis, -1, wxT("")); // PS -> panel_3 = new wxPanel(notebookParameterAxis, -1); // PS -> panel_4 = new wxPanel(notebookParameterAxis, -1); // PS -> label_24 = new wxStaticText(notebookParameterAxis, -1, wxT("Cell coefficient:")); // PS -> edtCellCoef = new wxTextCtrl(notebookParameterAxis, -1, wxT("")); // PS -> label_27 = new wxStaticText(notebookParameterAxis, -1, wxT("ROI dimension:")); // PS -> edtROIDimension = new wxTextCtrl(notebookParameterAxis, -1, wxT("")); // PS -> panel_5 = new wxPanel(notebookParameterAxis, -1); // PS -> panel_6 = new wxPanel(notebookParameterAxis, -1); /* // EED borrame chkArea = new wxCheckBox(notebookParameterQuant, -1, wxT("Area")); chkPerimeter = new wxCheckBox(notebookParameterQuant, -1, wxT("Perimeter")); chkDiameterFromArea = new wxCheckBox(notebookParameterQuant, -1, wxT("Diameter from area")); chkDiameterFromPerimeter = new wxCheckBox(notebookParameterQuant, -1, wxT("Diameter from perimeter")); chkMinimumDiameter = new wxCheckBox(notebookParameterQuant, -1, wxT("Minimum diameter")); chkMaximumDiameter = new wxCheckBox(notebookParameterQuant, -1, wxT("Maximum diameter")); chkAverageDiameter = new wxCheckBox(notebookParameterQuant, -1, wxT("Average diameter")); radArea = new wxRadioButton(notebookParameterQuant, -1, wxT("Area")); radPerimeter = new wxRadioButton(notebookParameterQuant, -1, wxT("Perimeter")); radDiameterFromArea = new wxRadioButton(notebookParameterQuant, -1, wxT("Diameter from area")); radDiameterFromPerimeter = new wxRadioButton(notebookParameterQuant, -1, wxT("Diameter from perimeter")); radMinimumDiameter = new wxRadioButton(notebookParameterQuant, -1, wxT("Minimum diameter")); radMaximumDiameter = new wxRadioButton(notebookParameterQuant, -1, wxT("Maximum diameter")); radAverageDiameter = new wxRadioButton(notebookParameterQuant, -1, wxT("Average diameter")); */ buttonOK = new wxButton(this, wxID_OK, wxString( marDict.GetString(680), wxConvUTF8 ));//"OK" buttonCancel = new wxButton(this, wxID_CANCEL, wxString( marDict.GetString(685), wxConvUTF8 ));//"Cancel" buttonReset = new wxButton(this, ID_BTN_RESET, wxString( marDict.GetString(690), wxConvUTF8 ));//"Reset" buttonApply = new wxButton(this, ID_BTN_APPLY, wxString( marDict.GetString(695), wxConvUTF8 ));//"Apply" buttonDefault= new wxButton(this, ID_BTN_DEFAULT, wxString( marDict.GetString(700), wxConvUTF8 ));//"Default" set_properties(); do_layout(); // end wxGlade } void wxParametersDialog::set_properties(){ marDictionary marDict; // begin wxGlade: wxParametersDialog::set_properties SetTitle(wxString(marDict.GetString(710), wxConvUTF8)); //"MARACAS Parameters..." // PS -> // SetSize(wxSize(530, 500)); SetSize(wxSize(400, 250)); // PS -> // btn3DBackColor->SetSize(wxSize(511, 42)); // PS -> chkIsoContoursVis->SetSize(wxSize(145, 44)); // PS -> chkDiametersVis->SetSize(wxSize(129, 44)); // PS -> // chkFillContours->SetSize(wxSize(103, 44)); // end wxGlade } void wxParametersDialog::do_layout(){ marDictionary marDict; // begin wxGlade: wxParametersDialog::do_layout wxBoxSizer* object_1 = new wxBoxSizer(wxVERTICAL); wxBoxSizer* object_40 = new wxBoxSizer(wxHORIZONTAL); wxBoxSizer* object_35 = new wxBoxSizer(wxHORIZONTAL); // EED borrame // wxStaticBoxSizer* object_38 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterQuant, -1, wxT("Stenosis type")), wxHORIZONTAL); wxFlexGridSizer* object_39 = new wxFlexGridSizer(7, 1, 0, 0); // EED Borrame // wxStaticBoxSizer* object_36 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterQuant, -1, wxT("Data types")), wxHORIZONTAL); wxFlexGridSizer* object_37 = new wxFlexGridSizer(7, 1, 0, 0); wxBoxSizer* object_21 = new wxBoxSizer(wxVERTICAL); // PS -> wxStaticBoxSizer* object_33 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterAxis, -1, wxT("Other info")), wxHORIZONTAL); // PS -> wxFlexGridSizer* object_34 = new wxFlexGridSizer(3, 6, 20, 10); // PS -> wxStaticBoxSizer* object_22 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterAxis, -1, wxT("Static")), wxHORIZONTAL); wxBoxSizer* object_23 = new wxBoxSizer(wxHORIZONTAL); // PS -> // wxBoxSizer* object_26 = new wxBoxSizer(wxVERTICAL); // PS -> // wxStaticBoxSizer* object_31 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterAxis, -1, wxT("Choose...")), wxHORIZONTAL); // PS -> // wxFlexGridSizer* object_32 = new wxFlexGridSizer(2, 2, 10, 0); // PS -> // wxBoxSizer* object_27 = new wxBoxSizer(wxHORIZONTAL); // PS -> // wxBoxSizer* object_30 = new wxBoxSizer(wxVERTICAL); // PS -> // wxStaticBoxSizer* object_28 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterAxis, -1, wxT("Voxel size")), wxHORIZONTAL); // PS -> // wxFlexGridSizer* object_29 = new wxFlexGridSizer(3, 2, 0, 10); wxStaticBoxSizer* object_24 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterAxis, -1, wxString(marDict.GetString(720), wxConvUTF8)), wxHORIZONTAL);//"Extraction parameters" // PS -> // wxFlexGridSizer* object_25 = new wxFlexGridSizer(5, 2, 10, 10);//PS wxFlexGridSizer* object_25 = new wxFlexGridSizer(4, 2, 10, 10); wxBoxSizer* object_7 = new wxBoxSizer(wxVERTICAL); wxBoxSizer* object_17 = new wxBoxSizer(wxHORIZONTAL); //EED wxStaticBoxSizer* object_20 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterContour, -1, wxT(marDict.GetString(725))), wxVERTICAL);//"Debug" // PS -> // wxStaticBoxSizer* object_18 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterContour, -1, wxT("Slice")), wxHORIZONTAL); // PS -> // wxFlexGridSizer* object_19 = new wxFlexGridSizer(2, 2, 10, 10); wxStaticBoxSizer* object_8 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterContour, -1, wxString(marDict.GetString(730), wxConvUTF8)), wxHORIZONTAL);//"Contour calculation algorithm" // PS -> // wxFlexGridSizer* object_9 = new wxFlexGridSizer(2, 2, 0, 0); //PS wxFlexGridSizer* object_9 = new wxFlexGridSizer(1, 1, 0, 0); // PS -> // wxStaticBoxSizer* object_15 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterContour, -1, wxT("")), wxHORIZONTAL); // PS -> // wxGridSizer* object_16 = new wxGridSizer(4, 2, 0, 0); wxBoxSizer* object_10 = new wxBoxSizer(wxVERTICAL); // PS -> // wxStaticBoxSizer* object_13 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterContour, -1, wxT("")), wxHORIZONTAL); // PS -> // wxFlexGridSizer* object_14 = new wxFlexGridSizer(3, 2, 0, 10); // PS -> // wxStaticBoxSizer* object_11 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterContour, -1, wxT("")), wxHORIZONTAL); wxFlexGridSizer* object_12 = new wxFlexGridSizer(1, 2, 0, 10); // PS -> wxBoxSizer* object_2 = new wxBoxSizer(wxVERTICAL); // PS -> wxStaticBoxSizer* object_5 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterGeneral, -1, wxT("User configuration")), wxHORIZONTAL); // PS -> // wxFlexGridSizer* object_6 = new wxFlexGridSizer(6, 1, 0, 0); //PS // PS -> wxFlexGridSizer* object_6 = new wxFlexGridSizer(5, 1, 0, 0); // PS -> wxStaticBoxSizer* object_3 = new wxStaticBoxSizer(new wxStaticBox(notebookParameterGeneral, -1, wxT("Data locations")), wxHORIZONTAL); // PS -> // wxFlexGridSizer* object_4 = new wxFlexGridSizer(2, 3, 50, 0); //PS // PS -> wxFlexGridSizer* object_4 = new wxFlexGridSizer(1, 3, 0, 10); // PS -> // object_4->Add(label_1_copy, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 0); // PS -> // object_4->Add(edtWorkDir, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL, 0); // PS -> // object_4->Add(button_4_copy, 0, wxALIGN_CENTER_VERTICAL, 0); // PS -> object_4->Add(label_2_copy, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 0); // PS -> object_4->Add(edtDICOMDir, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL, 0); // PS -> object_4->Add(button_5_copy, 0, wxALIGN_CENTER_VERTICAL, 0); // PS -> object_4->AddGrowableCol(1); // PS -> object_3->Add(object_4, 1, wxALIGN_CENTER_VERTICAL, 0); // PS -> object_2->Add(object_3, 1, wxEXPAND, 0); // PS -> object_6->Add(chkMIP, 0, 0, 0); // PS -> object_6->Add(chkSlices, 0, 0, 0); // PS -> object_6->Add(chkDebugWindow, 0, 0, 0); // PS -> object_6->Add(chkConsole, 0, 0, 0); // PS -> // object_6->Add(label_29, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 0); // PS -> // object_6->Add(btn3DBackColor, 0, wxEXPAND, 0); // PS -> object_6->AddGrowableRow(4); // PS -> object_6->AddGrowableCol(0); // PS -> object_5->Add(object_6, 1, wxEXPAND, 0); // PS -> object_2->Add(object_5, 1, wxEXPAND, 0); // PS -> notebookParameterGeneral->SetAutoLayout(true); // PS -> notebookParameterGeneral->SetSizer(object_2); // PS -> object_2->Fit(notebookParameterGeneral); // PS -> object_2->SetSizeHints(notebookParameterGeneral); // PS -> // object_9->Add(radIsoContours, 0, 0, 0); // PS -> // object_9->Add(radDeriche, 0, 0, 0); object_12->Add(label_7_copy, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 0); object_12->Add(edtThresholdIsoContours, 0,wxEXPAND|wxALIGN_CENTER_VERTICAL , 0); object_12->AddGrowableCol(1); // PS -> // object_11->Add(object_12, 1, wxALIGN_CENTER_VERTICAL, 0); // PS -> // object_10->Add(object_11, 1, wxEXPAND, 0); //PS object_10->Add(object_12, 1, wxALIGN_CENTER_VERTICAL, 0); // PS -> // object_10->Add(radSnake, 0, 0, 0); // PS -> // object_14->Add(label_8_copy, 0, wxALIGN_RIGHT, 0); // PS -> // object_14->Add(edtThresholdSnake, 0, wxEXPAND, 0); // PS -> // object_14->Add(label_9_copy, 0, wxALIGN_RIGHT, 0); // PS -> // object_14->Add(edtIterationsSnake, 0, 0, 0); // PS -> // object_14->Add(label_10_copy, 0, wxALIGN_RIGHT, 0); // PS -> // object_14->Add(edtExternCoefSnake, 0, 0, 0); // PS -> // object_13->Add(object_14, 1, wxALIGN_CENTER_VERTICAL, 0); // PS -> // object_10->Add(object_13, 1, wxEXPAND, 0); object_9->Add(object_10, 1, wxEXPAND, 0); // PS -> // object_16->Add(label_3_copy, 0, wxALIGN_RIGHT, 0); // PS -> // object_16->Add(edtIterationsDeriche, 0, 0, 0); // PS -> // object_16->Add(label_4_copy, 0, wxALIGN_RIGHT, 0); // PS -> // object_16->Add(edtBallonCoefDeriche, 0, 0, 0); // PS -> // object_16->Add(label_5_copy, 0, wxALIGN_RIGHT, 0); // PS -> // object_16->Add(edtGradientCoefDeriche, 0, 0, 0); // PS -> // object_16->Add(label_6_copy, 0, wxALIGN_RIGHT, 0); // PS -> // object_16->Add(edtSigmaDeriche, 0, 0, 0); // PS -> // object_15->Add(object_16, 1, wxEXPAND, 0); // PS -> // object_9->Add(object_15, 1, wxEXPAND, 0); object_9->AddGrowableRow(1); object_9->AddGrowableCol(1); object_8->Add(object_9, 1, wxEXPAND, 0); // PS -> // object_7->Add(object_8, 2, wxEXPAND, 0); object_7->Add(object_8, 1, wxEXPAND, 0); // PS -> // object_19->Add(label_11, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL, 0); // PS -> // object_19->Add(edtScale, 0, wxALIGN_CENTER_VERTICAL, 0); // PS -> // object_19->Add(label_12, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL, 0); // PS -> // object_19->Add(edtSample, 0, wxALIGN_CENTER_VERTICAL, 0); // PS -> // object_19->AddGrowableCol(1); // PS -> // object_18->Add(object_19, 1, wxALIGN_CENTER_VERTICAL, 0); // PS -> // object_17->Add(object_18, 1, wxEXPAND, 0); //EED object_20->Add(chkIsoContoursVis, 0, wxALIGN_CENTER_VERTICAL, 0); //EED object_20->Add(chkDiametersVis , 0, wxALIGN_CENTER_VERTICAL, 0); //EED object_20->Add(chkInvertSliceOrder , 0, wxALIGN_CENTER_VERTICAL, 0); // PS -> // object_20->Add(chkFillContours, 0, wxALIGN_CENTER_VERTICAL, 0); //EED object_17->Add(object_20, 1, wxEXPAND|wxALIGN_CENTER_VERTICAL, 0); object_7->Add(object_17, 1, wxEXPAND, 0); notebookParameterContour->SetAutoLayout(true); notebookParameterContour->SetSizer(object_7); object_7->Fit(notebookParameterContour); object_7->SetSizeHints(notebookParameterContour); // PS -> // object_25->Add(label_13, 0, wxALIGN_RIGHT, 0); // PS -> // object_25->Add(edtDistanceCdg, 0, wxEXPAND, 0); object_25->Add(label_14, 0, wxALIGN_RIGHT, 0); object_25->Add(edtFlexionCoef, 0, wxEXPAND, 0); object_25->Add(label_15, 0, wxALIGN_RIGHT, 0); object_25->Add(edtTensionCoef, 0, wxEXPAND, 0); object_25->Add(label_16, 0, wxALIGN_RIGHT, 0); object_25->Add(edtMaskSize, 0, wxEXPAND, 0); object_25->Add(label_17, 0, wxALIGN_RIGHT, 0); object_25->Add(edtDiscreetStep, 0, wxEXPAND, 0); object_25->AddGrowableRow(4); object_25->AddGrowableCol(1); object_24->Add(object_25, 1, wxALIGN_CENTER_VERTICAL, 0); object_23->Add(object_24, 1, wxEXPAND, 0); // PS -> // object_29->Add(label_18, 0, wxALIGN_RIGHT, 0); // PS -> // object_29->Add(edtVoxelX, 0, wxEXPAND, 0); // PS -> // object_29->Add(label_19, 0, wxALIGN_RIGHT, 0); // PS -> // object_29->Add(edtVoxelY, 0, wxEXPAND, 0); // PS -> // object_29->Add(label_20, 0, wxALIGN_RIGHT, 0); // PS -> // object_29->Add(edtVoxelZ, 0, wxEXPAND, 0); // PS -> // object_29->AddGrowableCol(1); // PS -> // object_28->Add(object_29, 1, 0, 0); // PS -> // object_27->Add(object_28, 1, wxEXPAND, 0); // PS -> // object_30->Add(label_21, 0, 0, 0); // PS -> // object_30->Add(btnAxisColor, 0, wxEXPAND|wxALIGN_CENTER_HORIZONTAL, 0); // PS -> // object_27->Add(object_30, 1, 0, 0); // PS -> // object_26->Add(object_27, 1, wxEXPAND, 0); // PS -> // object_32->Add(radMinimum, 0, 0, 0); // PS -> // object_32->Add(chkShowCell, 0, 0, 0); // PS -> // object_32->Add(radNormal, 0, 0, 0); // PS -> // object_32->Add(chkShowIntCell, 0, 0, 0); // PS -> // object_31->Add(object_32, 1, wxALIGN_CENTER_VERTICAL, 0); // PS -> // object_26->Add(object_31, 1, wxEXPAND, 0); // PS -> // object_23->Add(object_26, 1, wxEXPAND, 0); // PS -> object_22->Add(object_23, 1, wxEXPAND, 0); // PS -> object_21->Add(object_22, 1, wxEXPAND, 0); object_21->Add(object_23, 1, wxEXPAND, 0); // PS -> object_34->Add(label_22, 0, wxALIGN_RIGHT, 0); // PS -> object_34->Add(edtDistanceInt, 0, 0, 0); // PS -> object_34->Add(label_26, 0, wxALIGN_RIGHT, 0); // PS -> object_34->Add(edtStepCoef, 0, 0, 0); // PS -> object_34->Add(label_28, 0, wxALIGN_RIGHT, 0); // PS -> object_34->Add(edtStep, 0, 0, 0); // PS -> object_34->Add(label_23, 0, wxALIGN_RIGHT, 0); // PS -> object_34->Add(edtCellMaxIntCoef, 0, 0, 0); // PS -> object_34->Add(label_25, 0, wxALIGN_RIGHT, 0); // PS -> object_34->Add(edtMassPower, 0, 0, 0); // PS -> object_34->Add(panel_3, 1, wxEXPAND, 0); // PS -> object_34->Add(panel_4, 1, wxEXPAND, 0); // PS -> object_34->Add(label_24, 0, wxALIGN_RIGHT, 0); // PS -> object_34->Add(edtCellCoef, 0, 0, 0); // PS -> object_34->Add(label_27, 0, wxALIGN_RIGHT, 0); // PS -> object_34->Add(edtROIDimension, 0, 0, 0); // PS -> object_34->Add(panel_5, 1, wxEXPAND, 0); // PS -> object_34->Add(panel_6, 1, wxEXPAND, 0); // PS -> object_33->Add(object_34, 1, wxALIGN_CENTER_VERTICAL, 0); // PS -> object_21->Add(object_33, 1, wxEXPAND, 0); notebookParameterAxis->SetAutoLayout(true); notebookParameterAxis->SetSizer(object_21); object_21->Fit(notebookParameterAxis); object_21->SetSizeHints(notebookParameterAxis); /* EED Borrame object_37->Add(chkArea, 0, 0, 0); object_37->Add(chkPerimeter, 0, 0, 0); object_37->Add(chkDiameterFromArea, 0, 0, 0); object_37->Add(chkDiameterFromPerimeter, 0, 0, 0); object_37->Add(chkMinimumDiameter, 0, 0, 0); object_37->Add(chkMaximumDiameter, 0, 0, 0); object_37->Add(chkAverageDiameter, 0, 0, 0); object_37->AddGrowableRow(6); object_36->Add(object_37, 1, wxEXPAND|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 0); object_35->Add(object_36, 1, wxEXPAND, 0); object_39->Add(radArea, 0, 0, 0); object_39->Add(radPerimeter, 0, 0, 0); object_39->Add(radDiameterFromArea, 0, 0, 0); object_39->Add(radDiameterFromPerimeter, 0, 0, 0); object_39->Add(radMinimumDiameter, 0, 0, 0); object_39->Add(radMaximumDiameter, 0, 0, 0); object_39->Add(radAverageDiameter, 0, 0, 0); object_39->AddGrowableRow(6); object_38->Add(object_39, 1, wxEXPAND, 0); object_35->Add(object_38, 1, wxEXPAND, 0); notebookParameterQuant->SetAutoLayout(true); notebookParameterQuant->SetSizer(object_35); object_35->Fit(notebookParameterQuant); object_35->SetSizeHints(notebookParameterQuant); */ // PS -> notebookParameter->AddPage(notebookParameterGeneral, wxT("General Parameters")); notebookParameter->AddPage(notebookParameterAxis, wxString( marDict.GetString(740) , wxConvUTF8));//"Axis Parameters" notebookParameter->AddPage(notebookParameterContour, wxString( marDict.GetString(735), wxConvUTF8 ));//"Contour Parameters" // EED borrame // notebookParameter->AddPage(notebookParameterQuant, wxT("Quantification Parameters")); // EED 08/06/2007 // object_1->Add(new wxNotebookSizer(notebookParameter), 1, wxALL|wxEXPAND, 0); object_1->Add( notebookParameter , 1, wxALL|wxEXPAND, 0); object_40->Add(buttonOK, 1, 0, 0); object_40->Add(buttonCancel, 1, 0, 0); object_40->Add(buttonDefault, 1, 0, 0); object_40->Add(buttonReset, 1, 0, 0); object_40->Add(buttonApply, 1, 0, 0); object_1->Add(object_40, 0, wxALL|wxEXPAND, 0); SetAutoLayout(true); SetSizer(object_1); Layout(); // end wxGlade }