X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_creaVtk_PKG%2Fsrc%2FbbcreaVtkDistanceMap.h;h=ffa199abc4b3943b33128a0298af857129e7d336;hb=a58b0ef3e9adb0fd28caeb807b7fd2c904c4363a;hp=9fc412ac7259ebb802a070003a55f45e589b3a46;hpb=76f1142e5d1a48a2e929e5a732f7b863d6b3497b;p=creaVtk.git diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkDistanceMap.h b/bbtk_creaVtk_PKG/src/bbcreaVtkDistanceMap.h index 9fc412a..ffa199a 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkDistanceMap.h +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkDistanceMap.h @@ -24,11 +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(Length, int ); + BBTK_DECLARE_OUTPUT(LengthPixels, int ); BBTK_DECLARE_OUTPUT(FinalPoint,std::vector); BBTK_DECLARE_OUTPUT(LstPathXOut,std::vector); BBTK_DECLARE_OUTPUT(LstPathYOut,std::vector); @@ -52,11 +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,Length,"Path Length",int,""); + 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,"");