]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkPolyDataInfo.h
b33617203479354782bcce3b04a3d0f55541e511
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkPolyDataInfo.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 __bbcreaVtkPolyDataInfo_h_INCLUDED__
5 #define __bbcreaVtkPolyDataInfo_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 PolyDataInfo
17  : 
18    public bbtk::AtomicBlackBox
19 {
20   BBTK_BLACK_BOX_INTERFACE(PolyDataInfo,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( In , vtkPolyData* );
25   BBTK_DECLARE_OUTPUT( NumberOfCells    , double );
26   BBTK_DECLARE_OUTPUT( NumberOfLines    , double );
27   BBTK_DECLARE_OUTPUT( NumberOfPoints   , double );
28   BBTK_DECLARE_OUTPUT( NumberOfPieces   , double );
29   BBTK_DECLARE_OUTPUT( NumberOfPolys    , double );
30   BBTK_DECLARE_OUTPUT( NumberOfStrips   , double );
31   BBTK_DECLARE_OUTPUT( NumberOfVerts    , double );
32   BBTK_PROCESS(Process);
33   void Process();
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 BBTK_BEGIN_DESCRIBE_BLACK_BOX(PolyDataInfo,bbtk::AtomicBlackBox);
40   BBTK_NAME("PolyDataInfo");
41   BBTK_AUTHOR("InfoDev");
42   BBTK_DESCRIPTION("No Description.");
43   BBTK_CATEGORY("empty");
44
45   BBTK_INPUT(PolyDataInfo,In,"vtkPolyData", vtkPolyData* ,"");
46
47   BBTK_OUTPUT(PolyDataInfo,NumberOfCells,"Number of Cells",double,"");
48   BBTK_OUTPUT(PolyDataInfo,NumberOfLines,"Number of Lines",double,"");
49   BBTK_OUTPUT(PolyDataInfo,NumberOfPoints,"Number of Points",double,"");
50   BBTK_OUTPUT(PolyDataInfo,NumberOfPieces,"Number of Pieces",double,"");
51   BBTK_OUTPUT(PolyDataInfo,NumberOfPolys,"Number of Ploys",double,"");
52   BBTK_OUTPUT(PolyDataInfo,NumberOfStrips,"Number of Strips",double,"");
53   BBTK_OUTPUT(PolyDataInfo,NumberOfVerts,"Number of Verts",double,"");
54
55 BBTK_END_DESCRIBE_BLACK_BOX(PolyDataInfo);
56 //===== 
57 // 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)
58 //===== 
59 }
60 // EO namespace bbcreaVtk
61
62 #endif // __bbcreaVtkPolyDataInfo_h_INCLUDED__
63