# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) # - /tmpEED/creaTools/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/UnitLayerPaint.bbs # ---------------------------------- include std include itkvtk include creaMaracasVisu include wx include toolsbbtk include vtk include std define UnitLayerPaint creaMaracasVisu author "Author ??" description "Description ??" category "" new creaMaracasVisu:ViewerNV Box09 set Box09.nTypeView "0" new creaMaracasVisu:ManualPaint Box11 set Box11.WinTitle "Paint" new wx:LayoutLine Box13 set Box13.Orientation "H" new wx:LayoutTab Box15 new wx:LayoutTab Box16 new wx:LayoutLine Box17 set Box17.WinTitle "Color" new wx:LayoutLine Box18 set Box18.WinTitle "Paint" new wx:LayoutSplit Box19 set Box19.Proportion "30" new toolsbbtk:SaveMHD-Button Box20 new creaMaracasVisu:ColorLayerImageView Box21 set Box21.WinTitle "Color" set Box21.lstBaseColor "1 0 0 1 1 0 0 0 1" set Box21.lstGreyLevelBoundaries "500 1500 2500 5000" set Box21.lstTransparenceBoundaries "0" new vtk:vtkImageDataPointerRelay Box23 new wx:LayoutTab Box24 set Box24.WinWidth "0" new toolsbbtk:ImageVtkPropertiesWidget Box25 new std:MagicBox Box26 new std:MagicBox Box27 new std:MagicBox Box28 connect Box15.Widget Box13.Widget1 connect Box16.Widget Box13.Widget2 connect Box17.Widget Box15.Widget1 connect Box11.Widget Box18.Widget1 connect Box18.Widget Box16.Widget1 connect Box21.Widget Box17.Widget1 connect Box23.Out Box21.In connect Box23.Out Box20.In connect Box23.Out Box11.In connect Box23.Out Box09.In connect Box13.Widget Box24.Widget1 connect Box23.Out Box25.in connect Box26.Out Box21.WxVtkBaseView connect Box26.Out Box11.WxVtkBaseView1 connect Box27.Out Box21.WxVtkBaseView1 connect Box27.Out Box11.WxVtkBaseView2 connect Box28.Out Box21.WxVtkBaseView2 connect Box28.Out Box11.WxVtkBaseView3 connect Box20.Widget Box24.Widget3 connect Box25.widget Box24.Widget2 connect Box24.Widget Box19.Widget2 connect Box09.Widget Box19.Widget1 # Complex input ports input InputImage Box23.In " " input wxVtkBaseView_01 Box26.In " " input wxVtkBaseView_02 Box27.In " " input wxVtkBaseView_03 Box28.In " " input TitleModule Box19.WinTitle " " # Complex output ports output OutWidget Box19.Widget " " message endefine