#ifndef __bbSlicerResampleImageBRAINS_h_INCLUDED__ #define __bbSlicerResampleImageBRAINS_h_INCLUDED__ #include "bbSlicer_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include #include #include #include #include #include #include #include #include #include #include #include "CreationTool.h" namespace bbSlicer { class bbSlicer_EXPORT ResampleImageBRAINS : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE ( ResampleImageBRAINS , bbtk::AtomicBlackBox ) ; // GENERATED ARGS BBTK_DECLARE_INPUT ( inputVolume , std::string ); BBTK_DECLARE_INPUT ( referenceVolume , std::string ); BBTK_DECLARE_INPUT ( outputVolume , std::string ); BBTK_DECLARE_INPUT ( pixelType , std::string ); BBTK_DECLARE_INPUT ( deformationVolume , std::string ); BBTK_DECLARE_INPUT ( warpTransform , std::string ); BBTK_DECLARE_INPUT ( interpolationMode , std::string ); BBTK_DECLARE_INPUT ( inverseTransform , bool ); BBTK_DECLARE_INPUT ( defaultValue , float ); BBTK_DECLARE_INPUT ( gridSpacing , std::vector ); BBTK_DECLARE_INPUT ( numberOfThreads , int ); // EO GENERATED ARGS BBTK_PROCESS ( Process ) ; void Process ( ) ; private: void execute ( std::string lib , int _argc , char * _argv[] ) ; } ; BBTK_BEGIN_DESCRIBE_BLACK_BOX ( ResampleImageBRAINS , bbtk::AtomicBlackBox ) ; BBTK_NAME ( "ResampleImageBRAINS" ) ; BBTK_AUTHOR ( "This tool was developed by Vincent Magnotta, Greg Harris, and Hans Johnson." ) ; BBTK_DESCRIPTION ( "This program resamples an image image using a deformation field or a transform BSpline, Affine, Rigid, etc.." ) ; BBTK_CATEGORY ( "Registration" ) ; // GENERATED DESCRPTION BBTK_INPUT(ResampleImageBRAINS , inputVolume , "inputVolume" , std::string, ""); BBTK_INPUT(ResampleImageBRAINS , referenceVolume , "referenceVolume" , std::string, ""); BBTK_INPUT(ResampleImageBRAINS , outputVolume , "outputVolume" , std::string, ""); BBTK_INPUT(ResampleImageBRAINS , pixelType , "pixelType" , std::string, ""); BBTK_INPUT(ResampleImageBRAINS , deformationVolume , "deformationVolume" , std::string, ""); BBTK_INPUT(ResampleImageBRAINS , warpTransform , "warpTransform" , std::string, ""); BBTK_INPUT(ResampleImageBRAINS , interpolationMode , "interpolationMode" , std::string, ""); BBTK_INPUT(ResampleImageBRAINS , inverseTransform , "inverseTransform" , bool, ""); BBTK_INPUT(ResampleImageBRAINS , defaultValue , "defaultValue" , float, ""); BBTK_INPUT(ResampleImageBRAINS , gridSpacing , "gridSpacing" , std::vector, ""); BBTK_INPUT(ResampleImageBRAINS , numberOfThreads , "numberOfThreads" , int, ""); // EO GENERATED DESCRIPTION BBTK_END_DESCRIBE_BLACK_BOX ( ResampleImageBRAINS ) ; } #endif // __bbSlicerResampleImageBRAINS_h_INCLUDED__