]> Creatis software - creaMaracasVisu.git/commitdiff
#3499 box Mesh_tool_ApplyExternalMask
authorEduardo DAVILA <davila@creatis.insa-lyon.fr>
Fri, 6 Jan 2023 14:39:55 +0000 (15:39 +0100)
committerEduardo DAVILA <davila@creatis.insa-lyon.fr>
Fri, 6 Jan 2023 14:39:55 +0000 (15:39 +0100)
bbtk/bbs/boxes/Mesh_Application.bbg
bbtk/bbs/boxes/Mesh_Application.bbs
bbtk/bbs/boxes/Mesh_tool_ApplyExternalMask.bbg [new file with mode: 0644]
bbtk/bbs/boxes/Mesh_tool_ApplyExternalMask.bbs [new file with mode: 0644]
bbtk/bbs/boxes/Mesh_tool_ApplyThresholdConnectivity.bbg
bbtk/bbs/boxes/Mesh_tool_ApplyThresholdConnectivity.bbs

index 2f497d0b5f93af69b35dcd48ef72efb78697eee1..85e75887f000c34521b999a11d903a7252a2549e 100644 (file)
@@ -56,7 +56,7 @@ COMPLEX_PORT
 wxvtkbaseview4_In
 206.922345:93.364879:-900.000000
 FIN_COMPLEX_PORT
-BOXES:52
+BOXES:53
 BOX
 creaMaracasVisu:ImageChangeInformation:Box07
 ISEXEC:FALSE
@@ -66,8 +66,8 @@ FIN_BOX
 BOX
 creaVtk:MeshManager:Box08
 ISEXEC:FALSE
--56.340123:64.695194:-900.000000
--34.310123:62.195194:-900.000000
+-40.112460:40.572992:-900.000000
+-18.082460:38.072992:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:PolyDataToActor_Widget:Box15
@@ -100,8 +100,8 @@ FIN_BOX
 BOX
 wx:LayoutTab:Box12
 ISEXEC:FALSE
-1.203713:-27.107092:-900.000000
-34.523713:-29.607092:-900.000000
+133.437236:-38.291022:-900.000000
+166.757236:-40.791022:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:SetPositionPointPicker:Box13
@@ -469,7 +469,15 @@ ISEXEC:FALSE
 35.742663:-62.102066:-900.000000
 59.347663:-64.602066:-900.000000
 FIN_BOX
-CONNECTIONS:143
+BOX
+creaMaracasVisu:Mesh_tool_ApplyExternalMask:Box73
+ISEXEC:FALSE
+205.265688:-6.222912:-900.000000
+228.840688:-8.722912:-900.000000
+PORT
+title:"External Mask"
+FIN_BOX
+CONNECTIONS:152
 CONNECTION
 Box08:MeshBase:Box15:polydata
 NumberOfControlPoints:0
@@ -612,9 +620,6 @@ CONNECTION
 Box22:Widget:Box20:Widget2
 NumberOfControlPoints:0
 CONNECTION
-Box46:widget:Box12:Widget7
-NumberOfControlPoints:0
-CONNECTION
 Box07:Out:Box46:image
 NumberOfControlPoints:0
 CONNECTION
@@ -633,9 +638,6 @@ CONNECTION
 Box07:Out:Box47:image
 NumberOfControlPoints:0
 CONNECTION
-Box47:widget:Box12:Widget8
-NumberOfControlPoints:0
-CONNECTION
 Box13:normal:Box48:NormalIn
 NumberOfControlPoints:0
 CONNECTION
@@ -876,9 +878,6 @@ CONNECTION
 Box69:Out:Box70:wxvtkbaseview4
 NumberOfControlPoints:0
 CONNECTION
-Box70:widget:Box12:Widget9
-NumberOfControlPoints:0
-CONNECTION
 Box71:Out:Box72:Active
 NumberOfControlPoints:0
 CONNECTION
@@ -899,4 +898,40 @@ NumberOfControlPoints:0
 CONNECTION
 Box12:BoxChange:Box72:BoxExecute
 NumberOfControlPoints:0
+CONNECTION
+Box63:BoxChange:Box73:boxChange
+NumberOfControlPoints:0
+CONNECTION
+Box07:Out:Box73:image
+NumberOfControlPoints:0
+CONNECTION
+Box08:MeshTemp:Box73:mesh
+NumberOfControlPoints:0
+CONNECTION
+Box08:MeshManagerModel:Box73:meshmanagermodel
+NumberOfControlPoints:0
+CONNECTION
+Box66:Out:Box73:wxvtkbaseview1
+NumberOfControlPoints:0
+CONNECTION
+Box67:Out:Box73:wxvtkbaseview2
+NumberOfControlPoints:0
+CONNECTION
+Box68:Out:Box73:wxvtkbaseview3
+NumberOfControlPoints:0
+CONNECTION
+Box69:Out:Box73:wxvtkbaseview4
+NumberOfControlPoints:0
+CONNECTION
+Box46:widget:Box12:Widget6
+NumberOfControlPoints:0
+CONNECTION
+Box47:widget:Box12:Widget7
+NumberOfControlPoints:0
+CONNECTION
+Box70:widget:Box12:Widget8
+NumberOfControlPoints:0
+CONNECTION
+Box73:widget:Box12:Widget9
+NumberOfControlPoints:0
 APP_END
index 08a7d16307f2d31b3735a18c069b490cad699a9f..8fd86528d3e18a80813a30ecb55e573e18e4851f 100644 (file)
@@ -172,6 +172,9 @@ new std:GetVectorStringElement Box71
 
 new creaMaracasVisu:InteractorStyleMaracas_Model Box72
 
+new creaMaracasVisu:Mesh_tool_ApplyExternalMask Box73
+  set Box73.title "External Mask"
+
 
 connect Box08.MeshBase Box15.polydata
 connect Box08.MeshTemp Box10.mesh
@@ -220,14 +223,12 @@ connect Box38.interactorStyleMaracas4 Box40.InteractorStyleMaracas4
 connect Box17._widget Box22.Widget4
 connect Box15.widget Box22.Widget6
 connect Box22.Widget Box20.Widget2
