]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/bbs/appli/exampleRender_Tools-ResetCamera.bbs
#3519 Render_Tool box
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / appli / exampleRender_Tools-ResetCamera.bbs
diff --git a/bbtk_creaVtk_PKG/bbs/appli/exampleRender_Tools-ResetCamera.bbs b/bbtk_creaVtk_PKG/bbs/appli/exampleRender_Tools-ResetCamera.bbs
new file mode 100644 (file)
index 0000000..0fb112c
--- /dev/null
@@ -0,0 +1,72 @@
+# ----------------------------------
+# - BBTKGEditor v 1.5 BBS BlackBox Script
+# - /Users/davila/Creatis/C23/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleRender_Tools-ResetCamera.bbs
+# ----------------------------------
+
+# BBTK GEditor Script
+# ----------------------
+
+include std
+include itkvtk
+include creaMaracasVisu
+include vtk
+include wx
+include std
+include creaVtk
+
+author "Author ??"
+description "Description ??"
+category "<VOID>"
+
+new creaMaracasVisu:ViewerNV Box00
+  set Box00.nTypeView "7"
+
+new vtk:LoadHola Box01
+
+new vtk:SphereSource Box02
+
+new vtk:PolyDataToActor Box03
+
+new wx:LayoutSplit Box04
+  set Box04.Orientation "H"
+  set Box04.Proportion "10"
+
+new wx:LayoutLine Box05
+
+new vtk:UpdateRender Box07
+  set Box07.Active "true"
+
+new std:MultipleInputs Box10
+
+new creaVtk:Render_Tools Box11
+  set Box11.Type "20"
+
+new wx:OutputText Box13
+  set Box13.In "Test"
+
+
+connect Box01.Out Box00.In
+
+connect Box02.Out Box03.In
+
+connect Box00.Renderer1 Box03.Renderer
+
+connect Box00.Widget Box04.Widget2
+
+connect Box05.Widget Box04.Widget1
+
+connect Box03.BoxChange Box11.BoxExecute
+
+connect Box00.Renderer1 Box11.Renderer
+
+connect Box11.BoxChange Box07.BoxExecute
+
+connect Box07.BoxChange Box10.In1
+
+connect Box13.Widget Box05.Widget1
+
+
+
+# Complex input ports
+exec Box04
+exec Box10