]> Creatis software - creaContours.git/commitdiff
Compilation with bbtk 0.9.1
authorguigues <guigues>
Tue, 13 Jan 2009 15:38:34 +0000 (15:38 +0000)
committerguigues <guigues>
Tue, 13 Jan 2009 15:38:34 +0000 (15:38 +0000)
bbtk/src/bbCreaContournDimensions.cxx
bbtk/src/bbCreaContournDimensions.h

index ca0821cde1ee24e02079d733a68020aeb93c7a29..378f0d43accc88b99b877cf1f3d9810fe1f3483c 100644 (file)
@@ -26,7 +26,7 @@ void nDimensions::Process()
        bbSetOutputMask(mask);
        bbSetOutputValue(value);
 }
-void nDimensions::CreateWidget()
+void nDimensions::CreateWidget(wxWindow* parent)
 {
        
        vtkImageData* img = bbGetInputIn();
@@ -34,7 +34,7 @@ void nDimensions::CreateWidget()
        std::vector<vtkImageData*> selectedimages;
        selectedimages.push_back(img);
 
-       wxFrame* frame1 = new wxFrame(bbGetWxParent(), wxID_ANY, wxT("ROI Application  -    Evaluation version, 23 Oct 2008 "), wxPoint(400,50), wxSize(800, 600) );
+       wxFrame* frame1 = new wxFrame(parent, wxID_ANY, wxT("ROI Application  -    Evaluation version, 23 Oct 2008 "), wxPoint(400,50), wxSize(800, 600) );
        frame = wxContourMainFrame::getInstance(frame1, wxID_ANY, wxString(_T("")), wxPoint(100,50), wxSize(800, 600), selectedimages );
        //new wxContourMainFrame( frame1, wxID_ANY, _T(""), wxPoint(50,50), wxSize(800, 600),selectedimages ); 
        frame1->CreateStatusBar();
@@ -51,7 +51,7 @@ void nDimensions::bbUserConstructor()
        bbSetInputGet(0);
 
 }
-void nDimensions::bbUserCopyConstructor()
+void nDimensions::bbUserCopyConstructor(bbtk::BlackBox::Pointer)
 {
 
 }
index e224b9d91e29028330ca9d6e80fb39a1dc451970..9c3587e1f74f08d85635b22e83d89979b1c38876 100644 (file)
@@ -26,7 +26,7 @@ class /*BBTK_EXPORT*/ nDimensions
 /// User callback called in the box contructor
 virtual void bbUserConstructor();
 /// User callback called in the box copy constructor
-virtual void bbUserCopyConstructor();
+virtual void bbUserCopyConstructor(bbtk::BlackBox::Pointer);
 /// User callback called in the box destructor
 virtual void bbUserDestructor();
 //==================================================================
@@ -36,7 +36,7 @@ virtual void bbUserDestructor();
   BBTK_PROCESS(Process);
   void Process();
   BBTK_CREATE_WIDGET(CreateWidget);
-  void CreateWidget();
+  void CreateWidget(wxWindow*);
 
   BBTK_DECLARE_OUTPUT(Mask,vtkImageData*);
   BBTK_DECLARE_OUTPUT(Value,vtkImageData*);