]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/src/bbmaracasvisuContourVOI.h
*** empty log message ***
[creaMaracasVisu.git] / bbtk / src / bbmaracasvisuContourVOI.h
index 7f134ea4d463742b619ca9823dedbfe313990764..edc2ebc7ef10dc3c4ba5a45b58e20b1fb92e73f6 100644 (file)
@@ -7,6 +7,7 @@
 
 
 #include <vtkImageData.h>
+#include <vtkExtractVOI.h>
 
 #include "Contour/ContourVOIWidget.h"
 
@@ -43,6 +44,7 @@ namespace bbcreaMaracasVisu
 
                wxVtkBaseView * wxvtkbaseview;
                vtkImageData * imagedata;
+               
 
                
 
@@ -76,6 +78,7 @@ virtual void bbUserDestructor();
     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 +87,7 @@ virtual void bbUserDestructor();
 private:
        vtkImageData* _img;
        wxVtkBaseView* _base;
+       vtkExtractVOI*  _extract;
 
 };
 
@@ -97,6 +101,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