X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk%2Fsrc%2FbbCreaContournDimensions.h;h=1f9989ccee3fd23bc4daf7ce1535e780daacb9b2;hb=a609787b177c3ba7652e6e4f91cf348f9d7b036c;hp=5cb3ab5d2cc0ece28fffab99d3cff74f98976011;hpb=2732d50f5ca35b222d5bd2cc9ca20e9829a17933;p=creaContours.git diff --git a/bbtk/src/bbCreaContournDimensions.h b/bbtk/src/bbCreaContournDimensions.h index 5cb3ab5..1f9989c 100644 --- a/bbtk/src/bbCreaContournDimensions.h +++ b/bbtk/src/bbCreaContournDimensions.h @@ -4,27 +4,17 @@ #include "bbtkWxBlackBox.h" #include "wxContourMainFrame.h" -#include "OutlineModelManager.h" -#include "wxContourEventHandler.h" -#include "wxContourMainPanel.h" + #include #include "vtkImageData.h" -#include "OutlineModelBuilder.h" -#include "ContourThing.h" -#include "AxeThing.h" -#include "ImageSourceThing.h" -#include "ImageSectionThing.h" -#include "SomeEnvironment.h" -#include "ReaderEnvironment.h" #include "wx/artprov.h" #include -#include "interfMainPanel.h" #include #include -namespace bbCreaContour +namespace bbcreaContours { class /*BBTK_EXPORT*/ nDimensions @@ -36,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(); //================================================================== @@ -46,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*); @@ -57,7 +47,8 @@ virtual void bbUserDestructor(); private: wxContourMainFrame* frame; - wxContourEventHandler * eventHandler; + vtkImageData* currentimg; + //wxContourEventHandler * eventHandler; };