X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=creaWT.git;a=blobdiff_plain;f=wt%2Fbbtk_wt_PKG%2Fbbs%2Fappli%2Fdemo02.bbs;fp=wt%2Fbbtk_wt_PKG%2Fbbs%2Fappli%2Fdemo02.bbs;h=934619533d40c6ea1027f166fec0cc3337d9bd19;hp=0000000000000000000000000000000000000000;hb=1830bf64f6ad13d04f4fd7589317f0515fae837c;hpb=8330bb7bb23c8b5521a6ab9470d0dcbd19b9117e diff --git a/wt/bbtk_wt_PKG/bbs/appli/demo02.bbs b/wt/bbtk_wt_PKG/bbs/appli/demo02.bbs new file mode 100644 index 0000000..9346195 --- /dev/null +++ b/wt/bbtk_wt_PKG/bbs/appli/demo02.bbs @@ -0,0 +1,101 @@ +# ---------------------------------- +# - BBTKGEditor v 1.4 BBS BlackBox Script +# - /tmpEED/creaWT/wt/bbtk_wt_PKG/bbs/appli/demo02.bbs +# ---------------------------------- + +# BBTK GEditor Script +# ---------------------- + +include std +include itkvtk +include vtk +include wt + +author "Author ??" +description "Description ??" +category "" + +new PolyDataWriter Box05 + set Box05.BoxProcessMode "Reactive" + set Box05.Filename "/home/davila/tempWT/tt.vtk" + +new AppendPolyData Box07 + +new SphereSource Box08 + set Box08.CenterX "0" + set Box08.CenterY "0" + set Box08.CenterZ "0" + set Box08.PhiResolution "20" + set Box08.Radius "20" + set Box08.ThetaResolution "20" + +new SphereSource Box11 + set Box11.CenterX "30" + set Box11.CenterY "0" + set Box11.CenterZ "0" + set Box11.PhiResolution "20" + set Box11.Radius "20" + set Box11.ThetaResolution "20" + +new SphereSource Box12 + set Box12.CenterX "40" + set Box12.CenterY "0" + set Box12.CenterZ "0" + set Box12.PhiResolution "20" + set Box12.Radius "20" + set Box12.ThetaResolution "20" + +new configServerWT Box14 + set Box14.DocRoot "/home/davila/tempWT" + +new ViewerNVWeb Box16 + set Box16.ImagePath "hola.nii" + +new AddObjectToViewerWeb Box17 + set Box17.Mesh "tt.vtk" + +new LayoutLine Box18 + +new CommandButton Box19 + +new LayoutSplit Box20 + set Box20.Orientation "h" + +new SphereSource Box22 + set Box22.CenterX "0" + set Box22.CenterY "0" + set Box22.CenterZ "0" + set Box22.PhiResolution "20" + set Box22.Radius "20" + set Box22.ThetaResolution "20" + +new MarchingCubes Box23 + + +connect Box08.Out Box07.In1 + +connect Box11.Out Box07.In2 + +connect Box12.Out Box07.In3 + +connect Box16.viewer1 Box17.Viewer3D + +connect Box17.Widget Box18.Widget2 + +connect Box16.Widget Box20.Widget2 + +connect Box19.Widget Box18.Widget1 + +connect Box18.Widget Box20.Widget1 + +connect Box19.BoxChange Box05.BoxExecute + +connect Box11.Out Box05.In + +connect Box19.BoxChange Box17.BoxExecute + + + +# Complex input ports +exec Box14 +exec Box20