--- /dev/null
+//=====
+// 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 __bbcreaVtkPolyDataInfo_h_INCLUDED__
+#define __bbcreaVtkPolyDataInfo_h_INCLUDED__
+
+#include "bbcreaVtk_EXPORT.h"
+#include "bbtkAtomicBlackBox.h"
+#include "iostream"
+
+#include "vtkPolyData.h"
+
+namespace bbcreaVtk
+{
+
+class bbcreaVtk_EXPORT PolyDataInfo
+ :
+ public bbtk::AtomicBlackBox
+{
+ BBTK_BLACK_BOX_INTERFACE(PolyDataInfo,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( In , vtkPolyData* );
+ BBTK_DECLARE_OUTPUT( NumberOfCells , double );
+ BBTK_DECLARE_OUTPUT( NumberOfLines , double );
+ BBTK_DECLARE_OUTPUT( NumberOfPoints , double );
+ BBTK_DECLARE_OUTPUT( NumberOfPieces , double );
+ BBTK_DECLARE_OUTPUT( NumberOfPolys , double );
+ BBTK_DECLARE_OUTPUT( NumberOfStrips , double );
+ BBTK_DECLARE_OUTPUT( NumberOfVerts , double );
+ BBTK_PROCESS(Process);
+ void Process();
+//=====
+// 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_BEGIN_DESCRIBE_BLACK_BOX(PolyDataInfo,bbtk::AtomicBlackBox);
+ BBTK_NAME("PolyDataInfo");
+ BBTK_AUTHOR("InfoDev");
+ BBTK_DESCRIPTION("No Description.");
+ BBTK_CATEGORY("empty");
+
+ BBTK_INPUT(PolyDataInfo,In,"vtkPolyData", vtkPolyData* ,"");
+
+ BBTK_OUTPUT(PolyDataInfo,NumberOfCells,"Number of Cells",double,"");
+ BBTK_OUTPUT(PolyDataInfo,NumberOfLines,"Number of Lines",double,"");
+ BBTK_OUTPUT(PolyDataInfo,NumberOfPoints,"Number of Points",double,"");
+ BBTK_OUTPUT(PolyDataInfo,NumberOfPieces,"Number of Pieces",double,"");
+ BBTK_OUTPUT(PolyDataInfo,NumberOfPolys,"Number of Ploys",double,"");
+ BBTK_OUTPUT(PolyDataInfo,NumberOfStrips,"Number of Strips",double,"");
+ BBTK_OUTPUT(PolyDataInfo,NumberOfVerts,"Number of Verts",double,"");
+
+BBTK_END_DESCRIBE_BLACK_BOX(PolyDataInfo);
+//=====
+// 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 // __bbcreaVtkPolyDataInfo_h_INCLUDED__
+