X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_creaVtk_PKG%2Fsrc%2FbbcreaVtkDistanceMap.h;h=ffa199abc4b3943b33128a0298af857129e7d336;hb=35d972b73bc01e8c2bf9d09fda1470c22f82b4d2;hp=a86d68e405ce696c82f6225c7da69cbe80dc2bb2;hpb=dce9dbecb71a7f84a827c550976eeec0eee2c6a8;p=creaVtk.git diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkDistanceMap.h b/bbtk_creaVtk_PKG/src/bbcreaVtkDistanceMap.h index a86d68e..ffa199a 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkDistanceMap.h +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkDistanceMap.h @@ -24,10 +24,12 @@ class bbcreaVtk_EXPORT DistanceMap BBTK_DECLARE_INPUT(In,vtkImageData*); BBTK_DECLARE_INPUT(Slope,double); + BBTK_DECLARE_INPUT(AverageRadius,double); BBTK_DECLARE_INPUT(Point1, std::vector); BBTK_DECLARE_INPUT(Point2, std::vector); BBTK_DECLARE_OUTPUT(Out,vtkImageData*); + BBTK_DECLARE_OUTPUT(LengthPixels, int ); BBTK_DECLARE_OUTPUT(FinalPoint,std::vector); BBTK_DECLARE_OUTPUT(LstPathXOut,std::vector); BBTK_DECLARE_OUTPUT(LstPathYOut,std::vector); @@ -51,10 +53,12 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(DistanceMap,bbtk::AtomicBlackBox); BBTK_INPUT(DistanceMap,In,"Input image",vtkImageData*,""); BBTK_INPUT(DistanceMap,Slope,"(default 10) Slope",double,""); + BBTK_INPUT(DistanceMap,AverageRadius,"(default 10) Average Radius of the tube",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,LengthPixels,"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,"");