]> Creatis software - creaContours.git/commitdiff
Clean code
authoreduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Tue, 1 Oct 2024 08:43:39 +0000 (10:43 +0200)
committereduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Tue, 1 Oct 2024 08:43:39 +0000 (10:43 +0200)
bbtk/bbs/boxes/HelpEditContour.bbg [new file with mode: 0644]
bbtk/bbs/boxes/HelpEditContour.bbs [new file with mode: 0644]

diff --git a/bbtk/bbs/boxes/HelpEditContour.bbg b/bbtk/bbs/boxes/HelpEditContour.bbg
new file mode 100644 (file)
index 0000000..2f4c2ed
--- /dev/null
@@ -0,0 +1,130 @@
+# ----------------------------------
+# - BBTKGEditor v 1.6 BBG BlackBox Diagram file
+# - /Users/davila/Creatis/C23/creatools_source/creaContours/bbtk/bbs/boxes/HelpEditContour.bbg
+# ----------------------------------
+
+APP_START
+CATEGORY:<VOID>
+DESCRIPTION:Description ??
+AUTHOR:Author ??
+EXPORTFORMAT:0
+COMPLEXBOX:TRUE
+COMPLEXBOXNAME:HelpEditContour
+PACKAGENAME:creaContours
+COMPLEXOUTPUTS:1
+COMPLEX_PORT
+_widget
+-15.726862:-34.255965:-900.000000
+FIN_COMPLEX_PORT
+COMPLEXINPUTS:0
+BOXES:10
+BOX
+wx:StaticBox:Box00
+ISEXEC:FALSE
+-18.185972:-22.932624:-900.000000
+3.329028:-25.432624:-900.000000
+PORT
+BoxTitle:"Edit Contour"
+FIN_BOX
+BOX
+wx:LayoutLine:Box01
+ISEXEC:FALSE
+-19.787252:-10.351135:-900.000000
+13.532748:-12.851135:-900.000000
+FIN_BOX
+BOX
+wx:OutputText:Box02
+ISEXEC:FALSE
+-61.077414:33.455325:-900.000000
+-39.407414:30.955325:-900.000000
+PORT
+In:"Edit Contour&&2P&& Double click over yellow contour"
+FIN_BOX
+BOX
+wx:OutputText:Box03
+ISEXEC:FALSE
+-47.992431:28.818247:-900.000000
+-26.322431:26.318247:-900.000000
+PORT
+In:"Unselect contour&&2P&& Click outside contour"
+FIN_BOX
+BOX
+wx:OutputText:Box04
+ISEXEC:FALSE
+-36.851861:24.066792:-900.000000
+-15.181861:21.566792:-900.000000
+PORT
+In:"Move key point&&2P&& Drag  the yellow selected key point"
+FIN_BOX
+BOX
+wx:OutputText:Box05
+ISEXEC:FALSE
+-27.198194:19.658469:-900.000000
+-5.528194:17.158469:-900.000000
+PORT
+In:"Delete key point&&2P&& Use delete key over yellow selected key point"
+FIN_BOX
+BOX
+wx:OutputText:Box06
+ISEXEC:FALSE
+-17.773281:15.250146:-900.000000
+3.896719:12.750146:-900.000000
+PORT
+In:"Add key point&&2P&& Click and drag aver the yellow line"
+FIN_BOX
+BOX
+wx:OutputText:Box07
+ISEXEC:FALSE
+-10.521534:11.642463:-900.000000
+11.148466:9.142463:-900.000000
+PORT
+In:"Add key point&&2P&& Comand key + Click in the new position"
+FIN_BOX
+BOX
+wx:OutputText:Box08
+ISEXEC:FALSE
+-4.756691:7.348517:-900.000000
+16.913309:4.848517:-900.000000
+PORT
+In:"Delete contour&&2P&& select contour and + delete key"
+FIN_BOX
+BOX
+wx:OutputText:Box09
+ISEXEC:FALSE
+1.351283:1.910799:-900.000000
+23.021283:-0.589201:-900.000000
+PORT
+In:"Move contour&&2P&& select contour and drag the contour"
+FIN_BOX
+CONNECTIONS:10
+CONNECTION
+Box00:Widget:_widget:_widget
+NumberOfControlPoints:0
+CONNECTION
+Box01:Widget:Box00:BoxContent
+NumberOfControlPoints:0
+CONNECTION
+Box02:Widget:Box01:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box03:Widget:Box01:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box04:Widget:Box01:Widget3
+NumberOfControlPoints:0
+CONNECTION
+Box05:Widget:Box01:Widget4
+NumberOfControlPoints:0
+CONNECTION
+Box06:Widget:Box01:Widget5
+NumberOfControlPoints:0
+CONNECTION
+Box07:Widget:Box01:Widget6
+NumberOfControlPoints:0
+CONNECTION
+Box08:Widget:Box01:Widget7
+NumberOfControlPoints:0
+CONNECTION
+Box09:Widget:Box01:Widget8
+NumberOfControlPoints:0
+APP_END
diff --git a/bbtk/bbs/boxes/HelpEditContour.bbs b/bbtk/bbs/boxes/HelpEditContour.bbs
new file mode 100644 (file)
index 0000000..2d341ff
--- /dev/null
@@ -0,0 +1,63 @@
+# ----------------------------------
+# - BBTKGEditor v 1.6 BBS BlackBox Script (Complex Box)
+# - /Users/davila/Creatis/C23/creatools_source/creaContours/bbtk/bbs/boxes/HelpEditContour.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include wx
+
+define HelpEditContour creaContours
+
+author "Author ??"
+description "Description ??"
+
+category "<VOID>"
+
+new wx:StaticBox Box00
+  set Box00.BoxTitle "Edit Contour"
+
+new wx:LayoutLine Box01
+
+new wx:OutputText Box02
+  set Box02.In "Edit Contour: Double click over yellow contour"
+
+new wx:OutputText Box03
+  set Box03.In "Unselect contour: Click outside contour"
+
+new wx:OutputText Box04
+  set Box04.In "Move key point: Drag  the yellow selected key point"
+
+new wx:OutputText Box05
+  set Box05.In "Delete key point: Use delete key over yellow selected key point"
+
+new wx:OutputText Box06
+  set Box06.In "Add key point: Click and drag aver the yellow line"
+
+new wx:OutputText Box07
+  set Box07.In "Add key point: Comand key + Click in the new position"
+
+new wx:OutputText Box08
+  set Box08.In "Delete contour: select contour and + delete key"
+
+new wx:OutputText Box09
+  set Box09.In "Move contour: select contour and drag the contour"
+
+
+connect Box01.Widget Box00.BoxContent
+connect Box02.Widget Box01.Widget1
+connect Box03.Widget Box01.Widget2
+connect Box04.Widget Box01.Widget3
+connect Box05.Widget Box01.Widget4
+connect Box06.Widget Box01.Widget5
+connect Box07.Widget Box01.Widget6
+connect Box08.Widget Box01.Widget7
+connect Box09.Widget Box01.Widget8
+
+# Complex input ports
+
+# Complex output ports
+output _widget Box00.Widget " "
+
+
+endefine