# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script # - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/ImagesCompare.bbs # ---------------------------------- # BBTK GEditor Script # ---------------------- include std include itkvtk include creaMaracasVisu include wx include wxvtk include vtk include PackRecalage include creaImageIO include itk include toolsbbtk include creaVtk author "Author ??" description "Description ??" category "" new creaMaracasVisu:ViewerNV Box03 new creaMaracasVisu:ViewerNV Box06 set Box06.nTypeView 0 new wx:LayoutSplit Box07 set Box07.Orientation h set Box07.Proportion 25 set Box07.WinHeight 800 set Box07.WinTitle "3D Compare" set Box07.WinWidth 1200 new wxvtk:IsoSurfaceWidget Box08 set Box08.Title "3D Surface" new wx:LayoutSplit Box10 set Box10.Proportion 75 set Box10.WinTitle "3D surface" new creaMaracasVisu:ColorLayerImageView Box11 set Box11.lstTransparenceBoundaries "0" new vtk:vtkImageDataPointerRelay Box13 new wx:LayoutTab Box15 new PackRecalage:CompareImagesWidget Box16 set Box16.WinTitle "2D Compare" new vtk:vtkImageDataPointerRelay Box17 new wx:LayoutLine Box18 set Box18.WinTitle "Color Layer" new creaImageIO:ImagesChooserDialogBox Box20 set Box20.Title "Image 1" new creaImageIO:ImagesChooserDialogBox Box21 set Box21.Title "Image 2" new itk:anyItkImagePointerRelay Box23 new itk:anyItkImagePointerRelay Box24 new toolsbbtk:ImageVtkPropertiesWidget Box26 new toolsbbtk:ImageVtkPropertiesWidget Box27 new creaMaracasVisu:ViewerNV Box28 new creaMaracasVisu:ViewerNV Box29 new wx:LayoutSplit Box30 set Box30.Proportion 87 new wx:LayoutSplit Box31 set Box31.Proportion 87 new wx:LayoutSplit Box32 set Box32.Orientation H set Box32.Proportion "50" set Box32.WinTitle "Image information" new creaVtk:OutputWindow Box33 new wx:LayoutTab Box34 set Box34.WinHide 800 set Box34.WinWidth 1100 connect Box03.Renderer1 Box08.vtkRenderer connect Box08.BoxChange Box03.BoxExecute connect Box13.Out Box08.In connect Box13.Out Box06.In connect Box13.Out Box11.In connect Box03.Widget Box07.Widget2 connect Box10.Widget Box15.Widget1 connect Box15.Widget Box07.Widget1 connect Box17.Out Box03.In connect Box17.Out Box16.In2 connect Box13.Out Box16.In1 connect Box08.Widget Box10.Widget2 connect Box06.Widget Box10.Widget1 connect Box11.Widget Box18.Widget1 connect Box18.Widget Box15.Widget3 connect Box20.Out Box23.In connect Box23.Out Box13.In connect Box21.Out Box24.In connect Box24.Out Box17.In connect Box13.Out Box27.in connect Box17.Out Box26.in connect Box13.Out Box29.In connect Box17.Out Box28.In connect Box29.Widget Box30.Widget1 connect Box27.widget Box30.Widget2 connect Box28.Widget Box31.Widget1 connect Box26.widget Box31.Widget2 connect Box31.Widget Box32.Widget2 connect Box30.Widget Box32.Widget1 connect Box07.Widget Box34.Widget1 connect Box16.Widget Box34.Widget2 connect Box32.Widget Box34.Widget3 connect Box03.wxVtkBaseView2 Box11.WxVtkBaseView connect Box03.wxVtkBaseView3 Box11.WxVtkBaseView1 connect Box03.wxVtkBaseView4 Box11.WxVtkBaseView2 # Complex input ports exec Box33 exec Box34