]> Creatis software - bbtk.git/blobdiff - packages/vtk/bbs/appli/exampleSurfaceTexture.bbs
#3120 BBTK Bug New Normal - merge branch changestoITK3and4 FROM master
[bbtk.git] / packages / vtk / bbs / appli / exampleSurfaceTexture.bbs
diff --git a/packages/vtk/bbs/appli/exampleSurfaceTexture.bbs b/packages/vtk/bbs/appli/exampleSurfaceTexture.bbs
new file mode 100644 (file)
index 0000000..4e2da53
--- /dev/null
@@ -0,0 +1,67 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script
+# - /home/davila/Creatis/creaTools/creatools_source/bbtk/packages/vtk/bbs/appli/exampleSurfaceTexture.bbs
+# ----------------------------------
+
+# BBTK GEditor Script
+# ----------------------
+
+include std
+include itkvtk
+include vtk
+include creaMaracasVisu
+
+author "Author ??"
+description "Description ??"
+category "<VOID>"
+
+new SurfaceTexture Box01
+  set Box01.ColorLevel "1000"
+  set Box01.ColorWindow "500"
+
+new LoadHola Box02
+
+new ViewerNV Box03
+
+new SphereSource Box04
+  set Box04.PhiResolution "140"
+  set Box04.Radius "1"
+  set Box04.ThetaResolution "140"
+
+new PolyDataToActor Box05
+  set Box05.Colour "1 1 0"
+  set Box05.Opacity "1"
+  set Box05.ScalarVisibility "true"
+
+new Transform Box06
+  set Box06.Scale "45 45 45"
+
+new Transform Box07
+  set Box07.Translate "45  45 45"
+
+
+connect Box02.Out Box01.Image
+
+connect Box02.Out Box03.In
+
+connect Box03.Renderer1 Box05.Renderer
+
+connect Box03.BoxChange Box01.BoxExecute
+
+connect Box03.BoxChange Box05.BoxExecute
+
+connect Box06.Out Box05.Transform
+
+connect Box06.Out Box01.Transform
+
+connect Box07.Out Box06.In
+
+connect Box04.Out Box05.In
+
+connect Box04.Out Box01.Mesh
+
+
+
+# Complex input ports
+message    
+exec Box03