]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkMeasureLength.h
#2969 BBTK Bug New Normal - MesureLength box in vtk package
[bbtk.git] / packages / vtk / src / bbvtkMeasureLength.h
index d7110e96693ed06f85877ae7f23b16427a69aa17..4c42f852815a853ce9c039e650176a537c3e7287 100644 (file)
@@ -28,6 +28,7 @@ class bbvtk_EXPORT MeasureLength
   BBTK_DECLARE_INPUT(Points,vtkPoints*);
   BBTK_DECLARE_INPUT(ImageData,vtkImageData*);
   BBTK_DECLARE_OUTPUT(Length,double);
+  BBTK_DECLARE_OUTPUT(LengthVoxels,double);
   BBTK_PROCESS(Process);
   void Process();
 private:
@@ -46,6 +47,7 @@ BBTK_CATEGORY("");
 BBTK_INPUT(MeasureLength,Points,"List of points",vtkPoints*,"");
 BBTK_INPUT(MeasureLength,ImageData,"Set an image if you want real lentgh (usually in mm)",vtkImageData*,"");
 BBTK_OUTPUT(MeasureLength,Length,"Sum of the Euclidean distances among the points",double,"");
+BBTK_OUTPUT(MeasureLength,LengthVoxels,"Sum of the Euclidean distances among the points (Voxels)",double,"");
 BBTK_END_DESCRIBE_BLACK_BOX(MeasureLength);
 //===== 
 // 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)