-connect Box46.widget Box12.Widget7
 connect Box07.Out Box46.image
 connect Box08.MeshTemp Box46.mesh
 connect Box08.MeshManagerModel Box46.meshmanagermodel
 connect Box08.MeshManagerModel Box47.meshmanagermodel
 connect Box08.MeshTemp Box47.mesh
 connect Box07.Out Box47.image
-connect Box47.widget Box12.Widget8
 connect Box13.normal Box48.NormalIn
 connect Box48.Base Box49.In
 connect Box48.Base Box50.In
@@ -297,7 +298,6 @@ connect Box66.Out Box70.wxvtkbaseview1
 connect Box67.Out Box70.wxvtkbaseview2
 connect Box68.Out Box70.wxvtkbaseview3
 connect Box69.Out Box70.wxvtkbaseview4
-connect Box70.widget Box12.Widget9
 connect Box71.Out Box72.Active
 connect Box23.Out Box71.In
 connect Box70.interactorStyleMaracas Box72.InteractorStyleMaracas
@@ -305,6 +305,18 @@ connect Box70.interactorStyleMaracas2 Box72.InteractorStyleMaracas2
 connect Box70.interactorStyleMaracas3 Box72.InteractorStyleMaracas3
 connect Box70.interactorStyleMaracas4 Box72.InteractorStyleMaracas4
 connect Box12.BoxChange Box72.BoxExecute
+connect Box63.BoxChange Box73.boxChange
+connect Box07.Out Box73.image
+connect Box08.MeshTemp Box73.mesh
+connect Box08.MeshManagerModel Box73.meshmanagermodel
+connect Box66.Out Box73.wxvtkbaseview1
+connect Box67.Out Box73.wxvtkbaseview2
+connect Box68.Out Box73.wxvtkbaseview3
+connect Box69.Out Box73.wxvtkbaseview4
+connect Box46.widget Box12.Widget6
+connect Box47.widget Box12.Widget7
+connect Box70.widget Box12.Widget8
+connect Box73.widget Box12.Widget9
 
 # Complex input ports
 input MeshIn Box56.In " "
diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplyExternalMask.bbg b/bbtk/bbs/boxes/Mesh_tool_ApplyExternalMask.bbg
new file mode 100644 (file)
index 0000000..d2f0a03
--- /dev/null
@@ -0,0 +1,603 @@
+# ----------------------------------
+# - BBTKGEditor v 1.5 BBG BlackBox Diagram file
+# - /Users/davila/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplyExternalMask.bbg
+# ----------------------------------
+
+APP_START
+CATEGORY:demo
+DESCRIPTION:Show N Points
+AUTHOR:info-dev@creatis.insa-lyon.fr
+COMPLEXBOX:TRUE
+COMPLEXBOXNAME:Mesh_tool_ApplyExternalMask
+PACKAGENAME:creaMaracasVisu
+COMPLEXOUTPUTS:1
+COMPLEX_PORT
+widget
+-190.515959:-183.832070:-900.000000
+FIN_COMPLEX_PORT
+COMPLEXINPUTS:9
+COMPLEX_PORT
+boxChange
+-6.086529:137.355528:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+wxvtkbaseview1
+-268.019084:133.379456:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+mesh
+-59.814076:140.655693:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+image
+-101.103689:138.087401:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+wxvtkbaseview2
+-231.668448:132.854505:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+wxvtkbaseview3
+-216.690458:133.262996:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+wxvtkbaseview4
+-193.414893:132.224675:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+title
+-167.581636:131.715380:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+meshmanagermodel
+-131.800179:136.578564:-900.000000
+FIN_COMPLEX_PORT
+BOXES:45
+BOX
+wx:LayoutLine:Box08
+ISEXEC:FALSE
+-191.490538:-129.735971:-900.000000
+-158.170538:-132.235971:-900.000000
+FIN_BOX
+BOX
+vtk:UpdateRender:Box11
+ISEXEC:FALSE
+-7.745536:-95.586489:-900.000000
+14.279464:-98.086489:-900.000000
+PORT
+Active:"true"
+FIN_BOX
+BOX
+vtk:ImageVtkProperties:Box68
+ISEXEC:FALSE
+-251.777780:-2.480457:-900.000000
+-229.242780:-4.980457:-900.000000
+FIN_BOX
+BOX
+wx:LayoutLine:Box79
+ISEXEC:FALSE
+-142.444548:-98.205267:-900.000000
+-109.124548:-100.705267:-900.000000
+PORT
+Orientation:"H"
+PORT
+WinTitle:"New Surface ( Magenta )"
+FIN_BOX
+BOX
+wx:CommandButton:Box80
+ISEXEC:FALSE
+-101.602098:27.184371:-900.000000
+-79.327098:24.684371:-900.000000
+PORT
+Label:"Refresh"
+FIN_BOX
+BOX
+std:MagicBox:Box66
+ISEXEC:FALSE
+-8.767256:-65.552297:-900.000000
+12.832744:-68.052297:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box67
+ISEXEC:FALSE
+-67.526006:124.007723:-900.000000
+-45.926006:121.507723:-900.000000
+FIN_BOX
+BOX
+vtk:vtkImageDataPointerRelay:Box35
+ISEXEC:FALSE
+-107.091396:123.633118:-900.000000
+-83.881396:121.133118:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:PolyDataToActor_Widget:Box37
+ISEXEC:FALSE
+-36.296182:-79.717323:-900.000000
+-13.276182:-82.217323:-900.000000
+PORT
+color:"0 1 1"
+PORT
+meshOpacity:"100"
+FIN_BOX
+BOX
+wx:LayoutTab:Box40
+ISEXEC:FALSE
+-182.535138:-107.612723:-900.000000
+-149.215138:-110.112723:-900.000000
+FIN_BOX
+BOX
+wx:CommandButton:Box42
+ISEXEC:FALSE
+-91.903796:13.441695:-900.000000
+-69.628796:10.941695:-900.000000
+PORT
+Label:"Apply  (Magenta->To Red)"
+FIN_BOX
+BOX
+wx:CommandButton:Box43
+ISEXEC:FALSE
+-80.312782:7.645253:-900.000000
+-58.037782:5.145253:-900.000000
+PORT
+Label:"Reset Tool"
+FIN_BOX
+BOX
+wx:LayoutLine:Box44
+ISEXEC:FALSE
+-122.128535:-44.031647:-900.000000
+-88.808535:-46.531647:-900.000000
+PORT
+Orientation:"V"
+PORT
+WinTitle:"Mesh Action"
+FIN_BOX
+BOX
+creaVtk:MeshManager_tool:Box45
+ISEXEC:FALSE
+-88.859950:-132.940417:-900.000000
+-66.359950:-135.440417:-900.000000
+PORT
+Tool:"30"
+FIN_BOX
+BOX
+std:MagicBox:Box46
+ISEXEC:FALSE
+-139.784698:124.004612:-900.000000
+-118.184698:121.504612:-900.000000
+FIN_BOX
+BOX
+std:MultipleInputs:Box51
+ISEXEC:FALSE
+-92.949669:-148.627142:-900.000000
+-70.979669:-151.127142:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box63
+ISEXEC:FALSE
+-11.435122:120.544719:-900.000000
+10.164878:118.044719:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box64
+ISEXEC:FALSE
+-243.113826:124.330340:-900.000000
+-221.513826:121.830340:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box65
+ISEXEC:FALSE
+-220.296210:124.504415:-900.000000
+-198.696210:122.004415:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box69
+ISEXEC:FALSE
+-197.793508:124.678490:-900.000000
+-176.193508:122.178490:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box71
+ISEXEC:FALSE
+-273.359367:124.504415:-900.000000
+-251.759367:122.004415:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:MeshContours_Widget:Box72
+ISEXEC:FALSE
+-109.985892:-79.925596:-900.000000
+-87.190892:-82.425596:-900.000000
+PORT
+colorMesh:"0 1 1"
+FIN_BOX
+BOX
+wx:LayoutLine:Box81
+ISEXEC:FALSE
+-186.050677:-117.835921:-900.000000
+-152.730677:-120.335921:-900.000000
+PORT
+WinTitle:"Step 1.   Surface"
+FIN_BOX
+BOX
+wx:LayoutTab:Box82
+ISEXEC:FALSE
+-123.564121:-52.398946:-900.000000
+-90.244121:-54.898946:-900.000000
+FIN_BOX
+BOX
+wx:OutputText:Box84
+ISEXEC:FALSE
+-90.166444:-34.853291:-900.000000
+-68.496444:-37.353291:-900.000000
+FIN_BOX
+BOX
+creaVtk:MeshManager:Box92
+ISEXEC:FALSE
+-180.315243:-41.937258:-900.000000
+-158.285243:-44.437258:-900.000000
+FIN_BOX
+BOX
+creaVtk:MeshManager_tool:Box93
+ISEXEC:FALSE
+-256.725914:-77.013526:-900.000000
+-234.225914:-79.513526:-900.000000
+PORT
+Tool:"35"
+FIN_BOX
+BOX
+creaMaracasVisu:wxVtkBaseView_Info:Box96
+ISEXEC:FALSE
+-6.504018:23.833007:-900.000000
+20.775982:21.333007:-900.000000
+FIN_BOX
+BOX
+creaVtk:PolyDataToImageData:Box97
+ISEXEC:FALSE
+-241.152616:-18.399523:-900.000000
+-218.352616:-20.899523:-900.000000
+FIN_BOX
+BOX
+vtk:CreateImage:Box98
+ISEXEC:FALSE
+-249.465007:-10.302637:-900.000000
+-227.535007:-12.802637:-900.000000
+PORT
+OutputFormat:"VTK_UNSIGNED_CHAR"
+FIN_BOX
+BOX
+vtk:ImageGaussianSmooth:Box99
+ISEXEC:FALSE
+-255.182927:-47.291143:-900.000000
+-232.287927:-49.791143:-900.000000
+PORT
+StdDevX:"1"
+PORT
+StdDevY:"1"
+PORT
+StdDevZ:"1"
+FIN_BOX
+BOX
+vtk:MarchingCubes:Box100
+ISEXEC:FALSE
+-251.360924:-55.324497:-900.000000
+-229.075924:-57.824497:-900.000000
+PORT
+BoxProcessMode:"Manual"
+PORT
+Value:"128"
+FIN_BOX
+BOX
+creaVtk:MeshReduction_DecimatePro:Box41
+ISEXEC:FALSE
+-247.291053:-61.923455:-900.000000
+-223.796053:-64.423455:-900.000000
+PORT
+TargetReduction:"0.8"
+FIN_BOX
+BOX
+creaVtk:MeshManager_tool:Box47
+ISEXEC:FALSE
+-60.096172:-132.552191:-900.000000
+-37.596172:-135.052191:-900.000000
+PORT
+Tool:"35"
+FIN_BOX
+BOX
+creaVtk:MeshManager_tool:Box48
+ISEXEC:FALSE
+-31.571613:-131.892967:-900.000000
+-9.071613:-134.392967:-900.000000
+PORT
+Tool:"35"
+FIN_BOX
+BOX
+creaVtk:PolyDataNormals:Box39
+ISEXEC:FALSE
+-249.664060:-67.916509:-900.000000
+-227.369060:-70.416509:-900.000000
+FIN_BOX
+BOX
+wx:LayoutTab:Box49
+ISEXEC:FALSE
+-326.256937:-72.884253:-900.000000
+-292.936937:-75.384253:-900.000000
+FIN_BOX
+BOX
+wx:LayoutLine:Box50
+ISEXEC:FALSE
+-322.035028:-64.215370:-900.000000
+-288.715028:-66.715370:-900.000000
+PORT
+WinTitle:"External Mask"
+FIN_BOX
+BOX
+wx:ButtonSelectFilesDirectory:Box52
+ISEXEC:FALSE
+-384.260712:3.096548:-900.000000
+-354.460712:0.596548:-900.000000
+PORT
+Label:"Read .mhd"
+FIN_BOX
+BOX
+vtk:MetaImageReader:Box53
+ISEXEC:FALSE
+-396.302344:-11.848891:-900.000000
+-373.842344:-14.348891:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:ColorLayerImageView:Box54
+ISEXEC:FALSE
+-316.302899:-53.427355:-900.000000
+-275.942899:-55.927355:-900.000000
+PORT
+ColorBarPosition:"-100 -100"
+PORT
+TypeControlsInterface:"2"
+PORT
+lstTransparenceBoundaries:"0"
+FIN_BOX
+BOX
+vtk:BinaryOperations:Box56
+ISEXEC:FALSE
+-259.088346:-34.548847:-900.000000
+-236.793346:-37.048847:-900.000000
+PORT
+BoxProcessMode:"Manual"
+FIN_BOX
+BOX
+vtk:ImageCastToUShort:Box60
+ISEXEC:FALSE
+-256.026317:-29.121724:-900.000000
+-233.506317:-31.621724:-900.000000
+FIN_BOX
+BOX
+creaVtk:ImageThreshold:Box61
+ISEXEC:FALSE
+-259.064677:-39.812250:-900.000000
+-236.884677:-42.312250:-900.000000
+PORT
+InValue:"255"
+PORT
+Lower:"128"
+PORT
+OutValue:"0"
+PORT
+Upper:"100000"
+FIN_BOX
+BOX
+wx:LayoutCenter:Box62
+ISEXEC:FALSE
+-344.363820:-51.965690:-900.000000
+-322.433820:-54.465690:-900.000000
+FIN_BOX
+CONNECTIONS:70
+CONNECTION
+Box08:Widget:widget:widget
+NumberOfControlPoints:0
+CONNECTION
+Box66:Out:Box11:Renderer
+NumberOfControlPoints:0
+CONNECTION
+mesh:mesh:Box67:In
+NumberOfControlPoints:0
+CONNECTION
+image:image:Box35:In
+NumberOfControlPoints:0
+CONNECTION
+Box35:Out:Box68:In
+NumberOfControlPoints:0
+CONNECTION
+title:title:Box08:WinTitle
+NumberOfControlPoints:0
+CONNECTION
+Box66:Out:Box37:render
+NumberOfControlPoints:0
+CONNECTION
+Box79:Widget:Box40:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box80:Widget:Box44:Widget5
+NumberOfControlPoints:0
+CONNECTION
+meshmanagermodel:meshmanagermodel:Box46:In
+NumberOfControlPoints:0
+CONNECTION
+Box46:Out:Box45:MeshManagerModel
+NumberOfControlPoints:0
+CONNECTION
+Box42:BoxChange:Box51:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box45:BoxChange:Box51:In2
+NumberOfControlPoints:0
+CONNECTION
+boxChange:boxChange:Box63:In
+NumberOfControlPoints:0
+CONNECTION
+wxvtkbaseview2:wxvtkbaseview2:Box64:In
+NumberOfControlPoints:0
+CONNECTION
+wxvtkbaseview3:wxvtkbaseview3:Box65:In
+NumberOfControlPoints:0
+CONNECTION
+wxvtkbaseview4:wxvtkbaseview4:Box69:In
+NumberOfControlPoints:0
+CONNECTION
+wxvtkbaseview1:wxvtkbaseview1:Box71:In
+NumberOfControlPoints:0
+CONNECTION
+Box71:Out:Box72:_wxvtkbaseview3D1
+NumberOfControlPoints:0
+CONNECTION
+Box64:Out:Box72:_wxvtkbaseview2D1
+NumberOfControlPoints:0
+CONNECTION
+Box65:Out:Box72:_wxvtkbaseview2D2
+NumberOfControlPoints:0
+CONNECTION
+Box69:Out:Box72:_wxvtkbaseview2D3
+NumberOfControlPoints:0
+CONNECTION
+Box72:_widget:Box79:Widget6
+NumberOfControlPoints:0
+CONNECTION
+Box44:Widget:Box82:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box82:Widget:Box79:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box84:Widget:Box44:Widget9
+NumberOfControlPoints:0
+CONNECTION
+Box92:MeshManagerModel:Box93:MeshManagerModel
+NumberOfControlPoints:0
+CONNECTION
+Box92:MeshBase:Box72:_polydata
+NumberOfControlPoints:0
+CONNECTION
+Box92:MeshBase:Box37:polydata
+NumberOfControlPoints:0
+CONNECTION
+Box81:Widget:Box08:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box42:Widget:Box44:Widget6
+NumberOfControlPoints:0
+CONNECTION
+Box71:Out:Box96:wxVtkBaseView
+NumberOfControlPoints:0
+CONNECTION
+Box96:vtkRenderer:Box66:In
+NumberOfControlPoints:0
+CONNECTION
+Box37:widget:Box79:Widget7
+NumberOfControlPoints:0
+CONNECTION
+Box98:Out:Box97:InImage
+NumberOfControlPoints:0
+CONNECTION
+Box68:Spacing:Box98:Spacing
+NumberOfControlPoints:0
+CONNECTION
+Box68:Size:Box98:Dimensions
+NumberOfControlPoints:0
+CONNECTION
+Box67:Out:Box97:InPolyData
+NumberOfControlPoints:0
+CONNECTION
+Box99:Out:Box100:In
+NumberOfControlPoints:0
+CONNECTION
+Box100:BoxChange:Box93:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box100:Out:Box41:In
+NumberOfControlPoints:0
+CONNECTION
+Box92:MeshManagerModel:Box47:MeshManagerModel
+NumberOfControlPoints:0
+CONNECTION
+Box43:BoxChange:Box48:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box92:MeshManagerModel:Box48:MeshManagerModel
+NumberOfControlPoints:0
+CONNECTION
+Box63:BoxChange:Box72:_execute
+NumberOfControlPoints:0
+CONNECTION
+Box92:MeshBase:Box45:Mesh
+NumberOfControlPoints:0
+CONNECTION
+Box47:BoxChange:Box51:In5
+NumberOfControlPoints:0
+CONNECTION
+Box80:BoxChange:Box100:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box37:boxchange:Box11:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box41:Out:Box39:In
+NumberOfControlPoints:0
+CONNECTION
+Box39:Out:Box93:Mesh
+NumberOfControlPoints:0
+CONNECTION
+Box43:Widget:Box44:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box50:Widget:Box49:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box49:Widget:Box81:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box40:Widget:Box81:Widget4
+NumberOfControlPoints:0
+CONNECTION
+Box52:Out:Box53:In
+NumberOfControlPoints:0
+CONNECTION
+Box64:Out:Box54:WxVtkBaseView
+NumberOfControlPoints:0
+CONNECTION
+Box65:Out:Box54:WxVtkBaseView1
+NumberOfControlPoints:0
+CONNECTION
+Box69:Out:Box54:WxVtkBaseView2
+NumberOfControlPoints:0
+CONNECTION
+Box54:Widget:Box50:Widget4
+NumberOfControlPoints:0
+CONNECTION
+Box52:BoxChange:Box54:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box53:Out:Box56:In1
+NumberOfControlPoints:0
+CONNECTION
+Box52:BoxChange:Box56:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box97:Out:Box60:In
+NumberOfControlPoints:0
+CONNECTION
+Box60:Out:Box56:In2
+NumberOfControlPoints:0
+CONNECTION
+Box53:Out:Box54:In
+NumberOfControlPoints:0
+CONNECTION
+Box56:Out:Box61:In
+NumberOfControlPoints:0
+CONNECTION
+Box61:Out:Box99:In
+NumberOfControlPoints:0
+CONNECTION
+Box52:Widget:Box62:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box62:Widget:Box50:Widget2
+NumberOfControlPoints:0
+APP_END
diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplyExternalMask.bbs b/bbtk/bbs/boxes/Mesh_tool_ApplyExternalMask.bbs
new file mode 100644 (file)
index 0000000..e55534d
--- /dev/null
@@ -0,0 +1,221 @@
+# ----------------------------------
+# - BBTKGEditor v 1.5 BBS BlackBox Script (Complex Box)
+# - /Users/davila/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplyExternalMask.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include wx
+include vtk
+include std
+include creaMaracasVisu
+include creaVtk
+
+define Mesh_tool_ApplyExternalMask creaMaracasVisu
+
+author "info-dev@creatis.insa-lyon.fr"
+description "Show N Points"
+
+category "demo"
+
+new wx:LayoutLine Box08
+
+new vtk:UpdateRender Box11
+  set Box11.Active "true"
+
+new vtk:ImageVtkProperties Box68
+
+new wx:LayoutLine Box79
+  set Box79.Orientation "H"
+  set Box79.WinTitle "New Surface ( Magenta )"
+
+new wx:CommandButton Box80
+  set Box80.Label "Refresh"
+
+new std:MagicBox Box66
+
+new std:MagicBox Box67
+
+new vtk:vtkImageDataPointerRelay Box35
+
+new creaMaracasVisu:PolyDataToActor_Widget Box37
+  set Box37.color "0 1 1"
+  set Box37.meshOpacity "100"
+
+new wx:LayoutTab Box40
+
+new wx:CommandButton Box42
+  set Box42.Label "Apply  (Magenta->To Red)"
+
+new wx:CommandButton Box43
+  set Box43.Label "Reset Tool"
+
+new wx:LayoutLine Box44
+  set Box44.Orientation "V"
+  set Box44.WinTitle "Mesh Action"
+
+new creaVtk:MeshManager_tool Box45
+  set Box45.Tool "30"
+
+new std:MagicBox Box46
+
+new std:MultipleInputs Box51
+
+new std:MagicBox Box63
+
+new std:MagicBox Box64
+
+new std:MagicBox Box65
+
+new std:MagicBox Box69
+
+new std:MagicBox Box71
+
+new creaMaracasVisu:MeshContours_Widget Box72
+  set Box72.colorMesh "0 1 1"
+
+new wx:LayoutLine Box81
+  set Box81.WinTitle "Step 1.   Surface"
+
+new wx:LayoutTab Box82
+
+new wx:OutputText Box84
+
+new creaVtk:MeshManager Box92
+
+new creaVtk:MeshManager_tool Box93
+  set Box93.Tool "35"
+
+new creaMaracasVisu:wxVtkBaseView_Info Box96
+
+new creaVtk:PolyDataToImageData Box97
+
+new vtk:CreateImage Box98
+  set Box98.OutputFormat "VTK_UNSIGNED_CHAR"
+
+new vtk:ImageGaussianSmooth Box99
+  set Box99.StdDevX "1"
+  set Box99.StdDevY "1"
+  set Box99.StdDevZ "1"
+
+new vtk:MarchingCubes Box100
+  set Box100.BoxProcessMode "Manual"
+  set Box100.Value "128"
+
+new creaVtk:MeshReduction_DecimatePro Box41
+  set Box41.TargetReduction "0.8"
+
+new creaVtk:MeshManager_tool Box47
+  set Box47.Tool "35"
+
+new creaVtk:MeshManager_tool Box48
+  set Box48.Tool "35"
+
+new creaVtk:PolyDataNormals Box39
+
+new wx:LayoutTab Box49
+
+new wx:LayoutLine Box50
+  set Box50.WinTitle "External Mask"
+
+new wx:ButtonSelectFilesDirectory Box52
+  set Box52.Label "Read .mhd"
+
+new vtk:MetaImageReader Box53
+
+new creaMaracasVisu:ColorLayerImageView Box54
+  set Box54.ColorBarPosition "-100 -100"
+  set Box54.TypeControlsInterface "2"
+  set Box54.lstTransparenceBoundaries "0"
+
+new vtk:BinaryOperations Box56
+  set Box56.BoxProcessMode "Manual"
+
+new vtk:ImageCastToUShort Box60
+
+new creaVtk:ImageThreshold Box61
+  set Box61.InValue "255"
+  set Box61.Lower "128"
+  set Box61.OutValue "0"
+  set Box61.Upper "100000"
+
+new wx:LayoutCenter Box62
+
+
+connect Box66.Out Box11.Renderer
+connect Box35.Out Box68.In
+connect Box66.Out Box37.render
+connect Box79.Widget Box40.Widget2
+connect Box80.Widget Box44.Widget5
+connect Box46.Out Box45.MeshManagerModel
+connect Box42.BoxChange Box51.BoxExecute
+connect Box45.BoxChange Box51.In2
+connect Box71.Out Box72._wxvtkbaseview3D1
+connect Box64.Out Box72._wxvtkbaseview2D1
+connect Box65.Out Box72._wxvtkbaseview2D2
+connect Box69.Out Box72._wxvtkbaseview2D3
+connect Box72._widget Box79.Widget6
+connect Box44.Widget Box82.Widget2
+connect Box82.Widget Box79.Widget2
+connect Box84.Widget Box44.Widget9
+connect Box92.MeshManagerModel Box93.MeshManagerModel
+connect Box92.MeshBase Box72._polydata
+connect Box92.MeshBase Box37.polydata
+connect Box81.Widget Box08.Widget2
+connect Box42.Widget Box44.Widget6
+connect Box71.Out Box96.wxVtkBaseView
+connect Box96.vtkRenderer Box66.In
+connect Box37.widget Box79.Widget7
+connect Box98.Out Box97.InImage
+connect Box68.Spacing Box98.Spacing
+connect Box68.Size Box98.Dimensions
+connect Box67.Out Box97.InPolyData
+connect Box99.Out Box100.In
+connect Box100.BoxChange Box93.BoxExecute
+connect Box100.Out Box41.In
+connect Box92.MeshManagerModel Box47.MeshManagerModel
+connect Box43.BoxChange Box48.BoxExecute
+connect Box92.MeshManagerModel Box48.MeshManagerModel
+connect Box63.BoxChange Box72._execute
+connect Box92.MeshBase Box45.Mesh
+connect Box47.BoxChange Box51.In5
+connect Box80.BoxChange Box100.BoxExecute
+connect Box37.boxchange Box11.BoxExecute
+connect Box41.Out Box39.In
+connect Box39.Out Box93.Mesh
+connect Box43.Widget Box44.Widget2
+connect Box50.Widget Box49.Widget2
+connect Box49.Widget Box81.Widget1
+connect Box40.Widget Box81.Widget4
+connect Box52.Out Box53.In
+connect Box64.Out Box54.WxVtkBaseView
+connect Box65.Out Box54.WxVtkBaseView1
+connect Box69.Out Box54.WxVtkBaseView2
+connect Box54.Widget Box50.Widget4
+connect Box52.BoxChange Box54.BoxExecute
+connect Box53.Out Box56.In1
+connect Box52.BoxChange Box56.BoxExecute
+connect Box97.Out Box60.In
+connect Box60.Out Box56.In2
+connect Box53.Out Box54.In
+connect Box56.Out Box61.In
+connect Box61.Out Box99.In
+connect Box52.Widget Box62.Widget2
+connect Box62.Widget Box50.Widget2
+
+# Complex input ports
+input mesh Box67.In " "
+input image Box35.In " "
+input title Box08.WinTitle " "
+input meshmanagermodel Box46.In " "
+input boxChange Box63.In " "
+input wxvtkbaseview2 Box64.In " "
+input wxvtkbaseview3 Box65.In " "
+input wxvtkbaseview4 Box69.In " "
+input wxvtkbaseview1 Box71.In " "
+
+# Complex output ports
+output widget Box08.Widget " "
+
+
+endefine
index f3674e1b2e4e925b888afb3d01e83ac75e16044d..51b15f4c0ab4ebb9d74de11b30ebde2a821b3a20 100644 (file)
@@ -77,7 +77,7 @@ BOX
 creaMaracasVisu:ShowNPoints:showNpoints
 ISEXEC:FALSE
 5.070857:104.891899:-900.000000
