]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkLineProfile.h
#2446 creaVtk Feature New Normal - Stream Tracer, Stream Line (interface, widget)
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkLineProfile.h
1 //===== 
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)
3 //===== 
4 #ifndef __bbcreaVtkLineProfile_h_INCLUDED__
5 #define __bbcreaVtkLineProfile_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include "vtkImageData.h"
11
12 namespace bbcreaVtk
13 {
14
15 class bbcreaVtk_EXPORT LineProfile
16  : 
17    public bbtk::AtomicBlackBox
18 {
19   BBTK_BLACK_BOX_INTERFACE(LineProfile,bbtk::AtomicBlackBox);
20 //===== 
21 // 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)
22 //===== 
23   BBTK_DECLARE_INPUT(In,vtkImageData*);
24   BBTK_DECLARE_INPUT(Point1,std::vector<double>);
25   BBTK_DECLARE_INPUT(Point2,std::vector<double>);
26   BBTK_DECLARE_OUTPUT(Out,std::vector<double>);
27   BBTK_PROCESS(Process);
28   void Process();
29 //===== 
30 // 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)
31 //===== 
32 };
33
34 BBTK_BEGIN_DESCRIBE_BLACK_BOX(LineProfile,bbtk::AtomicBlackBox);
35         BBTK_NAME("LineProfile");
36         BBTK_AUTHOR("Info-Dev Creatis");
37         BBTK_DESCRIPTION("Line Profile");
38         BBTK_CATEGORY("filter");
39         BBTK_INPUT(LineProfile,In,"Input image",vtkImageData*,"");
40         BBTK_INPUT(LineProfile,Point1,"Vector [x y z]",std::vector<double>,"");
41         BBTK_INPUT(LineProfile,Point2,"Vector [x y z]",std::vector<double>,"");
42         BBTK_OUTPUT(LineProfile,Out,"Profile in gray level of the points of the segment",std::vector<double>,"");
43 BBTK_END_DESCRIBE_BLACK_BOX(LineProfile);
44 //===== 
45 // 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)
46 //===== 
47 }
48 // EO namespace bbcreaVtk
49
50 #endif // __bbcreaVtkLineProfile_h_INCLUDED__
51