2 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
4 #ifndef __bbcreaMaracasVisuContourExtractDataBox_h_INCLUDED__
5 #define __bbcreaMaracasVisuContourExtractDataBox_h_INCLUDED__
7 #include "bbcreaMaracasVisu_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
11 #include <vtkImageData.h>
12 #include "manualContourModel.h"
15 namespace bbcreaMaracasVisu
18 class bbcreaMaracasVisu_EXPORT ContourExtractDataBox
20 public bbtk::AtomicBlackBox
22 BBTK_BLACK_BOX_INTERFACE(ContourExtractDataBox,bbtk::AtomicBlackBox);
24 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
26 BBTK_DECLARE_INPUT(ReferenceImage , vtkImageData*);
27 BBTK_DECLARE_INPUT(ManualBaseModel , manualBaseModel*);
28 BBTK_DECLARE_INPUT(Z , int);
29 BBTK_DECLARE_INPUT(Range , std::vector<double>);
30 BBTK_DECLARE_OUTPUT(Mask , vtkImageData*);
31 BBTK_DECLARE_OUTPUT(Values , vtkImageData*);
33 BBTK_DECLARE_OUTPUT(NumberOfPixels , double );
34 BBTK_DECLARE_OUTPUT(LstValue , std::vector<double> );
35 BBTK_DECLARE_OUTPUT(LstValuePosX , std::vector<double> );
36 BBTK_DECLARE_OUTPUT(LstValuePosY , std::vector<double> );
37 BBTK_DECLARE_OUTPUT(LstValuePosZ , std::vector<double> );
39 BBTK_DECLARE_OUTPUT(ResultGrayRangeCount , double );
40 BBTK_DECLARE_OUTPUT(ResultSize , double );
41 BBTK_DECLARE_OUTPUT(ResultMin , double );
42 BBTK_DECLARE_OUTPUT(ResultMax , double );
43 BBTK_DECLARE_OUTPUT(ResultAverage , double );
44 BBTK_DECLARE_OUTPUT(ResultStandarDeviation , double );
45 BBTK_PROCESS(Process);
48 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
52 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ContourExtractDataBox,bbtk::AtomicBlackBox);
53 BBTK_NAME("ContourExtractDataBox");
54 BBTK_AUTHOR("Info-Dev");
55 BBTK_DESCRIPTION("No Description.");
56 BBTK_CATEGORY("empty");
57 BBTK_INPUT(ContourExtractDataBox,ReferenceImage,"Reference Image",vtkImageData*,"");
58 BBTK_INPUT(ContourExtractDataBox,ManualBaseModel,"ManualBaseModel",manualBaseModel*,"");
59 BBTK_INPUT(ContourExtractDataBox,Z,"(0 default) slice Z to be extracted",int,"");
60 BBTK_INPUT(ContourExtractDataBox,Range,"([-10000 10000] Gray level range [min max]",std::vector<double>,"");
62 BBTK_OUTPUT(ContourExtractDataBox,Mask,"Mask image",vtkImageData*,"");
63 BBTK_OUTPUT(ContourExtractDataBox,Values,"Values image",vtkImageData*,"");
64 BBTK_OUTPUT(ContourExtractDataBox,NumberOfPixels,"Number of pixels (this value can be big)",double,"");
65 BBTK_OUTPUT(ContourExtractDataBox,LstValue,"List of values inside the mask and in the range",std::vector<double>,"");
66 BBTK_OUTPUT(ContourExtractDataBox,LstValuePosX,"List of px of the values inside the mask and in the range",std::vector<double>,"");
67 BBTK_OUTPUT(ContourExtractDataBox,LstValuePosY,"List of py of the values inside the mask and in the range",std::vector<double>,"");
68 BBTK_OUTPUT(ContourExtractDataBox,LstValuePosZ,"List of pz of the values inside the mask and in the range",std::vector<double>,"");
70 BBTK_OUTPUT(ContourExtractDataBox,ResultGrayRangeCount,"ResultGrayRangeCount",double,"");
71 BBTK_OUTPUT(ContourExtractDataBox,ResultSize,"ResultSize",double,"");
72 BBTK_OUTPUT(ContourExtractDataBox,ResultMin,"ResultMin",double,"");
73 BBTK_OUTPUT(ContourExtractDataBox,ResultMax,"ResultMax",double,"");
74 BBTK_OUTPUT(ContourExtractDataBox,ResultAverage,"ResultAverage",double,"");
75 BBTK_OUTPUT(ContourExtractDataBox,ResultStandarDeviation,"ResultStandarDeviation",double,"");
77 BBTK_END_DESCRIBE_BLACK_BOX(ContourExtractDataBox);
79 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
82 // EO namespace bbcreaMaracasVisu
84 #endif // __bbcreaMaracasVisuContourExtractDataBox_h_INCLUDED__