# ----------------------------------
# - BBTKGEditor v 1.4 BBS BlackBox Script
-# - /home/davila/Creatis/creaVtk/bbtk_creaVtk_PKG/bbs/appli/examplePlaneWidget.bbs
+# - /tmpEED/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/examplePlaneWidget.bbs
# ----------------------------------
# BBTK GEditor Script
include itkvtk
include vtk
include creaMaracasVisu
-include creaVtk
include wx
+include creaVtk
author "Author ??"
description "Description ??"
category "<VOID>"
-new LoadHola Box00
+new vtk:LoadHola Box00
+
+new creaMaracasVisu:ViewerNV Box01
-new ViewerNV Box01
- set Box01.nTypeView "5"
+new wx:LayoutSplit Box02
+ set Box02.Orientation "H"
-new PlaneWidget Box02
- set Box02.Active "true"
+new wx:LayoutLine Box03
-new CommandButton Box03
- set Box03.Label "Run"
+new wx:OutputText Box04
+ set Box04.Title "Center"
-new LayoutSplit Box04
- set Box04.Proportion "10"
+new wx:OutputText Box05
+ set Box05.Title "normal"
+
+new creaVtk:PlaneWidget Box06
+ set Box06.Active "true"
connect Box00.Out Box01.In
-connect Box01.Renderer1 Box02.Renderer
+connect Box01.Widget Box02.Widget2
+
+connect Box03.Widget Box02.Widget1
+
+connect Box05.Widget Box03.Widget2
+
+connect Box04.Widget Box03.Widget1
+
+connect Box01.Renderer1 Box06.Renderer
+
+connect Box00.Out Box06.In
-connect Box00.Out Box02.In
+connect Box06.Center Box04.In
-connect Box03.Widget Box04.Widget1
+connect Box06.Normal Box05.In
-connect Box01.Widget Box04.Widget2
+connect Box06.BoxChange Box04.BoxExecute
-connect Box03.BoxChange Box02.BoxExecute
+connect Box06.BoxChange Box05.BoxExecute
# Complex input ports
-exec Box04
+exec Box02