]> Creatis software - creaMaracasVisu.git/commitdiff
3522 Mesh_tool_ApplyPatchSimple
authorEduardo DAVILA <davila@creatis.insa-lyon.fr>
Tue, 4 Jul 2023 14:11:57 +0000 (16:11 +0200)
committerEduardo DAVILA <davila@creatis.insa-lyon.fr>
Tue, 4 Jul 2023 14:11:57 +0000 (16:11 +0200)
bbtk/bbs/boxes/MeshContours_Interface.bbg
bbtk/bbs/boxes/MeshContours_Interface.bbs
bbtk/bbs/boxes/Mesh_Application.bbg
bbtk/bbs/boxes/Mesh_Application.bbs
bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbg
bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbs
bbtk/bbs/boxes/Mesh_tool_ApplyPatchSimple.bbg [new file with mode: 0644]
bbtk/bbs/boxes/Mesh_tool_ApplyPatchSimple.bbs [new file with mode: 0644]
bbtk/bbs/boxes/Mesh_tool_Help.bbg
bbtk/bbs/boxes/Mesh_tool_Help.bbs
lib/maracasVisuLib/src/interface/wxWindows/widgets/WidgetShowNPoints.cxx

index f886295f796a4bc957ada670eabc5ca645d6600f..81c59cafb0b607219195a473da801fa36154f706 100644 (file)
@@ -51,7 +51,7 @@ ISEXEC:FALSE
 PORT
 In:"0.5 1.0 1.5 2.0 2.5"
 PORT
-Selection:"1"
+Selection:"3"
 PORT
 Title:"Line width  "
 FIN_BOX
index 59d28ca797419a968ae3ba0903a93a9a733757c9..9879b4f7374d5abd693454177f8f0a1295682925 100644 (file)
@@ -23,7 +23,7 @@ new wx:CheckBox Box07
 
 new wx:ComboBox Box02
   set Box02.In "0.5 1.0 1.5 2.0 2.5"
-  set Box02.Selection "1"
+  set Box02.Selection "3"
   set Box02.Title "Line width  "
 
 
index 9b92561b37bd56e28d2197de37f42a6bd350d714..a86da7e9e52f7266a0bd9ca1c55c069cfb9f20cd 100644 (file)
@@ -64,7 +64,7 @@ COMPLEX_PORT
 OutDir_ExMa
 334.933146:91.638847:-900.000000
 FIN_COMPLEX_PORT
-BOXES:74
+BOXES:83
 BOX
 creaMaracasVisu:ImageChangeInformation:Box07
 ISEXEC:FALSE
@@ -108,8 +108,8 @@ FIN_BOX
 BOX
 wx:LayoutTab:Box12
 ISEXEC:FALSE
-127.242069:-31.715040:-900.000000
-160.562069:-34.215040:-900.000000
+113.353388:-30.081078:-900.000000
+146.673388:-32.581078:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:SetPositionPointPicker:Box13
@@ -142,8 +142,8 @@ FIN_BOX
 BOX
 std:StringSelect:Box23
 ISEXEC:FALSE
-9.393286:-29.304617:-900.000000
-33.913286:-31.804617:-900.000000
+5.172216:-26.445183:-900.000000
+29.692216:-28.945183:-900.000000
 PORT
 In0:"false  false  false  false  false false"
 PORT
@@ -151,7 +151,7 @@ In1:"false  true   false  false  false false"
 PORT
 In2:"false  false  true   false  false false"
 PORT
-In3:"false  false  false   true  false false"
+In3:"false  false  false   1  false false"
 PORT
 In4:"false  false  false   false  false  false"
 PORT
@@ -256,38 +256,38 @@ FIN_BOX
 BOX
 creaMaracasVisu:Mesh_tool_ApplyPatch:Box38
 ISEXEC:FALSE
-148.857701:7.327575:-900.000000
-171.697701:4.827575:-900.000000
+206.586242:6.489743:-900.000000
+229.426242:3.989743:-900.000000
 PORT
-title:"Patch"
+title:"Extrusion"
 FIN_BOX
 BOX
 std:GetVectorStringElement:Box39
 ISEXEC:FALSE
--1.791941:-44.880446:-900.000000
-21.163059:-47.380446:-900.000000
+200.389082:-94.124504:-900.000000
+223.344082:-96.624504:-900.000000
 PORT
 I:"3"
 FIN_BOX
 BOX
 creaMaracasVisu:InteractorStyleMaracas_Model:Box40
 ISEXEC:TRUE
-0.663111:-61.902197:-900.000000
-24.268111:-64.402197:-900.000000
+237.208031:-127.338812:-900.000000
+260.813031:-129.838812:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:Mesh_tool_ApplyByImage:Box46
 ISEXEC:FALSE
-181.217392:7.190257:-900.000000
-204.372392:4.690257:-900.000000
+249.242000:6.707813:-900.000000
+272.397000:4.207813:-900.000000
 PORT
-title:"By Image"
+title:"Smooth"
 FIN_BOX
 BOX
 creaMaracasVisu:Mesh_tool_ApplyDeformation:Box47
 ISEXEC:FALSE
-217.375729:6.369987:-900.000000
-240.865729:3.869987:-900.000000
+285.400337:5.887543:-900.000000
+308.890337:3.387543:-900.000000
 PORT
 title:"Deformation"
 FIN_BOX
@@ -450,30 +450,30 @@ FIN_BOX
 BOX
 creaMaracasVisu:Mesh_tool_ApplyThresholdConnectivity:Box70
 ISEXEC:FALSE
-269.781433:5.441169:-900.000000
-294.221433:2.941169:-900.000000
+337.806041:4.958725:-900.000000
+362.246041:2.458725:-900.000000
 PORT
-title:"Threshold"
+title:"Region growing"
 FIN_BOX
 BOX
 std:GetVectorStringElement:Box71
 ISEXEC:FALSE
-27.670016:-38.441338:-900.000000
-50.625016:-40.941338:-900.000000
+328.055454:-50.131851:-900.000000
+351.010454:-52.631851:-900.000000
 PORT
 I:"5"
 FIN_BOX
 BOX
 creaMaracasVisu:InteractorStyleMaracas_Model:Box72
 ISEXEC:FALSE
-201.717061:-61.080685:-900.000000
-225.322061:-63.580685:-900.000000
+335.397478:-60.788806:-900.000000
+359.002478:-63.288806:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:Mesh_tool_ApplyExternalMask:Box73
 ISEXEC:FALSE
-322.345476:6.115514:-900.000000
-345.920476:3.615514:-900.000000
+390.370084:5.633070:-900.000000
+413.945084:3.133070:-900.000000
 PORT
 title:"External Mask"
 FIN_BOX
@@ -536,24 +536,24 @@ FIN_BOX
 BOX
 wx:CommandButton:Box85
 ISEXEC:FALSE
-26.107950:-69.858054:-900.000000
-48.382950:-72.358054:-900.000000
+33.746725:-86.333842:-900.000000
+56.021725:-88.833842:-900.000000
 PORT
 Label:"Undo"
 FIN_BOX
 BOX
 wx:CommandButton:Box86
 ISEXEC:FALSE
-51.080183:-72.133884:-900.000000
-73.355183:-74.633884:-900.000000
+58.718958:-88.609672:-900.000000
+80.993958:-91.109672:-900.000000
 PORT
 Label:"Redo"
 FIN_BOX
 BOX
 creaVtk:MeshManager_tool:Box87
 ISEXEC:FALSE
-22.278354:-83.999057:-900.000000
-44.778354:-86.499057:-900.000000
+29.917129:-100.474845:-900.000000
+52.417129:-102.974845:-900.000000
 PORT
 BoxProcessMode:"Manual"
 PORT
@@ -562,8 +562,8 @@ FIN_BOX
 BOX
 creaVtk:MeshManager_tool:Box88
 ISEXEC:FALSE
-51.224071:-83.930333:-900.000000
-73.724071:-86.430333:-900.000000
+58.862846:-100.406121:-900.000000
+81.362846:-102.906121:-900.000000
 PORT
 BoxProcessMode:"Manual"
 PORT
@@ -616,8 +616,8 @@ FIN_BOX
 BOX
 wx:LayoutLine:Box97
 ISEXEC:FALSE
--6.713577:-110.628162:-900.000000
-26.606423:-113.128162:-900.000000
+-7.462476:-116.170018:-900.000000
+25.857524:-118.670018:-900.000000
 PORT
 Orientation:"H"
 FIN_BOX
@@ -653,7 +653,73 @@ ISEXEC:FALSE
 66.715147:7.686077:-900.000000
 88.985147:5.186077:-900.000000
 FIN_BOX
-CONNECTIONS:198
+BOX
+wx:LayoutTab:Box102
+ISEXEC:FALSE
+166.620809:-4.833726:-900.000000
+199.940809:-7.333726:-900.000000
+PORT
+WinTitle:"Patch"
+FIN_BOX
+BOX
+creaMaracasVisu:Mesh_tool_ApplyPatchSimple:Box103
+ISEXEC:FALSE
+154.995745:7.213292:-900.000000
+178.600745:4.713292:-900.000000
+PORT
+title:"Simple"
+FIN_BOX
+BOX
+creaMaracasVisu:InteractorStyleMaracas_Model:Box105
+ISEXEC:FALSE
+144.275562:-130.295696:-900.000000
+167.990562:-132.795696:-900.000000
+FIN_BOX
+BOX
+std:MultipleInputs:Box106
+ISEXEC:FALSE
+137.687347:-83.483135:-900.000000
+159.767347:-85.983135:-900.000000
+FIN_BOX
+BOX
+std:StringSelect:Box107
+ISEXEC:FALSE
+172.339224:-94.454362:-900.000000
+196.859224:-96.954362:-900.000000
+PORT
+In0:"1 0"
+PORT
+In1:"0 1"
+FIN_BOX
+BOX
+std:GetVectorStringElement:Box108
+ISEXEC:FALSE
+198.910102:-111.203291:-900.000000
+221.975102:-113.703291:-900.000000
+PORT
+I:"1"
+FIN_BOX
+BOX
+std:GetVectorStringElement:Box109
+ISEXEC:FALSE
+168.217021:-109.081287:-900.000000
+191.282021:-111.581287:-900.000000
+PORT
+I:"0"
+FIN_BOX
+BOX
+std:Mul:Box110
+ISEXEC:FALSE
+162.346659:-119.665614:-900.000000
+183.431659:-122.165614:-900.000000
+FIN_BOX
+BOX
+std:Mul:Box111
+ISEXEC:FALSE
+197.600426:-121.409234:-900.000000
+218.685426:-123.909234:-900.000000
+FIN_BOX
+CONNECTIONS:224
 CONNECTION
 Box08:MeshBase:Box15:polydata
 NumberOfControlPoints:0
@@ -748,18 +814,9 @@ CONNECTION
 Box08:MeshManagerModel:Box38:meshmanagermodel
 NumberOfControlPoints:0
 CONNECTION
-Box38:widget:Box12:Widget5
-NumberOfControlPoints:0
-CONNECTION
 Box23:Out:Box39:In
 NumberOfControlPoints:0
 CONNECTION
-Box39:Out:Box40:Active
-NumberOfControlPoints:0
-CONNECTION
-Box12:BoxChange:Box40:BoxExecute
-NumberOfControlPoints:0
-CONNECTION
 Box38:interactorStyleMaracas:Box40:InteractorStyleMaracas
 NumberOfControlPoints:0
 CONNECTION
@@ -1248,4 +1305,91 @@ NumberOfControlPoints:0
 CONNECTION
 Box101:widget:Box12:Widget1
 NumberOfControlPoints:0
+CONNECTION
+Box103:widget:Box102:Widget3
+NumberOfControlPoints:0
+CONNECTION
+Box102:Widget:Box12:Widget5
+NumberOfControlPoints:0
+CONNECTION
+Box38:widget:Box102:Widget5
+NumberOfControlPoints:0
+CONNECTION
+Box63:BoxChange:Box103:boxChange
+NumberOfControlPoints:0
+CONNECTION
+Box07:Out:Box103:image
+NumberOfControlPoints:0
+CONNECTION
+Box08:MeshTemp:Box103:mesh
+NumberOfControlPoints:0
+CONNECTION
+Box08:MeshManagerModel:Box103:meshmanagermodel
+NumberOfControlPoints:0
+CONNECTION
+Box64:Out:Box103:point
+NumberOfControlPoints:0
+CONNECTION
+Box66:Out:Box103:wxvtkbaseview1
+NumberOfControlPoints:0
+CONNECTION
+Box67:Out:Box103:wxvtkbaseview2
+NumberOfControlPoints:0
+CONNECTION
+Box68:Out:Box103:wxvtkbaseview3
+NumberOfControlPoints:0
+CONNECTION
+Box69:Out:Box103:wxvtkbaseview4
+NumberOfControlPoints:0
+CONNECTION
+Box103:interactorStyleMaracas:Box105:InteractorStyleMaracas
+NumberOfControlPoints:0
+CONNECTION
+Box103:interactorStyleMaracas2:Box105:InteractorStyleMaracas2
+NumberOfControlPoints:0
+CONNECTION
+Box103:interactorStyleMaracas3:Box105:InteractorStyleMaracas3
+NumberOfControlPoints:0
+CONNECTION
+Box103:interactorStyleMaracas4:Box105:InteractorStyleMaracas4
+NumberOfControlPoints:0
+CONNECTION
+Box12:BoxChange:Box106:In1
+NumberOfControlPoints:0
+CONNECTION
+Box102:BoxChange:Box106:In2
+NumberOfControlPoints:0
+CONNECTION
+Box102:Selection:Box107:In
+NumberOfControlPoints:0
+CONNECTION
+Box106:BoxChange:Box40:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box106:BoxChange:Box105:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box107:Out:Box108:In
+NumberOfControlPoints:0
+CONNECTION
+Box107:Out:Box109:In
+NumberOfControlPoints:0
+CONNECTION
+Box39:Out:Box110:In1
+NumberOfControlPoints:0
+CONNECTION
+Box109:Out:Box110:In2
+NumberOfControlPoints:0
+CONNECTION
+Box39:Out:Box111:In1
+NumberOfControlPoints:0
+CONNECTION
+Box108:Out:Box111:In2
+NumberOfControlPoints:0
+CONNECTION
+Box111:Out:Box40:Active
+NumberOfControlPoints:0
+CONNECTION
+Box110:Out:Box105:Active
+NumberOfControlPoints:0
 APP_END
