]> Creatis software - creaMaracasVisu.git/commitdiff
2345 creaMaracasVisu Feature New Normal Ruler01XY
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Tue, 25 Mar 2014 14:50:22 +0000 (15:50 +0100)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Tue, 25 Mar 2014 14:50:22 +0000 (15:50 +0100)
bbtk/bbs/boxes/Ruler01_Interface.bbg [new file with mode: 0644]
bbtk/bbs/boxes/Ruler01_Interface.bbs [new file with mode: 0644]
bbtk/bbs/boxes/Ruler01_XY.bbg [new file with mode: 0644]
bbtk/bbs/boxes/Ruler01_XY.bbs [new file with mode: 0644]
bbtk/bbs/boxes/Ruler01_XY_Widget.bbg [new file with mode: 0644]
bbtk/bbs/boxes/Ruler01_XY_Widget.bbs [new file with mode: 0644]

diff --git a/bbtk/bbs/boxes/Ruler01_Interface.bbg b/bbtk/bbs/boxes/Ruler01_Interface.bbg
new file mode 100644 (file)
index 0000000..89f351e
--- /dev/null
@@ -0,0 +1,158 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBG BlackBox Diagram file
+# - /home/davila/Creatis/All/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Ruler01_Interface.bbg
+# ----------------------------------
+
+APP_START
+CATEGORY:<VOID>
+DESCRIPTION:Description ??
+AUTHOR:Author ??
+COMPLEXBOX:TRUE
+COMPLEXBOXNAME:Ruler01_Interface
+PACKAGENAME:creaMaracasVisu
+COMPLEXOUTPUTS:5
+COMPLEX_PORT
+Widget
+-51.075765:-78.250798:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+Angle
+13.079727:-77.603103:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+Opacity
+115.568151:-76.517475:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+SizeReal
+-95.309169:-77.637672:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+BoxChangeRulerInterface
+38.955144:-77.320308:-900.000000
+FIN_COMPLEX_PORT
+COMPLEXINPUTS:1
+COMPLEX_PORT
+BoxExecuteRulerInterface
+60.834024:104.445835:-900.000000
+FIN_COMPLEX_PORT
+BOXES:6
+BOX
+wx:Slider:Box00
+ISEXEC:FALSE
+9.977706:31.239710:-900.000000
+61.377706:21.239710:-900.000000
+PORT
+In:"0"
+PORT
+Label:"true"
+PORT
+Max:"360"
+PORT
+Min:"-360"
+PORT
+ReactiveOnTrack:"true"
+PORT
+Title:"Angle"
+FIN_BOX
+BOX
+wx:LayoutLine:Box01
+ISEXEC:FALSE
+-57.695442:-23.052033:-900.000000
+-0.135442:-33.052033:-900.000000
+PORT
+WinTitle:"Ruler"
+FIN_BOX
+BOX
+std:MultipleInputs:Box02
+ISEXEC:FALSE
+53.206712:-23.954139:-900.000000
+98.781712:-33.954139:-900.000000
+PORT
+BoxProcessMode:"Reactive"
+FIN_BOX
+BOX
+wx:Slider:Box03
+ISEXEC:FALSE
+89.039803:33.317157:-900.000000
+140.439803:23.317157:-900.000000
+PORT
+In:"50"
+PORT
+Label:"true"
+PORT
+Max:"100"
+PORT
+Min:"0"
+PORT
+ReactiveOnTrack:"true"
+PORT
+Title:"Opacity"
+FIN_BOX
+BOX
+std:Div:Box04
+ISEXEC:FALSE
+107.483372:-41.142905:-900.000000
+140.258372:-51.142905:-900.000000
+PORT
+In2:"100"
+FIN_BOX
+BOX
+wx:Slider:Box05
+ISEXEC:FALSE
+-64.999436:26.385556:-900.000000
+-13.599436:16.385556:-900.000000
+PORT
+In:"100"
+PORT
+Label:"true"
+PORT
+Max:"2000"
+PORT
+Min:"0"
+PORT
+ReactiveOnTrack:"true"
+PORT
+Title:"Size"
+FIN_BOX
+CONNECTIONS:13
+CONNECTION
+Box00:BoxChange:Box02:In2
+NumberOfControlPoints:0
+CONNECTION
+Box03:BoxChange:Box02:In4
+NumberOfControlPoints:0
+CONNECTION
+Box03:Out:Box04:In1
+NumberOfControlPoints:0
+CONNECTION
+Box05:BoxChange:Box02:In5
+NumberOfControlPoints:0
+CONNECTION
+Box01:Widget:Widget:Widget
+NumberOfControlPoints:0
+CONNECTION
+BoxExecuteRulerInterface:BoxExecuteRulerInterface:Box02:In3
+NumberOfControlPoints:0
+CONNECTION
+Box00:Out:Angle:Angle
+NumberOfControlPoints:0
+CONNECTION
+Box04:Out:Opacity:Opacity
+NumberOfControlPoints:0
+CONNECTION
+Box05:Out:SizeReal:SizeReal
+NumberOfControlPoints:0
+CONNECTION
+Box02:Out:BoxChangeRulerInterface:BoxChangeRulerInterface
+NumberOfControlPoints:0
+CONNECTION
+Box05:Widget:Box01:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box00:Widget:Box01:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box03:Widget:Box01:Widget3
+NumberOfControlPoints:0
+APP_END
diff --git a/bbtk/bbs/boxes/Ruler01_Interface.bbs b/bbtk/bbs/boxes/Ruler01_Interface.bbs
new file mode 100644 (file)
index 0000000..70c0424
--- /dev/null
@@ -0,0 +1,71 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /home/davila/Creatis/All/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Ruler01_Interface.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include wx
+include std
+
+define Ruler01_Interface creaMaracasVisu
+
+author "Author ??"
+description "Description ??"
+
+category "<VOID>"
+
+new Slider Box00
+  set Box00.In "0"
+  set Box00.Label "true"
+  set Box00.Max "360"
+  set Box00.Min "-360"
+  set Box00.ReactiveOnTrack "true"
+  set Box00.Title "Angle"
+
+new LayoutLine Box01
+  set Box01.WinTitle "Ruler"
+
+new MultipleInputs Box02
+  set Box02.BoxProcessMode "Reactive"
+
+new Slider Box03
+  set Box03.In "50"
+  set Box03.Label "true"
+  set Box03.Max "100"
+  set Box03.Min "0"
+  set Box03.ReactiveOnTrack "true"
+  set Box03.Title "Opacity"
+
+new Div Box04
+  set Box04.In2 "100"
+
+new Slider Box05
+  set Box05.In "100"
+  set Box05.Label "true"
+  set Box05.Max "2000"
+  set Box05.Min "0"
+  set Box05.ReactiveOnTrack "true"
+  set Box05.Title "Size"
+
+
+connect Box00.BoxChange Box02.In2
+connect Box03.BoxChange Box02.In4
+connect Box03.Out Box04.In1
+connect Box05.BoxChange Box02.In5
+connect Box05.Widget Box01.Widget1
+connect Box00.Widget Box01.Widget2
+connect Box03.Widget Box01.Widget3
+
+# Complex input ports
+input BoxExecuteRulerInterface Box02.In3 " "
+
+# Complex output ports
+output Widget Box01.Widget " "
+output Angle Box00.Out " "
+output Opacity Box04.Out " "
+output SizeReal Box05.Out " "
+output BoxChangeRulerInterface Box02.Out " "
+
+
+endefine
diff --git a/bbtk/bbs/boxes/Ruler01_XY.bbg b/bbtk/bbs/boxes/Ruler01_XY.bbg
new file mode 100644 (file)
index 0000000..0e71758
--- /dev/null
@@ -0,0 +1,324 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBG BlackBox Diagram file
+# - /home/davila/Creatis/All/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Ruler01_XY.bbg
+# ----------------------------------
+
+APP_START
+CATEGORY:<VOID>
+DESCRIPTION:Description ??
+AUTHOR:Author ??
+COMPLEXBOX:TRUE
+COMPLEXBOXNAME:Ruler01_XY
+PACKAGENAME:creaMaracasVisu
+COMPLEXOUTPUTS:0
+COMPLEXINPUTS:7
+COMPLEX_PORT
+SizeReal
+-220.407968:85.537270:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+Image
+-155.344733:89.311076:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+Point
+-95.687370:87.026244:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+OpacityRuler
+15.039433:85.089161:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+vtkRenderer
+-27.105980:83.695952:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+BoxExecuteRuler
+67.384410:86.740607:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+Angle
+-60.078956:86.721371:-900.000000
+FIN_COMPLEX_PORT
+BOXES:21
+BOX
+vtk:ImageVtkProperties:Box00
+ISEXEC:FALSE
+-162.336304:62.553214:-900.000000
+-116.761304:52.553214:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:DrawAxe3D:Box01
+ISEXEC:FALSE
+-57.629787:-174.298503:-900.000000
+-12.054787:-184.298503:-900.000000
+PORT
+Colour:"1 1 0"
+PORT
+lstPointX:"0 286.1111"
+PORT
+lstPointY:"0 0"
+PORT
+lstPointZ:"-900 -900"
+FIN_BOX
+BOX
+vtk:Transform:Box02
+ISEXEC:FALSE
+-118.900212:-39.685355:-900.000000
+-73.325212:-49.685355:-900.000000
+FIN_BOX
+BOX
+std:ConcatStrings:Box03
+ISEXEC:FALSE
+-102.095937:63.057960:-900.000000
+-56.520937:53.057960:-900.000000
+FIN_BOX
+BOX
+vtk:Transform:Box04
+ISEXEC:FALSE
+-73.068217:-65.633767:-900.000000
+-27.493217:-75.633767:-900.000000
+PORT
+RotateWXYZ:"45 0 0 1"
+FIN_BOX
+BOX
+std:ConcatStrings:Box05
+ISEXEC:FALSE
+-153.864979:-17.023134:-900.000000
+-108.289979:-27.023134:-900.000000
+FIN_BOX
+BOX
+std:ConcatStrings:Box06
+ISEXEC:FALSE
+-64.162536:-40.219923:-900.000000
+-18.587536:-50.219923:-900.000000
+PORT
+In2:" "
+PORT
+In3:"0 0 1"
+FIN_BOX
+BOX
+vtk:UpdateRender:Box07
+ISEXEC:FALSE
+69.391355:-91.210314:-900.000000
+114.966355:-101.210314:-900.000000
+PORT
+Active:"true"
+FIN_BOX
+BOX
+vtk:Text3D:Box08
+ISEXEC:FALSE
+27.238555:-175.915958:-900.000000
+60.013555:-185.915958:-900.000000
+PORT
+Colour:"0 1 1"
+PORT
+In:"10 um  (286p)"
+PORT
+X:"0"
+PORT
+Y:"0"
+PORT
+Z:"900"
+FIN_BOX
+BOX
+vtk:Transform:Box09
+ISEXEC:FALSE
+-103.931255:-82.682944:-900.000000
+-58.356255:-92.682944:-900.000000
+PORT
+RotateWXYZ:"180 1 0 0"
+PORT
+Scale:"2 2 2"
+FIN_BOX
+BOX
+std:Mul:Box10
+ISEXEC:FALSE
+-62.766821:-15.289162:-900.000000
+-29.991821:-25.289162:-900.000000
+PORT
+In2:"-1"
+FIN_BOX
+BOX
+std:ConcatStrings:Box11
+ISEXEC:FALSE
+-201.715114:-68.164625:-900.000000
+-156.140114:-78.164625:-900.000000
+PORT
+In1:"0"
+PORT
+In2:" "
+FIN_BOX
+BOX
+std:Mul:Box12
+ISEXEC:FALSE
+-117.111253:-102.949175:-900.000000
+-84.336253:-112.949175:-900.000000
+PORT
+In2:"0.12"
+FIN_BOX
+BOX
+std:GetVectorFloatElement:Box14
+ISEXEC:FALSE
+-190.632636:10.428616:-900.000000
+-119.457636:0.428616:-900.000000
+PORT
+I:"0"
+FIN_BOX
+BOX
+std:Div:Box15
+ISEXEC:FALSE
+-196.583892:-12.972041:-900.000000
+-163.808892:-22.972041:-900.000000
+PORT
+In1:"0.01"
+FIN_BOX
+BOX
+std:ConcatStrings:Box16
+ISEXEC:FALSE
+-253.832558:-68.066067:-900.000000
+-208.257558:-78.066067:-900.000000
+PORT
+In2:" um ("
+PORT
+In4:"p)"
+FIN_BOX
+BOX
+std:Mul:Box17
+ISEXEC:FALSE
+-204.601803:-37.580036:-900.000000
+-171.826803:-47.580036:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box18
+ISEXEC:FALSE
+-226.697757:58.736032:-900.000000
+-181.122757:48.736032:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box19
+ISEXEC:FALSE
+-18.390676:-58.805704:-900.000000
+27.184324:-68.805704:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box20
+ISEXEC:FALSE
+68.418649:-43.082407:-900.000000
+113.993649:-53.082407:-900.000000
+PORT
+BoxProcessMode:"Reactive"
+FIN_BOX
+BOX
+std:MagicBox:Box26
+ISEXEC:FALSE
+27.050629:-105.869439:-900.000000
+72.625629:-115.869439:-900.000000
+FIN_BOX
+CONNECTIONS:35
+CONNECTION
+Box03:Out:Box02:Translate
+NumberOfControlPoints:0
+CONNECTION
+Box00:Spacing:Box05:In1
+NumberOfControlPoints:0
+CONNECTION
+Box05:Out:Box02:Scale
+NumberOfControlPoints:0
+CONNECTION
+Box02:Out:Box04:In
+NumberOfControlPoints:0
+CONNECTION
+Box06:Out:Box04:RotateWXYZ
+NumberOfControlPoints:0
+CONNECTION
+Box04:Out:Box09:In
+NumberOfControlPoints:0
+CONNECTION
+Box09:Out:Box08:Transform
+NumberOfControlPoints:0
+CONNECTION
+Box04:Out:Box01:Transform
+NumberOfControlPoints:0
+CONNECTION
+Box10:Out:Box06:In1
+NumberOfControlPoints:0
+CONNECTION
+Box11:Out:Box01:lstPointX
+NumberOfControlPoints:0
+CONNECTION
+Box12:Out:Box08:X
+NumberOfControlPoints:0
+CONNECTION
+Box00:Spacing:Box14:In
+NumberOfControlPoints:0
+CONNECTION
+Box14:Out:Box15:In2
+NumberOfControlPoints:0
+CONNECTION
+Box16:Out:Box08:In
+NumberOfControlPoints:0
+CONNECTION
+Box15:Out:Box17:In2
+NumberOfControlPoints:0
+CONNECTION
+Box17:Out:Box11:In3
+NumberOfControlPoints:0
+CONNECTION
+Box17:Out:Box16:In3
+NumberOfControlPoints:0
+CONNECTION
+Box17:Out:Box12:In1
+NumberOfControlPoints:0
+CONNECTION
+Box18:Out:Box17:In1
+NumberOfControlPoints:0
+CONNECTION
+Box18:Out:Box16:In1
+NumberOfControlPoints:0
+CONNECTION
+Box19:Out:Box07:Renderer
+NumberOfControlPoints:0
+CONNECTION
+Box19:Out:Box08:Renderer
+NumberOfControlPoints:0
+CONNECTION
+Box19:Out:Box01:Renderer
+NumberOfControlPoints:0
+CONNECTION
+Box20:BoxChange:Box01:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+SizeReal:SizeReal:Box18:In
+NumberOfControlPoints:0
+CONNECTION
+Point:Point:Box03:In1
+NumberOfControlPoints:0
+CONNECTION
+vtkRenderer:vtkRenderer:Box19:In
+NumberOfControlPoints:0
+CONNECTION
+Angle:Angle:Box10:In1
+NumberOfControlPoints:0
+CONNECTION
+BoxExecuteRuler:BoxExecuteRuler:Box20:In
+NumberOfControlPoints:0
+CONNECTION
+Box20:BoxChange:Box08:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box20:BoxChange:Box07:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Image:Image:Box00:In
+NumberOfControlPoints:0
+CONNECTION
+OpacityRuler:OpacityRuler:Box26:In
+NumberOfControlPoints:0
+CONNECTION
+Box26:Out:Box08:Opacity
+NumberOfControlPoints:0
+CONNECTION
+Box26:Out:Box01:Opacity
+NumberOfControlPoints:0
+APP_END
diff --git a/bbtk/bbs/boxes/Ruler01_XY.bbs b/bbtk/bbs/boxes/Ruler01_XY.bbs
new file mode 100644 (file)
index 0000000..88cb208
--- /dev/null
@@ -0,0 +1,127 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /home/davila/Creatis/All/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Ruler01_XY.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include vtk
+include creaMaracasVisu
+include std
+
+define Ruler01_XY creaMaracasVisu
+
+author "Author ??"
+description "Description ??"
+
+category "<VOID>"
+
+new ImageVtkProperties Box00
+
+new DrawAxe3D Box01
+  set Box01.Colour "1 1 0"
+  set Box01.lstPointX "0 286.1111"
+  set Box01.lstPointY "0 0"
+  set Box01.lstPointZ "-900 -900"
+
+new Transform Box02
+
+new ConcatStrings Box03
+
+new Transform Box04
+  set Box04.RotateWXYZ "45 0 0 1"
+
+new ConcatStrings Box05
+
+new ConcatStrings Box06
+  set Box06.In2 " "
+  set Box06.In3 "0 0 1"
+
+new UpdateRender Box07
+  set Box07.Active "true"
+
+new Text3D Box08
+  set Box08.Colour "0 1 1"
+  set Box08.In "10 um  (286p)"
+  set Box08.X "0"
+  set Box08.Y "0"
+  set Box08.Z "900"
+
+new Transform Box09
+  set Box09.RotateWXYZ "180 1 0 0"
+  set Box09.Scale "2 2 2"
+
+new Mul Box10
+  set Box10.In2 "-1"
+
+new ConcatStrings Box11
+  set Box11.In1 "0"
+  set Box11.In2 " "
+
+new Mul Box12
+  set Box12.In2 "0.12"
+
+new GetVectorFloatElement Box14
+  set Box14.I "0"
+
+new Div Box15
+  set Box15.In1 "0.01"
+
+new ConcatStrings Box16
+  set Box16.In2 " um ("
+  set Box16.In4 "p)"
+
+new Mul Box17
+
+new MagicBox Box18
+
+new MagicBox Box19
+
+new MagicBox Box20
+  set Box20.BoxProcessMode "Reactive"
+
+new MagicBox Box26
+
+
+connect Box03.Out Box02.Translate
+connect Box00.Spacing Box05.In1
+connect Box05.Out Box02.Scale
+connect Box02.Out Box04.In
+connect Box06.Out Box04.RotateWXYZ
+connect Box04.Out Box09.In
+connect Box09.Out Box08.Transform
+connect Box04.Out Box01.Transform
+connect Box10.Out Box06.In1
+connect Box11.Out Box01.lstPointX
+connect Box12.Out Box08.X
+connect Box00.Spacing Box14.In
+connect Box14.Out Box15.In2
+connect Box16.Out Box08.In
+connect Box15.Out Box17.In2
+connect Box17.Out Box11.In3
+connect Box17.Out Box16.In3
+connect Box17.Out Box12.In1
+connect Box18.Out Box17.In1
+connect Box18.Out Box16.In1
+connect Box19.Out Box07.Renderer
+connect Box19.Out Box08.Renderer
+connect Box19.Out Box01.Renderer
+connect Box20.BoxChange Box01.BoxExecute
+connect Box20.BoxChange Box08.BoxExecute
+connect Box20.BoxChange Box07.BoxExecute
+connect Box26.Out Box08.Opacity
+connect Box26.Out Box01.Opacity
+
+# Complex input ports
+input SizeReal Box18.In " "
+input Point Box03.In1 " "
+input vtkRenderer Box19.In " "
+input Angle Box10.In1 " "
+input BoxExecuteRuler Box20.In " "
+input Image Box00.In " "
+input OpacityRuler Box26.In " "
+
+# Complex output ports
+
+
+endefine
diff --git a/bbtk/bbs/boxes/Ruler01_XY_Widget.bbg b/bbtk/bbs/boxes/Ruler01_XY_Widget.bbg
new file mode 100644 (file)
index 0000000..f571648
--- /dev/null
@@ -0,0 +1,76 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBG BlackBox Diagram file
+# - /home/davila/Creatis/All/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Ruler01_XY_Widget.bbg
+# ----------------------------------
+
+APP_START
+CATEGORY:<VOID>
+DESCRIPTION:Description ??
+AUTHOR:Author ??
+COMPLEXBOX:TRUE
+COMPLEXBOXNAME:Ruler01_XY_Widget
+PACKAGENAME:creaMaracasVisu
+COMPLEXOUTPUTS:1
+COMPLEX_PORT
+Widget
+-17.579922:-70.904548:-900.000000
+FIN_COMPLEX_PORT
+COMPLEXINPUTS:4
+COMPLEX_PORT
+Image
+19.286079:49.530174:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+Point
+37.381857:47.999946:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+vtkRenderer
+50.580906:47.081810:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+BoxExecuteRulerInterface
+-32.960378:48.225485:-900.000000
+FIN_COMPLEX_PORT
+BOXES:2
+BOX
+creaMaracasVisu:Ruler01_Interface:Box01
+ISEXEC:FALSE
+-31.605968:25.201303:-900.000000
+13.969032:15.201303:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:Ruler01_XY:Box02
+ISEXEC:FALSE
+4.728196:-52.959033:-900.000000
+50.303196:-62.959033:-900.000000
+FIN_BOX
+CONNECTIONS:9
+CONNECTION
+BoxExecuteRulerInterface:BoxExecuteRulerInterface:Box01:BoxExecuteRulerInterface
+NumberOfControlPoints:0
+CONNECTION
+Box01:Widget:Widget:Widget
+NumberOfControlPoints:0
+CONNECTION
+vtkRenderer:vtkRenderer:Box02:vtkRenderer
+NumberOfControlPoints:0
+CONNECTION
+Point:Point:Box02:Point
+NumberOfControlPoints:0
+CONNECTION
+Image:Image:Box02:Image
+NumberOfControlPoints:0
+CONNECTION
+Box01:Angle:Box02:Angle
+NumberOfControlPoints:0
+CONNECTION
+Box01:BoxChangeRulerInterface:Box02:BoxExecuteRuler
+NumberOfControlPoints:0
+CONNECTION
+Box01:Opacity:Box02:OpacityRuler
+NumberOfControlPoints:0
+CONNECTION
+Box01:SizeReal:Box02:SizeReal
+NumberOfControlPoints:0
+APP_END
diff --git a/bbtk/bbs/boxes/Ruler01_XY_Widget.bbs b/bbtk/bbs/boxes/Ruler01_XY_Widget.bbs
new file mode 100644 (file)
index 0000000..06a2076
--- /dev/null
@@ -0,0 +1,37 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /home/davila/Creatis/All/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Ruler01_XY_Widget.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include creaMaracasVisu
+
+define Ruler01_XY_Widget creaMaracasVisu
+
+author "Author ??"
+description "Description ??"
+
+category "<VOID>"
+
+new Ruler01_Interface Box01
+
+new Ruler01_XY Box02
+
+
+connect Box01.Angle Box02.Angle
+connect Box01.BoxChangeRulerInterface Box02.BoxExecuteRuler
+connect Box01.Opacity Box02.OpacityRuler
+connect Box01.SizeReal Box02.SizeReal
+
+# Complex input ports
+input BoxExecuteRulerInterface Box01.BoxExecuteRulerInterface " "
+input vtkRenderer Box02.vtkRenderer " "
+input Point Box02.Point " "
+input Image Box02.Image " "
+
+# Complex output ports
+output Widget Box01.Widget " "
+
+
+endefine