]> Creatis software - creaMiniTools.git/commitdiff
no message
authorEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Mon, 20 Jun 2011 17:35:08 +0000 (17:35 +0000)
committerEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Mon, 20 Jun 2011 17:35:08 +0000 (17:35 +0000)
bbtk_package_creaMiniTools/bbs/appli/crop.bbg
bbtk_package_creaMiniTools/bbs/appli/crop.bbs

index 9baf90414f7a83d333eca007b5a9269c7e483f52..03b6abfb5954df0043b7786321c72bdd8667a4c0 100644 (file)
@@ -8,7 +8,7 @@ CATEGORY:<VOID>
 DESCRIPTION:Description ??
 AUTHOR:Author ??
 COMPLEXBOX:FALSE
-BOXES:20
+BOXES:14
 BOX
 creaMaracasVisu:ViewerNV:Box03
 ISEXEC:FALSE
@@ -20,28 +20,28 @@ FIN_BOX
 BOX
 creaMaracasVisu:ContourVOI:Box05
 ISEXEC:FALSE
-186.421044:80.904266:900.000000
-231.996044:70.904266:900.000000
+172.310580:104.968774:900.000000
+217.885580:94.968774:900.000000
 FIN_BOX
 BOX
 wx:LayoutSplit:Box06
 ISEXEC:TRUE
--4.809746:-105.979567:900.000000
-40.765254:-115.979567:900.000000
+-25.839831:-123.419150:900.000000
+19.735169:-133.419150:900.000000
 PORT
 Proportion:15
 FIN_BOX
 BOX
 wx:LayoutLine:Box07
 ISEXEC:FALSE
--50.516636:4.669299:900.000000
-7.043364:-5.330701:900.000000
+-56.158854:15.953735:900.000000
+1.401146:5.953735:900.000000
 FIN_BOX
 BOX
 wx:CommandButton:Box08
 ISEXEC:FALSE
-56.646793:118.517618:900.000000
-102.221793:108.517618:900.000000
+61.409601:162.920805:900.000000
+106.984601:152.920805:900.000000
 PORT
 Label:"Run Crop"
 FIN_BOX
@@ -54,8 +54,8 @@ FIN_BOX
 BOX
 creaMaracasVisu:ImageChangeInformation:Box10
 ISEXEC:FALSE
-61.427477:56.286188:900.000000
-132.602477:46.286188:900.000000
+67.701745:49.306194:900.000000
+138.876745:39.306194:900.000000
 FIN_BOX
 BOX
 wx:LayoutSplit:Box11
@@ -82,8 +82,8 @@ FIN_BOX
 BOX
 wx:OutputText:Box15
 ISEXEC:FALSE
-163.755688:-20.499522:900.000000
-209.330688:-30.499522:900.000000
+163.755688:-0.072791:900.000000
+209.330688:-10.072791:900.000000
 PORT
 Title:"Size"
 FIN_BOX
@@ -94,66 +94,18 @@ ISEXEC:FALSE
 164.368559:-46.790460:900.000000
 FIN_BOX
 BOX
-wx:CommandButton:Box17
+vtk:ExtractVtkImageFilter:Box25
 ISEXEC:FALSE
-240.018066:67.477679:900.000000
-285.593066:57.477679:900.000000
-PORT
-Label:"Save Image (*.mhd)"
-FIN_BOX
-BOX
-vtk:MetaImageWriter:Box18
-ISEXEC:FALSE
-215.842741:-1.677819:900.000000
-261.417741:-11.677819:900.000000
-FIN_BOX
-BOX
-wx:FileSelector:Box19
-ISEXEC:FALSE
-259.008466:46.391113:900.000000
-304.583466:36.391113:900.000000
-PORT
-OpenSave:Save
-FIN_BOX
-BOX
-std:StringWriter:Box20
-ISEXEC:FALSE
-236.986603:-122.121968:900.000000
-282.561603:-132.121968:900.000000
-FIN_BOX
-BOX
-std:ConcatStrings:Box21
-ISEXEC:FALSE
-278.405649:13.522422:900.000000
-323.980649:3.522422:900.000000
-PORT
-In1:"Index "
-FIN_BOX
-BOX
-std:ConcatStrings:Box22
-ISEXEC:FALSE
-276.523079:-52.045333:900.000000
-322.098079:-62.045333:900.000000
-PORT
-In2:"_infoCrop"
+76.212653:83.601063:900.000000
+147.387653:73.601063:900.000000
 FIN_BOX
 BOX
-std:ConcatStrings:Box23
+toolsbbtk:SaveMHD_infoCrop-Button:Box26
 ISEXEC:FALSE
-281.957865:-13.977908:900.000000
-327.532865:-23.977908:900.000000
-PORT
-In1:"Size "
+239.983450:5.706134:900.000000
+311.158450:-4.293866:900.000000
 FIN_BOX
-BOX
-std:ConcatStrings:Box24
-ISEXEC:FALSE
-287.137408:-80.913542:900.000000
-332.712408:-90.913542:900.000000
-PORT
-In1:"FileName "
-FIN_BOX
-CONNECTIONS:31
+CONNECTIONS:25
 CONNECTION
 Box03:Widget:Box06:Widget2
 NumberOfControlPoints:0