index 6eb9f38a0eb07e8a9e30ede384411649d03777ed..7550253c9379fed22a8d721d12ef41ce5bce0cf7 100644 (file)
@@ -49,7 +49,7 @@ new std:StringSelect Box23
   set Box23.In0 "false  false  false  false  false false"
   set Box23.In1 "false  true   false  false  false false"
   set Box23.In2 "false  false  true   false  false false"
-  set Box23.In3 "false  false  false   true  false false"
+  set Box23.In3 "false  false  false   1  false false"
   set Box23.In4 "false  false  false   false  false  false"
   set Box23.In5 "false  false  false   false  true  false"
   set Box23.In6 "false  false  false   false  false false"
@@ -91,7 +91,7 @@ new wx:LayoutLine Box34
   set Box34.Orientation "H"
 
 new creaMaracasVisu:Mesh_tool_ApplyPatch Box38
-  set Box38.title "Patch"
+  set Box38.title "Extrusion"
 
 new std:GetVectorStringElement Box39
   set Box39.I "3"
@@ -99,7 +99,7 @@ new std:GetVectorStringElement Box39
 new creaMaracasVisu:InteractorStyleMaracas_Model Box40
 
 new creaMaracasVisu:Mesh_tool_ApplyByImage Box46
-  set Box46.title "By Image"
+  set Box46.title "Smooth"
 
 new creaMaracasVisu:Mesh_tool_ApplyDeformation Box47
   set Box47.title "Deformation"
@@ -162,7 +162,7 @@ new std:MagicBox Box68
 new std:MagicBox Box69
 
 new creaMaracasVisu:Mesh_tool_ApplyThresholdConnectivity Box70
-  set Box70.title "Threshold"
+  set Box70.title "Region growing"
 
 new std:GetVectorStringElement Box71
   set Box71.I "5"
@@ -238,6 +238,30 @@ new wx:ComboBox Box100
 
 new creaMaracasVisu:Mesh_tool_Help Box101
 
+new wx:LayoutTab Box102
+  set Box102.WinTitle "Patch"
+
+new creaMaracasVisu:Mesh_tool_ApplyPatchSimple Box103
+  set Box103.title "Simple"
+
+new creaMaracasVisu:InteractorStyleMaracas_Model Box105
+
+new std:MultipleInputs Box106
+
+new std:StringSelect Box107
+  set Box107.In0 "1 0"
+  set Box107.In1 "0 1"
+
+new std:GetVectorStringElement Box108
+  set Box108.I "1"
+
+new std:GetVectorStringElement Box109
+  set Box109.I "0"
+
+new std:Mul Box110
+
+new std:Mul Box111
+
 
 connect Box08.MeshBase Box15.polydata
 connect Box08.MeshTemp Box10.mesh
@@ -270,10 +294,7 @@ connect Box34.Widget Box22.Widget2
 connect Box07.Out Box38.image
 connect Box08.MeshTemp Box38.mesh
 connect Box08.MeshManagerModel Box38.meshmanagermodel
-connect Box38.widget Box12.Widget5
 connect Box23.Out Box39.In
-connect Box39.Out Box40.Active
-connect Box12.BoxChange Box40.BoxExecute
 connect Box38.interactorStyleMaracas Box40.InteractorStyleMaracas
 connect Box38.interactorStyleMaracas2 Box40.InteractorStyleMaracas2
 connect Box38.interactorStyleMaracas3 Box40.InteractorStyleMaracas3
@@ -424,6 +445,35 @@ connect Box100.Widget Box34.Widget2
 connect Box92.Widget Box97.Widget1
 connect Box79.Widget Box97.Widget3
 connect Box101.widget Box12.Widget1
+connect Box103.widget Box102.Widget3
+connect Box102.Widget Box12.Widget5
+connect Box38.widget Box102.Widget5
+connect Box63.BoxChange Box103.boxChange
+connect Box07.Out Box103.image
+connect Box08.MeshTemp Box103.mesh
+connect Box08.MeshManagerModel Box103.meshmanagermodel
+connect Box64.Out Box103.point
+connect Box66.Out Box103.wxvtkbaseview1
+connect Box67.Out Box103.wxvtkbaseview2
+connect Box68.Out Box103.wxvtkbaseview3
+connect Box69.Out Box103.wxvtkbaseview4
+connect Box103.interactorStyleMaracas Box105.InteractorStyleMaracas
+connect Box103.interactorStyleMaracas2 Box105.InteractorStyleMaracas2
+connect Box103.interactorStyleMaracas3 Box105.InteractorStyleMaracas3
+connect Box103.interactorStyleMaracas4 Box105.InteractorStyleMaracas4
+connect Box12.BoxChange Box106.In1
+connect Box102.BoxChange Box106.In2
+connect Box102.Selection Box107.In
+connect Box106.BoxChange Box40.BoxExecute
+connect Box106.BoxChange Box105.BoxExecute
+connect Box107.Out Box108.In
+connect Box107.Out Box109.In
+connect Box39.Out Box110.In1
+connect Box109.Out Box110.In2
+connect Box39.Out Box111.In1
+connect Box108.Out Box111.In2
+connect Box111.Out Box40.Active
+connect Box110.Out Box105.Active
 
 # Complex input ports
 input MeshIn Box56.In " "
index 46efde3a5f84c82202fb9a7595d41db65c12ab95..84148c72daead93a024c7d4de8aaea2172ff5fd6 100644 (file)
@@ -72,7 +72,7 @@ COMPLEX_PORT
 meshmanagermodel
 -150.374274:130.740991:-900.000000
 FIN_COMPLEX_PORT
-BOXES:96
+BOXES:87
 BOX
 creaMaracasVisu:ShowNPoints:showNpoints
 ISEXEC:FALSE
@@ -88,8 +88,8 @@ FIN_BOX
 BOX
 creaVtk:CreateMeshFromPoints:Box04
 ISEXEC:FALSE
-36.572951:11.779111:-900.000000
-59.427951:9.279111:-900.000000
+36.971665:12.576539:-900.000000
+59.826665:10.076539:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:ManualContourModel_Box:Box06
@@ -108,22 +108,22 @@ FIN_BOX
 BOX
 wx:LayoutLine:Box08
 ISEXEC:FALSE
--182.125107:-147.642582:-900.000000
--148.805107:-150.142582:-900.000000
+-197.475599:-160.401432:-900.000000
+-164.155599:-162.901432:-900.000000
 FIN_BOX
 BOX
 vtk:UpdateRender:Box11
 ISEXEC:FALSE
-14.791870:-74.810962:-900.000000
-36.816870:-77.310962:-900.000000
+-10.426795:-116.257290:-900.000000
+11.598205:-118.757290:-900.000000
 PORT
 Active:"true"
 FIN_BOX
 BOX
 creaMaracasVisu:DrawAxisTree3D:Box30
 ISEXEC:FALSE
-53.253812:0.984257:-900.000000
-81.293812:-1.515743:-900.000000
+71.195945:10.752752:-900.000000
+99.235945:8.252752:-900.000000
 PORT
 Colour:"0 0 1"
 PORT
@@ -204,8 +204,8 @@ FIN_BOX
 BOX
 creaVtk:BooleanOperationPolyDataFilter:Box77
 ISEXEC:FALSE
--85.337097:-56.984129:-900.000000
--61.607097:-59.484129:-900.000000
+-84.021341:-55.010494:-900.000000
+-60.291341:-57.510494:-900.000000
 PORT
 BoxProcessMode:"Manual"
 PORT
@@ -222,8 +222,8 @@ FIN_BOX
 BOX
 wx:LayoutLine:Box79
 ISEXEC:FALSE
--144.033821:-109.706143:-900.000000
--110.713821:-112.206143:-900.000000
+-130.558274:-118.720047:-900.000000
+-97.238274:-121.220047:-900.000000
 PORT
 Orientation:"H"
 PORT
@@ -232,8 +232,8 @@ FIN_BOX
 BOX
 wx:CommandButton:Box80
 ISEXEC:FALSE
--107.307880:18.830890:-900.000000
--85.032880:16.330890:-900.000000
+-107.966912:18.995648:-900.000000
+-85.691912:16.495648:-900.000000
 PORT
 Label:"Run"
 FIN_BOX
@@ -250,12 +250,6 @@ ISEXEC:FALSE
 -45.926006:121.507723:-900.000000
 FIN_BOX
 BOX
-creaMaracasVisu:PolyDataToActor_Widget:Box48
-ISEXEC:FALSE
-21.246336:1.807717:-900.000000
-44.266336:-0.692283:-900.000000
-FIN_BOX
-BOX
 vtk:vtkImageDataPointerRelay:Box35
 ISEXEC:FALSE
 -107.091396:123.633118:-900.000000
@@ -290,8 +284,8 @@ FIN_BOX
 BOX
 creaMaracasVisu:PolyDataToActor_Widget:Box37
 ISEXEC:FALSE
--62.578581:-80.422098:-900.000000
--39.558581:-82.922098:-900.000000
+-84.802772:-84.730517:-900.000000
+-61.782772:-87.230517:-900.000000
 PORT
 color:"0 1 1"
 PORT
@@ -310,36 +304,36 @@ FIN_BOX
 BOX
 wx:LayoutTab:Box39
 ISEXEC:FALSE
--195.489774:-120.807458:-900.000000
--162.169774:-123.307458:-900.000000
+-199.676272:-131.174024:-900.000000
+-166.356272:-133.674024:-900.000000
 FIN_BOX
 BOX
 wx:LayoutTab:Box40
 ISEXEC:FALSE
--148.426599:-120.337683:-900.000000
--115.106599:-122.837683:-900.000000
+-153.896561:-142.018173:-900.000000
+-120.576561:-144.518173:-900.000000
 FIN_BOX
 BOX
 wx:CommandButton:Box42
 ISEXEC:FALSE
--91.903796:13.441695:-900.000000
--69.628796:10.941695:-900.000000
+-58.787462:16.572095:-900.000000
+-36.512462:14.072095:-900.000000
 PORT
 Label:"Apply  (Magenta->To Red)"
 FIN_BOX
 BOX
 wx:CommandButton:Box43
 ISEXEC:FALSE
--85.356515:8.083838:-900.000000
--63.081515:5.583838:-900.000000
+-85.850789:14.838911:-900.000000
+-63.575789:12.338911:-900.000000
 PORT
 Label:"Reset Tool"
 FIN_BOX
 BOX
 wx:LayoutLine:Box44
 ISEXEC:FALSE
--154.036190:-43.432527:-900.000000
--120.716190:-45.932527:-900.000000
+-155.881478:-38.578760:-900.000000
+-122.561478:-41.078760:-900.000000
 PORT
 Orientation:"V"
 PORT
@@ -384,36 +378,28 @@ FIN_BOX
 BOX
 std:MultipleInputs:Box51
 ISEXEC:FALSE
--100.525236:-149.444123:-900.000000
--78.555236:-151.944123:-900.000000
+-99.075367:-149.262889:-900.000000
+-77.105367:-151.762889:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:ShowNPoints_Tools:Box52
 ISEXEC:FALSE
--48.321002:-133.648902:-900.000000
--25.886002:-136.148902:-900.000000
+-45.421263:-132.017799:-900.000000
+-22.986263:-134.517799:-900.000000
 PORT
 Type:"120"
 FIN_BOX
 BOX
 std:MultipleInputs:Box53
 ISEXEC:FALSE
--100.104016:-15.066233:-900.000000
--78.134016:-17.566233:-900.000000
+-106.529573:2.892376:-900.000000
+-84.559573:0.392376:-900.000000
 FIN_BOX
 BOX
 std:MultipleInputs:Box55
 ISEXEC:FALSE
--50.378946:-149.242242:-900.000000
--28.408946:-151.742242:-900.000000
-FIN_BOX
-BOX
-creaMaracasVisu:MeshContours_Widget:Box62
-ISEXEC:FALSE
--6.827699:0.907483:-900.000000
-15.967301:-1.592517:-900.000000
-PORT
-colorMesh:"0 0 1"
+-49.654011:-151.417046:-900.000000
+-27.684011:-153.917046:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box63
@@ -448,24 +434,22 @@ FIN_BOX
 BOX
 creaMaracasVisu:MeshContours_Widget:Box72
 ISEXEC:FALSE
--191.950694:-87.321377:-900.000000
--169.155694:-89.821377:-900.000000
+-166.632350:-88.118805:-900.000000
+-143.837350:-90.618805:-900.000000
 PORT
 colorMesh:"0 1 1"
 FIN_BOX
 BOX
 wx:LayoutLine:Box81
 ISEXEC:FALSE
--180.022846:-140.278086:-900.000000
--146.702846:-142.778086:-900.000000
-PORT
-WinTitle:"Step 1.   Surface"
+-186.003557:-151.242723:-900.000000
+-152.683557:-153.742723:-900.000000
 FIN_BOX
 BOX
 wx:LayoutTab:Box82
 ISEXEC:FALSE
--153.588182:-50.941996:-900.000000
--120.268182:-53.441996:-900.000000
+-155.894792:-47.317323:-900.000000
+-122.574792:-49.817323:-900.000000
 FIN_BOX
 BOX
 wx:LayoutTab:Box86
@@ -546,8 +530,8 @@ FIN_BOX
 BOX
 std:Div:Box100
 ISEXEC:FALSE
-70.931303:-12.936420:-900.000000
-91.966303:-15.436420:-900.000000
+80.301084:-14.132562:-900.000000
+101.336084:-16.632562:-900.000000
 PORT
 In2:"100"
 FIN_BOX
@@ -562,8 +546,8 @@ FIN_BOX
 BOX
 wx:LayoutLine:Box102
 ISEXEC:FALSE
-82.113479:-63.996790:-900.000000
-115.433479:-66.496790:-900.000000
+52.209923:-76.556283:-900.000000
+85.529923:-79.056283:-900.000000
 PORT
 Orientation:"H"
 PORT
