#ifndef __bbSlicerCastImage_h_INCLUDED__ #define __bbSlicerCastImage_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 CastImage : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE ( CastImage , bbtk::AtomicBlackBox ) ; // GENERATED ARGS BBTK_DECLARE_INPUT ( InputVolume , std::string ); BBTK_DECLARE_INPUT ( OutputVolume , std::string ); BBTK_DECLARE_INPUT ( Type , std::string ); // EO GENERATED ARGS BBTK_PROCESS ( Process ) ; void Process ( ) ; private: void execute ( std::string lib , int _argc , char * _argv[] ) ; } ; BBTK_BEGIN_DESCRIBE_BLACK_BOX ( CastImage , bbtk::AtomicBlackBox ) ; BBTK_NAME ( "CastImage" ) ; BBTK_AUTHOR ( "Nicole Aucoin, BWH Ron Kikinis, BWH" ) ; BBTK_DESCRIPTION ( "Cast a volume to a given data type.Use at your own risk when casting an input volume into a lower precision type!Allows casting to the same type as the input volume." ) ; BBTK_CATEGORY ( "Filtering.Arithmetic" ) ; // GENERATED DESCRPTION BBTK_INPUT(CastImage , InputVolume , "InputVolume" , std::string, ""); BBTK_INPUT(CastImage , OutputVolume , "OutputVolume" , std::string, ""); BBTK_INPUT(CastImage , Type , "Type" , std::string, ""); // EO GENERATED DESCRIPTION BBTK_END_DESCRIBE_BLACK_BOX ( CastImage ) ; } #endif // __bbSlicerCastImage_h_INCLUDED__