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 __bbcreaVtkMeshReduction_DecimatePro_h_INCLUDED__
5 #define __bbcreaVtkMeshReduction_DecimatePro_h_INCLUDED__
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
11 #include "vtkPolyData.h"
12 #include "vtkDecimatePro.h"
17 class bbcreaVtk_EXPORT MeshReduction_DecimatePro
19 public bbtk::AtomicBlackBox
21 BBTK_BLACK_BOX_INTERFACE(MeshReduction_DecimatePro,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(TargetReduction,double);
27 BBTK_DECLARE_OUTPUT(Out,vtkPolyData*);
28 BBTK_PROCESS(Process);
32 vtkDecimatePro *decimatepro;
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)
39 BBTK_BEGIN_DESCRIBE_BLACK_BOX(MeshReduction_DecimatePro,bbtk::AtomicBlackBox);
40 BBTK_NAME("MeshReduction_DecimatePro");
41 BBTK_AUTHOR("InfoDev");
42 BBTK_DESCRIPTION("No Description.");
43 BBTK_CATEGORY("empty");
44 BBTK_INPUT(MeshReduction_DecimatePro,In,"vtkPolyData*",vtkPolyData*,"");
45 BBTK_INPUT(MeshReduction_DecimatePro,TargetReduction,"[0-1] (default 0.5)",double,"");
46 BBTK_OUTPUT(MeshReduction_DecimatePro,Out,"vtkPolyData*",vtkPolyData*,"");
47 BBTK_END_DESCRIBE_BLACK_BOX(MeshReduction_DecimatePro);
49 // 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)
52 // EO namespace bbcreaVtk
54 #endif // __bbcreaVtkMeshReduction_DecimatePro_h_INCLUDED__