@@ -584,8 +568,8 @@ FIN_BOX
 BOX
 wx:LayoutTab:Box106
 ISEXEC:FALSE
-75.970731:-73.857697:-900.000000
-109.290731:-76.357697:-900.000000
+46.665246:-82.031336:-900.000000
+79.985246:-84.531336:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:MeshContours_Widget:Box107
@@ -776,98 +760,40 @@ FIN_BOX
 BOX
 wx:LayoutLine:Box134
 ISEXEC:FALSE
--182.501739:-36.121862:-900.000000
--149.181739:-38.621862:-900.000000
+-116.572225:-39.173178:-900.000000
+-83.252225:-41.673178:-900.000000
 PORT
 Orientation:"V"
 PORT
 WinTitle:"1.3   Apply Changes"
 FIN_BOX
 BOX
-creaVtk:CleanMeshWithPatch:Box135
+wx:LayoutLine:Box145
 ISEXEC:FALSE
-10.527341:-109.019479:-900.000000
-33.327341:-111.519479:-900.000000
-PORT
-BoxProcessMode:"Manual"
-FIN_BOX
-BOX
-creaMaracasVisu:PolyDataToActor_Widget:Box136
-ISEXEC:FALSE
-8.675945:-154.885681:-900.000000
-31.805945:-157.385681:-900.000000
-PORT
-active:"true"
+89.335340:-76.337637:-900.000000
+122.655340:-78.837637:-900.000000
 PORT
-color:"1 1 1"
-PORT
-meshOpacity:"100"
-FIN_BOX
-BOX
-wx:LayoutLine:Box137
-ISEXEC:FALSE
-9.589465:-167.431328:-900.000000
-42.909465:-169.931328:-900.000000
-PORT
-WinTitle:"Beta"
-FIN_BOX
-BOX
-wx:CommandButton:Box138
-ISEXEC:FALSE
-58.068964:-92.270531:-900.000000
-80.453964:-94.770531:-900.000000
-PORT
-Label:"Run"
-FIN_BOX
-BOX
-creaVtk:PolyDataToImageData:Box139
-ISEXEC:FALSE
-58.318610:-119.259857:-900.000000
-81.228610:-121.759857:-900.000000
-FIN_BOX
-BOX
-vtk:CreateImage:Box140
-ISEXEC:FALSE
-59.145307:-110.491091:-900.000000
-81.185307:-112.991091:-900.000000
-FIN_BOX
-BOX
-vtk:MarchingCubes:Box141
-ISEXEC:FALSE
-51.358184:-129.539050:-900.000000
-73.643184:-132.039050:-900.000000
+Orientation:"H"
 PORT
-Value:"128"
+WinTitle:"Extrusion"
 FIN_BOX
 BOX
-vtk:ImageGaussianSmooth:Box142
+wx:LayoutLine:Box146
 ISEXEC:FALSE
-55.739960:-125.030810:-900.000000
-78.744960:-127.530810:-900.000000
-PORT
-StdDevX:"1"
-PORT
-StdDevY:"1"
+-147.071434:-130.352435:-900.000000
+-113.751434:-132.852435:-900.000000
 PORT
-StdDevZ:"1"
-FIN_BOX
-BOX
-creaVtk:MeshReduction_DecimatePro:Box143
-ISEXEC:FALSE
-50.853681:-135.841827:-900.000000
-74.458681:-138.341827:-900.000000
+Orientation:"H"
 PORT
-TargetReduction:"0.8"
+WinTitle:"New Surface ( Magenta  =  Red+Yellow )"
 FIN_BOX
 BOX
-creaVtk:MeshManager_tool:Box144
+wx:LayoutTab:Box147
 ISEXEC:FALSE
--77.502254:-149.176066:-900.000000
--54.892254:-151.676066:-900.000000
-PORT
-Tool:"30"
+-119.981994:-45.601028:-900.000000
+-86.661994:-48.101028:-900.000000
 FIN_BOX
-CONNECTIONS:198
+CONNECTIONS:167
 CONNECTION
 Box06:LstContourPointsX:Box04:LstX
 NumberOfControlPoints:0
@@ -965,15 +891,6 @@ CONNECTION
 Box67:Out:Box77:In1
 NumberOfControlPoints:0
 CONNECTION
-Box04:Out:Box48:polydata
-NumberOfControlPoints:0
-CONNECTION
-Box66:Out:Box48:render
-NumberOfControlPoints:0
-CONNECTION
-Box48:boxchange:Box31:In1
-NumberOfControlPoints:0
-CONNECTION
 image:image:Box35:In
 NumberOfControlPoints:0
 CONNECTION
@@ -1004,9 +921,6 @@ CONNECTION
 Box38:Widget:Box39:Widget2
 NumberOfControlPoints:0
 CONNECTION
-Box79:Widget:Box40:Widget2
-NumberOfControlPoints:0
-CONNECTION
 meshmanagermodel:meshmanagermodel:Box46:In
 NumberOfControlPoints:0
 CONNECTION
@@ -1046,24 +960,15 @@ CONNECTION
 Box63:BoxChange:showNpoints:BoxExecute
 NumberOfControlPoints:0
 CONNECTION
-Box63:BoxChange:Box62:_execute
-NumberOfControlPoints:0
-CONNECTION
 wxvtkbaseview2:wxvtkbaseview2:Box64:In
 NumberOfControlPoints:0
 CONNECTION
 Box64:Out:Box57:wxVtkBaseView2
 NumberOfControlPoints:0
 CONNECTION
-Box64:Out:Box62:_wxvtkbaseview2D1
-NumberOfControlPoints:0
-CONNECTION
 Box65:Out:Box57:wxVtkBaseView3
 NumberOfControlPoints:0
 CONNECTION
-Box65:Out:Box62:_wxvtkbaseview2D2
-NumberOfControlPoints:0
-CONNECTION
 wxvtkbaseview3:wxvtkbaseview3:Box65:In
 NumberOfControlPoints:0
 CONNECTION
@@ -1073,18 +978,12 @@ CONNECTION
 Box69:Out:Box57:wxVtkBaseView4
 NumberOfControlPoints:0
 CONNECTION
-Box69:Out:Box62:_wxvtkbaseview2D3
-NumberOfControlPoints:0
-CONNECTION
 wxvtkbaseview1:wxvtkbaseview1:Box71:In
 NumberOfControlPoints:0
 CONNECTION
 Box71:Out:Box57:wxVtkBaseView
 NumberOfControlPoints:0
 CONNECTION
-Box71:Out:Box62:_wxvtkbaseview3D1
-NumberOfControlPoints:0
-CONNECTION
 Box71:Out:Box72:_wxvtkbaseview3D1
 NumberOfControlPoints:0
 CONNECTION
@@ -1100,18 +999,12 @@ CONNECTION
 Box37:widget:Box79:Widget4
 NumberOfControlPoints:0
 CONNECTION
-Box62:_widget:Box38:Widget7
-NumberOfControlPoints:0
-CONNECTION
 Box39:Widget:Box81:Widget2
 NumberOfControlPoints:0
 CONNECTION
 Box44:Widget:Box82:Widget2
 NumberOfControlPoints:0
 CONNECTION
-Box82:Widget:Box79:Widget2
-NumberOfControlPoints:0
-CONNECTION
 Box86:Widget:Box38:Widget2
 NumberOfControlPoints:0
 CONNECTION
@@ -1205,18 +1098,12 @@ CONNECTION
 Box102:Widget:Box106:Widget2
 NumberOfControlPoints:0
 CONNECTION
-Box106:Widget:Box81:Widget3
-NumberOfControlPoints:0
-CONNECTION
 Box40:Widget:Box81:Widget6
 NumberOfControlPoints:0
 CONNECTION
 Box66:Out:Box98:render
 NumberOfControlPoints:0
 CONNECTION
-Box04:Out:Box62:_polydata
-NumberOfControlPoints:0
-CONNECTION
 Box64:Out:Box107:_wxvtkbaseview2D1
 NumberOfControlPoints:0
 CONNECTION
@@ -1229,9 +1116,6 @@ CONNECTION
 Box71:Out:Box107:_wxvtkbaseview3D1
 NumberOfControlPoints:0
 CONNECTION
-Box107:_widget:Box102:Widget6
-NumberOfControlPoints:0
-CONNECTION
 Box103:BoxChange:Box107:_execute
 NumberOfControlPoints:0
 CONNECTION
@@ -1256,12 +1140,6 @@ CONNECTION
 Box72:_widget:Box79:Widget3
 NumberOfControlPoints:0
 CONNECTION
-Box98:widget:Box102:Widget8
-NumberOfControlPoints:0
-CONNECTION
-Box48:widget:Box38:Widget8
-NumberOfControlPoints:0
-CONNECTION
 Box58:Out:Box111:StringVector
 NumberOfControlPoints:0
 CONNECTION
@@ -1382,84 +1260,39 @@ CONNECTION
 Box133:Out:Box115:In
 NumberOfControlPoints:0
 CONNECTION
-Box134:Widget:Box82:Widget4
-NumberOfControlPoints:0
-CONNECTION
 Box42:Widget:Box134:Widget3
 NumberOfControlPoints:0
 CONNECTION
-Box67:Out:Box135:Mesh
-NumberOfControlPoints:0
-CONNECTION
-Box04:Out:Box135:Patch
-NumberOfControlPoints:0
-CONNECTION
-showNpoints:lstPointsX:Box135:LstX
-NumberOfControlPoints:0
-CONNECTION
-showNpoints:lstPointsY:Box135:LstY
-NumberOfControlPoints:0
-CONNECTION
-showNpoints:lstPointsZ:Box135:LstZ
-NumberOfControlPoints:0
-CONNECTION
-showNpoints:lstIndexs:Box135:LstIndexs
-NumberOfControlPoints:0
-CONNECTION
-Box66:Out:Box136:render
-NumberOfControlPoints:0
-CONNECTION
-Box136:widget:Box137:Widget2
-NumberOfControlPoints:0
-CONNECTION
-Box137:Widget:Box106:Widget4
-NumberOfControlPoints:0
-CONNECTION
-Box138:Widget:Box137:Widget4
-NumberOfControlPoints:0
-CONNECTION
-Box68:Spacing:Box135:Spacing
-NumberOfControlPoints:0
-CONNECTION
-Box138:BoxChange:Box135:BoxExecute
-NumberOfControlPoints:0
-CONNECTION
-Box135:BoxChange:Box136:boxexecute
-NumberOfControlPoints:0
-CONNECTION
-Box135:Out:Box139:InPolyData
-NumberOfControlPoints:0
-CONNECTION
-Box68:Spacing:Box140:Spacing
+Box42:BoxChange:Box51:BoxExecute
 NumberOfControlPoints:0
 CONNECTION
-Box68:Size:Box140:Dimensions
+Box106:Widget:Box38:Widget4
 NumberOfControlPoints:0
 CONNECTION
-Box68:TypeName:Box140:OutputFormat
+Box98:widget:Box145:Widget4
 NumberOfControlPoints:0
 CONNECTION
-Box140:Out:Box139:InImage
+Box107:_widget:Box145:Widget2
 NumberOfControlPoints:0
 CONNECTION
-Box139:Out:Box142:In
+Box145:Widget:Box38:Widget7
 NumberOfControlPoints:0
 CONNECTION
-Box142:Out:Box141:In
+Box79:Widget:Box146:Widget6
 NumberOfControlPoints:0
 CONNECTION
-Box141:Out:Box143:In
+Box146:Widget:Box40:Widget2
 NumberOfControlPoints:0
 CONNECTION
-Box135:Out:Box136:polydata
+Box82:Widget:Box146:Widget2
 NumberOfControlPoints:0
 CONNECTION
-Box46:Out:Box144:MeshManagerModel
+Box134:Widget:Box147:Widget2
 NumberOfControlPoints:0
 CONNECTION
-Box135:Out:Box144:Mesh
+Box147:Widget:Box146:Widget3
 NumberOfControlPoints:0
 CONNECTION
-Box42:BoxChange:Box144:BoxExecute
+Box42:BoxChange:Box53:In3
 NumberOfControlPoints:0
 APP_END
index 041c1deac6de8c7df55ee5839a89941b436f5078..1169eb39168514938caf1707e6e72cac6d5a7604 100644 (file)
@@ -87,8 +87,6 @@ new std:MagicBox Box66
 
 new std:MagicBox Box67
 
-new creaMaracasVisu:PolyDataToActor_Widget Box48
-
 new vtk:vtkImageDataPointerRelay Box35
 
 new wx:Slider Box34
@@ -147,9 +145,6 @@ new std:MultipleInputs Box53
 
 new std:MultipleInputs Box55
 
-new creaMaracasVisu:MeshContours_Widget Box62
-  set Box62.colorMesh "0 0 1"
-
 new std:MagicBox Box63
 
 new std:MagicBox Box64
@@ -164,7 +159,6 @@ 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
 
@@ -287,37 +281,15 @@ new wx:LayoutLine Box134
   set Box134.Orientation "V"
   set Box134.WinTitle "1.3   Apply Changes"
 
-new creaVtk:CleanMeshWithPatch Box135
-  set Box135.BoxProcessMode "Manual"
-
-new creaMaracasVisu:PolyDataToActor_Widget Box136
-  set Box136.active "true"
-  set Box136.color "1 1 1"
-  set Box136.meshOpacity "100"
-
-new wx:LayoutLine Box137
-  set Box137.WinTitle "Beta"
-
-new wx:CommandButton Box138
-  set Box138.Label "Run"
-
-new creaVtk:PolyDataToImageData Box139
-
-new vtk:CreateImage Box140
-
-new vtk:MarchingCubes Box141
-  set Box141.Value "128"
-
-new vtk:ImageGaussianSmooth Box142
-  set Box142.StdDevX "1"
-  set Box142.StdDevY "1"
-  set Box142.StdDevZ "1"
+new wx:LayoutLine Box145
+  set Box145.Orientation "H"
+  set Box145.WinTitle "Extrusion"
 
