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:
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)