1 #ifndef __bbcreaMaracasVisuAxeVolume_h_INCLUDED__
2 #define __bbcreaMaracasVisuAxeVolume_h_INCLUDED__
3 #include "bbtkAtomicBlackBox.h"
6 #include "vtkImageData.h"
8 namespace bbcreaMaracasVisu
11 class /*BBTK_EXPORT*/ AxeVolume
13 public bbtk::AtomicBlackBox
15 BBTK_BLACK_BOX_INTERFACE(AxeVolume,bbtk::AtomicBlackBox);
16 //==================================================================
17 /// User callback called in the box contructor
18 virtual void bbUserConstructor();
19 /// User callback called in the box copy constructor
20 virtual void bbUserCopyConstructor();
21 /// User callback called in the box destructor
22 virtual void bbUserDestructor();
23 //==================================================================
24 BBTK_DECLARE_INPUT( In , vtkImageData * );
25 BBTK_DECLARE_INPUT( lstPointX , std::vector<double> );
26 BBTK_DECLARE_INPUT( lstPointY , std::vector<double> );
27 BBTK_DECLARE_INPUT( lstPointZ , std::vector<double> );
28 BBTK_DECLARE_INPUT( lstPointR , std::vector<double> );
29 BBTK_DECLARE_OUTPUT(Out,vtkImageData *);
30 BBTK_PROCESS(Process);
37 BBTK_BEGIN_DESCRIBE_BLACK_BOX(AxeVolume,bbtk::AtomicBlackBox);
38 BBTK_NAME("AxeVolume");
39 BBTK_AUTHOR("eduardo.davila@hotmail.com");
40 BBTK_DESCRIPTION("Axe Volume");
41 BBTK_CATEGORY("__CATEGORY__");
42 BBTK_INPUT(AxeVolume,In,"Size image X",vtkImageData*,"");
43 BBTK_INPUT(AxeVolume,lstPointX,"List of X values", std::vector<double> ,"");
44 BBTK_INPUT(AxeVolume,lstPointY,"List of Y values", std::vector<double> ,"");
45 BBTK_INPUT(AxeVolume,lstPointZ,"List of Z values", std::vector<double> ,"");
46 BBTK_INPUT(AxeVolume,lstPointR,"List of Radius", std::vector<double> ,"");
47 BBTK_OUTPUT(AxeVolume,Out,"Result image",vtkImageData*,"");
48 BBTK_END_DESCRIBE_BLACK_BOX(AxeVolume);
50 // EO namespace bbcreaMaracasVisu
52 #endif // __bbcreaMaracasVisuAxeVolume_h_INCLUDED__