-new creaVtk:MeshReduction_DecimatePro Box143
-  set Box143.TargetReduction "0.8"
+new wx:LayoutLine Box146
+  set Box146.Orientation "H"
+  set Box146.WinTitle "New Surface ( Magenta  =  Red+Yellow )"
 
-new creaVtk:MeshManager_tool Box144
-  set Box144.Tool "30"
+new wx:LayoutTab Box147
 
 
 connect Box06.LstContourPointsX Box04.LstX
@@ -349,9 +321,6 @@ connect Box66.Out Box11.Renderer
 connect Box66.Out Box30.Renderer
 connect Box66.Out showNpoints.Renderer
 connect Box67.Out Box77.In1
-connect Box04.Out Box48.polydata
-connect Box66.Out Box48.render
-connect Box48.boxchange Box31.In1
 connect Box35.Out Box68.In
 connect Box68.Spacing Box70.k1
 connect Box35.Out showNpoints.Image
@@ -360,7 +329,6 @@ connect Box36.Out Box30.Opacity
 connect Box34.BoxChange Box31.In2
 connect Box66.Out Box37.render
 connect Box38.Widget Box39.Widget2
-connect Box79.Widget Box40.Widget2
 connect Box46.Out Box45.MeshManagerModel
 connect Box49.OutString Box06.NbPoints
 connect Box45.BoxChange Box51.In2
@@ -372,24 +340,17 @@ connect Box43.BoxChange Box55.BoxExecute
 connect Box52.BoxChange Box55.In2
 connect Box43.BoxChange Box53.In6
 connect Box63.BoxChange showNpoints.BoxExecute
-connect Box63.BoxChange Box62._execute
 connect Box64.Out Box57.wxVtkBaseView2
-connect Box64.Out Box62._wxvtkbaseview2D1
 connect Box65.Out Box57.wxVtkBaseView3
-connect Box65.Out Box62._wxvtkbaseview2D2
 connect Box69.Out Box57.wxVtkBaseView4
-connect Box69.Out Box62._wxvtkbaseview2D3
 connect Box71.Out Box57.wxVtkBaseView
-connect Box71.Out Box62._wxvtkbaseview3D1
 connect Box71.Out Box72._wxvtkbaseview3D1
 connect Box64.Out Box72._wxvtkbaseview2D1
 connect Box65.Out Box72._wxvtkbaseview2D2
 connect Box69.Out Box72._wxvtkbaseview2D3
 connect Box37.widget Box79.Widget4
-connect Box62._widget Box38.Widget7
 connect Box39.Widget Box81.Widget2
 connect Box44.Widget Box82.Widget2
-connect Box82.Widget Box79.Widget2
 connect Box86.Widget Box38.Widget2
 connect Box50.Widget Box86.Widget4
 connect showNpoints.Widget Box86.Widget2
@@ -417,15 +378,12 @@ connect Box105.vtkRenderer Box66.In
 connect Box98.boxchange Box31.In6
 connect Box101.Widget Box102.Widget2
 connect Box102.Widget Box106.Widget2
-connect Box106.Widget Box81.Widget3
 connect Box40.Widget Box81.Widget6
 connect Box66.Out Box98.render
-connect Box04.Out Box62._polydata
 connect Box64.Out Box107._wxvtkbaseview2D1
 connect Box65.Out Box107._wxvtkbaseview2D2
 connect Box69.Out Box107._wxvtkbaseview2D3
 connect Box71.Out Box107._wxvtkbaseview3D1
-connect Box107._widget Box102.Widget6
 connect Box103.BoxChange Box107._execute
 connect Box63.BoxChange Box103.In1
 connect Box67.Out Box60.Mesh
@@ -434,8 +392,6 @@ connect Box109.Out Box107._polydata
 connect Box109.Out Box77.In2
 connect Box96.Out Box110.In
 connect Box72._widget Box79.Widget3
-connect Box98.widget Box102.Widget8
-connect Box48.widget Box38.Widget8
 connect Box58.Out Box111.StringVector
 connect Box111.Out Box57.In
 connect Box57.Out Box112.sk1
@@ -476,33 +432,18 @@ connect Box132.Out Box131.In1
 connect Box132.Out Box130.In1
 connect Box77.Out Box133.In
 connect Box133.Out Box115.In
-connect Box134.Widget Box82.Widget4
 connect Box42.Widget Box134.Widget3
-connect Box67.Out Box135.Mesh
-connect Box04.Out Box135.Patch
-connect showNpoints.lstPointsX Box135.LstX
-connect showNpoints.lstPointsY Box135.LstY
-connect showNpoints.lstPointsZ Box135.LstZ
-connect showNpoints.lstIndexs Box135.LstIndexs
-connect Box66.Out Box136.render
-connect Box136.widget Box137.Widget2
-connect Box137.Widget Box106.Widget4
-connect Box138.Widget Box137.Widget4
-connect Box68.Spacing Box135.Spacing
-connect Box138.BoxChange Box135.BoxExecute
-connect Box135.BoxChange Box136.boxexecute
-connect Box135.Out Box139.InPolyData
-connect Box68.Spacing Box140.Spacing
-connect Box68.Size Box140.Dimensions
-connect Box68.TypeName Box140.OutputFormat
-connect Box140.Out Box139.InImage
-connect Box139.Out Box142.In
-connect Box142.Out Box141.In
-connect Box141.Out Box143.In
-connect Box135.Out Box136.polydata
-connect Box46.Out Box144.MeshManagerModel
-connect Box135.Out Box144.Mesh
-connect Box42.BoxChange Box144.BoxExecute
+connect Box42.BoxChange Box51.BoxExecute
+connect Box106.Widget Box38.Widget4
+connect Box98.widget Box145.Widget4
+connect Box107._widget Box145.Widget2
+connect Box145.Widget Box38.Widget7
+connect Box79.Widget Box146.Widget6
+connect Box146.Widget Box40.Widget2
+connect Box82.Widget Box146.Widget2
+connect Box134.Widget Box147.Widget2
+connect Box147.Widget Box146.Widget3
+connect Box42.BoxChange Box53.In3
 
 # Complex input ports
 input point showNpoints.In " "
diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplyPatchSimple.bbg b/bbtk/bbs/boxes/Mesh_tool_ApplyPatchSimple.bbg
new file mode 100644 (file)
index 0000000..393c957
--- /dev/null
@@ -0,0 +1,1223 @@
+# ----------------------------------
+# - BBTKGEditor v 1.5 BBG BlackBox Diagram file
+# - /Users/davila/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplyPatchSimple.bbg
+# ----------------------------------
+
+APP_START
+CATEGORY:demo
+DESCRIPTION:Show N Points
+AUTHOR:info-dev@creatis.insa-lyon.fr
+COMPLEXBOX:TRUE
+COMPLEXBOXNAME:Mesh_tool_ApplyPatchSimple
+PACKAGENAME:creaMaracasVisu
+COMPLEXOUTPUTS:5
+COMPLEX_PORT
+widget
+-180.910574:-184.919472:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+interactorStyleMaracas
+-307.873556:-187.172927:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+interactorStyleMaracas2
+-300.133711:-186.364707:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+interactorStyleMaracas3
+-293.131686:-185.645050:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+interactorStyleMaracas4
+-285.985042:-186.124821:-900.000000
+FIN_COMPLEX_PORT
+COMPLEXINPUTS:10
+COMPLEX_PORT
+boxChange
+-6.086529:137.355528:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+point
+8.392837:138.613226:-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
+-96.062149:138.883434:-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
+-150.374274:130.740991:-900.000000
+FIN_COMPLEX_PORT
+BOXES:80
+BOX
+creaMaracasVisu:ShowNPoints:showNpoints
+ISEXEC:FALSE
+-20.157943:99.596730:-900.000000
+16.682057:97.096730:-900.000000
+PORT
+Radio:"2"
+PORT
+Type:"4"
+PORT
+WinTitle:"1.1   Splines"
+FIN_BOX
+BOX
+creaVtk:CreateMeshFromPoints:Box04
+ISEXEC:FALSE
+36.572951:11.779111:-900.000000
+59.427951:9.279111:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:ManualContourModel_Box:Box06
+ISEXEC:FALSE
+35.216468:30.364799:-900.000000
+59.736468:27.864799:-900.000000
+PORT
+DoubleContour:"1"
+PORT
+NbPoints:"100"
+PORT
+OpenClose:"false"
+PORT
+OpenClose2:"false"
+FIN_BOX
+BOX
+wx:LayoutLine:Box08
+ISEXEC:FALSE
+-186.730255:-147.861875:-900.000000
+-153.410255:-150.361875:-900.000000
+FIN_BOX
+BOX
+vtk:UpdateRender:Box11
+ISEXEC:FALSE
+-244.631443:-89.264677:-900.000000
+-222.606443:-91.764677:-900.000000
+PORT
+Active:"true"
+FIN_BOX
+BOX
+creaMaracasVisu:DrawAxisTree3D:Box30
+ISEXEC:FALSE
+53.253812:0.984257:-900.000000
+81.293812:-1.515743:-900.000000
+PORT
+Colour:"0 0 1"
+PORT
+LineWidth:"2"
+FIN_BOX
+BOX
+std:MultipleInputs:Box31
+ISEXEC:FALSE
+-257.036910:-81.243816:-900.000000
+-235.066910:-83.743816:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:ManualContourModel_Box:Box29
+ISEXEC:FALSE
+76.240145:29.637449:-900.000000
+100.760145:27.137449:-900.000000
+PORT
+NbPoints:"40"
+PORT
+OpenClose:"false"
+PORT
+OpenClose2:"false"
+FIN_BOX
+BOX
+creaMaracasVisu:wxPopupMenu:Box57
+ISEXEC:FALSE
+-291.724262:77.620511:-900.000000
+-269.659262:75.120511:-900.000000
+PORT
+WithCtrlKey:"true"
+FIN_BOX
+BOX
+std:AddStringToVector:Box58
+ISEXEC:FALSE
+-304.297403:100.641432:-900.000000
+-279.777403:98.141432:-900.000000
+PORT
+In0:"+  Add point"
+PORT
+In1:"(+)  Insert point"
+PORT
+In2:"Track point"
+PORT
+In3:"Set Nearest point"
+PORT
+In4:"-  Erase point"
+PORT
+In5:"--  Delete all points"
+PORT
+In6:"----------------------"
+PORT
+In7:"+>  Insert group after"
+PORT
+In8:"-  Delete group"
+PORT
+In9:"Tool - 3 or 4 points to surface"
+FIN_BOX
+BOX
+creaMaracasVisu:ShowNPoints_Tools:Box60
+ISEXEC:FALSE
+-273.132617:53.934167:-900.000000
+-250.697617:51.434167:-900.000000
+FIN_BOX
+BOX
+vtk:ImageVtkProperties:Box68
+ISEXEC:FALSE
+-111.766259:110.196821:-900.000000
+-89.231259:107.696821:-900.000000
+FIN_BOX
+BOX
+std:VectorFilterDouble:Box70
+ISEXEC:FALSE
+49.750242:60.953814:-900.000000
+76.030242:58.453814:-900.000000
+PORT
+Type:"11"
+FIN_BOX
+BOX
+wx:LayoutLine:Box79
+ISEXEC:FALSE
+-149.516140:-121.109366:-900.000000
+-116.196140:-123.609366:-900.000000
+PORT
+Orientation:"H"
+PORT
+WinTitle:"New Surface ( Magenta  =  Red+Yellow )"
+FIN_BOX
+BOX
+wx:CommandButton:Box80
+ISEXEC:FALSE
+-109.120217:19.160406:-900.000000
+-86.845217:16.660406:-900.000000
+PORT
+Label:"Run"
+FIN_BOX
+BOX
+std:MagicBox:Box66
+ISEXEC:FALSE
+-56.713712:80.848585:-900.000000
+-35.113712:78.348585:-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
+creaMaracasVisu:PolyDataToActor_Widget:Box48
+ISEXEC:FALSE
+21.246336:1.807717:-900.000000
+44.266336:-0.692283:-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
+wx:Slider:Box34
+ISEXEC:FALSE
+-191.390233:59.951574:-900.000000
+-161.590233:57.451574:-900.000000
+PORT
+In:"50"
+PORT
+Label:"true"
+PORT
+Max:"100"
+PORT
+Min:"0"
+PORT
+ReactiveOnTrack:"true"
+PORT
+Title:"Splines Opacity"
+FIN_BOX
+BOX
+std:Div:Box36
+ISEXEC:FALSE
+-183.237285:54.115948:-900.000000
+-162.312285:51.615948:-900.000000
+PORT
+In2:"100"
+FIN_BOX
+BOX
+creaMaracasVisu:PolyDataToActor_Widget:Box37
+ISEXEC:FALSE
+-79.429463:-91.018426:-900.000000
+-56.409463:-93.518426:-900.000000
+PORT
+color:"0 1 1"
+PORT
+meshOpacity:"100"
+FIN_BOX
+BOX
+wx:LayoutLine:Box38
+ISEXEC:FALSE
+-188.899529:-118.915301:-900.000000
+-155.579529:-121.415301:-900.000000
+PORT
+Orientation:"H"
+PORT
+WinTitle:"Interpolated Surface (Yellow)"
+FIN_BOX
+BOX
+wx:LayoutTab:Box39
+ISEXEC:FALSE
+-189.869959:-129.650219:-900.000000
+-156.549959:-132.150219:-900.000000
+FIN_BOX
+BOX
+wx:LayoutTab:Box40
+ISEXEC:FALSE
+-152.959161:-129.398201:-900.000000
+-119.639161:-131.898201:-900.000000
+FIN_BOX
+BOX
+wx:CommandButton:Box42
+ISEXEC:FALSE
+-71.968092:13.771211:-900.000000
+-49.693092:11.271211:-900.000000
+PORT
+Label:"Apply  (Magenta->To Red)"
+FIN_BOX
+BOX
+wx:CommandButton:Box43
+ISEXEC:FALSE
+-80.908052:18.134069:-900.000000
+-58.633052:15.634069:-900.000000
+PORT
+Label:"Reset Tool"
+FIN_BOX
+BOX
+wx:LayoutLine:Box44
+ISEXEC:FALSE
+-150.411517:-42.773495:-900.000000
+-117.091517:-45.273495:-900.000000
+PORT
+Orientation:"V"
+PORT
+WinTitle:"1.3   Mesh Action"
+FIN_BOX
+BOX
+creaVtk:MeshManager_tool:Box45
+ISEXEC:FALSE
+-85.582890:-160.435360:-900.000000
+-63.082890:-162.935360:-900.000000
+PORT
+Tool:"30"
+FIN_BOX
+BOX
+std:MagicBox:Box46
+ISEXEC:FALSE
+-137.131256:113.921532:-900.000000
+-115.531256:111.421532:-900.000000
+FIN_BOX
+BOX
+wx:ComboBox:Box49
+ISEXEC:FALSE
+-175.088364:49.898793:-900.000000
+-148.808364:47.398793:-900.000000
+PORT
+In:"25 50 100 150"
+PORT
+Selection:"0"
+PORT
+Title:"Number of Points"
+FIN_BOX
+BOX
+wx:LayoutLine:Box50
+ISEXEC:FALSE
+-38.991370:-56.737058:-900.000000
+-5.671370:-59.237058:-900.000000
+PORT
+Orientation:"V"
+PORT
+WinTitle:"Config"
+FIN_BOX
+BOX
+std:MultipleInputs:Box51
+ISEXEC:FALSE
+-100.525236:-175.311111:-900.000000
+-78.555236:-177.811111:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:ShowNPoints_Tools:Box52
+ISEXEC:FALSE
+-48.321002:-159.515890:-900.000000
+-25.886002:-162.015890:-900.000000
+PORT
+Type:"120"
+FIN_BOX
+BOX
+std:MultipleInputs:Box53
+ISEXEC:FALSE
+-106.437144:9.391580:-900.000000
+-84.467144:6.891580:-900.000000
+FIN_BOX
+BOX
+std:MultipleInputs:Box55
+ISEXEC:FALSE
+-50.378946:-175.109230:-900.000000
+-28.408946:-177.609230:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:MeshContours_Widget:Box62
+ISEXEC:FALSE
+-6.827699:0.907483:-900.000000
+15.967301:-1.592517:-900.000000
+PORT
+colorMesh:"1 1 0"
+FIN_BOX
+BOX
+std:MagicBox:Box63
+ISEXEC:FALSE
+-8.402303:123.950335:-900.000000
+13.197697:121.450335:-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
+-110.334252:-98.487183:-900.000000
+-87.539252:-100.987183:-900.000000
+PORT
+colorMesh:"0 1 1"
+FIN_BOX
+BOX
+wx:LayoutLine:Box81
+ISEXEC:FALSE
+-180.022846:-140.278086:-900.000000
+-146.702846:-142.778086:-900.000000
+PORT
+WinTitle:"Step 1.   Surface"
+FIN_BOX
+BOX
+wx:LayoutTab:Box82
+ISEXEC:FALSE
+-159.189950:-61.651258:-900.000000
+-125.869950:-64.151258:-900.000000
+FIN_BOX
+BOX
+wx:LayoutTab:Box86
+ISEXEC:FALSE
+-49.397331:-66.195108:-900.000000
+-16.077331:-68.695108:-900.000000
+FIN_BOX
+BOX
+wx:OutputText:Box87
+ISEXEC:FALSE
+-35.032220:-44.152050:-900.000000
+-13.362220:-46.652050:-900.000000
+FIN_BOX
+BOX
+wx:OutputText:Box88
+ISEXEC:FALSE
+-31.367033:-49.235762:-900.000000
+-9.697033:-51.735762:-900.000000
+FIN_BOX
+BOX
+creaVtk:MeshManager:Box92
+ISEXEC:FALSE
+-28.843589:-73.485234:-900.000000
+-6.813589:-75.985234:-900.000000
+FIN_BOX
+BOX
+creaVtk:MeshManager_tool:Box93
+ISEXEC:FALSE
+37.734522:-140.066535:-900.000000
+60.234522:-142.566535:-900.000000
+PORT
+Tool:"35"
+FIN_BOX
+BOX
+creaMaracasVisu:wxVtkBaseView_Info:Box105
+ISEXEC:FALSE
+-238.523609:87.781768:-900.000000
+-211.243609:85.281768:-900.000000
+FIN_BOX
+BOX
+std:AddStringToVector:Box111
+ISEXEC:FALSE
+-301.046687:92.535608:-900.000000
+-276.526687:90.035608:-900.000000
+PORT
+In0:"Tool - Inverse Normals"
+FIN_BOX
+BOX
+std:VectorFilterString:Box112
+ISEXEC:FALSE
+-276.139970:71.814693:-900.000000
+-248.099970:69.314693:-900.000000
+PORT
+In0:"0 1    2   3   4   5   6   7   8       9     10     11"
+PORT
+In1:"1  5  10 20 30 40 50 0  100   110   200   210"
+PORT
+Type:"2"
+FIN_BOX
+BOX
+std:ConcatStrings:Box114
+ISEXEC:FALSE
+-270.706221:65.761298:-900.000000
+-247.946221:63.261298:-900.000000
+FIN_BOX
+BOX
+wx:LayoutLine:Box117
+ISEXEC:FALSE
+-151.143725:-23.208424:-900.000000
+-117.823725:-25.708424:-900.000000
+PORT
+Orientation:"H"
+FIN_BOX
+BOX
+std:AddStringToVector:Box119
+ISEXEC:FALSE
+-303.988262:110.204806:-900.000000
+-279.468262:107.704806:-900.000000
+PORT
+In0:"Auto Add Points (Start/Stop)"
+FIN_BOX
+BOX
+creaMaracasVisu:ShowNPoints_Tools:Box120
+ISEXEC:FALSE
+-380.000207:-26.721711:-900.000000
+-357.455207:-29.221711:-900.000000
+PORT
+BoxProcessMode:"Manual"
+PORT
+Type:"220"
+FIN_BOX
+BOX
+wx:CommandButton:Box121
+ISEXEC:FALSE
+-390.668472:4.266324:-900.000000
+-368.283472:1.766324:-900.000000
+PORT
+Label:"+"
+FIN_BOX
+BOX
+wx:CommandButton:Box127
+ISEXEC:FALSE
+-324.646624:4.307594:-900.000000
+-302.261624:1.807594:-900.000000
+PORT
+Label:"-"
+FIN_BOX
+BOX
+creaMaracasVisu:ShowNPoints_Tools:Box128
+ISEXEC:FALSE
+-328.813882:-27.476919:-900.000000
+-306.268882:-29.976919:-900.000000
+PORT
+BoxProcessMode:"Manual"
+PORT
+Type:"220"
+FIN_BOX
+BOX
+std:ConcatStrings:Box130
+ISEXEC:FALSE
+-377.646633:23.880476:-900.000000
+-354.886633:21.380476:-900.000000
+PORT
+In2:"  1"
+FIN_BOX
+BOX
+std:ConcatStrings:Box131
+ISEXEC:FALSE
+-336.496984:24.204237:-900.000000
+-313.736984:21.704237:-900.000000
+PORT
+In2:"  -1"
+FIN_BOX
+BOX
+std:MultipleInputs:Box126
+ISEXEC:FALSE
+-262.331700:-55.177234:-900.000000
+-240.251700:-57.677234:-900.000000
+FIN_BOX
+BOX
+wx:LayoutLine:Box129
+ISEXEC:FALSE
+-363.353902:-10.160808:-900.000000
+-330.033902:-12.660808:-900.000000
+PORT
+Orientation:"H"
+PORT
+WinTitle:"1.2 Curvature"
+FIN_BOX
+BOX
+std:GetVectorDoubleSubVector:Box132
+ISEXEC:FALSE
+-346.082243:44.049611:-900.000000
+-322.622243:41.549611:-900.000000
+PORT
+ErrorValue:"0"
+PORT
+I:"3"
+PORT
+Size:"3"
+FIN_BOX
+BOX
+wx:LayoutLine:Box134
+ISEXEC:FALSE
+-114.127728:-42.965229:-900.000000
+-80.807728:-45.465229:-900.000000
+PORT
+Orientation:"V"
+PORT
+WinTitle:"1.4   Apply Changes"
+FIN_BOX
+BOX
+creaVtk:CleanMeshWithPatch:Box135
+ISEXEC:FALSE
+8.023021:-73.464728:-900.000000
+30.823021:-75.964728:-900.000000
+FIN_BOX
+BOX
+creaVtk:PolyDataToImageData:Box139
+ISEXEC:FALSE
+39.031558:-100.433303:-900.000000
+61.941558:-102.933303:-900.000000
+FIN_BOX
+BOX
+vtk:CreateImage:Box140
+ISEXEC:FALSE
+41.174011:-91.883830:-900.000000
+63.214011:-94.383830:-900.000000
+FIN_BOX
+BOX
+vtk:MarchingCubes:Box141
+ISEXEC:FALSE
+85.086669:-114.162421:-900.000000
+107.371669:-116.662421:-900.000000
+FIN_BOX
+BOX
+vtk:ImageGaussianSmooth:Box142
+ISEXEC:FALSE
+78.317640:-101.123010:-900.000000
+101.322640:-103.623010:-900.000000
+PORT
+StdDevX:"1"
+PORT
+StdDevY:"1"
+PORT
+StdDevZ:"1"
+FIN_BOX
+BOX
+creaVtk:MeshReduction_DecimatePro:Box143
+ISEXEC:FALSE
+40.721236:-119.806931:-900.000000
+64.326236:-122.306931:-900.000000
+PORT
+BoxProcessMode:"Manual"
+PORT
+TargetReduction:"0.8"
+FIN_BOX
+BOX
+wx:LayoutLine:Box145
+ISEXEC:FALSE
+-184.114856:-99.165135:-900.000000
+-150.794856:-101.665135:-900.000000
+PORT
+Orientation:"H"
+FIN_BOX
+BOX
+wx:LayoutTab:Box146
+ISEXEC:FALSE
+-380.990828:-55.945388:-900.000000
+-347.670828:-58.445388:-900.000000
+FIN_BOX
+BOX
+wx:LayoutLine:Box147
+ISEXEC:FALSE
+-115.155031:-108.866360:-900.000000
+-81.835031:-111.366360:-900.000000
+PORT
+Orientation:"H"
+PORT
+WinTitle:"New Surface ( Magenta  =  Red+Yellow )"
+FIN_BOX
+BOX
+wx:LayoutTab:Box148
+ISEXEC:FALSE
+-118.334415:-63.065363:-900.000000
+-85.014415:-65.565363:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box150
+ISEXEC:FALSE
+-59.811137:-77.415587:-900.000000
+-38.101137:-79.915587:-900.000000
+FIN_BOX
+BOX
+creaVtk:ImageGaussianSmooth2:Box151
+ISEXEC:FALSE
+40.620318:-106.705523:-900.000000
+63.735318:-109.205523:-900.000000
+PORT
+StdDevX:"1"
+PORT
+StdDevY:"1"
+PORT
+StdDevZ:"1"
+FIN_BOX
+BOX
+creaVtk:MarchingCubes2:Box152
+ISEXEC:FALSE
+43.326808:-113.957192:-900.000000
+65.721808:-116.457192:-900.000000
+PORT
+Value:"128"
+FIN_BOX
+BOX
+std:MultipleInputs:Box154
+ISEXEC:FALSE
+44.500333:-130.635183:-900.000000
+66.580333:-133.135183:-900.000000
+FIN_BOX
+CONNECTIONS:164
+CONNECTION
+Box06:LstContourPointsX:Box04:LstX
+NumberOfControlPoints:0
+CONNECTION
+showNpoints:lstIndexs:Box06:LstIndexsIn
+NumberOfControlPoints:0
+CONNECTION
+Box06:LstContourPointsY:Box04:LstY
+NumberOfControlPoints:0
+CONNECTION
+Box06:LstContourPointsZ:Box04:LstZ
+NumberOfControlPoints:0
+CONNECTION
+Box06:LstIndexsOut:Box04:LstIndexs
+NumberOfControlPoints:0
+CONNECTION
+Box30:BoxChange:Box31:In4
+NumberOfControlPoints:0
+CONNECTION
+showNpoints:lstIndexs:Box29:LstIndexsIn
+NumberOfControlPoints:0
+CONNECTION
+Box29:LstContourPointsX:Box30:lstPointX
+NumberOfControlPoints:0
+CONNECTION
+Box29:LstContourPointsY:Box30:lstPointY
+NumberOfControlPoints:0
+CONNECTION
+Box29:LstContourPointsZ:Box30:lstPointZ
+NumberOfControlPoints:0
+CONNECTION
+Box29:LstIndexsOut:Box30:lstIndexs
+NumberOfControlPoints:0
+CONNECTION
+Box31:BoxChange:Box11:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+showNpoints:WidgetShowNPoints:Box60:WidgetShowNPoints
+NumberOfControlPoints:0
+CONNECTION
+Box57:BoxChange:Box60:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box68:Spacing:Box60:Spacing
+NumberOfControlPoints:0
+CONNECTION
+showNpoints:lstPointsX:Box70:In0
+NumberOfControlPoints:0
+CONNECTION
+showNpoints:lstPointsY:Box70:In1
+NumberOfControlPoints:0
+CONNECTION
+showNpoints:lstPointsZ:Box70:In2
+NumberOfControlPoints:0
+CONNECTION
+Box70:Out0:Box06:LstControlPointsX
+NumberOfControlPoints:0
+CONNECTION
+Box70:Out1:Box06:LstControlPointsY
+NumberOfControlPoints:0
+CONNECTION
+Box70:Out2:Box06:LstControlPointsZ
+NumberOfControlPoints:0
+CONNECTION
+Box70:Out0:Box29:LstControlPointsX
+NumberOfControlPoints:0
+CONNECTION
+Box70:Out1:Box29:LstControlPointsY
+NumberOfControlPoints:0
+CONNECTION
+Box70:Out2:Box29:LstControlPointsZ
+NumberOfControlPoints:0
+CONNECTION
+Box08:Widget:widget:widget
+NumberOfControlPoints:0
+CONNECTION
+Box66:Out:Box11:Renderer
+NumberOfControlPoints:0
+CONNECTION
+Box66:Out:Box30:Renderer
+NumberOfControlPoints:0
+CONNECTION
+point:point:showNpoints:In
+NumberOfControlPoints:0
+CONNECTION
+Box66:Out:showNpoints:Renderer
+NumberOfControlPoints:0
+CONNECTION
+mesh:mesh:Box67:In
+NumberOfControlPoints:0
+CONNECTION
+Box04:Out:Box48:polydata
+NumberOfControlPoints:0
+CONNECTION
+Box66:Out:Box48:render
+NumberOfControlPoints:0
+CONNECTION
+Box48:boxchange:Box31:In1
+NumberOfControlPoints:0
+CONNECTION
+image:image:Box35:In
+NumberOfControlPoints:0
+CONNECTION
+Box35:Out:Box68:In
+NumberOfControlPoints:0
+CONNECTION
+Box68:Spacing:Box70:k1
+NumberOfControlPoints:0
+CONNECTION
+Box35:Out:showNpoints:Image
+NumberOfControlPoints:0
+CONNECTION
+Box34:Out:Box36:In1
+NumberOfControlPoints:0
+CONNECTION
+Box36:Out:Box30:Opacity
+NumberOfControlPoints:0
+CONNECTION
+Box34:BoxChange:Box31:In2
+NumberOfControlPoints:0
+CONNECTION
+title:title:Box08:WinTitle
+NumberOfControlPoints:0
+CONNECTION
+Box66:Out:Box37:render
+NumberOfControlPoints:0
+CONNECTION
+Box38:Widget:Box39:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box79:Widget:Box40:Widget2
+NumberOfControlPoints:0
+CONNECTION
+meshmanagermodel:meshmanagermodel:Box46:In
+NumberOfControlPoints:0
+CONNECTION
+Box46:Out:Box45:MeshManagerModel
+NumberOfControlPoints:0
+CONNECTION
+Box49:OutString:Box06:NbPoints
+NumberOfControlPoints:0
+CONNECTION
+Box45:BoxChange:Box51:In2
+NumberOfControlPoints:0
+CONNECTION
+Box52:BoxChange:Box51:In4
+NumberOfControlPoints:0
+CONNECTION
+showNpoints:WidgetShowNPoints:Box52:WidgetShowNPoints
+NumberOfControlPoints:0
+CONNECTION
+Box80:BoxChange:Box53:In2
+NumberOfControlPoints:0
+CONNECTION
+Box43:BoxChange:Box55:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box52:BoxChange:Box55:In2
+NumberOfControlPoints:0
+CONNECTION
+Box43:BoxChange:Box53:In6
+NumberOfControlPoints:0
+CONNECTION
+boxChange:boxChange:Box63:In
+NumberOfControlPoints:0
+CONNECTION
+Box63:BoxChange:showNpoints:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box63:BoxChange:Box62:_execute
+NumberOfControlPoints:0
+CONNECTION
+wxvtkbaseview2:wxvtkbaseview2:Box64:In
+NumberOfControlPoints:0
+CONNECTION
+Box64:Out:Box57:wxVtkBaseView2
+NumberOfControlPoints:0
+CONNECTION
+Box64:Out:Box62:_wxvtkbaseview2D1
+NumberOfControlPoints:0
+CONNECTION
+Box65:Out:Box57:wxVtkBaseView3
+NumberOfControlPoints:0
+CONNECTION
+Box65:Out:Box62:_wxvtkbaseview2D2
+NumberOfControlPoints:0
+CONNECTION
+wxvtkbaseview3:wxvtkbaseview3:Box65:In
+NumberOfControlPoints:0
+CONNECTION
+wxvtkbaseview4:wxvtkbaseview4:Box69:In
+NumberOfControlPoints:0
+CONNECTION
+Box69:Out:Box57:wxVtkBaseView4
+NumberOfControlPoints:0
+CONNECTION
+Box69:Out:Box62:_wxvtkbaseview2D3
+NumberOfControlPoints:0
+CONNECTION
+wxvtkbaseview1:wxvtkbaseview1:Box71:In
+NumberOfControlPoints:0
+CONNECTION
+Box71:Out:Box57:wxVtkBaseView
+NumberOfControlPoints:0
+CONNECTION
+Box71:Out:Box62:_wxvtkbaseview3D1
+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
+Box39:Widget:Box81:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box44:Widget:Box82:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box82:Widget:Box79:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box86:Widget:Box38:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box50:Widget:Box86:Widget4
+NumberOfControlPoints:0
+CONNECTION
+showNpoints:Widget:Box86:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box87:Widget:Box50:Widget8
+NumberOfControlPoints:0
+CONNECTION
+Box88:Widget:Box50:Widget9
+NumberOfControlPoints:0
+CONNECTION
+Box49:Widget:Box50:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box34:Widget:Box50:Widget4
+NumberOfControlPoints:0
+CONNECTION
+Box57:BoxChange:Box08:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box57:InteractorStyleMaracas:interactorStyleMaracas:interactorStyleMaracas
+NumberOfControlPoints:0
+CONNECTION
+Box57:InteractorStyleMaracas2:interactorStyleMaracas2:interactorStyleMaracas2
+NumberOfControlPoints:0
+CONNECTION
+Box57:InteractorStyleMaracas3:interactorStyleMaracas3:interactorStyleMaracas3
+NumberOfControlPoints:0
+CONNECTION
+Box57:InteractorStyleMaracas4:interactorStyleMaracas4:interactorStyleMaracas4
+NumberOfControlPoints:0
+CONNECTION
+Box92:MeshManagerModel:Box93:MeshManagerModel
+NumberOfControlPoints:0
+CONNECTION
+Box92:MeshBase:Box72:_polydata
+NumberOfControlPoints:0
+CONNECTION
+Box92:MeshBase:Box37:polydata
+NumberOfControlPoints:0
+CONNECTION
+Box37:boxchange:Box72:_execute
+NumberOfControlPoints:0
+CONNECTION
+Box81:Widget:Box08:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box71:Out:Box105:wxVtkBaseView
+NumberOfControlPoints:0
+CONNECTION
+Box105:vtkRenderer:Box66:In
+NumberOfControlPoints:0
+CONNECTION
+Box40:Widget:Box81:Widget6
+NumberOfControlPoints:0
+CONNECTION
+Box04:Out:Box62:_polydata
+NumberOfControlPoints:0
+CONNECTION
+Box67:Out:Box60:Mesh
+NumberOfControlPoints:0
+CONNECTION
+Box58:Out:Box111:StringVector
+NumberOfControlPoints:0
+CONNECTION
+Box111:Out:Box57:In
+NumberOfControlPoints:0
+CONNECTION
+Box57:Out:Box112:sk1
+NumberOfControlPoints:0
+CONNECTION
+Box112:Out1:Box114:In1
+NumberOfControlPoints:0
+CONNECTION
+Box114:Out:Box60:Type
+NumberOfControlPoints:0
+CONNECTION
+Box43:Widget:Box44:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box80:Widget:Box117:Widget4
+NumberOfControlPoints:0
+CONNECTION
+Box117:Widget:Box44:Widget3
+NumberOfControlPoints:0
+CONNECTION
+Box119:Out:Box58:StringVector
+NumberOfControlPoints:0
+CONNECTION
+Box68:Spacing:Box120:Spacing
+NumberOfControlPoints:0
+CONNECTION
+showNpoints:WidgetShowNPoints:Box120:WidgetShowNPoints
+NumberOfControlPoints:0
+CONNECTION
+Box121:BoxChange:Box120:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box127:BoxChange:Box128:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box68:Spacing:Box128:Spacing
+NumberOfControlPoints:0
+CONNECTION
+showNpoints:WidgetShowNPoints:Box128:WidgetShowNPoints
+NumberOfControlPoints:0
+CONNECTION
+Box130:Out:Box120:Params
+NumberOfControlPoints:0
+CONNECTION
+Box131:Out:Box128:Params
+NumberOfControlPoints:0
+CONNECTION
+Box120:BoxChange:Box31:In3
+NumberOfControlPoints:0
+CONNECTION
+Box128:BoxChange:Box31:In5
+NumberOfControlPoints:0
+CONNECTION
+showNpoints:BoxChange:Box126:In4
+NumberOfControlPoints:0
+CONNECTION
+Box128:BoxChange:Box126:In2
+NumberOfControlPoints:0
+CONNECTION
+Box120:BoxChange:Box126:In1
+NumberOfControlPoints:0
+CONNECTION
+Box126:BoxChange:Box31:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box127:Widget:Box129:Widget4
+NumberOfControlPoints:0
+CONNECTION
+Box121:Widget:Box129:Widget6
+NumberOfControlPoints:0
+CONNECTION
+Box60:Out:Box132:In
+NumberOfControlPoints:0
+CONNECTION
+Box132:Out:Box131:In1
+NumberOfControlPoints:0
+CONNECTION
+Box132:Out:Box130:In1
+NumberOfControlPoints:0
+CONNECTION
+Box42:Widget:Box134:Widget3
+NumberOfControlPoints:0
+CONNECTION
+Box67:Out:Box135:Mesh
+NumberOfControlPoints:0
+CONNECTION
+Box04:Out:Box135:Patch
+NumberOfControlPoints:0
+CONNECTION
+showNpoints:lstPointsX:Box135:LstX
+NumberOfControlPoints:0
+CONNECTION
+showNpoints:lstPointsY:Box135:LstY
+NumberOfControlPoints:0
+CONNECTION
+showNpoints:lstPointsZ:Box135:LstZ
+NumberOfControlPoints:0
+CONNECTION
+showNpoints:lstIndexs:Box135:LstIndexs
+NumberOfControlPoints:0
+CONNECTION
+Box68:Spacing:Box135:Spacing
+NumberOfControlPoints:0
+CONNECTION
+Box135:Out:Box139:InPolyData
+NumberOfControlPoints:0
+CONNECTION
+Box68:Spacing:Box140:Spacing
+NumberOfControlPoints:0
+CONNECTION
+Box68:Size:Box140:Dimensions
+NumberOfControlPoints:0
+CONNECTION
+Box68:TypeName:Box140:OutputFormat
+NumberOfControlPoints:0
+CONNECTION
+Box140:Out:Box139:InImage
+NumberOfControlPoints:0
+CONNECTION
+Box139:Out:Box142:In
+NumberOfControlPoints:0
+CONNECTION
+Box62:_widget:Box145:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box48:widget:Box145:Widget4
+NumberOfControlPoints:0
+CONNECTION
+Box145:Widget:Box38:Widget8
+NumberOfControlPoints:0
+CONNECTION
+Box129:Widget:Box146:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box146:Widget:Box38:Widget4
+NumberOfControlPoints:0
+CONNECTION
+Box42:BoxChange:Box51:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box72:_widget:Box147:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box37:widget:Box147:Widget4
+NumberOfControlPoints:0
+CONNECTION
+Box147:Widget:Box79:Widget6
+NumberOfControlPoints:0
+CONNECTION
+Box134:Widget:Box148:Widget3
+NumberOfControlPoints:0
+CONNECTION
+Box148:Widget:Box79:Widget4
+NumberOfControlPoints:0
+CONNECTION
+Box143:Out:Box45:Mesh
+NumberOfControlPoints:0
+CONNECTION
+Box143:Out:Box93:Mesh
+NumberOfControlPoints:0
+CONNECTION
+Box53:BoxChange:Box143:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box53:BoxChange:Box150:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box139:Out:Box151:In
+NumberOfControlPoints:0
+CONNECTION
+Box151:Out:Box141:In
+NumberOfControlPoints:0
+CONNECTION
+Box151:Out:Box152:In
+NumberOfControlPoints:0
+CONNECTION
+Box152:Out:Box143:In
+NumberOfControlPoints:0
+CONNECTION
+Box42:BoxChange:Box53:In3
+NumberOfControlPoints:0
+CONNECTION
+Box150:BoxChange:Box37:boxexecute
+NumberOfControlPoints:0
+CONNECTION
+Box150:BoxChange:Box154:In1
+NumberOfControlPoints:0
+CONNECTION
+Box143:BoxChange:Box154:In3
+NumberOfControlPoints:0
+CONNECTION
+Box154:BoxChange:Box93:BoxExecute
+NumberOfControlPoints:0
+APP_END
diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplyPatchSimple.bbs b/bbtk/bbs/boxes/Mesh_tool_ApplyPatchSimple.bbs
new file mode 100644 (file)
index 0000000..624cae1
--- /dev/null
@@ -0,0 +1,439 @@
+# ----------------------------------
+# - BBTKGEditor v 1.5 BBS BlackBox Script (Complex Box)
+# - /Users/davila/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplyPatchSimple.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include creaMaracasVisu
+include creaVtk
+include wx
+include vtk
+include std
+
+define Mesh_tool_ApplyPatchSimple creaMaracasVisu
+
+author "info-dev@creatis.insa-lyon.fr"
+description "Show N Points"
+
+category "demo"
+
+new creaMaracasVisu:ShowNPoints showNpoints
+  set showNpoints.Radio "2"
+  set showNpoints.Type "4"
+  set showNpoints.WinTitle "1.1   Splines"
+
+new creaVtk:CreateMeshFromPoints Box04
+
+new creaMaracasVisu:ManualContourModel_Box Box06
+  set Box06.DoubleContour "1"
+  set Box06.NbPoints "100"
+  set Box06.OpenClose "false"
+  set Box06.OpenClose2 "false"
+
+new wx:LayoutLine Box08
+
+new vtk:UpdateRender Box11
+  set Box11.Active "true"
+
+new creaMaracasVisu:DrawAxisTree3D Box30
+  set Box30.Colour "0 0 1"
+  set Box30.LineWidth "2"
+
+new std:MultipleInputs Box31
+
+new creaMaracasVisu:ManualContourModel_Box Box29
+  set Box29.NbPoints "40"
+  set Box29.OpenClose "false"
+  set Box29.OpenClose2 "false"
+
+new creaMaracasVisu:wxPopupMenu Box57
+  set Box57.WithCtrlKey "true"
+
+new std:AddStringToVector Box58
+  set Box58.In0 "+  Add point"
+  set Box58.In1 "(+)  Insert point"
+  set Box58.In2 "Track point"
+  set Box58.In3 "Set Nearest point"
+  set Box58.In4 "-  Erase point"
+  set Box58.In5 "--  Delete all points"
+  set Box58.In6 "----------------------"
+  set Box58.In7 "+>  Insert group after"
+  set Box58.In8 "-  Delete group"
+  set Box58.In9 "Tool - 3 or 4 points to surface"
+
+new creaMaracasVisu:ShowNPoints_Tools Box60
+
+new vtk:ImageVtkProperties Box68
+
+new std:VectorFilterDouble Box70
+  set Box70.Type "11"
+
+new wx:LayoutLine Box79
+  set Box79.Orientation "H"
+  set Box79.WinTitle "New Surface ( Magenta  =  Red+Yellow )"
+
+new wx:CommandButton Box80
+  set Box80.Label "Run"
+
+new std:MagicBox Box66
+
+new std:MagicBox Box67
+
+new creaMaracasVisu:PolyDataToActor_Widget Box48
+
+new vtk:vtkImageDataPointerRelay Box35
+
+new wx:Slider Box34
+  set Box34.In "50"
+  set Box34.Label "true"
+  set Box34.Max "100"
+  set Box34.Min "0"
+  set Box34.ReactiveOnTrack "true"
+  set Box34.Title "Splines Opacity"
+
+new std:Div Box36
+  set Box36.In2 "100"
+
+new creaMaracasVisu:PolyDataToActor_Widget Box37
+  set Box37.color "0 1 1"
+  set Box37.meshOpacity "100"
+
+new wx:LayoutLine Box38
+  set Box38.Orientation "H"
+  set Box38.WinTitle "Interpolated Surface (Yellow)"
+
+new wx:LayoutTab Box39
+
+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 "1.3   Mesh Action"
+
+new creaVtk:MeshManager_tool Box45
+  set Box45.Tool "30"
+
+new std:MagicBox Box46
+
+new wx:ComboBox Box49
+  set Box49.In "25 50 100 150"
+  set Box49.Selection "0"
+  set Box49.Title "Number of Points"
+
+new wx:LayoutLine Box50
+  set Box50.Orientation "V"
+  set Box50.WinTitle "Config"
+
+new std:MultipleInputs Box51
+
+new creaMaracasVisu:ShowNPoints_Tools Box52
+  set Box52.Type "120"
+
+new std:MultipleInputs Box53
+
+new std:MultipleInputs Box55
+
+new creaMaracasVisu:MeshContours_Widget Box62
+  set Box62.colorMesh "1 1 0"
+
+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:LayoutTab Box86
+
+new wx:OutputText Box87
+
+new wx:OutputText Box88
+
+new creaVtk:MeshManager Box92
+
+new creaVtk:MeshManager_tool Box93
+  set Box93.Tool "35"
+
+new creaMaracasVisu:wxVtkBaseView_Info Box105
+
+new std:AddStringToVector Box111
+  set Box111.In0 "Tool - Inverse Normals"
+
+new std:VectorFilterString Box112
+  set Box112.In0 "0 1    2   3   4   5   6   7   8       9     10     11"
+  set Box112.In1 "1  5  10 20 30 40 50 0  100   110   200   210"
+  set Box112.Type "2"
+
+new std:ConcatStrings Box114
+
+new wx:LayoutLine Box117
+  set Box117.Orientation "H"
+
+new std:AddStringToVector Box119
+  set Box119.In0 "Auto Add Points (Start/Stop)"
+
+new creaMaracasVisu:ShowNPoints_Tools Box120
+  set Box120.BoxProcessMode "Manual"
+  set Box120.Type "220"
+
+new wx:CommandButton Box121
+  set Box121.Label "+"
+
+new wx:CommandButton Box127
+  set Box127.Label "-"
+
+new creaMaracasVisu:ShowNPoints_Tools Box128
+  set Box128.BoxProcessMode "Manual"
+  set Box128.Type "220"
+
+new std:ConcatStrings Box130
+  set Box130.In2 "  1"
+
+new std:ConcatStrings Box131
+  set Box131.In2 "  -1"
+
+new std:MultipleInputs Box126
+
+new wx:LayoutLine Box129
+  set Box129.Orientation "H"
+  set Box129.WinTitle "1.2 Curvature"
+
+new std:GetVectorDoubleSubVector Box132
+  set Box132.ErrorValue "0"
+  set Box132.I "3"
+  set Box132.Size "3"
+
+new wx:LayoutLine Box134
+  set Box134.Orientation "V"
+  set Box134.WinTitle "1.4   Apply Changes"
+
+new creaVtk:CleanMeshWithPatch Box135
+
+new creaVtk:PolyDataToImageData Box139
+
+new vtk:CreateImage Box140
+
+new vtk:MarchingCubes Box141
+
+new vtk:ImageGaussianSmooth Box142
+  set Box142.StdDevX "1"
+  set Box142.StdDevY "1"
+  set Box142.StdDevZ "1"
+
+new creaVtk:MeshReduction_DecimatePro Box143
+  set Box143.BoxProcessMode "Manual"
+  set Box143.TargetReduction "0.8"
+
+new wx:LayoutLine Box145
+  set Box145.Orientation "H"
+
+new wx:LayoutTab Box146
+
+new wx:LayoutLine Box147
+  set Box147.Orientation "H"
+  set Box147.WinTitle "New Surface ( Magenta  =  Red+Yellow )"
+
+new wx:LayoutTab Box148
+
+new std:MagicBox Box150
+
+new creaVtk:ImageGaussianSmooth2 Box151
+  set Box151.StdDevX "1"
+  set Box151.StdDevY "1"
+  set Box151.StdDevZ "1"
+
+new creaVtk:MarchingCubes2 Box152
+  set Box152.Value "128"
+
+new std:MultipleInputs Box154
+
+
+connect Box06.LstContourPointsX Box04.LstX
+connect showNpoints.lstIndexs Box06.LstIndexsIn
+connect Box06.LstContourPointsY Box04.LstY
+connect Box06.LstContourPointsZ Box04.LstZ
+connect Box06.LstIndexsOut Box04.LstIndexs
+connect Box30.BoxChange Box31.In4
+connect showNpoints.lstIndexs Box29.LstIndexsIn
+connect Box29.LstContourPointsX Box30.lstPointX
+connect Box29.LstContourPointsY Box30.lstPointY
+connect Box29.LstContourPointsZ Box30.lstPointZ
+connect Box29.LstIndexsOut Box30.lstIndexs
+connect Box31.BoxChange Box11.BoxExecute
+connect showNpoints.WidgetShowNPoints Box60.WidgetShowNPoints
+connect Box57.BoxChange Box60.BoxExecute
+connect Box68.Spacing Box60.Spacing
+connect showNpoints.lstPointsX Box70.In0
+connect showNpoints.lstPointsY Box70.In1
+connect showNpoints.lstPointsZ Box70.In2
+connect Box70.Out0 Box06.LstControlPointsX
+connect Box70.Out1 Box06.LstControlPointsY
+connect Box70.Out2 Box06.LstControlPointsZ
+connect Box70.Out0 Box29.LstControlPointsX
+connect Box70.Out1 Box29.LstControlPointsY
+connect Box70.Out2 Box29.LstControlPointsZ
+connect Box66.Out Box11.Renderer
+connect Box66.Out Box30.Renderer
+connect Box66.Out showNpoints.Renderer
+connect Box04.Out Box48.polydata
+connect Box66.Out Box48.render
+connect Box48.boxchange Box31.In1
+connect Box35.Out Box68.In
+connect Box68.Spacing Box70.k1
+connect Box35.Out showNpoints.Image
+connect Box34.Out Box36.In1
+connect Box36.Out Box30.Opacity
+connect Box34.BoxChange Box31.In2
+connect Box66.Out Box37.render
+connect Box38.Widget Box39.Widget2
+connect Box79.Widget Box40.Widget2
+connect Box46.Out Box45.MeshManagerModel
+connect Box49.OutString Box06.NbPoints
+connect Box45.BoxChange Box51.In2
+connect Box52.BoxChange Box51.In4
+connect showNpoints.WidgetShowNPoints Box52.WidgetShowNPoints
+connect Box80.BoxChange Box53.In2
+connect Box43.BoxChange Box55.BoxExecute
+connect Box52.BoxChange Box55.In2
+connect Box43.BoxChange Box53.In6
+connect Box63.BoxChange showNpoints.BoxExecute
+connect Box63.BoxChange Box62._execute
+connect Box64.Out Box57.wxVtkBaseView2
+connect Box64.Out Box62._wxvtkbaseview2D1
+connect Box65.Out Box57.wxVtkBaseView3
+connect Box65.Out Box62._wxvtkbaseview2D2
+connect Box69.Out Box57.wxVtkBaseView4
+connect Box69.Out Box62._wxvtkbaseview2D3
+connect Box71.Out Box57.wxVtkBaseView
+connect Box71.Out Box62._wxvtkbaseview3D1
+connect Box71.Out Box72._wxvtkbaseview3D1
+connect Box64.Out Box72._wxvtkbaseview2D1
+connect Box65.Out Box72._wxvtkbaseview2D2
+connect Box69.Out Box72._wxvtkbaseview2D3
+connect Box39.Widget Box81.Widget2
+connect Box44.Widget Box82.Widget2
+connect Box82.Widget Box79.Widget2
+connect Box86.Widget Box38.Widget2
+connect Box50.Widget Box86.Widget4
+connect showNpoints.Widget Box86.Widget2
+connect Box87.Widget Box50.Widget8
+connect Box88.Widget Box50.Widget9
+connect Box49.Widget Box50.Widget2
+connect Box34.Widget Box50.Widget4
+connect Box57.BoxChange Box08.BoxExecute
+connect Box92.MeshManagerModel Box93.MeshManagerModel
+connect Box92.MeshBase Box72._polydata
+connect Box92.MeshBase Box37.polydata
+connect Box37.boxchange Box72._execute
+connect Box81.Widget Box08.Widget2
+connect Box71.Out Box105.wxVtkBaseView
+connect Box105.vtkRenderer Box66.In
+connect Box40.Widget Box81.Widget6
+connect Box04.Out Box62._polydata
+connect Box67.Out Box60.Mesh
+connect Box58.Out Box111.StringVector
+connect Box111.Out Box57.In
+connect Box57.Out Box112.sk1
+connect Box112.Out1 Box114.In1
+connect Box114.Out Box60.Type
+connect Box43.Widget Box44.Widget1
+connect Box80.Widget Box117.Widget4
+connect Box117.Widget Box44.Widget3
+connect Box119.Out Box58.StringVector
+connect Box68.Spacing Box120.Spacing
+connect showNpoints.WidgetShowNPoints Box120.WidgetShowNPoints
+connect Box121.BoxChange Box120.BoxExecute
+connect Box127.BoxChange Box128.BoxExecute
+connect Box68.Spacing Box128.Spacing
+connect showNpoints.WidgetShowNPoints Box128.WidgetShowNPoints
+connect Box130.Out Box120.Params
+connect Box131.Out Box128.Params
+connect Box120.BoxChange Box31.In3
+connect Box128.BoxChange Box31.In5
+connect showNpoints.BoxChange Box126.In4
+connect Box128.BoxChange Box126.In2
+connect Box120.BoxChange Box126.In1
+connect Box126.BoxChange Box31.BoxExecute
+connect Box127.Widget Box129.Widget4
+connect Box121.Widget Box129.Widget6
+connect Box60.Out Box132.In
+connect Box132.Out Box131.In1
+connect Box132.Out Box130.In1
+connect Box42.Widget Box134.Widget3
+connect Box67.Out Box135.Mesh
+connect Box04.Out Box135.Patch
+connect showNpoints.lstPointsX Box135.LstX
+connect showNpoints.lstPointsY Box135.LstY
+connect showNpoints.lstPointsZ Box135.LstZ
+connect showNpoints.lstIndexs Box135.LstIndexs
+connect Box68.Spacing Box135.Spacing
+connect Box135.Out Box139.InPolyData
+connect Box68.Spacing Box140.Spacing
+connect Box68.Size Box140.Dimensions
+connect Box68.TypeName Box140.OutputFormat
+connect Box140.Out Box139.InImage
+connect Box139.Out Box142.In
+connect Box62._widget Box145.Widget2
+connect Box48.widget Box145.Widget4
+connect Box145.Widget Box38.Widget8
+connect Box129.Widget Box146.Widget2
+connect Box146.Widget Box38.Widget4
+connect Box42.BoxChange Box51.BoxExecute
+connect Box72._widget Box147.Widget2
+connect Box37.widget Box147.Widget4
+connect Box147.Widget Box79.Widget6
+connect Box134.Widget Box148.Widget3
+connect Box148.Widget Box79.Widget4
+connect Box143.Out Box45.Mesh
+connect Box143.Out Box93.Mesh
+connect Box53.BoxChange Box143.BoxExecute
+connect Box53.BoxChange Box150.BoxExecute
+connect Box139.Out Box151.In
+connect Box151.Out Box141.In
+connect Box151.Out Box152.In
+connect Box152.Out Box143.In
+connect Box42.BoxChange Box53.In3
+connect Box150.BoxChange Box37.boxexecute
+connect Box150.BoxChange Box154.In1
+connect Box143.BoxChange Box154.In3
+connect Box154.BoxChange Box93.BoxExecute
+
+# Complex input ports
+input point showNpoints.In " "
+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 " "
+output interactorStyleMaracas Box57.InteractorStyleMaracas " "
+output interactorStyleMaracas2 Box57.InteractorStyleMaracas2 " "
+output interactorStyleMaracas3 Box57.InteractorStyleMaracas3 " "
+output interactorStyleMaracas4 Box57.InteractorStyleMaracas4 " "
+
+
+endefine
index fe0675708952acdfb7294b01ec7f80984f7196ca..57050f2e6cc657ad324f21aeb203166d59a998de 100644 (file)
@@ -16,7 +16,7 @@ widget
 31.496471:-49.500047:-900.000000
 FIN_COMPLEX_PORT
 COMPLEXINPUTS:0
