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(PointOut,std::vector<double>);
33 BBTK_DECLARE_OUTPUT(Normal,std::vector<double>);
34 BBTK_PROCESS(Process);
37 // 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)
41 BBTK_BEGIN_DESCRIBE_BLACK_BOX(PointPickerNearest,bbtk::AtomicBlackBox);
42 BBTK_NAME("PointPickerNearest");
43 BBTK_AUTHOR("InfoDev");
44 BBTK_DESCRIPTION("No Description.");
45 BBTK_CATEGORY("empty");
46 BBTK_INPUT(PointPickerNearest,Active,"(default false) true/false",bool,"");
47 BBTK_INPUT(PointPickerNearest,Point,"Point [x,y,z]",std::vector<double>,"");
48 BBTK_INPUT(PointPickerNearest,Mesh,"Mesh polyData",vtkPolyData*,"");
49 BBTK_INPUT(PointPickerNearest,Border,"(default 5) Distance max to be acvive",double,"");
50 BBTK_OUTPUT(PointPickerNearest,PointId,"Mesh point Id ",longInt,"");
51 BBTK_OUTPUT(PointPickerNearest,PointOut,"Out Point [x,y,z]",std::vector<double>,"");
52 BBTK_OUTPUT(PointPickerNearest,Normal,"Normal [nx,ny,nz]",std::vector<double>,"");
53 BBTK_END_DESCRIBE_BLACK_BOX(PointPickerNearest);
55 // 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)
58 // EO namespace bbcreaVtk
60 #endif // __bbcreaVtkPointPickerNearest_h_INCLUDED__