# ----------------------------------
# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
-# - /home/davila/Creatis/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Widget.bbs
+# - /home/davila/Creatis/C8/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
category "<VOID>"
-new VectorsVisu Box00
+new creaVtk:VectorsVisu Box00
+
+new vtk:MaskPoint Box07
+
+new creaVtk:VolumeVectorVisu_Interface Box02
+
+new vtk:UpdateRender Box03
+ set Box03.Active "true"
+
+new std:MagicBox Box04
+
+new std:MagicBox Box06
+
+new creaVtk:ClipPolyData Box08
+ set Box08.Inside "true"
+ set Box08.Type "1"
-new MaskPoint Box07
+new creaVtk:BoxWidget Box09
-new VolumeVectorVisu_Interface Box02
+new std:MultipleInputs Box10
-connect Box07.Out Box00.In
connect Box02.AcitiveVector Box00.Active
connect Box02.Opacity Box00.Opacity
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
+connect Box02.form Box00.TypeForm
+connect Box06.Out Box07.In
+connect Box07.Out Box08.In
+connect Box08.Out Box00.In
+connect Box09.ImplicitFunction Box08.ImplicitFunction
+connect Box04.Out Box09.Renderer
+connect Box02.boxChange Box10.In2
+connect Box09.BoxChange Box10.In1
+connect Box10.BoxChange Box00.BoxExecute
+connect Box02.ActiveBoxWidget Box09.Active
+connect Box02.AcitiveVector Box07.Active
# Complex input ports
-input renderer Box00.Renderer " "
-input vtkImageData Box07.In " "
+input renderer Box04.In " "
+input vtkImageData Box06.In " "
# Complex output ports
output boxchange Box02.boxChange " "