# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) # - /home/davila/Creatis/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/PlaneTensorVisu_Widget.bbs # ---------------------------------- include std include itkvtk include creaVtk include std include vtk define PlaneTensorVisu_Widget creaVtk author "Author ??" description "Description ??" category "" new PlaneWidget Box01 new MultipleInputs Box02 new ProbeFilter Box03 new vtkImageDataPointerRelay Box04 new MagicBox Box05 new PlaneVectorViso_Interface Box06 set Box06.typeFormsStr "Cube Sphere Superquadric" new TensorsVisu Box07 connect Box01.BoxChange Box02.In1 connect Box01.Out Box03.Input connect Box04.Out Box03.Source connect Box04.Out Box01.In connect Box05.Out Box01.Renderer connect Box06.ActivePlaneControl Box01.Active connect Box06.boxChange Box02.In2 connect Box06.Ratio Box01.Resolution connect Box06.boxChange Box01.BoxExecute connect Box05.Out Box07.Renderer connect Box06.AcitiveVector Box07.Active connect Box02.BoxChange Box07.BoxExecute connect Box03.Out Box07.In connect Box06.Opacity Box07.Opacity connect Box06.ScaleFactor Box07.ScaleFactor connect Box06.typeForm Box07.TypeForm # Complex input ports input vtkImageData Box04.In " " input renderer Box05.In " " # Complex output ports output Widget Box06.widget " " output boxchange Box02.BoxChange " " message endefine