]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbmaracasvisuAxeVolume.h
.
[creaMaracasVisu.git] / bbtk / src / bbmaracasvisuAxeVolume.h
1 #ifndef __bbcreaMaracasVisuAxeVolume_h_INCLUDED__
2 #define __bbcreaMaracasVisuAxeVolume_h_INCLUDED__
3 #include "bbtkAtomicBlackBox.h"
4 #include "iostream"
5
6 #include "vtkImageData.h"
7
8 namespace bbcreaMaracasVisu
9 {
10
11 class /*BBTK_EXPORT*/ AxeVolume
12  : 
13    public bbtk::AtomicBlackBox
14 {
15   BBTK_BLACK_BOX_INTERFACE(AxeVolume,bbtk::AtomicBlackBox);
16   BBTK_DECLARE_INPUT( In , vtkImageData * );
17   BBTK_DECLARE_INPUT( lstPointX , std::vector<double> );
18   BBTK_DECLARE_INPUT( lstPointY , std::vector<double> );
19   BBTK_DECLARE_INPUT( lstPointZ , std::vector<double> );
20   BBTK_DECLARE_INPUT( lstPointR , std::vector<double> );
21   BBTK_DECLARE_OUTPUT(Out,vtkImageData *);
22   BBTK_PROCESS(Process);
23   void Process();
24
25 private:
26   vtkImageData *mimage; 
27 };
28
29 BBTK_BEGIN_DESCRIBE_BLACK_BOX(AxeVolume,bbtk::AtomicBlackBox);
30   BBTK_NAME("AxeVolume");  
31   BBTK_AUTHOR("eduardo.davila@hotmail.com");
32   BBTK_DESCRIPTION("Axe Volume");
33   BBTK_CATEGORY("__CATEGORY__");
34   BBTK_INPUT(AxeVolume,In,"Size image X",vtkImageData*,"");
35   BBTK_INPUT(AxeVolume,lstPointX,"List of X values", std::vector<double> ,"");
36   BBTK_INPUT(AxeVolume,lstPointY,"List of Y values", std::vector<double> ,"");
37   BBTK_INPUT(AxeVolume,lstPointZ,"List of Z values", std::vector<double> ,"");
38   BBTK_INPUT(AxeVolume,lstPointR,"List of Radius", std::vector<double> ,"");
39   BBTK_OUTPUT(AxeVolume,Out,"Result image",vtkImageData*,"");
40 BBTK_END_DESCRIBE_BLACK_BOX(AxeVolume);
41 }
42 // EO namespace bbcreaMaracasVisu
43
44 #endif // __bbcreaMaracasVisuAxeVolume_h_INCLUDED__
45