1 #ifndef __bbPackRecalagePlaneReorientationBox_h_INCLUDED__
2 #define __bbPackRecalagePlaneReorientationBox_h_INCLUDED__
3 #include "bbPackRecalage_EXPORT.h"
4 #include "bbtkAtomicBlackBox.h"
5 #include "vtkTransform.h"
7 #include "vtkMatrix4x4.h"
8 #include "PlaneReorientation.h"
13 namespace bbPackRecalage
16 class bbPackRecalage_EXPORT PlaneReorientationBox
18 public bbtk::AtomicBlackBox
20 BBTK_BLACK_BOX_INTERFACE(PlaneReorientationBox,bbtk::AtomicBlackBox);
21 BBTK_DECLARE_INPUT(InX,std::vector<int>);
22 BBTK_DECLARE_INPUT(InY,std::vector<int>);
23 BBTK_DECLARE_INPUT(InZ,std::vector<int>);
24 BBTK_DECLARE_INPUT(labels,std::vector<std::string>);
25 BBTK_DECLARE_INPUT(CenterPoint,std::vector<int>);
26 BBTK_DECLARE_OUTPUT(Out,vtkTransform*);
27 BBTK_PROCESS(Process);
31 vtkTransform *transform;
34 BBTK_BEGIN_DESCRIBE_BLACK_BOX(PlaneReorientationBox,bbtk::AtomicBlackBox);
35 BBTK_NAME("PlaneReorientationBox");
36 BBTK_AUTHOR("jn.trillos44@uniandes.edu.co");
37 BBTK_DESCRIPTION("Reorientates an image by use of a plane");
38 BBTK_CATEGORY("filter");
39 BBTK_INPUT(PlaneReorientationBox,InX,"Points in X (for all the three points)",std::vector<int>,"");
40 BBTK_INPUT(PlaneReorientationBox,InY,"Points in Y (for all the three points)",std::vector<int>,"");
41 BBTK_INPUT(PlaneReorientationBox,InZ,"Points in Z (for all the three points)",std::vector<int>,"");
42 BBTK_INPUT(PlaneReorientationBox,labels,"Labels of the points",std::vector<std::string>,"");
43 BBTK_INPUT(PlaneReorientationBox,CenterPoint,"CenterPoint",std::vector<int>,"");
44 BBTK_OUTPUT(PlaneReorientationBox,Out,"Transformation ",vtkTransform*,"");
45 BBTK_END_DESCRIBE_BLACK_BOX(PlaneReorientationBox);
47 // EO namespace bbPackRecalage
49 #endif // __bbPackRecalagePlaneNormalBox_h_INCLUDED__