X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk%2Fbbs%2Fboxes%2FMeasure3DLength_Widget.bbs;h=2d9d86a31619760bf4c3080d326bdce688c7197c;hb=cef231b63d21ad7ac9914306a0a012666c24f00a;hp=ac4328dea5a661e98fc6df4ca205dae825293f40;hpb=2154a89395b7e9869b0e3dea859425d52a5aa9bd;p=creaMaracasVisu.git diff --git a/bbtk/bbs/boxes/Measure3DLength_Widget.bbs b/bbtk/bbs/boxes/Measure3DLength_Widget.bbs index ac4328d..2d9d86a 100644 --- a/bbtk/bbs/boxes/Measure3DLength_Widget.bbs +++ b/bbtk/bbs/boxes/Measure3DLength_Widget.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) -# - /home/davila/Creatis/creaTools/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Measure3DLength_Widget.bbs +# - /tmpEED/creaTools/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Measure3DLength_Widget.bbs # ---------------------------------- include std @@ -17,33 +17,37 @@ description "Evaluates the sum of the Euclidean distances among the points in th category "example" -new vtkImageDataPointerRelay Box17 +new vtk:vtkImageDataPointerRelay Box17 -new MagicBox Box24 +new std:MagicBox Box24 -new ShowNPoints Box31 +new creaMaracasVisu:ShowNPoints Box31 -new LayoutSplit Box32 +new wx:LayoutSplit Box32 set Box32.Proportion "10" -new LayoutTab Box33 +new wx:LayoutTab Box33 -new OutputText Box34 +new wx:OutputText Box34 + set Box34.Title "Units" -new LayoutLine Box35 +new wx:LayoutLine Box35 -new DrawAxe3D Box36 +new creaMaracasVisu:DrawAxe3D Box36 -new ImageVtkProperties Box38 +new vtk:ImageVtkProperties Box38 -new Transform Box39 +new vtk:Transform Box39 -new UpdateRender Box41 +new vtk:UpdateRender Box41 set Box41.Active "true" -new MeasureLength Box42 +new vtk:MeasureLength Box42 -new PointsXYZtoVTKPoints Box43 +new vtk:PointsXYZtoVTKPoints Box43 + +new wx:OutputText Box13 + set Box13.Title "Voxels" connect Box17.Out Box31.Image @@ -69,6 +73,9 @@ connect Box31.lstPointsZ Box43.LstPointsZ connect Box31.BoxChange Box34.BoxExecute connect Box17.Out Box42.ImageData connect Box31.BoxChange Box36.BoxExecute +connect Box42.LengthVoxels Box13.In +connect Box13.Widget Box35.Widget2 +connect Box31.BoxChange Box13.BoxExecute # Complex input ports input vtkimagedata Box17.In " " @@ -79,5 +86,6 @@ input boxexecute Box31.BoxExecute " " # Complex output ports output widget Box33.Widget " " +message endefine