-41.910857:102.391899:-900.000000
+36.840000:102.391899:-900.000000
 PORT
 Radio:"2"
 PORT
@@ -89,7 +89,7 @@ BOX
 wx:LayoutLine:Box08
 ISEXEC:FALSE
 -177.739418:-170.301977:-900.000000
--144.419418:-172.801977:-900.000000
+33.320000:-172.801977:-900.000000
 FIN_BOX
 BOX
 vtk:UpdateRender:Box11
@@ -109,7 +109,7 @@ BOX
 creaMaracasVisu:wxPopupMenu:Box57
 ISEXEC:FALSE
 -291.724262:77.620511:-900.000000
--269.659262:75.120511:-900.000000
+17.480000:75.120511:-900.000000
 PORT
 WithCtrlKey:"true"
 FIN_BOX
@@ -117,7 +117,7 @@ BOX
 std:AddStringToVector:Box58
 ISEXEC:FALSE
 -304.297403:100.641432:-900.000000
--279.777403:98.141432:-900.000000
+24.520000:98.141432:-900.000000
 PORT
 In0:"+  Add point"
 PORT
@@ -143,19 +143,19 @@ BOX
 creaMaracasVisu:ShowNPoints_Tools:Box60
 ISEXEC:FALSE
 -271.434991:53.686536:-900.000000
