X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk%2Fsrc%2FbbmaracasvisuAxeVolume.h;h=4e0cb05a6b84ca1921672a442448d2156ce9f55c;hb=d0c09a70008646305df0937f47fd7d5930636a67;hp=7a573e2cb94a022233eea02f04db92d2866aaad0;hpb=4970ac35d6d4bc3cea54e8e6033b34c01c3103fb;p=creaMaracasVisu.git diff --git a/bbtk/src/bbmaracasvisuAxeVolume.h b/bbtk/src/bbmaracasvisuAxeVolume.h index 7a573e2..4e0cb05 100644 --- a/bbtk/src/bbmaracasvisuAxeVolume.h +++ b/bbtk/src/bbmaracasvisuAxeVolume.h @@ -9,18 +9,10 @@ namespace bbcreaMaracasVisu { class /*BBTK_EXPORT*/ AxeVolume - : + : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(AxeVolume,bbtk::AtomicBlackBox); -//================================================================== -/// User callback called in the box contructor -virtual void bbUserConstructor(); -/// User callback called in the box copy constructor -virtual void bbUserCopyConstructor(); -/// User callback called in the box destructor -virtual void bbUserDestructor(); -//================================================================== BBTK_DECLARE_INPUT( In , vtkImageData * ); BBTK_DECLARE_INPUT( lstPointX , std::vector ); BBTK_DECLARE_INPUT( lstPointY , std::vector ); @@ -31,14 +23,14 @@ virtual void bbUserDestructor(); void Process(); private: - vtkImageData *mimage; + vtkImageData *mimage; }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(AxeVolume,bbtk::AtomicBlackBox); - BBTK_NAME("AxeVolume"); + BBTK_NAME ( "AxeVolume" ) ; BBTK_AUTHOR("eduardo.davila@hotmail.com"); - BBTK_DESCRIPTION("Axe Volume"); - BBTK_CATEGORY("__CATEGORY__"); + BBTK_DESCRIPTION("Axe Volume" ) ; + BBTK_CATEGORY("actor"); BBTK_INPUT(AxeVolume,In,"Size image X",vtkImageData*,""); BBTK_INPUT(AxeVolume,lstPointX,"List of X values", std::vector ,""); BBTK_INPUT(AxeVolume,lstPointY,"List of Y values", std::vector ,"");