# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script # - /tmpEED/creaTools2/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleTensorsVisu.bbs # ---------------------------------- # BBTK GEditor Script # ---------------------- include std include itkvtk include vtk include creaMaracasVisu include wx include creaVtk include std author "Author ??" description "Description ??" category "" new vtk:MaskPoint Box01 set Box01.Ratio "1" new creaMaracasVisu:ViewerNV Box03 set Box03.nTypeView "5" new wx:CommandButton Box04 set Box04.Label "Run" new wx:LayoutSplit Box05 set Box05.Proportion "10" new wx:FileSelector Box06 new vtk:LoadHola Box07 new vtk:StructuredPointsReader Box08 set Box08.In "/home/davila/Creatis/creaVtk/data/Tensors.vtk" new creaVtk:TensorsVisu Box09 set Box09.Active "true" set Box09.ScaleFactor "1000" new std:Configuration Box10 new std:ConcatStrings Box11 set Box11.In3 "/creaVtk/Tensors.vtk" new wx:OutputText Box12 connect Box03.Widget Box05.Widget2 connect Box04.Widget Box05.Widget1 connect Box07.Out Box03.In connect Box08.Out Box01.In connect Box01.Out Box09.In connect Box04.BoxChange Box09.BoxExecute connect Box03.Renderer1 Box09.Renderer connect Box10.DataPath Box11.In1 connect Box11.Out Box08.In connect Box11.Out Box12.In # Complex input ports exec Box05 exec Box12