@@ -170,9 +122,6 @@ CONNECTION
 Box08:BoxChange:Box05:BoxExecute
 NumberOfControlPoints:0
 CONNECTION
-Box05:VOI:Box10:In
-NumberOfControlPoints:0
-CONNECTION
 Box10:Out:Box09:In
 NumberOfControlPoints:0
 CONNECTION
@@ -206,45 +155,30 @@ CONNECTION
 Box16:Widget:Box11:Widget1
 NumberOfControlPoints:0
 CONNECTION
-Box17:Widget:Box16:Widget3
-NumberOfControlPoints:0
-CONNECTION
-Box17:BoxChange:Box18:BoxExecute
-NumberOfControlPoints:0
-CONNECTION
-Box10:Out:Box18:In
-NumberOfControlPoints:0
-CONNECTION
-Box21:Out:Box20:In0
-NumberOfControlPoints:0
-CONNECTION
-Box22:Out:Box20:FileName
-NumberOfControlPoints:0
-CONNECTION
-Box17:BoxChange:Box20:BoxExecute
+Box05:Index:Box25:Index
 NumberOfControlPoints:0
 CONNECTION
-Box17:BoxChange:Box19:BoxExecute
+Box05:Size:Box25:Size
 NumberOfControlPoints:0
 CONNECTION
-Box05:Index:Box21:In2
+Box13:Out:Box25:In
 NumberOfControlPoints:0
 CONNECTION
-Box05:Size:Box23:In2
+Box25:Out:Box10:In
 NumberOfControlPoints:0
 CONNECTION
-Box23:Out:Box20:In1
+Box08:BoxChange:Box25:BoxExecute
 NumberOfControlPoints:0
 CONNECTION
-Box19:Out:Box22:In1
+Box10:Out:Box26:In
 NumberOfControlPoints:0
 CONNECTION
-Box22:Out:Box24:In2
+Box05:Size:Box26:Size
 NumberOfControlPoints:0
 CONNECTION
-Box24:Out:Box20:In2
+Box05:Index:Box26:Index
 NumberOfControlPoints:0
 CONNECTION
-Box19:Out:Box18:Filename
+Box26:Widget:Box16:Widget3
 NumberOfControlPoints:0
 APP_END
index 65114bd87e29d2c42c816efa18e5a3b492cc32f2..acc0fb7a81e4f66be70ceeafee227965a13f75fd 100644 (file)
@@ -12,7 +12,7 @@ include creaMaracasVisu
 include wx
 include creaImageIO
 include vtk
-include std
+include toolsbbtk
 
 author "Author ??"
 description "Description ??"
@@ -48,27 +48,9 @@ new OutputText Box15
 
 new LayoutLine Box16
 
-new CommandButton Box17
-  set Box17.Label "Save Image (*.mhd)"
-
-new MetaImageWriter Box18
-
-new FileSelector Box19
-  set Box19.OpenSave Save
-
-new StringWriter Box20
-
-new ConcatStrings Box21
-  set Box21.In1 "Index "
-
-new ConcatStrings Box22
-  set Box22.In2 "_infoCrop"
-
-new ConcatStrings Box23
-  set Box23.In1 "Size "
+new ExtractVtkImageFilter Box25
 
-new ConcatStrings Box24
-  set Box24.In1 "FileName "
+new SaveMHD_infoCrop-Button Box26
 
 
 connect Box03.Widget Box06.Widget2
@@ -76,7 +58,6 @@ connect Box05.Widget Box07.Widget1
 connect Box08.Widget Box07.Widget2
 connect Box07.Widget Box06.Widget1
 connect Box08.BoxChange Box05.BoxExecute
-connect Box05.VOI Box10.In
 connect Box10.Out Box09.In
 connect Box09.Widget Box11.Widget2
 connect Box08.BoxChange Box11.BoxExecute
@@ -88,19 +69,14 @@ connect Box05.Size Box15.In
 connect Box14.Widget Box16.Widget1
 connect Box15.Widget Box16.Widget2
 connect Box16.Widget Box11.Widget1
-connect Box17.Widget Box16.Widget3
-connect Box17.BoxChange Box18.BoxExecute
-connect Box10.Out Box18.In
-connect Box21.Out Box20.In0
-connect Box22.Out Box20.FileName
-connect Box17.BoxChange Box20.BoxExecute
-connect Box17.BoxChange Box19.BoxExecute
-connect Box05.Index Box21.In2
-connect Box05.Size Box23.In2
-connect Box23.Out Box20.In1
-connect Box19.Out Box22.In1
-connect Box22.Out Box24.In2
-connect Box24.Out Box20.In2
-connect Box19.Out Box18.Filename
+connect Box05.Index Box25.Index
+connect Box05.Size Box25.Size
+connect Box13.Out Box25.In
+connect Box25.Out Box10.In
+connect Box08.BoxChange Box25.BoxExecute
+connect Box10.Out Box26.In
+connect Box05.Size Box26.Size
+connect Box05.Index Box26.Index
+connect Box26.Widget Box16.Widget3
 
 exec Box06