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)
4 #ifndef __bbcreaVtkPolyDataInfo_h_INCLUDED__
5 #define __bbcreaVtkPolyDataInfo_h_INCLUDED__
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
11 #include "vtkPolyData.h"
12 #include "vtkLinearTransform.h"
17 class bbcreaVtk_EXPORT PolyDataInfo
19 public bbtk::AtomicBlackBox
21 BBTK_BLACK_BOX_INTERFACE(PolyDataInfo,bbtk::AtomicBlackBox);
23 // 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 BBTK_DECLARE_INPUT( In , vtkPolyData* );
26 BBTK_DECLARE_INPUT( Points , bool );
27 BBTK_DECLARE_INPUT( IdsPoints , bool );
28 BBTK_DECLARE_INPUT( Transform , vtkLinearTransform* );
30 BBTK_DECLARE_OUTPUT( NumberOfCells , double );
31 BBTK_DECLARE_OUTPUT( NumberOfLines , double );
32 BBTK_DECLARE_OUTPUT( NumberOfPoints , double );
33 BBTK_DECLARE_OUTPUT( NumberOfPieces , double );
34 BBTK_DECLARE_OUTPUT( NumberOfPolys , double );
35 BBTK_DECLARE_OUTPUT( NumberOfStrips , double );
36 BBTK_DECLARE_OUTPUT( NumberOfVerts , double );
37 BBTK_DECLARE_OUTPUT( LstIdsPoints , std::vector<double> );
38 BBTK_DECLARE_OUTPUT( LstPointsX , std::vector<double> );
39 BBTK_DECLARE_OUTPUT( LstPointsY , std::vector<double> );
40 BBTK_DECLARE_OUTPUT( LstPointsZ , std::vector<double> );
42 BBTK_PROCESS(Process);
45 // 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)
49 BBTK_BEGIN_DESCRIBE_BLACK_BOX(PolyDataInfo,bbtk::AtomicBlackBox);
50 BBTK_NAME("PolyDataInfo");
51 BBTK_AUTHOR("InfoDev");
52 BBTK_DESCRIPTION("No Description.");
53 BBTK_CATEGORY("empty");
55 BBTK_INPUT(PolyDataInfo,In,"vtkPolyData", vtkPolyData* ,"");
56 BBTK_INPUT(PolyDataInfo,IdsPoints,"(default false) Extract ids of the mesh or not.", bool ,"");
57 BBTK_INPUT(PolyDataInfo,Points,"(default false) Extract points of the mesh or not.", bool ,"");
58 BBTK_INPUT(PolyDataInfo,Transform,"vtkTransform", vtkLinearTransform* ,"");
60 BBTK_OUTPUT(PolyDataInfo,NumberOfCells,"Number of Cells",double,"");
61 BBTK_OUTPUT(PolyDataInfo,NumberOfLines,"Number of Lines",double,"");
62 BBTK_OUTPUT(PolyDataInfo,NumberOfPoints,"Number of Points",double,"");
63 BBTK_OUTPUT(PolyDataInfo,NumberOfPieces,"Number of Pieces",double,"");
64 BBTK_OUTPUT(PolyDataInfo,NumberOfPolys,"Number of Ploys",double,"");
65 BBTK_OUTPUT(PolyDataInfo,NumberOfStrips,"Number of Strips",double,"");
66 BBTK_OUTPUT(PolyDataInfo,NumberOfVerts,"Number of Verts",double,"");
67 BBTK_OUTPUT(PolyDataInfo,LstIdsPoints,"List of Ids of points (if input Ids=true)",std::vector<double>,"");
68 BBTK_OUTPUT(PolyDataInfo,LstPointsX,"List of X of points (if input Points=true)",std::vector<double>,"");
69 BBTK_OUTPUT(PolyDataInfo,LstPointsY,"List of Y of points (if input Points=true)",std::vector<double>,"");
70 BBTK_OUTPUT(PolyDataInfo,LstPointsZ,"List of Z of points (if input Points=true)",std::vector<double>,"");
73 BBTK_END_DESCRIBE_BLACK_BOX(PolyDataInfo);
75 // 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)
78 // EO namespace bbcreaVtk
80 #endif // __bbcreaVtkPolyDataInfo_h_INCLUDED__