//===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== #ifndef __bbcreaVtkMeshManager_h_INCLUDED__ #define __bbcreaVtkMeshManager_h_INCLUDED__ #include "bbcreaVtk_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" #include #include namespace bbcreaVtk { class MeshManagerModel_Box; class bbcreaVtk_EXPORT MeshManager : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(MeshManager,bbtk::AtomicBlackBox); //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== BBTK_DECLARE_INPUT(Mesh,vtkPolyData*); BBTK_DECLARE_INPUT(MeshVector, std::vector); BBTK_DECLARE_OUTPUT(MeshBase,vtkPolyData*); BBTK_DECLARE_OUTPUT(MeshTemp,vtkPolyData*); BBTK_DECLARE_OUTPUT(MeshNames,std::vector); BBTK_DECLARE_OUTPUT(MeshManagerModel,MeshManagerModel*); BBTK_DECLARE_OUTPUT(AllPolyDatas, std::vector); BBTK_DECLARE_OUTPUT(MeshSelection, int); BBTK_PROCESS(Process); void Process(); MeshManagerModel_Box *meshManagerModel_Box; //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== }; class MeshManagerModel_Box : public MeshManagerModel { public : MeshManagerModel_Box(MeshManager *box); ~MeshManagerModel_Box(); virtual void RefreshOutputs(bool signalBox); protected: private: MeshManager *mBox; }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(MeshManager,bbtk::AtomicBlackBox); BBTK_NAME("MeshManager"); BBTK_AUTHOR("InfoDev"); BBTK_DESCRIPTION("No Description."); BBTK_CATEGORY("empty"); BBTK_INPUT(MeshManager,Mesh,"Mesh",vtkPolyData*,""); BBTK_INPUT(MeshManager,MeshVector,"Vector of Meshes",std::vector,""); BBTK_OUTPUT(MeshManager,MeshBase,"Mesh Base",vtkPolyData*,""); BBTK_OUTPUT(MeshManager,MeshTemp,"Mesh Temp",vtkPolyData*,""); BBTK_OUTPUT(MeshManager,MeshNames,"Mesh Names",std::vector,""); BBTK_OUTPUT(MeshManager,MeshManagerModel,"Mesh manager model",MeshManagerModel*,""); BBTK_OUTPUT(MeshManager,AllPolyDatas,"PolyData vector (all mesh bases)",std::vector,""); BBTK_OUTPUT(MeshManager,MeshSelection,"Current Mesh", int,""); BBTK_END_DESCRIBE_BLACK_BOX(MeshManager); //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== } // EO namespace bbcreaVtk #endif // __bbcreaVtkMeshManager_h_INCLUDED__