# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script # - /home/davila/Creatis/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleStreamLineScalarSegmentation.bbs # ---------------------------------- # BBTK GEditor Script # ---------------------- include std include itkvtk include vtk include creaMaracasVisu include wx include creaImageIO include toolsbbtk include creaVtk author "Author ??" description "Description ??" category "" new PolyDataReader Box01 set Box01.In "/home/davila/Borrame/FIB/example01/V1_IM_fibers.vtk" new ViewerNV Box02 new LoadHola Box03 new LayoutTab Box08 new LayoutSplit Box09 set Box09.Orientation "H" new FileSelector Box14 new ImagesChooserDialogBox Box15 new UnMosaic Box16 set Box16.NbImagesInMosaic "10" set Box16.NbImagesPerRow "4" new ImageChangeInformation Box17 set Box17.NewSpacing "2.65626 2.65625 6.25" new SaveMHD-Button Box18 new vtkImageDataPointerRelay Box20 new MetaImageReader Box21 set Box21.In "/home/davila/Borrame/FIB/example01/V1_IM_b_0_dir_1.mhd" new StreamLine_Visu_Widget Box26 set Box26.Title "Segmented Stream Line" new StreamLine_Visu_Widget Box27 set Box27.Title "Complete Stream Line" new LayoutLine Box29 set Box29.Orientation "V" new StreamLineColorInfo Box32 new StreamLineNumeration Box33 new StreamLineSegmentationByScalar Box34 set Box34.ScalarArrayName "creaNumeration" new LayoutLine Box35 new SliderMinMax Box37 set Box37.InMax "1000" set Box37.InMin "0" set Box37.ShowActual "false" set Box37.WinTitle "Threshold" new UpdateRender Box38 set Box38.Active "true" connect Box02.Widget Box09.Widget2 connect Box15.Out Box16.In connect Box16.Out Box17.In connect Box20.Out Box02.In connect Box20.Out Box18.In connect Box21.Out Box20.In connect Box18.Widget Box08.Widget2 connect Box02.Renderer1 Box27.renderer connect Box02.Renderer1 Box26.renderer connect Box08.Widget Box09.Widget1 connect Box01.Out Box32.In connect Box32.Out Box27.polydata connect Box29.Widget Box08.Widget1 connect Box32.Out Box33.StreamLinesIn connect Box33.StreamLinesOut Box34.StreamLinesIn connect Box37.OutEnd Box34.ThresholdUpper connect Box37.OutStart Box34.ThresholdLower connect Box37.Widget Box29.Widget3 connect Box37.BoxChange Box34.BoxExecute connect Box27.Widget Box29.Widget1 connect Box26.Widget Box29.Widget2 connect Box34.StreamLinesOut Box26.polydata connect Box33.NameOfScalarArray Box34.ScalarArrayName connect Box37.BoxChange Box38.BoxExecute connect Box02.Renderer1 Box38.Renderer # Complex input ports message exec Box09