# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script # - /home/davila/Creatis/creaTools/creatools_source/creaMaracasVisu/bbtk/bbs/appli/exampleColorLayer.bbs # ---------------------------------- # BBTK GEditor Script # ---------------------- include std include itkvtk include creaMaracasVisu include vtk include wx author "Author ??" description "Description ??" category "" new ColorLayerImageView Box00 set Box00.PlainOrGradientColor "false" set Box00.lstBaseColor "1 0 0 0 1 0 0 0 1" set Box00.lstGreyLevelBoundaries "500 1200 1600 4500" new LoadHola Box01 new ViewerNV Box02 new LayoutSplit Box03 set Box03.Orientation "H" new vtkImageDataPointerRelay Box04 new RescaleSlopeIntercept Box05 set Box05.A "0" set Box05.B "1" set Box05.OutputFormat "VTK_FLOAT" set Box05.Type "2" connect Box02.wxVtkBaseView2 Box00.WxVtkBaseView connect Box02.wxVtkBaseView3 Box00.WxVtkBaseView1 connect Box02.wxVtkBaseView4 Box00.WxVtkBaseView2 connect Box00.Widget Box03.Widget1 connect Box02.Widget Box03.Widget2 connect Box04.Out Box02.In connect Box04.Out Box00.In connect Box01.Out Box05.In connect Box05.Out Box04.In # Complex input ports message exec Box03