X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk%2Fsrc%2FbbmaracasvisuContourVOI.h;h=47b8cbd720645cf60985a75b5ebf79e69140b39c;hb=c68f4e0d9298fe538f87a974947cce470148c60b;hp=3c62dba69f0b1eb5962c00afa199dbc8fd8228d4;hpb=393855ac9ccdd47bc738cc7c0af199b2b45d89db;p=creaMaracasVisu.git diff --git a/bbtk/src/bbmaracasvisuContourVOI.h b/bbtk/src/bbmaracasvisuContourVOI.h index 3c62dba..47b8cbd 100644 --- a/bbtk/src/bbmaracasvisuContourVOI.h +++ b/bbtk/src/bbmaracasvisuContourVOI.h @@ -31,10 +31,10 @@ namespace bbcreaMaracasVisu ContourVOIWidget* GetContourVOIWidget(); - setBaseView(wxVtkBaseView * wxvtkbaseview); - setImageData(vtkImageData * imagedata); + void setImageData(vtkImageData * imagedata); + void setBaseView(wxVtkBaseView * wxvtkbaseview); - initializeVOIWidget(); + void initializeVOIWidget(); private: @@ -43,6 +43,7 @@ namespace bbcreaMaracasVisu wxVtkBaseView * wxvtkbaseview; vtkImageData * imagedata; + @@ -63,19 +64,12 @@ class /*BBTK_EXPORT*/ ContourVOI public bbtk::WxBlackBox { BBTK_BLACK_BOX_INTERFACE(ContourVOI,bbtk::WxBlackBox); -//================================================================== -/// User callback called in the box contructor -virtual void bbUserConstructor(); -/// User callback called in the box copy constructor -virtual void bbUserCopyConstructor(bbtk::BlackBox::Pointer); -/// User callback called in the box destructor -virtual void bbUserDestructor(); -//================================================================== BBTK_DECLARE_INPUT(Title,std::string); BBTK_DECLARE_INPUT(In, vtkImageData*); BBTK_DECLARE_INPUT(wxVtkBaseView, wxVtkBaseView*); BBTK_DECLARE_OUTPUT(Index,std::string); BBTK_DECLARE_OUTPUT(Size,std::string); + BBTK_DECLARE_OUTPUT(VOI,vtkImageData*); BBTK_PROCESS(Process); void Process(); BBTK_CREATE_WIDGET(CreateWidget); @@ -84,6 +78,7 @@ virtual void bbUserDestructor(); private: vtkImageData* _img; wxVtkBaseView* _base; +//EED 20Juin2011 vtkExtractVOI* _extract; }; @@ -97,6 +92,7 @@ BBTK_DESCRIPTION("define VOI widget"); BBTK_INPUT(ContourVOI,wxVtkBaseView,"maracas visu wxVtkBaseView",wxVtkBaseView*,""); BBTK_OUTPUT(ContourVOI,Index, "Index" , std::string,""); BBTK_OUTPUT(ContourVOI,Size, "Size" , std::string,""); + BBTK_OUTPUT(ContourVOI,VOI,"Region of interest",vtkImageData*,""); BBTK_END_DESCRIBE_BLACK_BOX(ContourVOI); } // EO namespace bbcreaMaracasVisu