# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) # - /home/davila/Creatis/C8/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VectorVisuPlane_Widget.bbs # ---------------------------------- include std include itkvtk include creaVtk include creaMaracasVisu include std include vtk define VectorVisuPlane_Widget creaVtk author "Author ??" description "Description ??" category "" new creaVtk:VectorsVisu_Interface Box01 new creaVtk:VectorVisuPlane Box02 new creaVtk:VectorsVisu Box03 new creaVtk:VectorsVisu Box04 new creaVtk:VectorsVisu Box05 new creaMaracasVisu:wxVtkBaseView_Info Box06 new creaVtk:VectorVisuPlane Box07 new creaVtk:VectorVisuPlane Box08 new std:MagicBox Box09 new std:MagicBox Box10 new creaMaracasVisu:wxVtkBaseView_Info Box11 new creaMaracasVisu:wxVtkBaseView_Info Box12 new creaVtk:VectorVisuPlane Box13 set Box13.orientation "0" new creaVtk:VectorsVisu Box14 set Box14.Orientation "0" new creaVtk:VectorsVisu Box15 set Box15.Orientation "1" new creaVtk:VectorsVisu Box16 set Box16.Orientation "2" new creaVtk:VectorVisuPlane Box17 set Box17.orientation "1" new creaVtk:VectorVisuPlane Box18 set Box18.orientation "2" new creaMaracasVisu:wxVtkBaseView_Info Box20 new std:MagicBox Box21 new std:MultipleInputs Box24 new vtk:UpdateRender Box23 set Box23.Active "true" new vtk:UpdateRender Box25 set Box25.Active "true" new vtk:UpdateRender Box26 set Box26.Active "true" new vtk:UpdateRender Box27 set Box27.Active "true" connect Box06.vtkRenderer Box03.Renderer connect Box06.Direction Box02.orientation connect Box02.outvtkdataset Box03.In connect Box01.Opacity Box03.Opacity connect Box01.ScaleFactor Box03.ScaleFactor connect Box01.Type Box03.TypeForm connect Box01.active Box03.Active connect Box01.Opacity Box04.Opacity connect Box01.ScaleFactor Box04.ScaleFactor connect Box01.Type Box04.TypeForm connect Box01.active Box04.Active connect Box06.Direction Box03.Orientation connect Box09.Out Box02.point connect Box10.Out Box02.structuredpoints connect Box09.Out Box07.point connect Box10.Out Box07.structuredpoints connect Box10.Out Box08.structuredpoints connect Box09.Out Box08.point connect Box11.vtkRenderer Box04.Renderer connect Box07.outvtkdataset Box04.In connect Box11.Direction Box04.Orientation connect Box12.vtkRenderer Box05.Renderer connect Box08.outvtkdataset Box05.In connect Box12.Direction Box05.Orientation connect Box01.Opacity Box05.Opacity connect Box01.ScaleFactor Box05.ScaleFactor connect Box01.Type Box05.TypeForm connect Box01.active Box05.Active connect Box11.Direction Box07.orientation connect Box12.Direction Box08.orientation connect Box13.outvtkdataset Box14.In connect Box17.outvtkdataset Box15.In connect Box18.outvtkdataset Box16.In connect Box20.vtkRenderer Box14.Renderer connect Box20.vtkRenderer Box15.Renderer connect Box20.vtkRenderer Box16.Renderer connect Box10.Out Box13.structuredpoints connect Box10.Out Box17.structuredpoints connect Box10.Out Box18.structuredpoints connect Box09.Out Box13.point connect Box09.Out Box17.point connect Box09.Out Box18.point connect Box20.Direction Box14.Orientation connect Box20.Direction Box15.Orientation connect Box20.Direction Box16.Orientation connect Box21.Out Box02.boxexecute connect Box21.Out Box07.boxexecute connect Box21.Out Box08.boxexecute connect Box21.Out Box13.boxexecute connect Box21.Out Box17.boxexecute connect Box21.Out Box18.boxexecute connect Box01.Type Box14.TypeForm connect Box01.Type Box15.TypeForm connect Box01.Type Box16.TypeForm connect Box01.Opacity Box14.Opacity connect Box01.Opacity Box15.Opacity connect Box01.Opacity Box16.Opacity connect Box01.ScaleFactor Box14.ScaleFactor connect Box01.ScaleFactor Box15.ScaleFactor connect Box01.ScaleFactor Box16.ScaleFactor connect Box01.active Box14.Active connect Box01.active Box15.Active connect Box01.active Box16.Active connect Box21.Out Box24.In1 connect Box01.boxChange Box24.In2 connect Box24.BoxChange Box03.BoxExecute connect Box24.BoxChange Box14.BoxExecute connect Box24.BoxChange Box04.BoxExecute connect Box24.BoxChange Box05.BoxExecute connect Box24.BoxChange Box15.BoxExecute connect Box24.BoxChange Box16.BoxExecute connect Box01.Resolution Box02.ResolutionPlane connect Box01.Resolution Box07.ResolutionPlane connect Box01.Resolution Box08.ResolutionPlane connect Box01.Resolution Box13.ResolutionPlane connect Box01.Resolution Box17.ResolutionPlane connect Box01.Resolution Box18.ResolutionPlane connect Box06.vtkRenderer Box23.Renderer connect Box01.boxChange Box23.BoxExecute connect Box11.vtkRenderer Box25.Renderer connect Box12.vtkRenderer Box26.Renderer connect Box20.vtkRenderer Box27.Renderer connect Box01.boxChange Box25.BoxExecute connect Box01.boxChange Box26.BoxExecute connect Box01.boxChange Box27.BoxExecute # Complex input ports input Point Box09.In " " input structuredpoints Box10.In " " input wxvtkbaseview1_2D Box06.wxVtkBaseView " " input wxvtkbaseview2_2D Box11.wxVtkBaseView " " input wxvtkbaseview3_2D Box12.wxVtkBaseView " " input vtkbaseview_3D Box20.wxVtkBaseView " " input boxExecute Box21.In " " # Complex output ports output outwidget Box01.widget " " endefine