X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=ModuleCall%2FGenSrc%2FbbSlicerResampleImageBRAINS.h;fp=ModuleCall%2FGenSrc%2FbbSlicerResampleImageBRAINS.h;h=536d0a830c520b8bbd7ca7eb3a9c9b021d9c65ff;hb=e7b4e2c9254e9e431f74acc92e3f0d40fc5e7ef6;hp=0000000000000000000000000000000000000000;hpb=cd590ce5fff20d69c7060340235a35e9c2a9ef86;p=creaCLI.git diff --git a/ModuleCall/GenSrc/bbSlicerResampleImageBRAINS.h b/ModuleCall/GenSrc/bbSlicerResampleImageBRAINS.h new file mode 100644 index 0000000..536d0a8 --- /dev/null +++ b/ModuleCall/GenSrc/bbSlicerResampleImageBRAINS.h @@ -0,0 +1,78 @@ +#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__ + +