X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fvtk%2Fbbs%2Fappli%2FexampleSurfaceTexture.bbs;fp=packages%2Fvtk%2Fbbs%2Fappli%2FexampleSurfaceTexture.bbs;h=4e2da536f2c5293b9d90a6a9b771cdd406dd8037;hb=427d8c0ac838ab789a57b28f62a7f9ff243e7b60;hp=0000000000000000000000000000000000000000;hpb=c2d2ccbc4bac635e5d0b802d9830efd94b060dab;p=bbtk.git diff --git a/packages/vtk/bbs/appli/exampleSurfaceTexture.bbs b/packages/vtk/bbs/appli/exampleSurfaceTexture.bbs new file mode 100644 index 0000000..4e2da53 --- /dev/null +++ b/packages/vtk/bbs/appli/exampleSurfaceTexture.bbs @@ -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 "" + +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