# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) # - VectorsTensors_Widget.bbs # ---------------------------------- include std include itkvtk include vtk include wx include std include creaVtk define VectorsTensors_Widget creaVtk author "Author ??" description "Description ??" category "" new vtk:UpdateRender Box22 set Box22.Active "true" new wx:LayoutTab Box17 set Box17.WinTitle "VectorsTensors Analysis" new std:MultipleInputs Box23 set Box23.BoxProcessMode "Reactive" new creaVtk:PlaneVectorVisu_Widget Box41 new wx:LayoutLine Box14 set Box14.WinTitle "Field" new creaVtk:VolumeVectorVisu_Widget Box18 new wx:LayoutLine Box16 set Box16.WinTitle "Tensors" new creaVtk:VolumeTensorVisu_Widget Box19 new creaVtk:PlaneTensorVisu_Widget Box21 new creaVtk:PlaneWidget_StreamLineVisu_Widget Box30 new vtk:vtkImageDataPointerRelay Box26 new vtk:vtkImageDataPointerRelay Box27 new std:MagicBox Box28 new wx:LayoutTab Box29 set Box29.WinTitle "Vectors" connect Box23.BoxChange Box22.BoxExecute connect Box41.boxchange Box23.In1 connect Box41.Widget Box14.Widget1 connect Box18.Widget Box14.Widget2 connect Box18.boxchange Box23.In2 connect Box19.boxchange Box23.In3 connect Box19.Widget Box16.Widget2 connect Box21.boxchange Box23.In4 connect Box21.Widget Box16.Widget1 connect Box30.boxchange Box23.In5 connect Box26.Out Box18.vtkImageData connect Box26.Out Box30.In connect Box27.Out Box21.vtkImageData connect Box27.Out Box19.vtkImageData connect Box28.Out Box22.Renderer connect Box28.Out Box41.renderer connect Box28.Out Box18.renderer connect Box28.Out Box30.Renderer connect Box28.Out Box21.renderer connect Box28.Out Box19.renderer connect Box26.Out Box41.vtkImageData connect Box14.Widget Box29.Widget1 connect Box30.Widget Box29.Widget2 connect Box29.Widget Box17.Widget1 connect Box16.Widget Box17.Widget2 connect Box41.boxchange Box14.BoxExecute connect Box18.boxchange Box29.BoxExecute # Complex input ports input vtkImageData_vectors Box26.In " " input vtkImageData_tensors Box27.In " " input vtkRenderer Box28.In " " # Complex output ports output widget Box17.Widget " " endefine