]> Creatis software - creaCLI.git/blobdiff - bbtk_Slicer_PKG/src/bbSlicerPolyDataToLabelMap.h
The following boxxes compilated with no errors
[creaCLI.git] / bbtk_Slicer_PKG / src / bbSlicerPolyDataToLabelMap.h
diff --git a/bbtk_Slicer_PKG/src/bbSlicerPolyDataToLabelMap.h b/bbtk_Slicer_PKG/src/bbSlicerPolyDataToLabelMap.h
new file mode 100644 (file)
index 0000000..b35d201
--- /dev/null
@@ -0,0 +1,64 @@
+#ifndef __bbSlicerPolyDataToLabelMap_h_INCLUDED__
+#define __bbSlicerPolyDataToLabelMap_h_INCLUDED__
+
+#include "bbSlicer_EXPORT.h"
+#include "bbtkAtomicBlackBox.h"
+
+#include <vector>
+#include <cstdlib>
+#include <dlfcn.h>
+#include <sstream>
+#include <fstream>
+#include <iostream>
+
+#include <ModuleDescriptionUtilities.h>
+#include <ModuleDescriptionParser.h>
+#include <ModuleParameterGroup.h>
+#include <ModuleDescription.h>
+#include <ModuleParameter.h>
+
+#include "CreationTool.h"
+
+namespace bbSlicer {
+
+    class bbSlicer_EXPORT PolyDataToLabelMap
+    :
+    public bbtk::AtomicBlackBox {
+        BBTK_BLACK_BOX_INTERFACE ( PolyDataToLabelMap , bbtk::AtomicBlackBox ) ;
+
+        // GENERATED ARGS        
+        
+BBTK_DECLARE_INPUT ( sampleDistance , float );
+BBTK_DECLARE_INPUT ( InputVolume , std::string );
+BBTK_DECLARE_INPUT ( surface , std::string );
+BBTK_DECLARE_INPUT ( OutputVolume , 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 ( PolyDataToLabelMap , bbtk::AtomicBlackBox ) ;
+    BBTK_NAME ( "PolyDataToLabelMap" ) ;
+    BBTK_AUTHOR ( "Nicole Aucoin BWH, Xiaodong Tao, GE" ) ;
+    BBTK_DESCRIPTION ( "Intersects an input model with an reference volume and produces an output label map." ) ;
+    BBTK_CATEGORY ( "Surface Models" ) ;
+
+    // GENERATED DESCRPTION
+    
+BBTK_INPUT(PolyDataToLabelMap , sampleDistance , "sampleDistance" , float, "");
+BBTK_INPUT(PolyDataToLabelMap , InputVolume , "InputVolume" , std::string, "");
+BBTK_INPUT(PolyDataToLabelMap , surface , "surface" , std::string, "");
+BBTK_INPUT(PolyDataToLabelMap , OutputVolume , "OutputVolume" , std::string, "");
+
+    // EO GENERATED DESCRIPTION
+
+    BBTK_END_DESCRIBE_BLACK_BOX ( PolyDataToLabelMap ) ;
+}
+
+#endif // __bbSlicerPolyDataToLabelMap_h_INCLUDED__
+
+