X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_package_creaMiniTools%2Fbbs%2Fappli%2FviewerNVExample.bbs;h=365fdbdaa46e94bb38e07751b6ec362841498c41;hb=2cf52512a2cef40effbed6a8835f199538ecd39a;hp=201f52c6d505710fe5740d019bb2d679be5332b3;hpb=d6968479c30bea80526634e3187ad4e9828a8b76;p=creaMiniTools.git diff --git a/bbtk_package_creaMiniTools/bbs/appli/viewerNVExample.bbs b/bbtk_package_creaMiniTools/bbs/appli/viewerNVExample.bbs index 201f52c..365fdbd 100755 --- a/bbtk_package_creaMiniTools/bbs/appli/viewerNVExample.bbs +++ b/bbtk_package_creaMiniTools/bbs/appli/viewerNVExample.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script -# - /home/davila/Creatis/All/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/viewerNVExample.bbs +# - /home/davila/Creatis/C8/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/viewerNVExample.bbs # ---------------------------------- # BBTK GEditor Script @@ -12,43 +12,302 @@ include creaImageIO include creaMaracasVisu include toolsbbtk include wx +include creaMiniTools +include std +include vtk +include creaVtk author "Author ??" description "Description ??" category "" -new ImagesChooserDialogBox Box00 +new creaImageIO:ImagesChooserDialogBox Box00 -new ViewerNV Box01 +new creaMaracasVisu:ViewerNV Box01 set Box01.nTypeView "6 1 2 0" -new ImageVtkPropertiesWidget Box04 +new toolsbbtk:ImageVtkPropertiesWidget Box04 -new LayoutTab Box05 +new wx:LayoutTab Box05 set Box05.WinHide "800" set Box05.WinWidth "1000" -new SaveMHD-Button Box06 +new toolsbbtk:SaveMHD-Button Box06 -new LayoutLine Box07 +new wx:LayoutLine Box07 set Box07.WinTitle "MPR Viewer" +new creaMiniTools:LayerCol-VolRend-SurRend_Multi-Widget Box16 + +new wx:LayoutTab Box11 + +new wx:LayoutLine Box14 + set Box14.Orientation "H" + +new wx:LayoutSplit Box15 + set Box15.Proportion "15" + set Box15.WinTitle "Crop" + +new wx:Slider Box19 + set Box19.In "100" + set Box19.Label "true" + set Box19.Max "400" + set Box19.ReactiveOnTrack "true" + set Box19.Title "size X" + +new wx:Slider Box20 + set Box20.In "100" + set Box20.Label "true" + set Box20.Max "400" + set Box20.ReactiveOnTrack "true" + set Box20.Title "size Y" + +new wx:Slider Box21 + set Box21.In "100" + set Box21.Label "true" + set Box21.Max "400" + set Box21.ReactiveOnTrack "true" + set Box21.Title "size Z" + +new std:ConcatStrings Box23 + set Box23.In2 " " + set Box23.In4 " " + +new vtk:vtkImageDataPointerRelay Box24 + +new vtk:LoadHola Box26 + +new std:MultipleInputs Box34 + +new wx:LayoutTab Box36 + +new std:MultipleInputs Box50 + +new wx:LayoutLine Box57 + set Box57.WinTitle "Layer" + +new creaVtk:OutputWindow Box71 + +new wx:LayoutSplit Box72 + set Box72.Orientation "H" + set Box72.WinTitle "ImageTools-Viewer-ViewerNV" + +new creaMaracasVisu:Measure3DLength_Widget Box74 + +new wx:LayoutLine Box75 + set Box75.WinTitle "Tools" + +new wx:LayoutLine Box77 + set Box77.Orientation "H" + +new wx:Slider Box78 + set Box78.ChangeResolution "true" + set Box78.In "0" + set Box78.Label "true" + set Box78.Max "1000" + set Box78.Min "-1000" + set Box78.ReactiveOnTrack "true" + set Box78.Title "delta X" + +new wx:Slider Box79 + set Box79.ChangeResolution "true" + set Box79.In "0" + set Box79.Label "true" + set Box79.Max "1000" + set Box79.Min "-1000" + set Box79.ReactiveOnTrack "true" + set Box79.Title "delta Y" + +new wx:Slider Box80 + set Box80.ChangeResolution "true" + set Box80.In "0" + set Box80.Label "true" + set Box80.Max "1000" + set Box80.Min "-1000" + set Box80.ReactiveOnTrack "true" + set Box80.Title "delta Z" + +new wx:LayoutLine Box81 + set Box81.Orientation "V" + +new std:ConcatStrings Box86 + set Box86.In2 " " + set Box86.In4 " " + +new std:MathOperationVector Box87 + +new creaMiniTools:crop-viewer-widget Box88 + set Box88.title "Base Image A" -connect Box00.Out Box01.In +new creaMiniTools:crop-viewer-widget Box89 + set Box89.title "Base Image B" + +new creaMiniTools:crop-viewer-widget-manual Box85 + set Box85._title "Image A" + +new creaMiniTools:crop-viewer-widget-manual Box90 + set Box90._title "Image B" + +new std:MultipleInputs Box91 + +new creaMaracasVisu:ImageChangeInformation Box49 + +new creaMaracasVisu:HelpViewerNV Box51 + +new wx:LayoutLine Box52 + set Box52.WinTitle "Viewer Help" -connect Box00.Out Box04.in connect Box04.widget Box05.Widget2 connect Box06.Widget Box05.Widget3 -connect Box00.Out Box06.In - connect Box01.Widget Box07.Widget1 connect Box07.Widget Box05.Widget1 +connect Box01.Renderer1 Box16.renderer3D + +connect Box01.wxVtkBaseView2 Box16.wxvtkbaseview1 + +connect Box01.wxVtkBaseView3 Box16.wxvtkbaseview2 + +connect Box01.wxVtkBaseView4 Box16.wxvtkbaseview3 + +connect Box15.Widget Box11.Widget2 + +connect Box19.Widget Box14.Widget1 + +connect Box20.Widget Box14.Widget2 + +connect Box21.Widget Box14.Widget3 + +connect Box19.Out Box23.In1 + +connect Box20.Out Box23.In3 + +connect Box21.Out Box23.In5 + +connect Box24.Out Box01.In + +connect Box24.Out Box04.in + +connect Box24.Out Box06.In + +connect Box01.BoxChange Box34.In1 + +connect Box36.Widget Box15.Widget2 + +connect Box19.BoxChange Box50.In1 + +connect Box20.BoxChange Box50.In2 + +connect Box21.BoxChange Box50.In3 + +connect Box57.Widget Box11.Widget1 + +connect Box16.widget Box57.Widget1 + +connect Box11.Widget Box72.Widget1 + +connect Box05.Widget Box72.Widget2 + +connect Box01.Point Box74.point + +connect Box24.Out Box74.vtkimagedata + +connect Box01.Renderer1 Box74.vtkrender + +connect Box74.widget Box75.Widget1 + +connect Box75.Widget Box11.Widget3 + +connect Box78.Widget Box77.Widget1 + +connect Box79.Widget Box77.Widget2 + +connect Box80.Widget Box77.Widget3 + +connect Box81.Widget Box15.Widget1 + +connect Box14.Widget Box81.Widget1 + +connect Box77.Widget Box81.Widget2 + +connect Box78.Out Box86.In1 + +connect Box79.Out Box86.In3 + +connect Box80.Out Box86.In5 + +connect Box86.Out Box87.In0 + +connect Box01.Point Box87.In1 + +connect Box01.Renderer1 Box88.renderer + +connect Box23.Out Box88.size + +connect Box87.Out Box88.position + +connect Box24.Out Box88.image + +connect Box34.BoxChange Box88.box_Execute + +connect Box88.widget Box36.Widget1 + +connect Box01.Renderer1 Box89.renderer + +connect Box23.Out Box89.size + +connect Box87.Out Box89.position + +connect Box34.BoxChange Box89.box_Execute + +connect Box01.Renderer1 Box85._renderer + +connect Box34.BoxChange Box85._execute + +connect Box23.Out Box85._size + +connect Box87.Out Box85._position + +connect Box85.wxwidget Box36.Widget3 + +connect Box01.Renderer1 Box90._renderer + +connect Box23.Out Box90._size + +connect Box87.Out Box90._position + +connect Box34.BoxChange Box90._execute + +connect Box90.wxwidget Box36.Widget4 + +connect Box89.widget Box36.Widget2 + +connect Box24.Out Box89.image + +connect Box78.BoxChange Box91.In1 + +connect Box79.BoxChange Box91.In2 + +connect Box80.BoxChange Box91.In3 + +connect Box91.BoxChange Box34.In3 + +connect Box50.BoxChange Box34.In2 + +connect Box00.Out Box49.In + +connect Box49.Out Box24.In + +connect Box51.widget Box52.Widget1 + +connect Box52.Widget Box11.Widget5 + # Complex input ports -exec Box05 +exec Box71 +exec Box72