1 #ifndef __bbSlicerFiducialRegistration_h_INCLUDED__
2 #define __bbSlicerFiducialRegistration_h_INCLUDED__
4 #include "bbSlicer_EXPORT.h"
5 #include "bbtkAtomicBlackBox.h"
14 #include <ModuleDescriptionUtilities.h>
15 #include <ModuleDescriptionParser.h>
16 #include <ModuleParameterGroup.h>
17 #include <ModuleDescription.h>
18 #include <ModuleParameter.h>
20 #include "CreationTool.h"
24 class bbSlicer_EXPORT FiducialRegistration
26 public bbtk::AtomicBlackBox {
27 BBTK_BLACK_BOX_INTERFACE ( FiducialRegistration , bbtk::AtomicBlackBox ) ;
31 BBTK_DECLARE_INPUT ( fixedLandmarks , std::vector<std::vector<float> > );
32 BBTK_DECLARE_INPUT ( movingLandmarks , std::vector<std::vector<float> > );
33 BBTK_DECLARE_INPUT ( saveTransform , std::string );
34 BBTK_DECLARE_INPUT ( transformType , std::string );
38 BBTK_PROCESS ( Process ) ;
41 void execute ( std::string lib , int _argc , char * _argv[] ) ;
44 BBTK_BEGIN_DESCRIBE_BLACK_BOX ( FiducialRegistration , bbtk::AtomicBlackBox ) ;
45 BBTK_NAME ( "FiducialRegistration" ) ;
46 BBTK_AUTHOR ( "Casey B Goodlett" ) ;
47 BBTK_DESCRIPTION ( "Computes a rigid, similarity or affine transform from a matched list of fiducials" ) ;
48 BBTK_CATEGORY ( "Registration.Specialized" ) ;
50 // GENERATED DESCRPTION
52 BBTK_INPUT(FiducialRegistration , fixedLandmarks , "fixedLandmarks" , std::vector<std::vector<float> >, "");
53 BBTK_INPUT(FiducialRegistration , movingLandmarks , "movingLandmarks" , std::vector<std::vector<float> >, "");
54 BBTK_INPUT(FiducialRegistration , saveTransform , "saveTransform" , std::string, "");
55 BBTK_INPUT(FiducialRegistration , transformType , "transformType" , std::string, "");
57 // EO GENERATED DESCRIPTION
59 BBTK_END_DESCRIBE_BLACK_BOX ( FiducialRegistration ) ;
62 #endif // __bbSlicerFiducialRegistration_h_INCLUDED__