From: ctorres Date: Fri, 7 Mar 2014 15:34:47 +0000 (+0100) Subject: 2332 BBTK Feature New Normal New complex box BaseViewerInfo 2014-03-07 16:34 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=8ec4d6743d92a164a6eade7c37e197f2c365c5e9;p=bbtk.git 2332 BBTK Feature New Normal New complex box BaseViewerInfo 2014-03-07 16:34 --- diff --git a/packages/toolsbbtk/bbs/boxes/BaseViewerInfo.bbg b/packages/toolsbbtk/bbs/boxes/BaseViewerInfo.bbg new file mode 100644 index 0000000..f2deb27 --- /dev/null +++ b/packages/toolsbbtk/bbs/boxes/BaseViewerInfo.bbg @@ -0,0 +1,97 @@ +# ---------------------------------- +# - BBTKGEditor v 1.4 BBG BlackBox Diagram file +# - /home/ctorres/work/creatools/creainstall/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/BaseViewerInfo.bbg +# ---------------------------------- + +APP_START +CATEGORY: +DESCRIPTION:Description ?? +AUTHOR:Author ?? +COMPLEXBOX:TRUE +COMPLEXBOXNAME:BaseViewerInfo +PACKAGENAME:toolsbbtk +COMPLEXOUTPUTS:1 +COMPLEX_PORT +widget +-4.241406:-138.577542:-900.000000 +FIN_COMPLEX_PORT +COMPLEXINPUTS:2 +COMPLEX_PORT +Image +-85.916642:51.532520:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +TitleAtribute +38.925088:53.676472:-900.000000 +FIN_COMPLEX_PORT +BOXES:6 +BOX +toolsbbtk:SaveMHD-Button:Box00 +ISEXEC:FALSE +-147.441101:-6.241300:-900.000000 +-101.866101:-16.241300:-900.000000 +FIN_BOX +BOX +creaMaracasVisu:ViewerNV:Box02 +ISEXEC:FALSE +-42.571926:-8.714791:-900.000000 +18.068074:-18.714791:-900.000000 +FIN_BOX +BOX +wx:LayoutTab:Box03 +ISEXEC:FALSE +-123.552316:-70.325491:-900.000000 +-65.992316:-80.325491:-900.000000 +FIN_BOX +BOX +wx:LayoutSplit:Box04 +ISEXEC:FALSE +-8.153133:-99.950253:-900.000000 +37.421867:-109.950253:-900.000000 +PORT +Orientation:"h" +FIN_BOX +BOX +vtk:vtkImageDataPointerRelay:Box09 +ISEXEC:FALSE +-91.353292:33.000764:-900.000000 +-20.178292:23.000764:-900.000000 +FIN_BOX +BOX +toolsbbtk:ImageVtkPropertiesWidget:Box10 +ISEXEC:FALSE +-102.944756:-25.781758:-900.000000 +-31.769756:-35.781758:-900.000000 +FIN_BOX +CONNECTIONS:10 +CONNECTION +Box00:Widget:Box03:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box02:Widget:Box04:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box03:Widget:Box04:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box04:Widget:widget:widget +NumberOfControlPoints:0 +CONNECTION +Image:Image:Box09:In +NumberOfControlPoints:0 +CONNECTION +Box09:Out:Box00:In +NumberOfControlPoints:0 +CONNECTION +Box09:Out:Box10:in +NumberOfControlPoints:0 +CONNECTION +Box10:widget:Box03:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box09:Out:Box02:In +NumberOfControlPoints:0 +CONNECTION +TitleAtribute:TitleAtribute:Box04:WinTitle +NumberOfControlPoints:0 +APP_END diff --git a/packages/toolsbbtk/bbs/boxes/BaseViewerInfo.bbs b/packages/toolsbbtk/bbs/boxes/BaseViewerInfo.bbs new file mode 100644 index 0000000..d1ef908 --- /dev/null +++ b/packages/toolsbbtk/bbs/boxes/BaseViewerInfo.bbs @@ -0,0 +1,50 @@ +# ---------------------------------- +# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) +# - /home/ctorres/work/creatools/creainstall/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/BaseViewerInfo.bbs +# ---------------------------------- + +include std +include itkvtk +include toolsbbtk +include creaMaracasVisu +include wx +include vtk + +define BaseViewerInfo toolsbbtk + +author "Author ??" +description "Description ??" + +category "" + +new SaveMHD-Button Box00 + +new ViewerNV Box02 + +new LayoutTab Box03 + +new LayoutSplit Box04 + set Box04.Orientation "h" + +new vtkImageDataPointerRelay Box09 + +new ImageVtkPropertiesWidget Box10 + + +connect Box00.Widget Box03.Widget1 +connect Box02.Widget Box04.Widget2 +connect Box03.Widget Box04.Widget1 +connect Box09.Out Box00.In +connect Box09.Out Box10.in +connect Box10.widget Box03.Widget2 +connect Box09.Out Box02.In + +# Complex input ports +input Image Box09.In " " +input TitleAtribute Box04.WinTitle " " + +# Complex output ports +output widget Box04.Widget " " + + +endefine