]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/bbs/appli/ExampleTransformVector.bbs
#3110 creaVtk Bug New Normal - branch vtk7itk4 compilation with vtk7
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / appli / ExampleTransformVector.bbs
diff --git a/bbtk_creaVtk_PKG/bbs/appli/ExampleTransformVector.bbs b/bbtk_creaVtk_PKG/bbs/appli/ExampleTransformVector.bbs
new file mode 100644 (file)
index 0000000..75474cc
--- /dev/null
@@ -0,0 +1,53 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script
+# - /tmpEED/creaTools2/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/ExampleTransformVector.bbs
+# ----------------------------------
+
+# BBTK GEditor Script
+# ----------------------
+
+include std
+include itkvtk
+include creaVtk
+include vtk
+include wx
+
+author "Author ??"
+description "Description ??"
+category "<VOID>"
+
+new creaVtk:TransformVector Box00
+  set Box00.InX "0 10 20 30 40"
+  set Box00.InY "0 0 0 0 0"
+  set Box00.InZ "0 0 0 0 0"
+
+new vtk:Transform Box01
+  set Box01.RotateWXYZ "45 0 0 1"
+
+new wx:OutputText Box02
+
+new wx:OutputText Box03
+
+new wx:OutputText Box04
+
+new wx:LayoutLine Box05
+
+
+connect Box01.Out Box00.Transform
+
+connect Box00.OutX Box02.In
+
+connect Box02.Widget Box05.Widget1
+
+connect Box03.Widget Box05.Widget2
+
+connect Box04.Widget Box05.Widget3
+
+connect Box00.OutY Box03.In
+
+connect Box00.OutZ Box04.In
+
+
+
+# Complex input ports
+exec Box05