X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_creaVtk_PKG%2Fsrc%2FbbcreaVtkDistanceMap.h;h=f7a80576be7678c81848d802a24e158186fd042f;hb=464deff51f697881cd76b3cfb934859cd7c31df7;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..f7a8057 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkDistanceMap.h +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkDistanceMap.h @@ -8,6 +8,7 @@ #include "bbtkAtomicBlackBox.h" #include "iostream" +#include #include "vtkImageData.h" namespace bbcreaVtk @@ -24,11 +25,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 +54,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,"");