# ----------------------------------
# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
-# - /home/davila/Creatis/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbs
+# - /tmpEED/creaTools2/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbs
# ----------------------------------
include std
include itkvtk
include creaVtk
-include std
include vtk
+include std
define PlaneVectorVisu_Widget creaVtk
category "<VOID>"
-new VectorsVisu Box00
-
-new PlaneWidget Box01
+new creaVtk:VectorsVisu Box00
-new MultipleInputs Box02
- set Box02.BoxProcessMode "Reactive"
+new creaVtk:PlaneWidget Box01
-new ProbeFilter Box03
+new vtk:ProbeFilter Box03
-new vtkImageDataPointerRelay Box04
+new vtk:vtkImageDataPointerRelay Box04
-new MagicBox Box05
+new std:MagicBox Box05
-new PlaneVectorViso_Interface Box06
+new creaVtk:PlaneVectorViso_Interface Box06
set Box06.typeFormsStr "Line Arrow"
+new vtk:UpdateRender Box13
+ set Box13.Active "true"
+ set Box13.BoxProcessMode "Reactive"
+
+new std:SharedMemory Box15
+
-connect Box01.BoxChange Box02.In1
-connect Box02.BoxChange Box00.BoxExecute
connect Box03.Out Box00.In
connect Box01.Out Box03.Input
connect Box04.Out Box03.Source
connect Box06.ActivePlaneControl Box01.Active
connect Box06.Opacity Box00.Opacity
connect Box06.ScaleFactor Box00.ScaleFactor
-connect Box06.boxChange Box02.In2
connect Box06.Ratio Box01.Resolution
-connect Box06.boxChange Box01.BoxExecute
connect Box06.typeForm Box00.TypeForm
+connect Box05.Out Box13.Renderer
+connect Box15.Out Box00.BoxExecute
+connect Box06.boxChange Box15.In1
+connect Box15.Out Box13.BoxExecute
+connect Box01.BoxChange Box15.In2
# Complex input ports
input vtkImageData Box04.In " "
# Complex output ports
output Widget Box06.widget " "
-output boxchange Box02.BoxChange " "
+output boxchange Box15.Out " "
-message
endefine