]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/bbs/appli/examplePlaneWidget_Base.bbs
#3483 PlaneWidget_Base Box
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / appli / examplePlaneWidget_Base.bbs
diff --git a/bbtk_creaVtk_PKG/bbs/appli/examplePlaneWidget_Base.bbs b/bbtk_creaVtk_PKG/bbs/appli/examplePlaneWidget_Base.bbs
new file mode 100644 (file)
index 0000000..8f3814f
--- /dev/null
@@ -0,0 +1,92 @@
+# ----------------------------------
+# - BBTKGEditor v 1.5 BBS BlackBox Script
+# - /Users/davila/Creatis/C11/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/examplePlaneWidget_Base.bbs
+# ----------------------------------
+
+# BBTK GEditor Script
+# ----------------------
+
+include std
+include itkvtk
+include vtk
+include creaMaracasVisu
+include wx
+include creaVtk
+include std
+
+author "Author ??"
+description "Description ??"
+category "<VOID>"
+
+new vtk:LoadHola Box00
+
+new creaMaracasVisu:ViewerNV Box01
+
+new wx:LayoutSplit Box02
+  set Box02.Orientation "H"
+
+new wx:LayoutLine Box03
+
+new wx:OutputText Box04
+  set Box04.Title "Center"
+
+new wx:OutputText Box05
+  set Box05.Title "normal"
+
+new creaVtk:PlaneWidget Box06
+  set Box06.Active "true"
+
+new creaVtk:PlaneWidget_Base Box07
+  set Box07.Param "3"
+  set Box07.Type "1"
+
+new wx:CommandButton Box08
+
+new std:MultipleInputs Box09
+
+new vtk:UpdateRender Box10
+  set Box10.Active "true"
+
+
+connect Box00.Out Box01.In
+
+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 Box06.Center Box04.In
+
+connect Box06.Normal Box05.In
+
+connect Box08.Widget Box03.Widget4
+
+connect Box08.BoxChange Box07.BoxExecute
+
+connect Box06.BoxChange Box09.In1
+
+connect Box09.BoxChange Box04.BoxExecute
+
+connect Box09.BoxChange Box05.BoxExecute
+
+connect Box01.Renderer1 Box10.Renderer
+
+connect Box09.BoxChange Box10.BoxExecute
+
+connect Box06.Base Box07.In
+
+connect Box08.BoxChange Box03.BoxExecute
+
+connect Box08.BoxChange Box09.In2
+
+
+
+# Complex input ports
+exec Box02