# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script # - /tmpEED/creaWT/wt/bbtk_wt_PKG/bbs/appli/demo02.bbs # ---------------------------------- # BBTK GEditor Script # ---------------------- include std include itkvtk include vtk include wt author "Author ??" description "Description ??" category "" new PolyDataWriter Box05 set Box05.BoxProcessMode "Reactive" set Box05.Filename "/home/davila/tempWT/tt.vtk" new AppendPolyData Box07 new SphereSource Box08 set Box08.CenterX "0" set Box08.CenterY "0" set Box08.CenterZ "0" set Box08.PhiResolution "20" set Box08.Radius "20" set Box08.ThetaResolution "20" new SphereSource Box11 set Box11.CenterX "30" set Box11.CenterY "0" set Box11.CenterZ "0" set Box11.PhiResolution "20" set Box11.Radius "20" set Box11.ThetaResolution "20" new SphereSource Box12 set Box12.CenterX "40" set Box12.CenterY "0" set Box12.CenterZ "0" set Box12.PhiResolution "20" set Box12.Radius "20" set Box12.ThetaResolution "20" new configServerWT Box14 set Box14.DocRoot "/home/davila/tempWT" new ViewerNVWeb Box16 set Box16.ImagePath "hola.nii" new AddObjectToViewerWeb Box17 set Box17.Mesh "tt.vtk" new LayoutLine Box18 new CommandButton Box19 new LayoutSplit Box20 set Box20.Orientation "h" new SphereSource Box22 set Box22.CenterX "0" set Box22.CenterY "0" set Box22.CenterZ "0" set Box22.PhiResolution "20" set Box22.Radius "20" set Box22.ThetaResolution "20" new MarchingCubes Box23 connect Box08.Out Box07.In1 connect Box11.Out Box07.In2 connect Box12.Out Box07.In3 connect Box16.viewer1 Box17.Viewer3D connect Box17.Widget Box18.Widget2 connect Box16.Widget Box20.Widget2 connect Box19.Widget Box18.Widget1 connect Box18.Widget Box20.Widget1 connect Box19.BoxChange Box05.BoxExecute connect Box11.Out Box05.In connect Box19.BoxChange Box17.BoxExecute # Complex input ports exec Box14 exec Box20