]> Creatis software - creaRigidRegistration.git/blob - PackRecalage/src/bbPackRecalageTransform3DBox.h
Added Transform3D Boxes
[creaRigidRegistration.git] / PackRecalage / src / bbPackRecalageTransform3DBox.h
1 #ifndef __bbPackRecalageTransform3DBox_h_INCLUDED__
2 #define __bbPackRecalageTransform3DBox_h_INCLUDED__
3 #include "bbPackRecalage_EXPORT.h"
4 #include "bbtkAtomicBlackBox.h"
5 #include "iostream"
6 #include "Transformer3D.h"
7 #include "vtkLinearTransform.h"
8
9 namespace bbPackRecalage
10 {
11
12 class bbPackRecalage_EXPORT Transform3DBox
13  : 
14    public bbtk::AtomicBlackBox
15 {
16   BBTK_BLACK_BOX_INTERFACE(Transform3DBox,bbtk::AtomicBlackBox);
17
18   /*Point(x,y) -> Rotation Center*/
19   BBTK_DECLARE_INPUT(CenterPoint,std::vector<int>);
20
21   /*Resultant vtkTransform*/
22   BBTK_DECLARE_OUTPUT(Out, vtkLinearTransform*);
23   
24   BBTK_PROCESS(Process);
25   void Process();
26
27   /*Class in charge of making the transformations*/
28   Transformer3D *transformer;
29 };
30
31 BBTK_BEGIN_DESCRIBE_BLACK_BOX(Transform3DBox,bbtk::AtomicBlackBox);
32 BBTK_NAME("Transform3DBox");
33 BBTK_AUTHOR("jn.trillos44@uniandes.edu.co");
34 BBTK_DESCRIPTION("Box useful for creating matrixes for 3D transformations");
35 BBTK_CATEGORY("__CATEGORY__");
36 BBTK_INPUT(Transform3DBox,CenterPoint,"",std::vector<int>,"");
37 BBTK_OUTPUT(Transform3DBox,Out,"First output",vtkLinearTransform*,"");
38 BBTK_END_DESCRIBE_BLACK_BOX(Transform3DBox);
39 }
40 // EO namespace bbPackRecalage
41
42 #endif // __bbPackRecalageTransform3DBox_h_INCLUDED__
43