//===== // 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) //===== #ifndef __bbcreaVtkPointPickerNearest_h_INCLUDED__ #define __bbcreaVtkPointPickerNearest_h_INCLUDED__ #include "bbcreaVtk_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" #include "vtkPolyData.h" namespace bbcreaVtk { typedef long int longInt; class bbcreaVtk_EXPORT PointPickerNearest : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(PointPickerNearest,bbtk::AtomicBlackBox); //===== // 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) //===== BBTK_DECLARE_INPUT(Active,bool); BBTK_DECLARE_INPUT(Point,std::vector); BBTK_DECLARE_INPUT(Mesh,vtkPolyData*); BBTK_DECLARE_INPUT(Border,double); BBTK_DECLARE_OUTPUT(PointId,longInt); BBTK_DECLARE_OUTPUT(PointOut,std::vector); BBTK_DECLARE_OUTPUT(Normal,std::vector); BBTK_PROCESS(Process); void Process(); //===== // 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) //===== }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(PointPickerNearest,bbtk::AtomicBlackBox); BBTK_NAME("PointPickerNearest"); BBTK_AUTHOR("InfoDev"); BBTK_DESCRIPTION("No Description."); BBTK_CATEGORY("empty"); BBTK_INPUT(PointPickerNearest,Active,"(default false) true/false",bool,""); BBTK_INPUT(PointPickerNearest,Point,"Point [x,y,z]",std::vector,""); BBTK_INPUT(PointPickerNearest,Mesh,"Mesh polyData",vtkPolyData*,""); BBTK_INPUT(PointPickerNearest,Border,"(default 5) Distance max to be acvive",double,""); BBTK_OUTPUT(PointPickerNearest,PointId,"Mesh point Id ",longInt,""); BBTK_OUTPUT(PointPickerNearest,PointOut,"Out Point [x,y,z]",std::vector,""); BBTK_OUTPUT(PointPickerNearest,Normal,"Normal [nx,ny,nz]",std::vector,""); BBTK_END_DESCRIBE_BLACK_BOX(PointPickerNearest); //===== // 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) //===== } // EO namespace bbcreaVtk #endif // __bbcreaVtkPointPickerNearest_h_INCLUDED__