]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/bbs/appli/exampleGetCameraInfo.bbs
#3233 creaVtk Feature New Normal - GetCameraInfo SetCameraInfo ScreenShot
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / appli / exampleGetCameraInfo.bbs
diff --git a/bbtk_creaVtk_PKG/bbs/appli/exampleGetCameraInfo.bbs b/bbtk_creaVtk_PKG/bbs/appli/exampleGetCameraInfo.bbs
new file mode 100644 (file)
index 0000000..a9d2ba5
--- /dev/null
@@ -0,0 +1,77 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script
+# - /tmpEED/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleGetCameraInfo.bbs
+# ----------------------------------
+
+# BBTK GEditor Script
+# ----------------------
+
+include std
+include itkvtk
+include creaMaracasVisu
+include wx
+include creaVtk
+include vtk
+
+author "Author ??"
+description "Description ??"
+category "<VOID>"
+
+new creaMaracasVisu:ViewerNV Box00
+
+new wx:LayoutSplit Box01
+  set Box01.Orientation "H"
+
+new wx:LayoutLine Box02
+
+new wx:OutputText Box03
+  set Box03.Title "FocalPoint"
+
+new creaVtk:GetCameraInfo Box04
+
+new wx:OutputText Box05
+  set Box05.Title "Position"
+
+new wx:OutputText Box06
+  set Box06.Title "ViewUp"
+
+new vtk:LoadHola Box07
+
+new wx:CommandButton Box08
+  set Box08.In "Refresh"
+
+
+connect Box00.Widget Box01.Widget2
+
+connect Box02.Widget Box01.Widget1
+
+connect Box06.Widget Box02.Widget3
+
+connect Box05.Widget Box02.Widget2
+
+connect Box03.Widget Box02.Widget1
+
+connect Box00.Renderer1 Box04.vtkRenderer
+
+connect Box04.FocalPoint Box03.In
+
+connect Box04.Position Box05.In
+
+connect Box04.ViewUp Box06.In
+
+connect Box07.Out Box00.In
+
+connect Box08.Widget Box02.Widget4
+
+connect Box08.BoxChange Box03.BoxExecute
+
+connect Box08.BoxChange Box05.BoxExecute
+
+connect Box08.BoxChange Box06.BoxExecute
+
+connect Box08.BoxChange Box04.BoxExecute
+
+
+
+# Complex input ports
+exec Box01