]> Creatis software - bbtk.git/blobdiff - packages/wxvtk/bbs/boxes/bbIsoSurfaceWidget.bbs
2042 Feature bbpConfigurator
[bbtk.git] / packages / wxvtk / bbs / boxes / bbIsoSurfaceWidget.bbs
index 13f2110296c1d2c938a7f6944f111b9bb1003982..995a4a0501e5e2553096029caf7185ab699dc27a 100644 (file)
@@ -30,15 +30,22 @@ new Slider opacity
   set opacity.In "100"
   set opacity.Max "100"
   set opacity.Min "0"
+  set opacity.ReactiveOnTrack "true"
   set opacity.Title "Opacity"
 
 new ColourSelectorButton colour
 
 new MultipleInputs refresh
+  set refresh.BoxProcessMode "Reactive"
 
 new Div div
   set div.In2 "100"
 
+new UpdateRender Box08
+  set Box08.Active "true"
+
+new MagicBox Box09
+
 
 connect isovalue.Out surface.Isovalue
 connect opacity.Out div.In1
@@ -51,6 +58,9 @@ connect colour.Widget controls.Widget3
 connect isovalue.Widget controls.Widget1
 connect opacity.Widget controls.Widget2
 connect refresh.BoxChange surface.BoxExecute
+connect refresh.BoxChange Box08.BoxExecute
+connect Box09.Out surface.Renderer
+connect Box09.Out Box08.Renderer
 
 # Complex input ports
 input Title controls.WinTitle " "
@@ -59,9 +69,9 @@ input Isovalue isovalue.In " "
 input Colour colour.In " "
 input Vertical controls.Orientation " "
 input BoxExecute refresh.In4 " "
-input vtkRenderer surface.Renderer " "
 input In surface.In " "
 input maxIsovalue isovalue.Max " "
+input vtkRenderer Box09.In " "
 
 # Complex output ports
 output Out surface.Out " "