]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkMeshManager.h
#3493 MeshManager
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkMeshManager.h
1 //===== 
2 // 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)
3 //===== 
4 #ifndef __bbcreaVtkMeshManager_h_INCLUDED__
5 #define __bbcreaVtkMeshManager_h_INCLUDED__
6
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
9 #include "iostream"
10 #include <vtkPolyData.h>
11 #include <MeshManagerModel.h>
12
13 namespace bbcreaVtk
14 {
15
16 class MeshManagerModel_Box;
17
18 class bbcreaVtk_EXPORT MeshManager
19  : 
20    public bbtk::AtomicBlackBox
21 {
22   BBTK_BLACK_BOX_INTERFACE(MeshManager,bbtk::AtomicBlackBox);
23 //===== 
24 // 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)
25 //===== 
26   BBTK_DECLARE_INPUT(Mesh,vtkPolyData*);
27   BBTK_DECLARE_OUTPUT(MeshBase,vtkPolyData*);
28   BBTK_DECLARE_OUTPUT(MeshTemp,vtkPolyData*);
29   BBTK_DECLARE_OUTPUT(MeshManagerModel,MeshManagerModel*);
30   BBTK_PROCESS(Process);
31   void Process();
32     
33   MeshManagerModel_Box *meshManagerModel_Box;
34 //===== 
35 // 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)
36 //===== 
37 };
38
39 class MeshManagerModel_Box : public MeshManagerModel
40 {
41 public :
42     MeshManagerModel_Box(MeshManager *box);
43     ~MeshManagerModel_Box();
44     virtual void RefreshOutputs();
45 protected:
46 private:
47     MeshManager *mBox;
48 };
49
50
51
52 BBTK_BEGIN_DESCRIBE_BLACK_BOX(MeshManager,bbtk::AtomicBlackBox);
53   BBTK_NAME("MeshManager");
54   BBTK_AUTHOR("InfoDev");
55   BBTK_DESCRIPTION("No Description.");
56   BBTK_CATEGORY("empty");
57
58   BBTK_INPUT(MeshManager,Mesh,"Mesh",vtkPolyData*,"");
59   BBTK_OUTPUT(MeshManager,MeshBase,"Mesh Base",vtkPolyData*,"");
60   BBTK_OUTPUT(MeshManager,MeshTemp,"Mesh Temp",vtkPolyData*,"");
61   BBTK_OUTPUT(MeshManager,MeshManagerModel,"Mesh manager model",MeshManagerModel*,"");
62
63 BBTK_END_DESCRIBE_BLACK_BOX(MeshManager);
64 //===== 
65 // 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)
66 //===== 
67 }
68 // EO namespace bbcreaVtk
69
70 #endif // __bbcreaVtkMeshManager_h_INCLUDED__
71