--248.999991:51.186536:-900.000000
+12.200000:51.186536:-900.000000
 FIN_BOX
 BOX
 vtk:ImageVtkProperties:Box68
 ISEXEC:FALSE
 -111.766259:110.196821:-900.000000
--89.231259:107.696821:-900.000000
+16.720000:107.696821:-900.000000
 FIN_BOX
 BOX
 creaVtk:BooleanOperationPolyDataFilter:Box77
 ISEXEC:FALSE
 -75.291259:-24.273250:-900.000000
--51.561259:-26.773250:-900.000000
+12.200000:-26.773250:-900.000000
 PORT
 BoxProcessMode:"Manual"
 PORT
@@ -165,7 +165,7 @@ BOX
 wx:ComboBox:Box78
 ISEXEC:FALSE
 -153.877713:-5.775167:-900.000000
--127.597713:-8.275167:-900.000000
+26.280000:-8.275167:-900.000000
 PORT
 In:"Union Intersection Difference"
 FIN_BOX
@@ -173,7 +173,7 @@ BOX
 wx:LayoutLine:Box79
 ISEXEC:FALSE
 -132.780380:-132.698111:-900.000000
--99.460380:-135.198111:-900.000000
+33.320000:-135.198111:-900.000000
 PORT
 Orientation:"H"
 PORT
