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 BBTK_BEGIN_DESCRIBE_BLACK_BOX(PlaneReorientationBox,bbtk::AtomicBlackBox);
32 BBTK_NAME("PlaneReorientationBox");
33 BBTK_AUTHOR("jn.trillos44@uniandes.edu.co");
34 BBTK_DESCRIPTION("Reorientates an image by use of a plane");
35 BBTK_CATEGORY("filter");
36 BBTK_INPUT(PlaneReorientationBox,InX,"Points in X (for all the three points)",std::vector<int>,"");
37 BBTK_INPUT(PlaneReorientationBox,InY,"Points in Y (for all the three points)",std::vector<int>,"");
38 BBTK_INPUT(PlaneReorientationBox,InZ,"Points in Z (for all the three points)",std::vector<int>,"");
39 BBTK_INPUT(PlaneReorientationBox,labels,"Labels of the points",std::vector<std::string>,"");
40 BBTK_INPUT(PlaneReorientationBox,CenterPoint,"CenterPoint",std::vector<int>,"");
41 BBTK_OUTPUT(PlaneReorientationBox,Out,"Transformation ",vtkTransform*,"");
42 BBTK_END_DESCRIBE_BLACK_BOX(PlaneReorientationBox);
44 // EO namespace bbPackRecalage
46 #endif // __bbPackRecalagePlaneNormalBox_h_INCLUDED__