#ifndef __bbUtilitiesOpenLBWriter_h_INCLUDED__ #define __bbUtilitiesOpenLBWriter_h_INCLUDED__ #include "bbtkAtomicBlackBox.h" #include "iostream" #include namespace bbUtilities { class /*BBTK_EXPORT*/ OpenLBWriter : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(OpenLBWriter,bbtk::AtomicBlackBox); //================================================================== BBTK_DECLARE_INPUT(In,vtkImageData*); BBTK_DECLARE_INPUT(FileName,std::string); BBTK_DECLARE_OUTPUT(Out,double); BBTK_PROCESS(Process); void Process(); }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(OpenLBWriter,bbtk::AtomicBlackBox); BBTK_NAME("OpenLBWriter"); BBTK_AUTHOR("car-prie@uniandes.edu.co"); BBTK_DESCRIPTION("Saves an image for openLB format"); BBTK_CATEGORY("__CATEGORY__"); BBTK_INPUT(OpenLBWriter,In,"Image Data to create the file",vtkImageData*,""); BBTK_INPUT(OpenLBWriter,FileName,"File Name of the file to be saved",std::string,""); BBTK_OUTPUT(OpenLBWriter,Out,"First output",double,""); BBTK_END_DESCRIBE_BLACK_BOX(OpenLBWriter); } // EO namespace bbUtilities #endif // __bbUtilitiesOpenLBWriter_h_INCLUDED__