#ifndef __bbSlicerOrientImages_h_INCLUDED__ #define __bbSlicerOrientImages_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 OrientImages : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE ( OrientImages , bbtk::AtomicBlackBox ) ; // GENERATED ARGS BBTK_DECLARE_INPUT ( inputVolume1 , std::string ); BBTK_DECLARE_INPUT ( outputVolume , std::string ); BBTK_DECLARE_INPUT ( orientation , 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 ( OrientImages , bbtk::AtomicBlackBox ) ; BBTK_NAME ( "OrientImages" ) ; BBTK_AUTHOR ( "Bill Lorensen" ) ; BBTK_DESCRIPTION ( "Orients an output volume. Rearranges the slices in a volume according to the selected orientation. The slices are not interpolated. They are just reordered and/or permuted. The resulting volume will cover the original volume. NOTE: since Slicer takes into account the orientation of a volume, the re-oriented volume will not show any difference from the original volume, To see the difference, save the volume and display it with a system that either ignores the orientation of the image (e.g. Paraview) or displays individual images." ) ; BBTK_CATEGORY ( "Converters" ) ; // GENERATED DESCRPTION BBTK_INPUT(OrientImages , inputVolume1 , "inputVolume1" , std::string, ""); BBTK_INPUT(OrientImages , outputVolume , "outputVolume" , std::string, ""); BBTK_INPUT(OrientImages , orientation , "orientation" , std::string, ""); // EO GENERATED DESCRIPTION BBTK_END_DESCRIBE_BLACK_BOX ( OrientImages ) ; } #endif // __bbSlicerOrientImages_h_INCLUDED__