1 #ifndef __bbSlicerOrientImages_h_INCLUDED__
2 #define __bbSlicerOrientImages_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 OrientImages
26 public bbtk::AtomicBlackBox {
27 BBTK_BLACK_BOX_INTERFACE ( OrientImages , bbtk::AtomicBlackBox ) ;
31 BBTK_DECLARE_INPUT ( inputVolume1 , std::string );
32 BBTK_DECLARE_INPUT ( outputVolume , std::string );
33 BBTK_DECLARE_INPUT ( orientation , std::string );
37 BBTK_PROCESS ( Process ) ;
40 void execute ( std::string lib , int _argc , char * _argv[] ) ;
43 BBTK_BEGIN_DESCRIBE_BLACK_BOX ( OrientImages , bbtk::AtomicBlackBox ) ;
44 BBTK_NAME ( "OrientImages" ) ;
45 BBTK_AUTHOR ( "Bill Lorensen" ) ;
46 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." ) ;
47 BBTK_CATEGORY ( "Converters" ) ;
49 // GENERATED DESCRPTION
51 BBTK_INPUT(OrientImages , inputVolume1 , "inputVolume1" , std::string, "");
52 BBTK_INPUT(OrientImages , outputVolume , "outputVolume" , std::string, "");
53 BBTK_INPUT(OrientImages , orientation , "orientation" , std::string, "");
55 // EO GENERATED DESCRIPTION
57 BBTK_END_DESCRIBE_BLACK_BOX ( OrientImages ) ;
60 #endif // __bbSlicerOrientImages_h_INCLUDED__