@@ -183,7 +183,7 @@ BOX
 wx:CommandButton:Box80
 ISEXEC:FALSE
 -99.569055:58.854673:-900.000000
--77.294055:56.354673:-900.000000
+21.000000:56.354673:-900.000000
 PORT
 Label:"Refresh"
 FIN_BOX
@@ -191,13 +191,13 @@ BOX
 std:MagicBox:Box66
 ISEXEC:FALSE
 -157.358966:97.496702:-900.000000
--135.758966:94.996702:-900.000000
+8.680000:94.996702:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box67
 ISEXEC:FALSE
 -67.526006:124.007723:-900.000000
--45.926006:121.507723:-900.000000
+8.680000:121.507723:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:PolyDataToActor_Widget:Box48
@@ -211,13 +211,13 @@ BOX
 vtk:vtkImageDataPointerRelay:Box35
 ISEXEC:FALSE
 -107.091396:123.633118:-900.000000
--83.881396:121.133118:-900.000000
+6.920000:121.133118:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:PolyDataToActor_Widget:Box37
 ISEXEC:FALSE
 -67.388857:-39.476785:-900.000000
--44.368857:-41.976785:-900.000000
+13.960000:-41.976785:-900.000000
 PORT
 color:"0 1 1"
 PORT
@@ -227,7 +227,7 @@ BOX
 wx:LayoutLine:Box38
 ISEXEC:FALSE
 -178.794283:-132.592349:-900.000000
