X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk%2Fsrc%2FbbCreaContournDimensions.h;h=1f9989ccee3fd23bc4daf7ce1535e780daacb9b2;hb=fce8424fdb8d78a343ccc1dd9551bbded44ab5fe;hp=b0e103df14761c2476f0ab1e9a09ca8dca4b7804;hpb=c80a486f463943ea0ce295ebca58fc10e956c38c;p=creaContours.git diff --git a/bbtk/src/bbCreaContournDimensions.h b/bbtk/src/bbCreaContournDimensions.h index b0e103d..1f9989c 100644 --- a/bbtk/src/bbCreaContournDimensions.h +++ b/bbtk/src/bbCreaContournDimensions.h @@ -4,22 +4,12 @@ #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 @@ -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; };