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 __bbcreaVtkVectorsExtraction_h_INCLUDED__
5 #define __bbcreaVtkVectorsExtraction_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
10 #include "vtkImageData.h"
11 #include "vtkPointData.h"
19 class bbcreaVtk_EXPORT VectorsExtraction
21 public bbtk::AtomicBlackBox
23 BBTK_BLACK_BOX_INTERFACE(VectorsExtraction,bbtk::AtomicBlackBox);
25 // 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)
27 BBTK_DECLARE_INPUT(Coordinates,std::vector<double>);
28 BBTK_DECLARE_INPUT(VectorsFieldImage,vtkImageData*);
29 BBTK_DECLARE_OUTPUT(Vector,std::vector<double>);
30 BBTK_DECLARE_OUTPUT(X,double);
31 BBTK_DECLARE_OUTPUT(Y,double);
32 BBTK_DECLARE_OUTPUT(Z,double);
33 BBTK_DECLARE_OUTPUT(Angle1,double);
34 BBTK_DECLARE_OUTPUT(Angle2,double);
35 BBTK_PROCESS(Process);
38 // 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)
42 BBTK_BEGIN_DESCRIBE_BLACK_BOX(VectorsExtraction,bbtk::AtomicBlackBox);
43 BBTK_NAME("VectorsExtraction");
44 BBTK_AUTHOR("Monica ESPINOSA");
45 BBTK_DESCRIPTION("Warning! looking ofr a 'velocity' array. BOX NOT TESTED!");
46 BBTK_CATEGORY("empty");
47 BBTK_INPUT(VectorsExtraction,Coordinates,"Coordinates (x,y,z)",std::vector<double>,"");
48 BBTK_INPUT(VectorsExtraction,VectorsFieldImage,"Image of Vectors Field",vtkImageData*,"");
49 BBTK_OUTPUT(VectorsExtraction,Vector,"",std::vector<double>,"");
50 BBTK_OUTPUT(VectorsExtraction,X,"x",double,"");
51 BBTK_OUTPUT(VectorsExtraction,Y,"y",double,"");
52 BBTK_OUTPUT(VectorsExtraction,Z,"z",double,"");
53 BBTK_OUTPUT(VectorsExtraction,Angle1,"Angle 1 (Helix Angle)",double,"");
54 BBTK_OUTPUT(VectorsExtraction,Angle2,"Angle 2 (Transversal Angle)",double,"");
55 BBTK_END_DESCRIBE_BLACK_BOX(VectorsExtraction);
57 // 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)
60 // EO namespace bbcreaVtk
62 #endif // __bbcreaVtkVectorsExtraction_h_INCLUDED__