#ifndef __bbSlicerMergeModels_h_INCLUDED__ #define __bbSlicerMergeModels_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 MergeModels : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE ( MergeModels , bbtk::AtomicBlackBox ) ; // GENERATED ARGS BBTK_DECLARE_INPUT ( Model1 , std::string ); BBTK_DECLARE_INPUT ( Model2 , std::string ); BBTK_DECLARE_INPUT ( ModelOutput , 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 ( MergeModels , bbtk::AtomicBlackBox ) ; BBTK_NAME ( "MergeModels" ) ; BBTK_AUTHOR ( "Nicole Aucoin BWH Ron Kikinis, BWH, Daniel Haehn" ) ; BBTK_DESCRIPTION ( "Merge the polydata from two input models and output a new model with the added polydata. Uses the vtkAppendPolyData filter. Works on .vtp and .vtk surface files." ) ; BBTK_CATEGORY ( "Surface Models" ) ; // GENERATED DESCRPTION BBTK_INPUT(MergeModels , Model1 , "Model1" , std::string, ""); BBTK_INPUT(MergeModels , Model2 , "Model2" , std::string, ""); BBTK_INPUT(MergeModels , ModelOutput , "ModelOutput" , std::string, ""); // EO GENERATED DESCRIPTION BBTK_END_DESCRIBE_BLACK_BOX ( MergeModels ) ; } #endif // __bbSlicerMergeModels_h_INCLUDED__