]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/bbs/boxes/VoiMPR-Widget.bbs
#spc.push_back(1);
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / boxes / VoiMPR-Widget.bbs
diff --git a/bbtk_creaVtk_PKG/bbs/boxes/VoiMPR-Widget.bbs b/bbtk_creaVtk_PKG/bbs/boxes/VoiMPR-Widget.bbs
new file mode 100644 (file)
index 0000000..4ae5616
--- /dev/null
@@ -0,0 +1,129 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /home/davila/Creatis/C8/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VoiMPR-Widget.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include creaVtk
+include vtk
+include std
+
+define VoiMPR-Widget creaVtk
+
+author "InfoDev"
+description "Description ??"
+
+category "<VOID>"
+
+new creaVtk:VoiMPR-Interface Box01
+
+new creaVtk:VoiMPR Box02
+
+new vtk:UpdateRender Box03
+  set Box03.Active "true"
+
+new std:MagicBox Box04
+
+new std:MagicBox Box05
+
+new std:MagicBox Box06
+
+new vtk:UpdateRender Box07
+  set Box07.Active "true"
+
+new vtk:UpdateRender Box08
+  set Box08.Active "true"
+
+new std:ConcatStrings Box09
+  set Box09.In2 " "
+  set Box09.In4 " "
+
+new std:GetVectorIntElement Box10
+  set Box10.I "0"
+
+new std:ConcatStrings Box14
+  set Box14.In2 " "
+  set Box14.In4 " "
+
+new std:MathOperation Box15
+  set Box15.Type "1"
+
+new std:GetVectorIntElement Box16
+  set Box16.I "1"
+
+new std:GetVectorIntElement Box17
+  set Box17.I "2"
+
+new std:MathOperation Box18
+  set Box18.Type "1"
+
+new std:GetVectorIntElement Box19
+  set Box19.I "3"
+
+new std:GetVectorIntElement Box20
+  set Box20.I "4"
+
+new std:MathOperation Box21
+  set Box21.Type "1"
+
+new std:GetVectorIntElement Box22
+  set Box22.I "5"
+
+new vtk:vtkImageDataPointerRelay Box23
+
+new vtk:ImageVtkProperties Box24
+
+
+connect Box01.active Box02.Active
+connect Box01.boxchange Box02.BoxExecute
+connect Box01.voi Box02.In
+connect Box04.Out Box02.XYrender
+connect Box05.Out Box02.XZrender
+connect Box04.Out Box03.Renderer
+connect Box06.Out Box02.YZrender
+connect Box05.Out Box07.Renderer
+connect Box06.Out Box08.Renderer
+connect Box01.boxchangeRender Box03.BoxExecute
+connect Box01.boxchangeRender Box07.BoxExecute
+connect Box01.boxchangeRender Box08.BoxExecute
+connect Box01.voi Box10.In
+connect Box10.Out Box09.In1
+connect Box01.voi Box16.In
+connect Box16.Out Box15.In1
+connect Box10.Out Box15.In2
+connect Box19.Out Box18.In1
+connect Box17.Out Box18.In2
+connect Box22.Out Box21.In1
+connect Box20.Out Box21.In2
+connect Box17.Out Box09.In3
+connect Box20.Out Box09.In5
+connect Box15.Out Box14.In1
+connect Box18.Out Box14.In3
+connect Box21.Out Box14.In5
+connect Box01.voi Box17.In
+connect Box01.voi Box19.In
+connect Box01.voi Box20.In
+connect Box01.voi Box22.In
+connect Box23.Out Box01.Image
+connect Box23.Out Box24.In
+connect Box24.Spacing Box02.Spacing
+
+# Complex input ports
+input execute Box01.Execute " "
+input wxVtkBaseView Box01.wxvtkbaseview " "
+input RenderXY Box04.In " "
+input RenderXZ Box05.In " "
+input RenderYZ Box06.In " "
+input Point Box02.ActualPoint " "
+input image Box23.In " "
+
+# Complex output ports
+output Widget Box01.widget " "
+output Voi Box01.voi " "
+output boxchangeInterface Box01.boxchangeRender " "
+output index Box09.Out " "
+output size Box14.Out " "
+
+
+endefine