]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkTransformVector.h
#2811 creaVtk Feature New Normal - Concat Transform ImageAccumulate TransformVector
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkTransformVector.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 __bbcreaVtkTransformVector_h_INCLUDED__
5 #define __bbcreaVtkTransformVector_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include "vtkLinearTransform.h"
11
12 namespace bbcreaVtk
13 {
14
15 class bbcreaVtk_EXPORT TransformVector
16  : 
17    public bbtk::AtomicBlackBox
18 {
19   BBTK_BLACK_BOX_INTERFACE(TransformVector,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(InX,std::vector<double>);
24   BBTK_DECLARE_INPUT(InY,std::vector<double>);
25   BBTK_DECLARE_INPUT(InZ,std::vector<double>);
26   BBTK_DECLARE_INPUT(Transform,vtkLinearTransform*);
27
28   BBTK_DECLARE_OUTPUT(OutX,std::vector<double>);
29   BBTK_DECLARE_OUTPUT(OutY,std::vector<double>);
30   BBTK_DECLARE_OUTPUT(OutZ,std::vector<double>);
31
32   BBTK_PROCESS(Process);
33   void Process();
34 //===== 
35 // 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)
36 //===== 
37 };
38
39 BBTK_BEGIN_DESCRIBE_BLACK_BOX(TransformVector,bbtk::AtomicBlackBox);
40   BBTK_NAME("TransformVector");
41   BBTK_AUTHOR("Info-Dev");
42   BBTK_DESCRIPTION("No Description.");
43   BBTK_CATEGORY("empty");
44
45   BBTK_INPUT(TransformVector,InX,"Xvector input",std::vector<double>,"");
46   BBTK_INPUT(TransformVector,InY,"Yvector input",std::vector<double>,"");
47   BBTK_INPUT(TransformVector,InZ,"Zvector input",std::vector<double>,"");
48   BBTK_INPUT(TransformVector,Transform,"Transform",vtkLinearTransform*,"");
49
50   BBTK_OUTPUT(TransformVector,OutX,"Xvector output",std::vector<double>,"");
51   BBTK_OUTPUT(TransformVector,OutY,"Xvector output",std::vector<double>,"");
52   BBTK_OUTPUT(TransformVector,OutZ,"Xvector output",std::vector<double>,"");
53
54 BBTK_END_DESCRIBE_BLACK_BOX(TransformVector);
55 //===== 
56 // 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)
57 //===== 
58 }
59 // EO namespace bbcreaVtk
60
61 #endif // __bbcreaVtkTransformVector_h_INCLUDED__
62