]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/bbs/boxes/FreePlane.bbs
#3533 Update Curent contour and actual point ShowNPoints in Undo Redo
[creaMaracasVisu.git] / bbtk / bbs / boxes / FreePlane.bbs
index 86d36190f3fde715ce11f7ba2c3c337d8aa22098..8e8da14c740de982acf166e63fd4542af59f0809 100644 (file)
@@ -31,9 +31,9 @@ new creaMaracasVisu:SliceImage Box02
   set Box02.Z "0"
 
 new creaVtk:TransformVector Box03
-  set Box03.InX "1  0  0"
-  set Box03.InY "0 1   0"
-  set Box03.InZ "0 0 1"
+  set Box03.InX "1   0  0"
+  set Box03.InY "0  1   0"
+  set Box03.InZ "0  0   1"
 
 new creaMaracasVisu:ImageActor Box04
   set Box04.InterpolationMode "1"
@@ -68,9 +68,9 @@ new creaMaracasVisu:DrawAxisTree3D Box15
   set Box15.ColourLaw "2"
   set Box15.LineWidth "2"
   set Box15.lstIndexs "2 2 2"
-  set Box15.lstPointX "0 20       0 0           0 0"
-  set Box15.lstPointY "0 0         0  80       0 0"
-  set Box15.lstPointZ "0 0         0  0         0 20"
+  set Box15.lstPointX "0 20       0 0            0 0"
+  set Box15.lstPointY "0 0         0  160       0 0"
+  set Box15.lstPointZ "0 0         0  0           0 20"
 
 new creaMaracasVisu:TransformWidget2 Box16
   set Box16.Type "1"
@@ -83,6 +83,9 @@ new vtk:UpdateRender Box19
 
 new std:MultipleInputs Box20
 
+new vtk:UpdateRender Box21
+  set Box21.Active "true"
+
 
 connect Box02.Out Box04.In
 connect Box08.Out Box02.AxisOrigin
@@ -118,6 +121,9 @@ connect Box15.BoxChange Box20.In2
 connect Box20.BoxChange Box19.BoxExecute
 connect Box14.BoxChange Box20.In4
 connect Box14.Out Box19.Active
+connect Box14.BoxChange Box21.BoxExecute
+connect Box12.Out Box21.Renderer
+connect Box14.BoxChange Box04.BoxExecute
 
 # Complex input ports
 input possiblePoint Box16.PossiblePoint " "
@@ -128,6 +134,8 @@ input wxvtkbaseview3 Box13.wxVtkBaseView3 " "
 
 # Complex output ports
 output widgetOut Box01.Widget " "
+output transform Box16.Out " "
+output actualPoint Box08.Out " "
 
 
 endefine