]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/bbs/boxes/Mesh_tool_ApplyExternalMask.bbs
3512 Mesh application External Mask
[creaMaracasVisu.git] / bbtk / bbs / boxes / Mesh_tool_ApplyExternalMask.bbs
index 040d81c69b79b8e1565e679ae5891af7b952ada4..fdb68b80d81d2f6d8f0d9d6ad463fa7a84cc40a0 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.5 BBS BlackBox Script (Complex Box)
-# - /home/garzon/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplyExternalMask.bbs
+# - /Users/davila/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplyExternalMask.bbs
 # ----------------------------------
 
 include std
@@ -161,6 +161,58 @@ new wx:LayoutLine Box77
   set Box77.Orientation "V"
   set Box77.WinTitle "Apply Changes"
 
+new std:ConcatStrings Box78
+
+new wx:CommandButton Box86
+  set Box86.Label "Run Contour Application"
+
+new std:ExecSystemCommand Box94
+
+new std:ConcatStrings Box95
+  set Box95.In1 "bbi    ia-01/ia-000302-contour.bbs "
+  set Box95.In2 "BaseImageFileName="
+  set Box95.In4 "   OutDir="
+
+new std:StringSelect Box101
+
+new std:ConcatStrings Box102
+  set Box102.In1 "start /b  "
+
+new std:Configuration Box103
+
+new std:ConcatStrings Box104
+
+new std:ConcatStrings Box105
+
+new std:ConcatStrings Box106
+  set Box106.In2 "contour-tmp-Imge.mhd"
+
+new creaVtk:PolyDataToImageData Box107
+
+new vtk:MetaImageWriter Box108
+  set Box108.Compression "true"
+
+new vtk:CreateImage Box109
+
+new vtk:ImageVtkProperties Box110
+
+new creaVtk:MeshManager Box113
+
+new creaVtk:MeshManager_tool Box114
+  set Box114.Tool "35"
+
+new std:ConcatStrings Box115
+
+new std:ConcatStrings_tool Box116
+  set Box116.Type "1"
+
+new std:MultipleInputs Box117
+
+new std:ConcatStrings Box120
+
+new std:ConcatStrings_tool Box121
+  set Box121.Type "1"
+
 
 connect Box66.Out Box11.Renderer
 connect Box35.Out Box68.In
@@ -209,7 +261,6 @@ 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 Box56.BoxExecute
 connect Box97.Out Box60.In
 connect Box60.Out Box56.In2
@@ -232,20 +283,55 @@ connect Box52.Widget Box50.Widget3
 connect Box91.Widget Box50.Widget2
 connect Box77.Widget Box82.Widget4
 connect Box42.Widget Box77.Widget2
+connect Box78.Out Box08.WinTitle
+connect Box54.Widget Box50.Widget7
+connect Box86.Widget Box50.Widget4
+connect Box95.Out Box101.In0
+connect Box95.Out Box102.In2
+connect Box102.Out Box101.In1
+connect Box95.Out Box101.In2
+connect Box103.SystemType Box101.In
+connect Box104.Out Box95.In3
+connect Box105.Out Box95.In5
+connect Box105.Out Box106.In1
+connect Box107.Out Box108.In
+connect Box109.Out Box107.InImage
+connect Box110.TypeName Box109.OutputFormat
+connect Box110.Spacing Box109.Spacing
+connect Box110.Size Box109.Dimensions
+connect Box113.MeshManagerModel Box114.MeshManagerModel
+connect Box67.Out Box114.Mesh
+connect Box35.Out Box110.In
+connect Box113.MeshBase Box107.InPolyData
+connect Box115.Out Box94.In
+connect Box101.Out Box116.In1
+connect Box115.Box_ConcatStrings Box116.Box_ConcatString
+connect Box86.BoxChange Box117.BoxExecute
+connect Box114.BoxChange Box117.In1
+connect Box106.Out Box121.In1
+connect Box120.Box_ConcatStrings Box121.Box_ConcatString
+connect Box120.Out Box108.Filename
+connect Box116.BoxChange Box117.In5
+connect Box121.BoxChange Box117.In2
+connect Box108.BoxChange Box117.In6
+connect Box108.BoxChange Box94.BoxExecute
 
 # 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 " "
+input title Box78.In1 " "
+input BaseImageFileName Box104.In1 " "
+input OutDir Box105.In1 " "
 
 # Complex output ports
 output widget Box08.Widget " "
 
+exec Box45
 
 endefine