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 __bbcreaVtkPointPickerNearest_h_INCLUDED__
5 #define __bbcreaVtkPointPickerNearest_h_INCLUDED__
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
11 #include "vtkPolyData.h"
17 typedef long int longInt;
19 class bbcreaVtk_EXPORT PointPickerNearest
21 public bbtk::AtomicBlackBox
23 BBTK_BLACK_BOX_INTERFACE(PointPickerNearest,bbtk::AtomicBlackBox);
25 // 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)
27 BBTK_DECLARE_INPUT(Active,bool);
28 BBTK_DECLARE_INPUT(Point,std::vector<double>);
29 BBTK_DECLARE_INPUT(Mesh,vtkPolyData*);
30 BBTK_DECLARE_INPUT(Border,double);
31 BBTK_DECLARE_OUTPUT(PointId,longInt);
32 BBTK_DECLARE_OUTPUT(Normal,std::vector<double>);
33 BBTK_PROCESS(Process);
36 // 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)
40 BBTK_BEGIN_DESCRIBE_BLACK_BOX(PointPickerNearest,bbtk::AtomicBlackBox);
41 BBTK_NAME("PointPickerNearest");
42 BBTK_AUTHOR("InfoDev");
43 BBTK_DESCRIPTION("No Description.");
44 BBTK_CATEGORY("empty");
45 BBTK_INPUT(PointPickerNearest,Active,"(default false) true/false",bool,"");
46 BBTK_INPUT(PointPickerNearest,Point,"Point [x,y,z]",std::vector<double>,"");
47 BBTK_INPUT(PointPickerNearest,Mesh,"Mesh polyData",vtkPolyData*,"");
48 BBTK_INPUT(PointPickerNearest,Border,"(default 10) Distance max to be acvive",double,"");
49 BBTK_OUTPUT(PointPickerNearest,PointId,"Mesh point Id ",longInt,"");
50 BBTK_OUTPUT(PointPickerNearest,Normal,"Normal [nx,ny,nz]",std::vector<double>,"");
51 BBTK_END_DESCRIBE_BLACK_BOX(PointPickerNearest);
53 // 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)
56 // EO namespace bbcreaVtk
58 #endif // __bbcreaVtkPointPickerNearest_h_INCLUDED__