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 __bbcreaVtkPolyDataNormals_h_INCLUDED__
5 #define __bbcreaVtkPolyDataNormals_h_INCLUDED__
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
11 #include <vtkPolyData.h>
16 class bbcreaVtk_EXPORT PolyDataNormals
18 public bbtk::AtomicBlackBox
20 BBTK_BLACK_BOX_INTERFACE(PolyDataNormals,bbtk::AtomicBlackBox);
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)
24 BBTK_DECLARE_INPUT(In,vtkPolyData*);
25 BBTK_DECLARE_INPUT(ComputeType,int);
26 BBTK_DECLARE_INPUT(Type,int);
27 BBTK_DECLARE_INPUT(Param,double);
28 BBTK_DECLARE_OUTPUT(Out,vtkPolyData*);
29 BBTK_DECLARE_OUTPUT(MeanNormal,std::vector<double>);
31 BBTK_PROCESS(Process);
34 // 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)
38 BBTK_BEGIN_DESCRIBE_BLACK_BOX(PolyDataNormals,bbtk::AtomicBlackBox);
39 BBTK_NAME("PolyDataNormals");
40 BBTK_AUTHOR("InfoDev");
41 BBTK_DESCRIPTION("No Description.");
42 BBTK_CATEGORY("empty");
43 BBTK_INPUT(PolyDataNormals,In,"Mesh input",vtkPolyData*,"");
44 BBTK_INPUT(PolyDataNormals,ComputeType,"(0 default) 0:points 1:Cells",int,"");
45 BBTK_INPUT(PolyDataNormals,Type,"(0 default) 0:Normal Action 1:Apply correction direction (try param=1)",int,"");
46 BBTK_INPUT(PolyDataNormals,Param,"(0 default) For Type=1 [-2 2] 0:parallel 1:NormalState -1:OpositState",double ,"");
47 BBTK_OUTPUT(PolyDataNormals,Out,"Mesh output",vtkPolyData*,"");
48 BBTK_OUTPUT(PolyDataNormals,MeanNormal,"Mean Normal",std::vector<double>,"");
49 BBTK_END_DESCRIBE_BLACK_BOX(PolyDataNormals);
51 // 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)
54 // EO namespace bbcreaVtk
56 #endif // __bbcreaVtkPolyDataNormals_h_INCLUDED__