# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) # - /home/davila/Creatis/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VectorsTensors_manualread_Widget.bbs # ---------------------------------- include std include itkvtk include vtk include wx include std include creaVtk define VectorsTensors_manualread_Widget creaVtk author "Author ??" description "Description ??" category "" new UpdateRender Box22 set Box22.Active "true" new LayoutTab Box17 set Box17.WinTitle "VectorsTensors Analysis Manual" new MultipleInputs Box23 set Box23.BoxProcessMode "Reactive" new PlaneVectorVisu_Widget Box41 new LayoutLine Box14 set Box14.WinTitle "Vectors" new VolumeVectorVisu_Widget Box18 new LayoutLine Box16 set Box16.WinTitle "Tensors" new VolumeTensorVisu_Widget Box19 new PlaneTensorVisu_Widget Box21 new PlaneWidget_StreamLineVisu_Widget Box30 new MagicBox Box28 new FileSelector Box29 set Box29.BoxProcessMode "Manual" set Box29.Title "Vectors (*.vtk)" new StructuredPointsReader Box31 new LayoutSplit Box33 set Box33.Proportion "10" set Box33.WinTitle "Vectors" new CommandButton Box34 set Box34.Label "Read Vectors (*.vtk)" new FileSelector Box35 set Box35.BoxProcessMode "Manual" set Box35.Title "Tensors (*.vtk)" new StructuredPointsReader Box36 new LayoutSplit Box37 set Box37.Proportion "10" set Box37.WinTitle "Tensors" new CommandButton Box38 set Box38.Label "Read Tensors (*.vtk)" new LayoutTab Box39 set Box39.WinTitle "Field" 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 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 Box29.Out Box31.In connect Box34.Widget Box33.Widget1 connect Box34.BoxChange Box29.BoxExecute connect Box31.Out Box41.vtkImageData connect Box31.Out Box18.vtkImageData connect Box31.Out Box30.In connect Box35.Out Box36.In connect Box38.Widget Box37.Widget1 connect Box38.BoxChange Box35.BoxExecute connect Box36.Out Box21.vtkImageData connect Box36.Out Box19.vtkImageData connect Box16.Widget Box37.Widget2 connect Box37.Widget Box17.Widget2 connect Box30.Widget Box39.Widget2 connect Box33.Widget Box17.Widget1 connect Box14.Widget Box39.Widget1 connect Box39.Widget Box33.Widget2 # Complex input ports input vtkRenderer Box28.In " " # Complex output ports output widget Box17.Widget " " endefine