# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script # - /home/davila/Creatis/creaTools/creatools_source/creaMaracasVisu/bbtk/bbs/appli/exampleRuler01_XY.bbs # ---------------------------------- # BBTK GEditor Script # ---------------------- include std include itkvtk include creaMaracasVisu include vtk include wx include itk include std include toolsbbtk author "Author ??" description "Description ??" category "" new ViewerNV Box01 new LoadHola Box02 new LayoutTab Box04 new LayoutSplit Box05 set Box05.Orientation "H" new ImageReader Box06 set Box06.In "/tmpEED/tmpIulia/coeur_t1_VGpost_z1_pag0001_USHORT_spc-tmpEED.mhd" new vtkImageDataPointerRelay Box07 new Ruler01_XY_Widget Box09 new PanelButtonContainerSettings Box10 set Box10.ButtonDescription "Ruler 01" set Box10.ButtonName "Ruler 01" set Box10.GroupName "Ruler" new PanelButtonContainer Box11 new ContourControlPoints_Widget Box13 new MagicBox Box14 new PanelButtonContainerSettings Box15 set Box15.ButtonDescription "Ruler 02" set Box15.ButtonName "Ruler 02" set Box15.GroupName "Ruler" new ImageVtkPropertiesWidget Box16 new PanelButtonContainerSettings Box17 set Box17.ButtonDescription "Image properties" set Box17.ButtonName "Image properties" set Box17.GroupName "Information" new LayoutLine Box18 new LayoutLine Box19 new MagicBox Box20 connect Box04.Widget Box05.Widget1 connect Box01.Widget Box05.Widget2 connect Box07.Out Box01.In connect Box07.Out Box09.Image connect Box01.BoxChange Box09.BoxExecuteRulerInterface connect Box01.Point Box09.Point connect Box02.Out Box07.In connect Box11.Widget Box04.Widget1 connect Box09.Widget Box10.Widget connect Box01.Renderer4 Box13.vtkRenderer connect Box01.wxVtkBaseView4 Box13.wxvtkbaseview connect Box13.BoxChange2 Box14.BoxExecute connect Box13.Widget_Contour Box15.Widget connect Box15.Out Box11.In connect Box10.Out Box15.In connect Box07.Out Box16.in connect Box16.widget Box17.Widget connect Box10.Widget Box18.Widget1 connect Box17.Widget Box19.Widget1 connect Box17.Out Box10.In connect Box15.Widget Box20.In connect Box01.Renderer4 Box09.vtkRenderer # Complex input ports exec Box05 exec Box14