# ----------------------------------
# - BBTKGEditor v 1.2 BBG BlackBox Diagram file
-# - /home/jpr/Desktop/NewDiagramSliders5.bbg
+# - /home/jpr/Creatis/All/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/bbSlidersForSize.bbg
# ----------------------------------
APP_START
AUTHOR:jean-pierre.roux@creatis.univ-lyon1.fr
COMPLEXBOX:TRUE
COMPLEXBOXNAME:SlidersForSize
-PACKAGENAME:wx
+PACKAGENAME:toolsbbtk
COMPLEXINPUTS:2
COMPLEX_PORT
In
-186.015555:-15.899887:900.000000
-134.615555:-25.899887:900.000000
PORT
+In:0
+PORT
Label:"1"
PORT
Min:"0"
-66.451731:-16.989681:900.000000
-15.051731:-26.989681:900.000000
PORT
+In:0
+PORT
Label:"1"
PORT
Min:"0"
54.273075:-16.123824:900.000000
105.673075:-26.123824:900.000000
PORT
+In:0
+PORT
Label:"1"
PORT
Min:"0"
1.469174:-89.363333:900.000000
59.029174:-99.363333:900.000000
FIN_BOX
-CONNECTIONS:43
+CONNECTIONS:40
CONNECTION
mc:Size:gveX:In
NumberOfControlPoints:0
gveX:Out:xMin:Max
NumberOfControlPoints:0
CONNECTION
-gveX:Out:xMin:In
-NumberOfControlPoints:0
-CONNECTION
mb:Out:xMin:ReactiveOnTrack
NumberOfControlPoints:0
CONNECTION
gveY:Out:yMin:Max
NumberOfControlPoints:0
CONNECTION
-gveY:Out:yMin:In
-NumberOfControlPoints:0
-CONNECTION
mb:Out:yMin:ReactiveOnTrack
NumberOfControlPoints:0
CONNECTION
gveY:Out:yMax:Max
NumberOfControlPoints:0
CONNECTION
-gveZ:Out:zMin:In
-NumberOfControlPoints:0
-CONNECTION
gveZ:Out:zMin:Max
NumberOfControlPoints:0
CONNECTION
# ----------------------------------
# - BBTKGEditor v 1.2 BBS BlackBox Script (Complex Box)
-# - /home/jpr/Desktop/NewDiagramSliders5.bbs
+# - /home/jpr/Creatis/All/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/bbSlidersForSize.bbs
# ----------------------------------
include std
include std
include wx
-define SlidersForSize wx
+define SlidersForSize toolsbbtk
author "jean-pierre.roux@creatis.univ-lyon1.fr"
description "Display 6 sliders for sizes of 3D image"
new MagicBox mb
new Slider xMin
+ set xMin.In 0
set xMin.Label "1"
set xMin.Min "0"
set xMin.Title "XMin"
set xMax.Title "XMax"
new Slider yMin
+ set yMin.In 0
set yMin.Label "1"
set yMin.Min "0"
set yMin.Title "YMin"
set yMax.Title "YMax"
new Slider zMin
+ set zMin.In 0
set zMin.Label "1"
set zMin.Min "0"
set zMin.Title "ZMin"
connect mc.Size gveY.In
connect mc.Size gveZ.In
connect gveX.Out xMin.Max
-connect gveX.Out xMin.In
connect mb.Out xMin.ReactiveOnTrack
connect gveX.Out xMax.Max
connect gveX.Out xMax.In
connect mb.Out xMax.ReactiveOnTrack
connect gveY.Out yMin.Max
-connect gveY.Out yMin.In
connect mb.Out yMin.ReactiveOnTrack
connect mb.Out yMax.ReactiveOnTrack
connect mb.Out zMin.ReactiveOnTrack
connect gveZ.Out zMax.Max
connect gveY.Out yMax.In
connect gveY.Out yMax.Max
-connect gveZ.Out zMin.In
connect gveZ.Out zMin.Max
connect xMin.Widget Box13.Widget1
connect xMax.Widget Box13.Widget2