-BOXES:26
+BOXES:11
 BOX
 std:StringSelect:Box09
 ISEXEC:FALSE
@@ -33,31 +33,23 @@ BOX
 wx:LayoutLine:Box10
 ISEXEC:FALSE
 29.171044:-22.567013:-900.000000
-50.831044:-25.067013:-900.000000
+62.491044:-25.067013:-900.000000
 PORT
 Orientation:"V"
 FIN_BOX
 BOX
 std:ConcatStrings:Box11
 ISEXEC:FALSE
--36.547295:10.222482:-900.000000
--13.787295:7.722482:-900.000000
+43.226534:9.783608:-900.000000
+65.986534:7.283608:-900.000000
 PORT
-In2:"https&&2P&&//www.youtube.com/playlist?list=PLQN4UjAcVj8QX1uEVrW-EWB9iA4EsrPrF"
-FIN_BOX
-BOX
-std:ConcatStrings:Box12
-ISEXEC:FALSE
-58.079651:9.843039:-900.000000
-80.049651:7.343039:-900.000000
-PORT
-In2:"https&&2P&&//youtu.be/KQpokJXT_hA"
+In2:"https&&2P&&//www.creatis.insa-lyon.fr/~davila/sky/sky-Lyon.html"
 FIN_BOX
 BOX
 std:ExecSystemCommand:Box13
 ISEXEC:FALSE
