# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) # - /home/davila/Creatis/C8/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VectorVisuPlane.bbs # ---------------------------------- include std include itkvtk include vtk include creaVtk include std define VectorVisuPlane creaVtk author "Author ??" description "Description ??" category "" new vtk:ProbeFilter Box05 new creaVtk:PlaneSource Box06 set Box06.Center "10 10 10" set Box06.Normal "0 0 1" set Box06.XResolution "100" set Box06.YResolution "100" new vtk:ImageVtkProperties Box15 new std:GetVectorIntElement Box16 set Box16.I "0" new std:Div Box17 set Box17.In2 "2" new std:GetVectorIntElement Box18 set Box18.I "1" new std:Div Box19 set Box19.In2 "2" new std:GetVectorIntElement Box20 set Box20.I "2" new std:ConcatStrings Box21 set Box21.In2 " " set Box21.In4 " " new std:MathOperationVector Box22 set Box22.Type "2" new std:GetVectorIntElement Box23 set Box23.I "2" new std:Div Box24 set Box24.In2 "2" new std:MagicBox Box41 new std:MagicBox Box43 new std:StringSelect Box45 new std:ConcatStrings Box46 set Box46.In2 " " set Box46.In4 " " new std:GetVectorIntElement Box47 set Box47.I "0" new std:MagicBox Box48 new std:GetVectorIntElement Box49 set Box49.I "1" new std:ConcatStrings Box50 set Box50.In2 " " set Box50.In4 " " new std:StringSelect Box33 set Box33.In0 "1 0 0" set Box33.In1 "0 1 0" set Box33.In2 "0 0 1" new std:MagicBox Box34 new std:MagicBox Box35 connect Box06.PolyData Box05.Input connect Box15.Size Box16.In connect Box16.Out Box17.In1 connect Box18.Out Box19.In1 connect Box15.Size Box18.In connect Box20.Out Box21.In5 connect Box17.Out Box21.In1 connect Box19.Out Box21.In3 connect Box15.Spacing Box22.In1 connect Box22.Out Box06.Center connect Box23.Out Box24.In1 connect Box15.Size Box23.In connect Box41.Out Box15.In connect Box41.Out Box05.Source connect Box43.BoxChange Box06.BoxExecute connect Box43.BoxChange Box05.BoxExecute connect Box45.Out Box22.In0 connect Box48.Out Box20.In connect Box48.Out Box47.In connect Box47.Out Box46.In1 connect Box19.Out Box46.In3 connect Box24.Out Box46.In5 connect Box48.Out Box49.In connect Box49.Out Box50.In3 connect Box17.Out Box50.In1 connect Box24.Out Box50.In5 connect Box33.Out Box06.Normal connect Box34.Out Box45.In connect Box34.Out Box33.In connect Box35.Out Box06.XResolution connect Box35.Out Box06.YResolution connect Box46.Out Box45.In0 connect Box50.Out Box45.In1 connect Box21.Out Box45.In2 # Complex input ports input structuredpoints Box41.In " " input boxexecute Box43.BoxExecute " " input point Box48.In " " input orientation Box34.In " " input ResolutionPlane Box35.In " " # Complex output ports output outvtkdataset Box05.Out " " endefine