]> Creatis software - creaContours.git/blobdiff - lib/Interface_Icons_NDimensions/interfSegmentationPanels.cxx
OK
[creaContours.git] / lib / Interface_Icons_NDimensions / interfSegmentationPanels.cxx
index 4345971c95586d0bafa9d6830dbfc982162ce964..b4e169642ec5c8c7ed80fdad89aed8dc525a3e34 100644 (file)
@@ -126,20 +126,27 @@ void interfSegmentationPanelVTK::setLabel(wxString tmpString){
 interfSegmentationPanelITK::interfSegmentationPanelITK(wxWindow * parent)
 : wxPanel(parent, -1, wxDefaultPosition, wxDefaultSize, wxBORDER_SUNKEN)
 {
-       int sizeZ = interfMainPanel::getInstance()->GetImageDataSizeZ();
+//     int sizeZ = interfMainPanel::getInstance()->GetImageDataSizeZ();
        //int sizeZ = _theViewPanel->getSceneManager()->GetImageDataSizeZ();
        double range[2];
        //_theViewPanel->getSceneManager()->GetImageDataRange(range);
        interfMainPanel::getInstance()->GetImageDataRange(range);
        
        //The labels
-       wxStaticText * distance =    new wxStaticText(this, wxID_ANY, wxT("Initial Distance"),   wxPoint(5, 5));
-       wxStaticText * sigma =       new wxStaticText(this, wxID_ANY, wxT("Sigma"),              wxPoint(5, 30));
-       wxStaticText * alfa =        new wxStaticText(this, wxID_ANY, wxT("Sigmoid Alfa"),       wxPoint(5, 55));
-       wxStaticText * beta =        new wxStaticText(this, wxID_ANY, wxT("Sigmoid Beta"),       wxPoint(5, 80));
-       wxStaticText * propagation = new wxStaticText(this, wxID_ANY, wxT("Propagation Scaling"),wxPoint(5, 105));
-       wxStaticText * iterations =  new wxStaticText(this, wxID_ANY, wxT("Iterations"),         wxPoint(5, 130));
-       wxStaticText * infStrength = new wxStaticText(this, wxID_ANY, wxT("Inflation Strength"), wxPoint(5, 155));
+       //wxStaticText * distance =    
+       new wxStaticText(this, wxID_ANY, wxT("Initial Distance"),   wxPoint(5, 5));
+       //wxStaticText * sigma =       
+       new wxStaticText(this, wxID_ANY, wxT("Sigma"),              wxPoint(5, 30));
+       //wxStaticText * alfa =        
+       new wxStaticText(this, wxID_ANY, wxT("Sigmoid Alfa"),       wxPoint(5, 55));
+       //wxStaticText * beta =        
+       new wxStaticText(this, wxID_ANY, wxT("Sigmoid Beta"),       wxPoint(5, 80));
+       //wxStaticText * propagation = 
+       new wxStaticText(this, wxID_ANY, wxT("Propagation Scaling"),wxPoint(5, 105));
+       //wxStaticText * iterations =  
+       new wxStaticText(this, wxID_ANY, wxT("Iterations"),         wxPoint(5, 130));
+       //wxStaticText * infStrength = 
+       new wxStaticText(this, wxID_ANY, wxT("Inflation Strength"), wxPoint(5, 155));
 
        //Text Controls
 
@@ -152,7 +159,8 @@ interfSegmentationPanelITK::interfSegmentationPanelITK(wxWindow * parent)
        _infStrength =   new wxTextCtrl(this, wxID_ANY, wxT("3.0"),  wxPoint(98,155), wxSize(80, 20), 0, wxDefaultValidator, wxTextCtrlNameStr);
        
        //El boton
-       wxButton * bot = new wxButton(this, 6, wxT("One Slice"), wxPoint(98, 180), wxSize(70, 25), 0, wxDefaultValidator, wxT("button"));
+       //wxButton * bot = 
+       new wxButton(this, 6, wxT("One Slice"), wxPoint(98, 180), wxSize(70, 25), 0, wxDefaultValidator, wxT("button"));
 
        //Conexion del boton con su respectivo manejador
        Connect(6, wxEVT_COMMAND_BUTTON_CLICKED,(wxObjectEventFunction) &interfSegmentationPanelITK::onSegmentationOneSlice);