--41.773827:2.690127:-900.000000
--18.938827:0.190127:-900.000000
+30.527887:0.765832:-900.000000
+53.362887:-1.734168:-900.000000
 FIN_BOX
 BOX
 std:Configuration:Box14
@@ -68,112 +60,32 @@ FIN_BOX
 BOX
 wx:CommandButton:Box15
 ISEXEC:FALSE
--51.734245:14.603546:-900.000000
--29.459245:12.103546:-900.000000
-PORT
-Label:"video 1   General Tool"
-FIN_BOX
-BOX
-wx:CommandButton:Box16
-ISEXEC:FALSE
-55.235802:15.146431:-900.000000
-77.510802:12.646431:-900.000000
+24.618616:16.381549:-900.000000
+46.893616:13.881549:-900.000000
 PORT
-Label:"video 1.2   Cut Tool"
-FIN_BOX
-BOX
-std:ExecSystemCommand:Box17
-ISEXEC:FALSE
-57.311042:2.310683:-900.000000
-80.146042:-0.189317:-900.000000
+Label:"Open tutorials page"
 FIN_BOX
 BOX
 std:ConcatStrings:Box18
 ISEXEC:FALSE
--4.166231:8.925570:-900.000000
-22.760000:6.425570:-900.000000
+102.041330:7.935290:-900.000000
+124.801330:5.435290:-900.000000
 PORT
 In2:"https&&2P&&//youtu.be/VtBAtlMufDc"
 FIN_BOX
 BOX
 wx:CommandButton:Box19
 ISEXEC:FALSE
