]> Creatis software - creaContours.git/blobdiff - bbtk/src/bbCreaContournDimensions.cxx
For the new BBTK Version
[creaContours.git] / bbtk / src / bbCreaContournDimensions.cxx
index d881443dbe05a74bfc806cbf0dcca7e0172479e7..dde333b68011e0c931ca2f1a2a810574761fb5d2 100644 (file)
@@ -19,6 +19,7 @@ void nDimensions::Process()
        std::vector<vtkImageData*> selectedimages;
        if(img!=NULL && currentimg!=img){
 
+               wxContourMainFrame::getInstance()->ShowToolsPanel(true);
                currentimg=img;
                selectedimages.push_back(img);
                wxContourMainFrame::getInstance()->setVectImages(selectedimages);
@@ -64,6 +65,8 @@ std::string path="";
 #endif
 
        wxPanel* panel = wxContourMainFrame::getInstance(parent, wxID_ANY, wxString(_T("")), wxPoint(100,50), wxSize(800, 600), selectedimages,wxDEFAULT_FRAME_STYLE | wxSUNKEN_BORDER,path );
+       wxContourMainFrame::getInstance()->ShowToolsPanel(false);
+       //std::cout<<"creaContours = "<<panel<<std::endl;
        bbSetOutputWidget( panel ); 
        
    
@@ -71,20 +74,21 @@ std::string path="";
     
   
 }
-void nDimensions::bbUserConstructor()
+//-----------------------------------------------------------------    
+void nDimensions::bbUserSetDefaultValues()
 {
-
        bbSetInputContourType(0);
-       bbSetInputIn(NULL);
-
+       bbSetInputIn(NULL);   
 }
-void nDimensions::bbUserCopyConstructor(bbtk::BlackBox::Pointer)
-{
 
-}
-void nDimensions::bbUserDestructor()
+//-----------------------------------------------------------------    
+void nDimensions::bbUserInitializeProcessing()
 {
+}
 
+//-----------------------------------------------------------------    
+void nDimensions::bbUserFinalizeProcessing()
+{
 }
 }
 // EO namespace bbCreaContour