#include "bbtkAtomicBlackBox.h"
#include "iostream"
+#include <vtkVersionMacros.h>
#include "vtkImageData.h"
namespace bbcreaVtk
BBTK_DECLARE_INPUT(In,vtkImageData*);
BBTK_DECLARE_INPUT(Slope,double);
+ BBTK_DECLARE_INPUT(AverageRadius,double);
BBTK_DECLARE_INPUT(Point1, std::vector<int>);
BBTK_DECLARE_INPUT(Point2, std::vector<int>);
BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
- BBTK_DECLARE_OUTPUT(Length, int );
+ BBTK_DECLARE_OUTPUT(LengthPixels, int );
BBTK_DECLARE_OUTPUT(FinalPoint,std::vector<int>);
BBTK_DECLARE_OUTPUT(LstPathXOut,std::vector<int>);
BBTK_DECLARE_OUTPUT(LstPathYOut,std::vector<int>);
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<int>,"");
BBTK_INPUT(DistanceMap,Point2,"End point (There is no guarantee of reaching this point.)",std::vector<int>,"");
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<int>,"");
BBTK_OUTPUT(DistanceMap,LstPathXOut,"Vector path X",std::vector<int>,"");
BBTK_OUTPUT(DistanceMap,LstPathYOut,"Vector path Y",std::vector<int>,"");