]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/bbs/boxes/ManualPaint2.bbs
#3459 SliceImage-3DVisu box
[creaMaracasVisu.git] / bbtk / bbs / boxes / ManualPaint2.bbs
index 1f931bcea850de4d19955981fa27eeeabff3571b..1301012e8f7ee1a83c871d52aff8e7a957ef473b 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
-# - /home/davila/Creatis/C8/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/ManualPaint2.bbs
+# - /home/davila/Creatis/C10/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/ManualPaint2.bbs
 # ----------------------------------
 
 include std
@@ -101,6 +101,38 @@ new vtk:UpdateRender Box27
 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
@@ -135,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
@@ -155,6 +186,22 @@ 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 " "
@@ -163,7 +210,6 @@ 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 BoxExecute_ManualPaint_Model Box00.BoxExecute " "
 input Tolerance_Fill_ManualPaint_Model Box04.In6 " "
@@ -172,9 +218,11 @@ 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