]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/bbs/boxes/ManualPaint2.bbs
#3470merge vtk8itk5wx3-mingw64
[creaMaracasVisu.git] / bbtk / bbs / boxes / ManualPaint2.bbs
index cae9275f73d517323a2d02352254e0545aa80467..1301012e8f7ee1a83c871d52aff8e7a957ef473b 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
-# - /tmpEED/creaTools/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/ManualPaint2.bbs
+# - /home/davila/Creatis/C10/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/ManualPaint2.bbs
 # ----------------------------------
 
 include std
@@ -8,6 +8,7 @@ include itkvtk
 include creaMaracasVisu
 include wx
 include std
+include vtk
 
 define ManualPaint2 creaMaracasVisu
 
@@ -83,6 +84,55 @@ new std:MagicBox Box20
 new std:GetVectorStringElement Box21
   set Box21.I "6"
 
+new vtk:vtkImageDataPointerRelay Box22
+
+new vtk:UpdateRender Box23
+  set Box23.Active "true"
+
+new std:MagicBox Box24
+
+new std:MagicBox Box25
+
+new std:MagicBox Box26
+
+new vtk:UpdateRender Box27
+  set Box27.Active "true"
+
+new vtk:UpdateRender Box28
+  set Box28.Active "true"
+
+new wx:LayoutLine Box29
+
+new wx:CommandButton Box30
+  set Box30.Label "Undo"
+
+new wx:CommandButton Box31
+  set Box31.Label "Redo"
+
+new creaMaracasVisu:ManualPaint_UndoRedo Box32
+  set Box32.Type "2"
+
+new creaMaracasVisu:ManualPaint_UndoRedo Box33
+  set Box33.Type "1"
+
+new vtk:UpdateRender Box34
+
+new std:MagicBox Box38
+
+new wx:LayoutLine Box36
+  set Box36.Orientation "H"
+
+new wx:RadioButton Box37
+  set Box37.In "1"
+  set Box37.In0 "2D"
+  set Box37.In1 "3D"
+
+new wx:RadioButton Box39
+  set Box39.In "1"
+  set Box39.In0 "YZ"
+  set Box39.In1 "XZ"
+  set Box39.In2 "XY"
+
 
 connect Box01.Out Box02.In
 connect Box04.Out0 Box02.In0
@@ -97,7 +147,6 @@ connect Box04.Out8 Box02.In8
 connect Box04.Out9 Box02.In9
 connect Box02.Out Box05.In
 connect Box03.Widget Box09.Widget2
-connect Box00.Out Box03.In
 connect Box05.Out Box00.Active
 connect Box02.Out Box11.In
 connect Box11.Out Box00.DistanceFill
@@ -118,7 +167,6 @@ connect Box17.Out6 Box01.In6
 connect Box17.Out7 Box01.In7
 connect Box17.Out8 Box01.In8
 connect Box17.Out9 Box01.In9
-connect Box18.Widget Box19.Widget1
 connect Box01.Widget Box19.Widget2
 connect Box19.Widget Box09.Widget1
 connect Box18.Out Box00.Tool
@@ -127,6 +175,33 @@ connect Box20.Out Box17.In0
 connect Box20.Out Box04.In0
 connect Box02.Out Box21.In
 connect Box21.Out Box00.ToleranceFill
+connect Box22.Out Box00.Image2
+connect Box22.Out Box03.In
+connect Box24.Out Box03.WxVtkBaseView
+connect Box25.Out Box03.WxVtkBaseView1
+connect Box26.Out Box03.WxVtkBaseView2
+connect Box24.Out Box23.Renderer
+connect Box00.BoxChange Box23.BoxExecute
+connect Box25.Out Box27.Renderer
+connect Box26.Out Box28.Renderer
+connect Box00.BoxChange Box27.BoxExecute
+connect Box00.BoxChange Box28.BoxExecute
+connect Box29.Widget Box19.Widget1
+connect Box30.Widget Box29.Widget2
+connect Box31.Widget Box29.Widget3
+connect Box00.Manualpaintmodel Box32.Manualpaintmodel
+connect Box31.BoxChange Box32.BoxExecute
+connect Box30.BoxChange Box33.BoxExecute
+connect Box00.Manualpaintmodel Box33.Manualpaintmodel
+connect Box38.Out Box00.Point
+connect Box24.Out Box33.wxvtkbaseview
+connect Box24.Out Box32.wxvtkbaseview
+connect Box36.Widget Box29.Widget1
+connect Box18.Widget Box36.Widget1
+connect Box37.Widget Box36.Widget2
+connect Box37.Out Box00.2D3D
+connect Box39.Widget Box36.Widget4
+connect Box39.Out Box00.Direction
 
 # Complex input ports
 input TitleOptions Box20.In " "
@@ -135,18 +210,19 @@ input SizeDistance_ManualPaint_Model Box04.In2 " "
 input GrayLevel_ManualPaint_Model Box04.In3 " "
 input MinRange_ManualPaint_Model Box04.In4 " "
 input MaxRange_ManualPaint_Model Box04.In5 " "
-input Point_ManualPaint_Model Box00.Point " "
 input Image_ManualPaint_Model Box00.Image " "
-input Image2_ManualPaint_Model Box00.Image2 " "
 input BoxExecute_ManualPaint_Model Box00.BoxExecute " "
-input wxvtkbaseview1 Box03.WxVtkBaseView " "
-input wxvtkbaseview2 Box03.WxVtkBaseView1 " "
-input wxvtkbaseview3 Box03.WxVtkBaseView2 " "
 input Tolerance_Fill_ManualPaint_Model Box04.In6 " "
 input colorBarPosition Box03.ColorBarPosition " "
+input Image2_ManualPaint_Model Box22.In " "
+input wxvtkbaseview1 Box24.In " "
+input wxvtkbaseview2 Box25.In " "
+input wxvtkbaseview3 Box26.In " "
+input Point_ManualPaint_Model Box38.In " "
 
 # Complex output ports
 output widgetOut Box09.Widget " "
+output boxChange Box01.BoxChange " "
 
 
 endefine