--145.474283:-135.092349:-900.000000
+33.320000:-135.092349:-900.000000
 PORT
 Orientation:"H"
 PORT
@@ -237,19 +237,19 @@ BOX
 wx:LayoutTab:Box39
 ISEXEC:FALSE
 -183.827842:-139.578356:-900.000000
--150.507842:-142.078356:-900.000000
+33.320000:-142.078356:-900.000000
 FIN_BOX
 BOX
 wx:LayoutTab:Box40
 ISEXEC:FALSE
 -136.764667:-139.108581:-900.000000
--103.444667:-141.608581:-900.000000
+33.320000:-141.608581:-900.000000
 FIN_BOX
 BOX
 wx:CommandButton:Box42
 ISEXEC:FALSE
 -90.674903:52.782696:-900.000000
--68.399903:50.282696:-900.000000
+21.000000:50.282696:-900.000000
 PORT
 Label:"Apply  (Magenta->To Red)"
 FIN_BOX
@@ -257,7 +257,7 @@ BOX
 wx:CommandButton:Box43
 ISEXEC:FALSE
 -106.419163:69.428140:-900.000000
--84.144163:66.928140:-900.000000
+21.000000:66.928140:-900.000000
 PORT
 Label:"Reset Tool"
 FIN_BOX
@@ -265,7 +265,7 @@ BOX
 wx:LayoutLine:Box44
 ISEXEC:FALSE
 -154.036190:-43.432527:-900.000000
--120.716190:-45.932527:-900.000000
+33.320000:-45.932527:-900.000000
 PORT
 Orientation:"V"
 PORT
@@ -275,7 +275,7 @@ BOX
 creaVtk:MeshManager_tool:Box45
 ISEXEC:FALSE
 -86.462754:-156.067395:-900.000000
--63.962754:-158.567395:-900.000000
+10.440000:-158.567395:-900.000000
 PORT
 Tool:"30"
 FIN_BOX
@@ -283,19 +283,19 @@ BOX
 std:MagicBox:Box46
 ISEXEC:FALSE
 -137.131256:113.921532:-900.000000
--115.531256:111.421532:-900.000000
+8.680000:111.421532:-900.000000
 FIN_BOX
 BOX
 std:MultipleInputs:Box51
 ISEXEC:FALSE
 -88.563980:-171.286537:-900.000000
--66.593980:-173.786537:-900.000000
+21.000000:-173.786537:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:ShowNPoints_Tools:Box52
 ISEXEC:FALSE
 -43.935313:-156.308297:-900.000000
--21.500313:-158.808297:-900.000000
+12.200000:-158.808297:-900.000000
 PORT
 Type:"120"
 FIN_BOX
@@ -303,19 +303,19 @@ BOX
 std:MultipleInputs:Box53
 ISEXEC:FALSE
 -81.907379:-1.781615:-900.000000
--59.937379:-4.281615:-900.000000
+21.000000:-4.281615:-900.000000
 FIN_BOX
 BOX
 std:MultipleInputs:Box55
 ISEXEC:FALSE
 -53.140304:-173.517708:-900.000000
--31.170304:-176.017708:-900.000000
+21.000000:-176.017708:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:MeshContours_Widget:Box62
 ISEXEC:FALSE
 -231.981368:-18.117247:-900.000000
--209.186368:-20.617247:-900.000000
+13.960000:-20.617247:-900.000000
 PORT
 colorMesh:"1 1 0"
 FIN_BOX
@@ -323,37 +323,37 @@ BOX
 std:MagicBox:Box63
 ISEXEC:FALSE
 -23.878975:123.201464:-900.000000
--2.278975:120.701464:-900.000000
+8.680000:120.701464:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box64
 ISEXEC:FALSE
 -243.113826:124.330340:-900.000000
--221.513826:121.830340:-900.000000
+8.680000:121.830340:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box65
 ISEXEC:FALSE
 -220.296210:124.504415:-900.000000
--198.696210:122.004415:-900.000000
+8.680000:122.004415:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box69
 ISEXEC:FALSE
 -197.793508:124.678490:-900.000000
--176.193508:122.178490:-900.000000
+8.680000:122.178490:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box71
 ISEXEC:FALSE
 -273.359367:124.504415:-900.000000
--251.759367:122.004415:-900.000000
+8.680000:122.004415:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:MeshContours_Widget:Box72
 ISEXEC:FALSE
 -168.253628:-93.491307:-900.000000
--145.458628:-95.991307:-900.000000
+13.960000:-95.991307:-900.000000
 PORT
 colorMesh:"0 1 1"
 FIN_BOX
@@ -361,7 +361,7 @@ BOX
 wx:LayoutLine:Box81
 ISEXEC:FALSE
 -172.674275:-146.634478:-900.000000
--139.354275:-149.134478:-900.000000
+33.320000:-149.134478:-900.000000
 PORT
 WinTitle:"Step 1.   Surface"
 FIN_BOX
@@ -375,25 +375,25 @@ BOX
 wx:OutputText:Box84
 ISEXEC:FALSE
 -127.611417:-38.148449:-900.000000
--105.941417:-40.648449:-900.000000
+19.240000:-40.648449:-900.000000
 FIN_BOX
 BOX
 wx:LayoutTab:Box86
 ISEXEC:FALSE
 85.280357:-100.695922:-900.000000
