//===== // 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 __bbcreaVtkDistanceMap_h_INCLUDED__ #define __bbcreaVtkDistanceMap_h_INCLUDED__ #include "bbcreaVtk_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" #include "vtkImageData.h" namespace bbcreaVtk { class bbcreaVtk_EXPORT DistanceMap : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(DistanceMap,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(In,vtkImageData*); BBTK_DECLARE_INPUT(Slope,double); BBTK_DECLARE_INPUT(Point1, std::vector); BBTK_DECLARE_INPUT(Point2, std::vector); BBTK_DECLARE_OUTPUT(Out,vtkImageData*); BBTK_DECLARE_OUTPUT(Length, int ); BBTK_DECLARE_OUTPUT(FinalPoint,std::vector); BBTK_DECLARE_OUTPUT(LstPathXOut,std::vector); BBTK_DECLARE_OUTPUT(LstPathYOut,std::vector); BBTK_DECLARE_OUTPUT(LstPathZOut,std::vector); BBTK_PROCESS(Process); void Process(); vtkImageData* imageoutput; //===== // 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(DistanceMap,bbtk::AtomicBlackBox); BBTK_NAME("DistanceMap"); BBTK_AUTHOR("InfoDev"); BBTK_DESCRIPTION("Normaly mask or mask[0 255] + gaussian[5]"); BBTK_CATEGORY("empty"); BBTK_INPUT(DistanceMap,In,"Input image",vtkImageData*,""); BBTK_INPUT(DistanceMap,Slope,"(default 10) Slope",double,""); BBTK_INPUT(DistanceMap,Point1,"Start point",std::vector,""); BBTK_INPUT(DistanceMap,Point2,"End point (There is no guarantee of reaching this point.)",std::vector,""); BBTK_OUTPUT(DistanceMap,Out,"Output image",vtkImageData*,""); BBTK_OUTPUT(DistanceMap,Length,"Path Length",int,""); BBTK_OUTPUT(DistanceMap,FinalPoint,"Final Point",std::vector,""); BBTK_OUTPUT(DistanceMap,LstPathXOut,"Vector path X",std::vector,""); BBTK_OUTPUT(DistanceMap,LstPathYOut,"Vector path Y",std::vector,""); BBTK_OUTPUT(DistanceMap,LstPathZOut,"Vector path Z",std::vector,""); BBTK_END_DESCRIBE_BLACK_BOX(DistanceMap); //===== // 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 // __bbcreaVtkDistanceMap_h_INCLUDED__