]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/bbs/boxes/Measure3DLength_Widget.bbs
#2971 creaMaracasVisu Feature New Normal - ColorLayerImage ColorBar position
[creaMaracasVisu.git] / bbtk / bbs / boxes / Measure3DLength_Widget.bbs
index ac4328dea5a661e98fc6df4ca205dae825293f40..2d9d86a31619760bf4c3080d326bdce688c7197c 100644 (file)
@@ -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