]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/bbs/boxes/Mesh_tool_ApplyByImage.bbs
#3306 Clean Code
[creaMaracasVisu.git] / bbtk / bbs / boxes / Mesh_tool_ApplyByImage.bbs
index 212e671fb6a9e518ec0870ad7fd02adf8f6a68f6..bda831663d4ade01cd58b182e86fdf7271e946b8 100644 (file)
@@ -30,7 +30,7 @@ new wx:LayoutLine Box79
   set Box79.WinTitle "New Surface ( Magenta )"
 
 new wx:CommandButton Box80
-  set Box80.Label "Refresh"
+  set Box80.Label "Run"
 
 new std:MagicBox Box66
 
@@ -84,6 +84,7 @@ new wx:OutputText Box84
 new creaVtk:MeshManager Box92
 
 new creaVtk:MeshManager_tool Box93
+  set Box93.BoxProcessMode "Manual"
   set Box93.Tool "35"
 
 new creaMaracasVisu:wxVtkBaseView_Info Box96
@@ -99,7 +100,6 @@ new vtk:ImageGaussianSmooth Box99
   set Box99.StdDevZ "1"
 
 new vtk:MarchingCubes Box100
-  set Box100.BoxProcessMode "Manual"
   set Box100.Value "128"
 
 new creaVtk:MeshReduction_DecimatePro Box41
@@ -145,15 +145,12 @@ connect Box68.Size Box98.Dimensions
 connect Box67.Out Box97.InPolyData
 connect Box97.Out Box99.In
 connect Box99.Out Box100.In
-connect Box100.BoxChange Box93.BoxExecute
 connect Box40.Widget Box81.Widget2
 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 Box80.BoxChange Box100.BoxExecute
 connect Box37.boxchange Box11.BoxExecute
 connect Box41.Out Box39.In
 connect Box39.Out Box93.Mesh
@@ -161,8 +158,10 @@ connect Box43.Widget Box44.Widget2
 connect Box42.Widget Box49.Widget2
 connect Box49.Widget Box82.Widget4
 connect Box42.BoxChange Box51.BoxExecute
-connect Box47.BoxChange Box51.In5
 connect Box45.BoxChange Box51.In2
+connect Box80.BoxChange Box93.BoxExecute
+connect Box47.BoxChange Box51.In5
+connect Box92.MeshManagerModel Box47.MeshManagerModel
 
 # Complex input ports
 input mesh Box67.In " "