# ---------------------------------- # - 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 set Box02.BoxProcessMode "Reactive" new ProbeFilter Box03 new vtkImageDataPointerRelay Box04 new MagicBox Box05 new PlaneVectorViso_Interface Box06 set Box06.typeFormsStr "Cube Sphere Superquadric" new TensorsVisu Box07 new UpdateRender Box08 set Box08.Active "true" set Box08.BoxProcessMode "Reactive" new ExecSystemCommand Box09 set Box09.In "echo kkkkkkkkPlaneTensorVisu_widget" 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 Box05.Out Box07.Renderer connect Box06.AcitiveVector Box07.Active connect Box03.Out Box07.In connect Box06.Opacity Box07.Opacity connect Box06.ScaleFactor Box07.ScaleFactor connect Box06.typeForm Box07.TypeForm connect Box05.Out Box08.Renderer connect Box02.Out Box08.BoxExecute connect Box02.Out Box07.BoxExecute connect Box02.Out Box09.BoxExecute # Complex input ports input vtkImageData Box04.In " " input renderer Box05.In " " # Complex output ports output Widget Box06.widget " " output boxchange Box02.Out " " message endefine