# ---------------------------------- # - 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 std:RandomString Box04 set Box04.BoxProcessMode "Reactive" new std:ConcatStrings Box05 set Box05.In1 "mesh_" set Box05.In3 ".vtk" new std:ConcatStrings Box06 set Box06.In1 "imagesTMP/" new std:ConcatStrings Box07 new vtk:PolyDataWriter Box09 new wt:AddMesh Box10 new std:MultipleInputs Box11 set Box11.BoxProcessMode "Reactive" new wt: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 Box12.DocRoot Box07.In1 connect Box11.BoxChange Box10.BoxExecute connect Box11.BoxChange Box04.BoxExecute connect Box11.BoxChange Box09.BoxExecute # Complex input ports input vtkPolyData Box09.In " " input viewerwt Box10.ViewerWt " " input boxExecute Box11.BoxExecute " " # Complex output ports message endefine