# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script # - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/viewerNVExample.bbs # ---------------------------------- # BBTK GEditor Script # ---------------------- include std include itkvtk include creaImageIO include creaMaracasVisu include toolsbbtk include wx include creaMiniTools include std include vtk include creaVtk author "Author ??" description "Description ??" category "" new creaImageIO:ImagesChooserDialogBox Box00 new creaMaracasVisu:ViewerNV Box01 set Box01.nTypeView "6 1 2 0" new toolsbbtk:ImageVtkPropertiesWidget Box04 new wx:LayoutTab Box05 set Box05.WinHide "800" set Box05.WinWidth "1000" new toolsbbtk:SaveMHD-Button Box06 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" 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.In "0" set Box78.Label "true" set Box78.Max "2000" set Box78.Min "-2000" set Box78.ReactiveOnTrack "true" set Box78.Title "delta X" new wx:Slider Box79 set Box79.In "0" set Box79.Label "true" set Box79.Max "2000" set Box79.Min "-2000" 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 "2000" set Box80.Min "-2000" 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" 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 connect Box04.widget Box05.Widget2 connect Box06.Widget Box05.Widget3 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 Box26.Out Box24.In 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 Box50.Out Box34.In2 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 # Complex input ports exec Box71 exec Box72