# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) # - /tmpEED/creaWT/wt/bbtk_wt_PKG/bbs/boxes/AddMeshB.bbs # ---------------------------------- include std include itkvtk include std include vtk include wt define AddMeshB wt author "Author ??" description "Description ??" category "" new RandomString Box04 set Box04.BoxProcessMode "Reactive" new ConcatStrings Box05 set Box05.In1 "mesh_" set Box05.In3 ".vtk" new ConcatStrings Box06 set Box06.In1 "imagesTMP/" new ConcatStrings Box07 new PolyDataWriter Box09 new AddMesh Box10 new MultipleInputs Box11 set Box11.BoxProcessMode "Reactive" new GetConfigServerWt Box12 connect Box04.Out Box05.In2 connect Box05.Out Box06.In2 connect Box06.Out Box07.In2 connect Box07.Out Box09.Filename connect Box06.Out Box10.Mesh connect Box11.BoxChange Box09.BoxExecute connect Box11.BoxChange Box10.BoxExecute connect Box11.BoxChange Box04.BoxExecute connect Box12.DocRoot Box07.In1 # Complex input ports input vtkPolyData Box09.In " " input viewerwt Box10.ViewerWt " " input boxExecute Box11.BoxExecute " " # Complex output ports output out Box11.BoxChange " " message endefine