--12.774638:14.459544:-900.000000
-21.000000:11.959544:-900.000000
+95.908623:17.070283:-900.000000
+118.183623:14.570283:-900.000000
 PORT
-Label:"video 1.1.1  Surface from 3 or 4 pointsTool"
+Label:"Run Video"
 FIN_BOX
 BOX
 std:ExecSystemCommand:Box20
 ISEXEC:FALSE
--7.932410:2.315543:-900.000000
-14.902590:-0.184457:-900.000000
-FIN_BOX
-BOX
-std:ConcatStrings:Box21
-ISEXEC:FALSE
-26.973720:9.545316:-900.000000
-48.943720:7.045316:-900.000000
-PORT
-In2:"https&&2P&&//youtu.be/JB2otNTfWU0"
-FIN_BOX
-BOX
-wx:CommandButton:Box22
-ISEXEC:FALSE
-18.365314:15.079290:-900.000000
-40.640314:12.579290:-900.000000
-PORT
-Label:"video 1.1.2   Surface Patch Tool"
-FIN_BOX
-BOX
-std:ExecSystemCommand:Box23
-ISEXEC:FALSE
-23.207542:2.935289:-900.000000
-46.042542:0.435289:-900.000000
-FIN_BOX
-BOX
-std:ConcatStrings:Box24
-ISEXEC:FALSE
-152.929168:8.446843:-900.000000
-174.899168:5.946843:-900.000000
-PORT
-In2:"https&&2P&&//youtu.be/kHwBMocVmqU"
-FIN_BOX
-BOX
-wx:CommandButton:Box25
-ISEXEC:FALSE
-150.085319:13.750235:-900.000000
-172.360319:11.250235:-900.000000
-PORT
-Label:"video 1.5   Deformation Tool"
-FIN_BOX
-BOX
-std:ExecSystemCommand:Box26
-ISEXEC:FALSE
-152.160560:0.914487:-900.000000
-174.995560:-1.585513:-900.000000
-FIN_BOX
-BOX
-std:ConcatStrings:Box27
-ISEXEC:FALSE
-188.219601:10.680665:-900.000000
-210.189601:8.180665:-900.000000
-PORT
-In2:"https&&2P&&//youtu.be/hHqvZXvQIqs"
-FIN_BOX
-BOX
-wx:CommandButton:Box28
-ISEXEC:FALSE
-185.375752:15.984058:-900.000000
-207.650752:13.484058:-900.000000
-PORT
-Label:"video 1.6   External Mask Tool"
-FIN_BOX
-BOX
-std:ExecSystemCommand:Box29
-ISEXEC:FALSE
-187.450993:3.148309:-900.000000
-210.285993:0.648309:-900.000000
+98.275151:1.325263:-900.000000
+121.110151:-1.174737:-900.000000
 FIN_BOX
 BOX
 wx:OutputText:Box30
@@ -189,36 +101,11 @@ ISEXEC:FALSE
 PORT
 WinTitle:"Help"
 FIN_BOX
-BOX
-std:ConcatStrings:Box32
-ISEXEC:FALSE
-93.653939:10.698401:-900.000000
-115.623939:8.198401:-900.000000
-PORT
-In2:"https&&2P&&//youtu.be/_Wva8ZcqdU8"
-FIN_BOX
-BOX
-wx:CommandButton:Box33
-ISEXEC:FALSE
-90.810090:16.001793:-900.000000
-113.085090:13.501793:-900.000000
-PORT
-Label:"video 1.3   Patch Tool"
-FIN_BOX
-BOX
-std:ExecSystemCommand:Box34
-ISEXEC:FALSE
-92.885330:3.166045:-900.000000
-115.720330:0.666045:-900.000000
-FIN_BOX
-CONNECTIONS:32
+CONNECTIONS:12
 CONNECTION
 Box09:Out:Box11:In1
 NumberOfControlPoints:0
 CONNECTION
-Box09:Out:Box12:In1
-NumberOfControlPoints:0
-CONNECTION
 Box11:Out:Box13:In
 NumberOfControlPoints:0
 CONNECTION
@@ -228,12 +115,6 @@ CONNECTION
 Box15:BoxChange:Box13:BoxExecute
 NumberOfControlPoints:0
 CONNECTION
-Box16:BoxChange:Box17:BoxExecute
-NumberOfControlPoints:0
-CONNECTION
-Box12:Out:Box17:In
-NumberOfControlPoints:0
-CONNECTION
 Box19:BoxChange:Box20:BoxExecute
 NumberOfControlPoints:0
 CONNECTION
@@ -243,39 +124,6 @@ CONNECTION
 Box09:Out:Box18:In1
 NumberOfControlPoints:0
 CONNECTION
-Box22:BoxChange:Box23:BoxExecute
-NumberOfControlPoints:0
-CONNECTION
-Box21:Out:Box23:In
-NumberOfControlPoints:0
-CONNECTION
-Box09:Out:Box21:In1
-NumberOfControlPoints:0
-CONNECTION
-Box25:BoxChange:Box26:BoxExecute
-NumberOfControlPoints:0
-CONNECTION
-Box24:Out:Box26:In
-NumberOfControlPoints:0
-CONNECTION
-Box09:Out:Box24:In1
-NumberOfControlPoints:0
-CONNECTION
-Box28:BoxChange:Box29:BoxExecute
-NumberOfControlPoints:0
-CONNECTION
-Box27:Out:Box29:In
-NumberOfControlPoints:0
-CONNECTION
-Box09:Out:Box27:In1
-NumberOfControlPoints:0
-CONNECTION
-Box28:Widget:Box10:Widget8
-NumberOfControlPoints:0
-CONNECTION
-Box25:Widget:Box10:Widget7
-NumberOfControlPoints:0
-CONNECTION
 Box30:Widget:Box10:Widget1
 NumberOfControlPoints:0
 CONNECTION
@@ -285,27 +133,9 @@ CONNECTION
 Box10:Widget:Box31:Widget2
 NumberOfControlPoints:0
 CONNECTION
-Box33:BoxChange:Box34:BoxExecute
-NumberOfControlPoints:0
-CONNECTION
-Box32:Out:Box34:In
-NumberOfControlPoints:0
-CONNECTION
-Box09:Out:Box32:In1
-NumberOfControlPoints:0
-CONNECTION
 Box15:Widget:Box10:Widget2
 NumberOfControlPoints:0
 CONNECTION
 Box19:Widget:Box10:Widget3
 NumberOfControlPoints:0
-CONNECTION
-Box22:Widget:Box10:Widget4
-NumberOfControlPoints:0
-CONNECTION
-Box16:Widget:Box10:Widget5
-NumberOfControlPoints:0
-CONNECTION
-Box33:Widget:Box10:Widget6
-NumberOfControlPoints:0
 APP_END
index c165344fb3080d6d283a36471fd35dc715f853dc..92f5357348e467df4ac31b2ec3e3e38db7ef3612 100644 (file)
@@ -24,100 +24,40 @@ new wx:LayoutLine Box10
   set Box10.Orientation "V"
 
 new std:ConcatStrings Box11
-  set Box11.In2 "https://www.youtube.com/playlist?list=PLQN4UjAcVj8QX1uEVrW-EWB9iA4EsrPrF"
-
-new std:ConcatStrings Box12
-  set Box12.In2 "https://youtu.be/KQpokJXT_hA"
+  set Box11.In2 "https://www.creatis.insa-lyon.fr/~davila/sky/sky-Lyon.html"
 
 new std:ExecSystemCommand Box13
 
 new std:Configuration Box14
 
 new wx:CommandButton Box15
-  set Box15.Label "video 1   General Tool"
-
-new wx:CommandButton Box16
-  set Box16.Label "video 1.2   Cut Tool"
-
-new std:ExecSystemCommand Box17
+  set Box15.Label "Open tutorials page"
 
 new std:ConcatStrings Box18
   set Box18.In2 "https://youtu.be/VtBAtlMufDc"
 
 new wx:CommandButton Box19
-  set Box19.Label "video 1.1.1  Surface from 3 or 4 pointsTool"
+  set Box19.Label "Run Video"
 
 new std:ExecSystemCommand Box20
 
-new std:ConcatStrings Box21
-  set Box21.In2 "https://youtu.be/JB2otNTfWU0"
-
-new wx:CommandButton Box22
-  set Box22.Label "video 1.1.2   Surface Patch Tool"
-
-new std:ExecSystemCommand Box23
-
-new std:ConcatStrings Box24
-  set Box24.In2 "https://youtu.be/kHwBMocVmqU"
-
-new wx:CommandButton Box25
-  set Box25.Label "video 1.5   Deformation Tool"
-
-new std:ExecSystemCommand Box26
-
-new std:ConcatStrings Box27
-  set Box27.In2 "https://youtu.be/hHqvZXvQIqs"
-
-new wx:CommandButton Box28
-  set Box28.Label "video 1.6   External Mask Tool"
-
-new std:ExecSystemCommand Box29
-
 new wx:OutputText Box30
 
 new wx:LayoutCenter Box31
   set Box31.WinTitle "Help"
 
-new std:ConcatStrings Box32
-  set Box32.In2 "https://youtu.be/_Wva8ZcqdU8"
-
-new wx:CommandButton Box33
-  set Box33.Label "video 1.3   Patch Tool"
-
-new std:ExecSystemCommand Box34
-
 
 connect Box09.Out Box11.In1
-connect Box09.Out Box12.In1
 connect Box11.Out Box13.In
 connect Box14.SystemType Box09.In
 connect Box15.BoxChange Box13.BoxExecute
-connect Box16.BoxChange Box17.BoxExecute
-connect Box12.Out Box17.In
 connect Box19.BoxChange Box20.BoxExecute
 connect Box18.Out Box20.In
 connect Box09.Out Box18.In1
-connect Box22.BoxChange Box23.BoxExecute
-connect Box21.Out Box23.In
-connect Box09.Out Box21.In1
-connect Box25.BoxChange Box26.BoxExecute
-connect Box24.Out Box26.In
-connect Box09.Out Box24.In1
-connect Box28.BoxChange Box29.BoxExecute
-connect Box27.Out Box29.In
-connect Box09.Out Box27.In1
-connect Box28.Widget Box10.Widget8
-connect Box25.Widget Box10.Widget7
 connect Box30.Widget Box10.Widget1
 connect Box10.Widget Box31.Widget2
-connect Box33.BoxChange Box34.BoxExecute
-connect Box32.Out Box34.In
-connect Box09.Out Box32.In1
 connect Box15.Widget Box10.Widget2
 connect Box19.Widget Box10.Widget3
-connect Box22.Widget Box10.Widget4
-connect Box16.Widget Box10.Widget5
-connect Box33.Widget Box10.Widget6
 
 # Complex input ports
 
index 10294178b3b3b7bbeab18a0de582f1b771f8eb9e..ae720aea010c5fc686a5df12bc14f48688082c30 100644 (file)
@@ -879,7 +879,7 @@ void WidgetShowNPoints::MovePoint_(double step)
                 p[0] = x * aux_mesh_spc[0];
                 p[1] = y * aux_mesh_spc[1];
                 p[2] = z * aux_mesh_spc[2];
-                int idMeshPoint = pointLocator->FindClosestPoint(p);
+                long int idMeshPoint = pointLocator->FindClosestPoint(p);
                 aux_mesh->GetPointData()->GetNormals()->GetTuple(idMeshPoint, normal);
                 int direction = step;
 //                pN[0] = p[0] / spc[0] + direction*normal[0];