X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_creaVtk_PKG%2Fbbs%2Fappli%2FexamplePlaneWidget.bbs;h=584882e380a04cee329453f1f252cf5c9b8fd779;hb=3cfec8aa0ab76e72a0a4682155c671d5ff75ad0b;hp=27ff20903a43399637e88070175790237029624c;hpb=35ce19533ec9e8857cda8f0781694b2021c72ac6;p=creaVtk.git diff --git a/bbtk_creaVtk_PKG/bbs/appli/examplePlaneWidget.bbs b/bbtk_creaVtk_PKG/bbs/appli/examplePlaneWidget.bbs index 27ff209..584882e 100644 --- a/bbtk_creaVtk_PKG/bbs/appli/examplePlaneWidget.bbs +++ b/bbtk_creaVtk_PKG/bbs/appli/examplePlaneWidget.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script -# - /home/davila/Creatis/creaVtk/bbtk_creaVtk_PKG/bbs/appli/examplePlaneWidget.bbs +# - /tmpEED/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/examplePlaneWidget.bbs # ---------------------------------- # BBTK GEditor Script @@ -10,41 +10,55 @@ include std include itkvtk include vtk include creaMaracasVisu -include creaVtk include wx +include creaVtk author "Author ??" description "Description ??" category "" -new LoadHola Box00 +new vtk:LoadHola Box00 + +new creaMaracasVisu:ViewerNV Box01 -new ViewerNV Box01 - set Box01.nTypeView "5" +new wx:LayoutSplit Box02 + set Box02.Orientation "H" -new PlaneWidget Box02 - set Box02.Active "true" +new wx:LayoutLine Box03 -new CommandButton Box03 - set Box03.Label "Run" +new wx:OutputText Box04 + set Box04.Title "Center" -new LayoutSplit Box04 - set Box04.Proportion "10" +new wx:OutputText Box05 + set Box05.Title "normal" + +new creaVtk:PlaneWidget Box06 + set Box06.Active "true" connect Box00.Out Box01.In -connect Box01.Renderer1 Box02.Renderer +connect Box01.Widget Box02.Widget2 + +connect Box03.Widget Box02.Widget1 + +connect Box05.Widget Box03.Widget2 + +connect Box04.Widget Box03.Widget1 + +connect Box01.Renderer1 Box06.Renderer + +connect Box00.Out Box06.In -connect Box00.Out Box02.In +connect Box06.Center Box04.In -connect Box03.Widget Box04.Widget1 +connect Box06.Normal Box05.In -connect Box01.Widget Box04.Widget2 +connect Box06.BoxChange Box04.BoxExecute -connect Box03.BoxChange Box02.BoxExecute +connect Box06.BoxChange Box05.BoxExecute # Complex input ports -exec Box04 +exec Box02