]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkStlReader.h
#3251 creaVtk Feature New Normal - STL read write and Mesh_reduction
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkStlReader.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 __bbcreaVtkStlReader_h_INCLUDED__
5 #define __bbcreaVtkStlReader_h_INCLUDED__
6
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
9 #include "iostream"
10
11 #include "vtkPolyData.h"
12
13 namespace bbcreaVtk
14 {
15
16 class bbcreaVtk_EXPORT StlReader
17  : 
18    public bbtk::AtomicBlackBox
19 {
20   BBTK_BLACK_BOX_INTERFACE(StlReader,bbtk::AtomicBlackBox);
21 //===== 
22 // 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)
23 //===== 
24   BBTK_DECLARE_INPUT(FileName,std::string);
25   BBTK_DECLARE_OUTPUT(Out,vtkPolyData*);
26   BBTK_PROCESS(Process);
27   void Process();
28 //===== 
29 // 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)
30 //===== 
31 };
32
33 BBTK_BEGIN_DESCRIBE_BLACK_BOX(StlReader,bbtk::AtomicBlackBox);
34   BBTK_NAME("StlReader");
35   BBTK_AUTHOR("InfoDev");
36   BBTK_DESCRIPTION("No Description.");
37   BBTK_CATEGORY("empty");
38   BBTK_INPUT(StlReader,FileName,"File Name",std::string,"");
39   BBTK_OUTPUT(StlReader,Out,"vtkPolyData",vtkPolyData*,"");
40 BBTK_END_DESCRIBE_BLACK_BOX(StlReader);
41 //===== 
42 // 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)
43 //===== 
44 }
45 // EO namespace bbcreaVtk
46
47 #endif // __bbcreaVtkStlReader_h_INCLUDED__
48