]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Widget.bbs
#2501 creaVtk Bug New Normal - Clean events in Vectors and Tensors visu widgets...
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / boxes / VolumeVectorVisu_Widget.bbs
index 255787c115c06d382d75427b2b77787fd6d2139c..3c1e1d49f859f96110e3a5c78079ba13cacdc98c 100644 (file)
@@ -1,12 +1,13 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
-# - /home/davila/Creatis/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Widget.bbs
+# - /home/davila/Creatis/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Widget.bbs
 # ----------------------------------
 
 include std
 include itkvtk
 include creaVtk
 include vtk
+include std
 
 define VolumeVectorVisu_Widget creaVtk
 
@@ -21,6 +22,11 @@ new MaskPoint Box07
 
 new VolumeVectorVisu_Interface Box02
 
+new UpdateRender Box03
+  set Box03.Active "true"
+
+new MagicBox Box04
+
 
 connect Box07.Out Box00.In
 connect Box02.AcitiveVector Box00.Active
@@ -29,14 +35,18 @@ connect Box02.Ratio Box07.Ratio
 connect Box02.ScaleFactor Box00.ScaleFactor
 connect Box02.boxChange Box07.BoxExecute
 connect Box02.boxChange Box00.BoxExecute
+connect Box04.Out Box00.Renderer
+connect Box04.Out Box03.Renderer
+connect Box02.boxChange Box03.BoxExecute
 
 # Complex input ports
-input renderer Box00.Renderer " "
 input vtkImageData Box07.In " "
+input renderer Box04.In " "
 
 # Complex output ports
 output boxchange Box02.boxChange " "
 output Widget Box02.widget " "
 
+message    
 
 endefine