]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkVectorsExtraction.h
#2671 creaVtk Feature New Normal - VectorsExtraction
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkVectorsExtraction.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 __bbcreaVtkVectorsExtraction_h_INCLUDED__
5 #define __bbcreaVtkVectorsExtraction_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include "vtkImageData.h"
11
12 #include "vtkPolyData.h"
13
14 namespace bbcreaVtk
15 {
16
17 class bbcreaVtk_EXPORT VectorsExtraction
18  : 
19    public bbtk::AtomicBlackBox
20 {
21   BBTK_BLACK_BOX_INTERFACE(VectorsExtraction,bbtk::AtomicBlackBox);
22 //===== 
23 // 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)
24 //===== 
25   BBTK_DECLARE_INPUT(Coordinates,std::vector<double>);
26   BBTK_DECLARE_INPUT(VectorsFieldImage,vtkImageData*);
27   BBTK_DECLARE_OUTPUT(Vector,std::vector<double>);
28   BBTK_DECLARE_OUTPUT(Angle1,double);
29   BBTK_DECLARE_OUTPUT(Angle2,double);
30   BBTK_PROCESS(Process);
31   void Process();
32 //===== 
33 // 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)
34 //===== 
35 };
36
37 BBTK_BEGIN_DESCRIBE_BLACK_BOX(VectorsExtraction,bbtk::AtomicBlackBox);
38 BBTK_NAME("VectorsExtraction");
39 BBTK_AUTHOR("Monica ESPINOSA");
40 BBTK_DESCRIPTION("No Description.");
41 BBTK_CATEGORY("empty");
42 BBTK_INPUT(VectorsExtraction,Coordinates,"Coordinates (x,y,z)",std::vector<double>,"");
43 BBTK_INPUT(VectorsExtraction,VectorsFieldImage,"Image of Vectors Field",vtkImageData*,"");
44 BBTK_OUTPUT(VectorsExtraction,Angle1,"Angle 1 (Helix Angle)",double,"");
45 BBTK_OUTPUT(VectorsExtraction,Angle2,"Angle 2 (Transversal Angle)",double,"");
46 BBTK_END_DESCRIBE_BLACK_BOX(VectorsExtraction);
47 //===== 
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)
49 //===== 
50 }
51 // EO namespace bbcreaVtk
52
53 #endif // __bbcreaVtkVectorsExtraction_h_INCLUDED__
54