-118.600357:-103.195922:-900.000000
+106.895357:-103.195922:-900.000000
 FIN_BOX
 BOX
 creaVtk:MeshManager:Box92
 ISEXEC:FALSE
 -38.201426:-32.514189:-900.000000
--16.171426:-35.014189:-900.000000
+9.680000:-35.014189:-900.000000
 FIN_BOX
 BOX
 creaVtk:MeshManager_tool:Box93
 ISEXEC:FALSE
 -57.573698:-124.706713:-900.000000
--35.073698:-127.206713:-900.000000
+10.440000:-127.206713:-900.000000
 PORT
 Tool:"35"
 FIN_BOX
@@ -401,25 +401,25 @@ BOX
 std:MagicBox:Box94
 ISEXEC:FALSE
 -68.796849:-31.671400:-900.000000
--47.196849:-34.171400:-900.000000
+8.680000:-34.171400:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:wxVtkBaseView_Info:Box96
 ISEXEC:FALSE
 -167.653292:103.516214:-900.000000
--140.373292:101.016214:-900.000000
+27.280000:101.016214:-900.000000
 FIN_BOX
 BOX
 creaVtk:PolyDataNormals:Box97
 ISEXEC:FALSE
 -84.372119:-83.662351:-900.000000
--62.077119:-86.162351:-900.000000
+12.200000:-86.162351:-900.000000
 FIN_BOX
 BOX
 wx:LayoutLine:Box98
 ISEXEC:FALSE
 -143.911108:-17.437953:-900.000000
--110.591108:-19.937953:-900.000000
+33.320000:-19.937953:-900.000000
 PORT
 Orientation:"H"
 FIN_BOX
@@ -427,7 +427,7 @@ BOX
 std:AddStringToVector:Box99
 ISEXEC:FALSE
 -309.024176:108.151656:-900.000000
--284.504176:105.651656:-900.000000
+24.520000:105.651656:-900.000000
 PORT
 In0:"Auto Add Points (Start/Stop)"
 FIN_BOX
@@ -435,7 +435,7 @@ BOX
 std:VectorFilterString:Box100
 ISEXEC:FALSE
 -265.790737:67.872984:-900.000000
--237.750737:65.372984:-900.000000
+28.040000:65.372984:-900.000000
 PORT
 In0:"0  1  2   3   4   5   6   7   8      9       10 "
 PORT
@@ -447,13 +447,13 @@ BOX
 std:ConcatStrings:Box101
 ISEXEC:FALSE
 -265.899318:61.380437:-900.000000
--243.139318:58.880437:-900.000000
+22.760000:58.880437:-900.000000
 FIN_BOX
 BOX
 creaVtk:ImageThresholdConnectivity:Box102
 ISEXEC:FALSE
 42.293746:33.734820:-900.000000
-65.813746:31.234820:-900.000000
+65.703746:31.234820:-900.000000
 PORT
 Border:"50"
 FIN_BOX
@@ -461,7 +461,7 @@ BOX
 wx:LayoutLine:Box105
 ISEXEC:FALSE
 100.486715:-57.780355:-900.000000
-133.806715:-60.280355:-900.000000
+122.146715:-60.280355:-900.000000
 PORT
 WinTitle:"1.2 Surface"
 FIN_BOX
@@ -469,7 +469,7 @@ BOX
 creaMaracasVisu:SliderMinMax:Box106
 ISEXEC:FALSE
 48.946500:105.304887:-900.000000
-80.506500:102.804887:-900.000000
+70.871500:102.804887:-900.000000
 PORT
 InMax:"2000"
 PORT
@@ -485,7 +485,7 @@ BOX
 wx:Slider:Box107
 ISEXEC:FALSE
 86.207644:105.029086:-900.000000
-116.007644:102.529086:-900.000000
+107.362644:102.529086:-900.000000
 PORT
 In:"15"
 PORT
@@ -503,7 +503,7 @@ BOX
 wx:CommandButton:Box108
 ISEXEC:FALSE
 121.703826:106.297285:-900.000000
-144.088826:103.797285:-900.000000
+143.978826:103.797285:-900.000000
 PORT
 Label:"Refresh"
 FIN_BOX
@@ -511,7 +511,7 @@ BOX
 std:ConcatStrings:Box110
 ISEXEC:FALSE
 49.485227:98.922908:-900.000000
-72.245227:96.422908:-900.000000
+71.565227:96.422908:-900.000000
 PORT
 In2:"   "
 FIN_BOX
@@ -519,7 +519,7 @@ BOX
 std:MultipleInputs:Box111
 ISEXEC:FALSE
 -35.999448:19.228424:-900.000000
--13.919448:16.728424:-900.000000
+21.000000:16.728424:-900.000000
 FIN_BOX
 BOX
 std:MultipleInputs:Box112
@@ -543,11 +543,11 @@ ISEXEC:FALSE
 50.788309:26.751303:-900.000000
 73.903309:24.251303:-900.000000
 PORT
-StdDevX:"1.5"
+StdDevX:"1"
 PORT
-StdDevY:"1.5"
+StdDevY:"1"
 PORT
-StdDevZ:"1.5"
+StdDevZ:"1"
 FIN_BOX
 BOX
 std:MultipleInputs:Box118
@@ -565,13 +565,13 @@ BOX
 std:MagicBox:Box120
 ISEXEC:FALSE
 -104.557988:63.517112:-900.000000
--82.847988:61.017112:-900.000000
+8.680000:61.017112:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:ColorLayerImageView:Box122
 ISEXEC:FALSE
 29.206703:-47.220552:-900.000000
-69.566703:-49.720552:-900.000000
+52.116703:-49.720552:-900.000000
 PORT
 ColorBarPosition:"-1000 -1000"
 PORT
index 2334e1c388bc208243940bc20be6b65540efa395..60785c5db0849f8e58f614921d345d33dbf017b0 100644 (file)
@@ -193,9 +193,9 @@ new creaVtk:MarchingCubes2 Box113
   set Box113.Value "128"
 
 new creaVtk:ImageGaussianSmooth2 Box114
-  set Box114.StdDevX "1.5"
-  set Box114.StdDevY "1.5"
-  set Box114.StdDevZ "1.5"
+  set Box114.StdDevX "1"
+  set Box114.StdDevY "1"
+  set Box114.StdDevZ "1"
 
 new std:MultipleInputs Box118