]> Creatis software - creaMaracasVisu.git/commitdiff
#3534 Mesh_Application optimization
authorEduardo DAVILA <davila@creatis.insa-lyon.fr>
Thu, 10 Aug 2023 16:33:14 +0000 (18:33 +0200)
committerEduardo DAVILA <davila@creatis.insa-lyon.fr>
Thu, 10 Aug 2023 16:33:14 +0000 (18:33 +0200)
23 files changed:
bbtk/bbs/boxes/FreePlane.bbg
bbtk/bbs/boxes/MeshContours.bbg
bbtk/bbs/boxes/MeshContours.bbs
bbtk/bbs/boxes/MeshContours_Widget.bbg
bbtk/bbs/boxes/Mesh_Application.bbg
bbtk/bbs/boxes/Mesh_Application.bbs
bbtk/bbs/boxes/Mesh_tool_ApplyCut.bbg
bbtk/bbs/boxes/Mesh_tool_ApplyCut.bbs
bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbg
bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbs
bbtk/bbs/boxes/Mesh_tool_ApplyPatchSimple.bbg
bbtk/bbs/boxes/Mesh_tool_ApplyPatchSimple.bbs
bbtk/bbs/boxes/Mesh_tool_ApplyRegionGrowing.bbg
bbtk/bbs/boxes/Mesh_tool_ApplyRegionGrowing.bbs
bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbg
bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbs
bbtk/bbs/boxes/PolyDataToActor_Widget.bbg
bbtk/bbs/boxes/PolyDataToActor_Widget.bbs
bbtk/src/bbcreaMaracasVisuwxVtkBaseView_Info.cxx
bbtk/src/bbcreaMaracasVisuwxVtkBaseView_Info.h
bbtk/src/bbmaracasvisuShowNPoints.cxx
bbtk/src/bbmaracasvisuViewerNV.cxx
bbtk/src/bbmaracasvisuViewerNV.h

index 772f3af18890a5e88587bcf4b342f8c1c170f6cc..14aa48d599137441c88715a8dba9ae2d59aa0601 100644 (file)
@@ -90,8 +90,8 @@ FIN_BOX
 BOX
 creaMaracasVisu:ImageActor:Box04
 ISEXEC:FALSE
--78.731815:15.867406:-900.000000
--56.936815:13.367406:-900.000000
+-77.981631:16.054952:-900.000000
+-56.186631:13.554952:-900.000000
 PORT
 InterpolationMode:"1"
 PORT
@@ -158,8 +158,8 @@ FIN_BOX
 BOX
 wx:CheckBox:Box14
 ISEXEC:FALSE
--54.604186:35.015661:-900.000000
--32.974186:32.515661:-900.000000
+-54.041548:34.828115:-900.000000
+-32.411548:32.328115:-900.000000
 PORT
 Title:"Pivot plane"
 FIN_BOX
index 88a19e37076e9c9536012eae76e12d27ac927945..bb80f26436ee370d43c1e6f618422c86a866ef01 100644 (file)
@@ -79,7 +79,7 @@ BOX
 vtk:PolyDataToActor:Box24
 ISEXEC:FALSE
 -256.153582:-145.843906:-900.000000
--229.873582:-148.343906:-900.000000
+-228.113582:-148.343906:-900.000000
 PORT
 Colour:"1 1 1"
 PORT
@@ -91,7 +91,7 @@ BOX
 vtk:ImageVtkProperties:Box26
 ISEXEC:FALSE
 -131.630613:-71.885173:-900.000000
-16.720000:-74.385173:-900.000000
+-109.095613:-74.385173:-900.000000
 FIN_BOX
 BOX
 std:MathOperationVector:Box27
@@ -118,8 +118,8 @@ FIN_BOX
 BOX
 vtk:PolyDataToActor:Box31
 ISEXEC:FALSE
--169.851083:-142.025927:-900.000000
--143.571083:-144.525927:-900.000000
+-165.607479:-143.024422:-900.000000
+-137.567479:-145.524422:-900.000000
 PORT
 Colour:"1 1 1"
 PORT
@@ -137,7 +137,7 @@ BOX
 creaVtk:Plane:Box33
 ISEXEC:FALSE
 -88.686880:-131.539384:-900.000000
-8.680000:-134.039384:-900.000000
+-67.521880:-134.039384:-900.000000
 PORT
 Normal:"0 1 0"
 FIN_BOX
@@ -145,7 +145,7 @@ BOX
 vtk:PolyDataToActor:Box34
 ISEXEC:FALSE
 -95.567784:-153.601058:-900.000000
-26.280000:-156.101058:-900.000000
+-67.527784:-156.101058:-900.000000
 PORT
 Colour:"1 1 1"
 PORT
@@ -157,13 +157,13 @@ BOX
 creaMaracasVisu:wxVtkBaseView_Info:Box35
 ISEXEC:FALSE
 -139.080784:-47.612451:-900.000000
-27.280000:-50.112451:-900.000000
+-111.800784:-50.112451:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box36
 ISEXEC:FALSE
 -200.267056:-23.399171:-900.000000
-8.680000:-25.899171:-900.000000
+-178.667056:-25.899171:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box38
@@ -175,25 +175,25 @@ BOX
 creaMaracasVisu:wxVtkBaseView_Info:Box39
 ISEXEC:FALSE
 -103.447021:-49.610017:-900.000000
-27.280000:-52.110017:-900.000000
+-76.167021:-52.110017:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:wxVtkBaseView_Info:Box40
 ISEXEC:FALSE
 -69.513133:-46.919231:-900.000000
-27.280000:-49.419231:-900.000000
+-42.233133:-49.419231:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:wxVtkBaseView_Info:Box44
 ISEXEC:FALSE
 -11.979547:-46.964556:-900.000000
-27.280000:-49.464556:-900.000000
+15.300453:-49.464556:-900.000000
 FIN_BOX
 BOX
 vtk:PolyDataToActor:Box48
 ISEXEC:FALSE
 -15.713558:-152.281987:-900.000000
-26.280000:-154.781987:-900.000000
+12.326442:-154.781987:-900.000000
 PORT
 Colour:"1 1 1"
 PORT
@@ -205,7 +205,7 @@ BOX
 vtk:PolyDataToActor:Box49
 ISEXEC:FALSE
 -7.268940:-159.136559:-900.000000
-26.280000:-161.636559:-900.000000
+20.771060:-161.636559:-900.000000
 PORT
 Colour:"1 1 1"
 PORT
@@ -217,7 +217,7 @@ BOX
 vtk:PolyDataToActor:Box50
 ISEXEC:FALSE
 -2.705157:-164.548716:-900.000000
-26.280000:-167.048716:-900.000000
+25.334843:-167.048716:-900.000000
 PORT
 Colour:"1 1 1"
 PORT
@@ -229,7 +229,7 @@ BOX
 std:MultipleInputs:Box55
 ISEXEC:FALSE
 -191.492204:-71.150959:-900.000000
-21.000000:-73.650959:-900.000000
+-169.522204:-73.650959:-900.000000
 FIN_BOX
 BOX
 vtk:UpdateRender:Box57
@@ -243,7 +243,7 @@ BOX
 vtk:UpdateRender:Box58
 ISEXEC:FALSE
 -73.806243:-181.922347:-900.000000
-8.680000:-184.422347:-900.000000
+-51.781243:-184.422347:-900.000000
 PORT
 Active:"true"
 FIN_BOX
@@ -251,7 +251,7 @@ BOX
 vtk:UpdateRender:Box59
 ISEXEC:FALSE
 -170.765522:-180.588872:-900.000000
-8.680000:-183.088872:-900.000000
+-148.740522:-183.088872:-900.000000
 PORT
 Active:"true"
 FIN_BOX
@@ -259,7 +259,7 @@ BOX
 vtk:UpdateRender:Box60
 ISEXEC:FALSE
 -253.791671:-181.469186:-900.000000
-8.680000:-183.969186:-900.000000
+-231.766671:-183.969186:-900.000000
 PORT
 Active:"true"
 FIN_BOX
@@ -285,21 +285,21 @@ BOX
 std:MagicBox:Box46
 ISEXEC:FALSE
 -167.099860:-23.964075:-900.000000
-8.680000:-26.464075:-900.000000
+-145.499860:-26.464075:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box47
 ISEXEC:FALSE
 -38.591456:-70.028246:-900.000000
-8.680000:-72.528246:-900.000000
+-16.991456:-72.528246:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box51
 ISEXEC:FALSE
 -64.634469:-27.918927:-900.000000
-8.680000:-30.418927:-900.000000
+-43.034469:-30.418927:-900.000000
 FIN_BOX
-CONNECTIONS:78
+CONNECTIONS:82
 CONNECTION
 Box23:Out:Box22:ImplicitFunction
 NumberOfControlPoints:0
@@ -534,4 +534,16 @@ NumberOfControlPoints:0
 CONNECTION
 Box51:Out:Box49:LineWidth
 NumberOfControlPoints:0
+CONNECTION
+Box46:Out:Box60:Active
+NumberOfControlPoints:0
+CONNECTION
+Box46:Out:Box59:Active
+NumberOfControlPoints:0
+CONNECTION
+Box46:Out:Box58:Active
+NumberOfControlPoints:0
+CONNECTION
+Box46:Out:Box57:Active
+NumberOfControlPoints:0
 APP_END
index d537a38709699336bd490ef8846ee6d5e63170f6..b6e433b8c52f7a801e41f978f107beceda4e7203 100644 (file)
@@ -172,6 +172,10 @@ connect Box51.Out Box31.LineWidth
 connect Box51.Out Box34.LineWidth
 connect Box51.Out Box50.LineWidth
 connect Box51.Out Box49.LineWidth
+connect Box46.Out Box60.Active
+connect Box46.Out Box59.Active
+connect Box46.Out Box58.Active
+connect Box46.Out Box57.Active
 
 # Complex input ports
 input polydata Box38.In " "
index fe0003a0d2789a10ab382ab8327cd1c172cb5924..e5d9cb0221fd0be497aea4bf5473baf2562458eb 100644 (file)
@@ -30,11 +30,11 @@ FIN_COMPLEX_PORT
 COMPLEXINPUTS:7
 COMPLEX_PORT
 _polydata
--158.538863:31.493286:-900.000000
+-141.489226:31.493286:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 _execute
--176.454173:31.800929:-900.000000
+-167.577089:32.646366:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 _wxvtkbaseview2D1
@@ -54,20 +54,20 @@ _wxvtkbaseview3D1
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 colorMesh
--168.291265:32.654278:-900.000000
+-194.499798:33.358808:-900.000000
 FIN_COMPLEX_PORT
 BOXES:10
 BOX
 std:MagicBox:Box36
 ISEXEC:FALSE
--193.351687:20.820535:-900.000000
--171.751687:18.320535:-900.000000
+-173.343022:20.256911:-900.000000
+-151.743022:17.756911:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box38
 ISEXEC:FALSE
--146.270148:21.859683:-900.000000
--124.670148:19.359683:-900.000000
+-145.847430:20.450622:-900.000000
+-124.247430:17.950622:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box45
@@ -108,8 +108,8 @@ FIN_BOX
 BOX
 std:MagicBox:Box08
 ISEXEC:FALSE
--167.907549:21.270126:-900.000000
--146.307549:18.770126:-900.000000
+-197.075110:20.283783:-900.000000
+-175.475110:17.783783:-900.000000
 FIN_BOX
 BOX
 std:ConcatStrings:Box09
index e7257b942058edd76f482d77f1b9c795809096a2..77b45eda81f2d188867b6054dc66cec16a598cc7 100644 (file)
@@ -64,7 +64,7 @@ COMPLEX_PORT
 OutDir_ExMa
 334.933146:91.638847:-900.000000
 FIN_COMPLEX_PORT
-BOXES:92
+BOXES:99
 BOX
 creaMaracasVisu:ImageChangeInformation:Box07
 ISEXEC:FALSE
@@ -74,14 +74,14 @@ FIN_BOX
 BOX
 creaVtk:MeshManager:Box08
 ISEXEC:FALSE
--40.112460:40.572992:-900.000000
--18.082460:38.072992:-900.000000
+1.899215:43.044267:-900.000000
+23.929215:40.544267:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:PolyDataToActor_Widget:Box15
 ISEXEC:FALSE
--72.256704:-34.463876:-900.000000
--49.236704:-36.963876:-900.000000
+-64.004680:-7.644797:-900.000000
+-40.984680:-10.144797:-900.000000
 PORT
 color:"1 0.7 0.7"
 PORT
@@ -92,8 +92,8 @@ FIN_BOX
 BOX
 creaMaracasVisu:Mesh_tool_ApplySurface:Box10
 ISEXEC:FALSE
-95.483097:7.298827:-900.000000
-118.508097:4.798827:-900.000000
+96.015874:6.767522:-900.000000
+119.040874:4.267522:-900.000000
 PORT
 title:"Surface"
 FIN_BOX
@@ -108,8 +108,8 @@ FIN_BOX
 BOX
 wx:LayoutTab:Box12
 ISEXEC:FALSE
-113.353388:-30.081078:-900.000000
-146.673388:-32.581078:-900.000000
+170.348620:-22.185391:-900.000000
+203.668620:-24.685391:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:SetPositionPointPicker:Box13
@@ -120,8 +120,8 @@ FIN_BOX
 BOX
 creaMaracasVisu:MeshContours_Widget:Box17
 ISEXEC:FALSE
--98.622992:-34.580481:-900.000000
--75.827992:-37.080481:-900.000000
+-101.524329:-45.823864:-900.000000
+-78.729329:-48.323864:-900.000000
 PORT
 colorMesh:"1 0 0"
 FIN_BOX
@@ -142,62 +142,44 @@ FIN_BOX
 BOX
 std:StringSelect:Box23
 ISEXEC:FALSE
-5.172216:-26.445183:-900.000000
-29.692216:-28.945183:-900.000000
+79.955334:-18.982557:-900.000000
+104.475334:-21.482557:-900.000000
 PORT
-In0:"false  false  false  false  false false"
+In0:"0  0  0  0  0  0  0  0"
 PORT
-In1:"false  true   false  false  false false"
+In1:"0  1  0  0  0  0  0  0"
 PORT
-In2:"false  false  true   false  false false"
+In2:"0  0  1  0  0  0  0  0"
 PORT
-In3:"false  false  false   1  false false"
+In3:"0  0  0  1  0  0  0  0"
 PORT
-In4:"false  false  false   false  false  false"
+In4:"0  0  0  0  0  0  0  0"
 PORT
-In5:"false  false  false   false  true  false"
+In5:"0  0  0  0  0  0  0  0"
 PORT
-In6:"false  false  false   false  false false"
+In6:"0  0  0  0  0  0  1  0"
 PORT
-In7:"false  false  false   false  false false"
+In7:"0  0  0  0  0  0  0  0"
 PORT
-In8:"false  false  false   false  false false"
+In8:"0  0  0  0  0  0  0  0"
 PORT
-In9:"false  false  false   false  false false"
+In9:"0  0  0  0  0  0  0  0"
 FIN_BOX
 BOX
 std:GetVectorStringElement:Box24
 ISEXEC:FALSE
--37.359341:-46.680412:-900.000000
--14.404341:-49.180412:-900.000000
+56.321765:-38.944139:-900.000000
+79.276765:-41.444139:-900.000000
 PORT
 I:"1"
 FIN_BOX
 BOX
-creaMaracasVisu:InteractorStyleMaracas_Model:Box25
-ISEXEC:FALSE
--39.396156:-59.785659:-900.000000
--15.791156:-62.285659:-900.000000
-FIN_BOX
-BOX
 vtk:SurfaceTexture:Box26
 ISEXEC:FALSE
 -145.884447:-3.104612:-900.000000
 -123.824447:-5.604612:-900.000000
 FIN_BOX
 BOX
-wx:RadioButton:Box27
-ISEXEC:FALSE
--136.423491:61.172469:-900.000000
--99.583491:58.672469:-900.000000
-PORT
-In0:"Red"
-PORT
-In1:"Colour"
-PORT
-In2:"B&W"
-FIN_BOX
-BOX
 std:MultipleInputs:Box28
 ISEXEC:FALSE
 -163.039135:42.008322:-900.000000
@@ -227,7 +209,7 @@ BOX
 creaMaracasVisu:wxVtkBaseView_Info:Box31
 ISEXEC:FALSE
 -111.518153:35.023891:-900.000000
--84.238153:32.523891:-900.000000
+-82.478153:32.523891:-900.000000
 FIN_BOX
 BOX
 std:GetVectorDoubleElement:Box32
@@ -248,30 +230,24 @@ FIN_BOX
 BOX
 creaMaracasVisu:Mesh_tool_ApplyPatch:Box38
 ISEXEC:FALSE
-206.586242:6.489743:-900.000000
-229.426242:3.989743:-900.000000
+202.038495:0.502712:-900.000000
+224.878495:-1.997288:-900.000000
 PORT
 title:"Extrusion (Yellow)"
 FIN_BOX
 BOX
 std:GetVectorStringElement:Box39
 ISEXEC:FALSE
-200.389082:-94.124504:-900.000000
-223.344082:-96.624504:-900.000000
+119.660766:-38.387818:-900.000000
+142.615766:-40.887818:-900.000000
 PORT
 I:"3"
 FIN_BOX
 BOX
-creaMaracasVisu:InteractorStyleMaracas_Model:Box40
-ISEXEC:TRUE
-237.208031:-127.338812:-900.000000
-260.813031:-129.838812:-900.000000
-FIN_BOX
-BOX
 creaMaracasVisu:Mesh_tool_ApplySmooth:Box46
 ISEXEC:FALSE
-249.242000:6.707813:-900.000000
-272.267000:4.207813:-900.000000
+248.418242:6.158641:-900.000000
+271.443242:3.658641:-900.000000
 PORT
 title:"Smooth"
 FIN_BOX
@@ -364,16 +340,16 @@ FIN_BOX
 BOX
 std:ConcatStrings_tool:Box57
 ISEXEC:FALSE
-101.844145:-60.530411:-900.000000
-124.284145:-63.030411:-900.000000
+145.873719:-48.017083:-900.000000
+168.313719:-50.517083:-900.000000
 PORT
 Type:"1"
 FIN_BOX
 BOX
 std:GetVectorStringElement:Box58
 ISEXEC:FALSE
-94.967184:-49.117896:-900.000000
-117.922184:-51.617896:-900.000000
+148.982049:-37.179653:-900.000000
+171.937049:-39.679653:-900.000000
 PORT
 I:"4"
 FIN_BOX
@@ -400,14 +376,14 @@ FIN_BOX
 BOX
 std:MagicBox:Box63
 ISEXEC:FALSE
-59.709154:78.964621:-900.000000
-81.309154:76.464621:-900.000000
+54.284269:78.964621:-900.000000
+75.884269:76.464621:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box64
 ISEXEC:FALSE
-87.053151:77.612034:-900.000000
-108.653151:75.112034:-900.000000
+87.395694:76.959498:-900.000000
+108.995694:74.459498:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box65
@@ -442,26 +418,12 @@ FIN_BOX
 BOX
 creaMaracasVisu:Mesh_tool_ApplyRegionGrowing:Box70
 ISEXEC:FALSE
-337.806041:4.958725:-900.000000
-361.596041:2.458725:-900.000000
+314.172243:5.863634:-900.000000
+337.962243:3.363634:-900.000000
 PORT
 title:"Region growing"
 FIN_BOX
 BOX
-std:GetVectorStringElement:Box71
-ISEXEC:FALSE
-328.055454:-50.131851:-900.000000
-351.010454:-52.631851:-900.000000
-PORT
-I:"5"
-FIN_BOX
-BOX
-creaMaracasVisu:InteractorStyleMaracas_Model:Box72
-ISEXEC:FALSE
-335.397478:-60.788806:-900.000000
-359.002478:-63.288806:-900.000000
-FIN_BOX
-BOX
 creaMaracasVisu:Mesh_tool_ApplyExternalMask:Box73
 ISEXEC:FALSE
 390.370084:5.633070:-900.000000
@@ -472,26 +434,20 @@ FIN_BOX
 BOX
 creaMaracasVisu:Mesh_tool_ApplyCut:Box74
 ISEXEC:FALSE
-123.630594:6.937584:-900.000000
-146.255594:4.437584:-900.000000
+130.954266:-0.010995:-900.000000
+153.579266:-2.510995:-900.000000
 PORT
 title:"Cut"
 FIN_BOX
 BOX
 std:GetVectorStringElement:Box75
 ISEXEC:FALSE
-139.207514:-46.961264:-900.000000
-162.162514:-49.461264:-900.000000
+87.632362:-38.090338:-900.000000
+110.587362:-40.590338:-900.000000
 PORT
 I:"2"
 FIN_BOX
 BOX
-creaMaracasVisu:InteractorStyleMaracas_Model:Box76
-ISEXEC:FALSE
-143.256695:-61.192764:-900.000000
-166.861695:-63.692764:-900.000000
-FIN_BOX
-BOX
 wx:ComboBox:Box79
 ISEXEC:FALSE
 -27.870668:-72.011937:-900.000000
@@ -528,8 +484,8 @@ FIN_BOX
 BOX
 wx:CommandButton:Box85
 ISEXEC:FALSE
-19.493228:-85.208566:-900.000000
-41.768228:-87.708566:-900.000000
+19.118136:-82.582922:-900.000000
+41.393136:-85.082922:-900.000000
 PORT
 Label:"Undo"
 FIN_BOX
@@ -646,42 +602,36 @@ FIN_BOX
 BOX
 creaMaracasVisu:Mesh_tool_Help:Box101
 ISEXEC:FALSE
-66.715147:7.686077:-900.000000
-88.985147:5.186077:-900.000000
+69.528337:6.185709:-900.000000
+91.798337:3.685709:-900.000000
 FIN_BOX
 BOX
 wx:LayoutTab:Box102
 ISEXEC:FALSE
-166.620809:-4.833726:-900.000000
-199.940809:-7.333726:-900.000000
+210.769139:-3.595922:-900.000000
+244.089139:-6.095922:-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
+164.265319:0.476077:-900.000000
+187.870319:-2.023923:-900.000000
 PORT
 title:"Simple (Yelow)"
 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
+237.743142:-61.033878:-900.000000
+259.823142:-63.533878:-900.000000
 FIN_BOX
 BOX
 std:StringSelect:Box107
 ISEXEC:FALSE
-172.339224:-94.454362:-900.000000
-196.859224:-96.954362:-900.000000
+172.339224:-75.512215:-900.000000
+196.859224:-78.012215:-900.000000
 PORT
 In0:"1 0"
 PORT
@@ -690,30 +640,30 @@ FIN_BOX
 BOX
 std:GetVectorStringElement:Box108
 ISEXEC:FALSE
-198.910102:-111.203291:-900.000000
-221.975102:-113.703291:-900.000000
+198.910102:-92.261144:-900.000000
+221.975102:-94.761144:-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
+168.217021:-90.139140:-900.000000
+191.282021:-92.639140:-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
+158.154412:-100.374113:-900.000000
+179.239412:-102.874113:-900.000000
 FIN_BOX
 BOX
 std:Mul:Box111
 ISEXEC:FALSE
-197.600426:-121.409234:-900.000000
-218.685426:-123.909234:-900.000000
+197.600426:-102.467087:-900.000000
+218.685426:-104.967087:-900.000000
 FIN_BOX
 BOX
 wx:LayoutLine:Box112
@@ -788,14 +738,116 @@ FIN_BOX
 BOX
 wx:LayoutLine:Box121
 ISEXEC:FALSE
-79.152135:-20.239180:-900.000000
-112.472135:-22.739180:-900.000000
+35.960289:-0.546849:-900.000000
+69.280289:-3.046849:-900.000000
 PORT
 Orientation:"V"
 PORT
 WinTitle:"Free plane"
 FIN_BOX
-CONNECTIONS:242
+BOX
+creaMaracasVisu:wxVtkBaseView_Info:Box122
+ISEXEC:FALSE
+-71.345197:-23.687897:-900.000000
+-42.305197:-26.187897:-900.000000
+PORT
+InteractionType:"6"
+FIN_BOX
+BOX
+std:MultipleInputs:Box123
+ISEXEC:FALSE
+112.863790:37.723907:-900.000000
+134.943790:35.223907:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:wxVtkBaseView_Info:Box124
+ISEXEC:FALSE
+-82.731707:-34.035380:-900.000000
+-53.691707:-36.535380:-900.000000
+PORT
+InteractionType:"2"
+FIN_BOX
+BOX
+std:MagicBox:Box125
+ISEXEC:FALSE
+92.903424:82.992047:-900.000000
+114.613424:80.492047:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box126
+ISEXEC:FALSE
+58.829471:83.569651:-900.000000
+80.539471:81.069651:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:wxVtkBaseView_Info:Box127
+ISEXEC:FALSE
+-73.289308:-16.460304:-900.000000
+-44.249308:-18.960304:-900.000000
+PORT
+InteractionType:"5"
+FIN_BOX
+BOX
+std:ConcatStrings_tool:Box129
+ISEXEC:FALSE
+56.999691:-47.553626:-900.000000
+79.549691:-50.053626:-900.000000
+PORT
+Type:"1"
+FIN_BOX
+BOX
+std:ConcatStrings_tool:Box130
+ISEXEC:FALSE
+85.602181:-47.730504:-900.000000
+108.152181:-50.230504:-900.000000
+PORT
+Type:"1"
+FIN_BOX
+BOX
+std:ConcatStrings_tool:Box131
+ISEXEC:FALSE
+200.961730:-126.331035:-900.000000
+223.511730:-128.831035:-900.000000
+PORT
+Type:"1"
+FIN_BOX
+BOX
+std:ConcatStrings_tool:Box132
+ISEXEC:FALSE
+162.636394:-126.707599:-900.000000
+185.186394:-129.207599:-900.000000
+PORT
+Type:"1"
+FIN_BOX
+BOX
+std:DoubleToInt:Box133
+ISEXEC:FALSE
+167.559696:-106.080705:-900.000000
+189.444696:-108.580705:-900.000000
+FIN_BOX
+BOX
+std:DoubleToInt:Box134
+ISEXEC:FALSE
+207.062534:-107.882943:-900.000000
+228.947534:-110.382943:-900.000000
+FIN_BOX
+BOX
+std:GetVectorStringElement:Box135
+ISEXEC:FALSE
+191.007344:-37.801404:-900.000000
+214.072344:-40.301404:-900.000000
+PORT
+I:"6"
+FIN_BOX
+BOX
+std:ConcatStrings_tool:Box136
+ISEXEC:FALSE
+191.231412:-50.269107:-900.000000
+213.781412:-52.769107:-900.000000
+PORT
+Type:"1"
+FIN_BOX
+CONNECTIONS:245
 CONNECTION
 Box08:MeshBase:Box15:polydata
 NumberOfControlPoints:0
@@ -830,24 +882,6 @@ CONNECTION
 Box23:Out:Box24:In
 NumberOfControlPoints:0
 CONNECTION
-Box10:interactorStyleMaracas:Box25:InteractorStyleMaracas
-NumberOfControlPoints:0
-CONNECTION
-Box10:interactorStyleMaracas2:Box25:InteractorStyleMaracas2
-NumberOfControlPoints:0
-CONNECTION
-Box10:interactorStyleMaracas3:Box25:InteractorStyleMaracas3
-NumberOfControlPoints:0
-CONNECTION
-Box10:interactorStyleMaracas4:Box25:InteractorStyleMaracas4
-NumberOfControlPoints:0
-CONNECTION
-Box24:Out:Box25:Active
-NumberOfControlPoints:0
-CONNECTION
-Box12:BoxChange:Box25:BoxExecute
-NumberOfControlPoints:0
-CONNECTION
 Box08:MeshBase:Box26:Mesh
 NumberOfControlPoints:0
 CONNECTION
@@ -890,18 +924,6 @@ CONNECTION
 Box23:Out:Box39:In
 NumberOfControlPoints:0
 CONNECTION
-Box38:interactorStyleMaracas:Box40:InteractorStyleMaracas
-NumberOfControlPoints:0
-CONNECTION
-Box38:interactorStyleMaracas2:Box40:InteractorStyleMaracas2
-NumberOfControlPoints:0
-CONNECTION
-Box38:interactorStyleMaracas3:Box40:InteractorStyleMaracas3
-NumberOfControlPoints:0
-CONNECTION
-Box38:interactorStyleMaracas4:Box40:InteractorStyleMaracas4
-NumberOfControlPoints:0
-CONNECTION
 Box07:Out:Box46:image
 NumberOfControlPoints:0
 CONNECTION
@@ -992,36 +1014,15 @@ CONNECTION
 ImageIn:ImageIn:Box07:In
 NumberOfControlPoints:0
 CONNECTION
-BoxChange_ViewerNV:BoxChange_ViewerNV:Box63:In
-NumberOfControlPoints:0
-CONNECTION
 Box63:BoxChange:Box28:In4
 NumberOfControlPoints:0
 CONNECTION
-Box63:BoxChange:Box17:_execute
-NumberOfControlPoints:0
-CONNECTION
-Box63:BoxChange:Box10:boxChange
-NumberOfControlPoints:0
-CONNECTION
 Box63:BoxChange:Box46:boxChange
 NumberOfControlPoints:0
 CONNECTION
 Box63:BoxChange:Box47:boxChange
 NumberOfControlPoints:0
 CONNECTION
-Box63:BoxChange:Box38:boxChange
-NumberOfControlPoints:0
-CONNECTION
-PointIn:PointIn:Box64:In
-NumberOfControlPoints:0
-CONNECTION
-Box64:Out:Box38:point
-NumberOfControlPoints:0
-CONNECTION
-Box64:Out:Box10:point
-NumberOfControlPoints:0
-CONNECTION
 Render3D:Render3D:Box65:In
 NumberOfControlPoints:0
 CONNECTION
@@ -1121,9 +1122,6 @@ CONNECTION
 Box13:boxchange:Box22:BoxExecute
 NumberOfControlPoints:0
 CONNECTION
-Box63:BoxChange:Box70:boxChange
-NumberOfControlPoints:0
-CONNECTION
 Box07:Out:Box70:image
 NumberOfControlPoints:0
 CONNECTION
@@ -1133,9 +1131,6 @@ CONNECTION
 Box08:MeshManagerModel:Box70:meshmanagermodel
 NumberOfControlPoints:0
 CONNECTION
-Box64:Out:Box70:point
-NumberOfControlPoints:0
-CONNECTION
 Box66:Out:Box70:wxvtkbaseview1
 NumberOfControlPoints:0
 CONNECTION
@@ -1148,27 +1143,6 @@ CONNECTION
 Box69:Out:Box70:wxvtkbaseview4
 NumberOfControlPoints:0
 CONNECTION
-Box71:Out:Box72:Active
-NumberOfControlPoints:0
-CONNECTION
-Box23:Out:Box71:In
-NumberOfControlPoints:0
-CONNECTION
-Box70:interactorStyleMaracas:Box72:InteractorStyleMaracas
-NumberOfControlPoints:0
-CONNECTION
-Box70:interactorStyleMaracas2:Box72:InteractorStyleMaracas2
-NumberOfControlPoints:0
-CONNECTION
-Box70:interactorStyleMaracas3:Box72:InteractorStyleMaracas3
-NumberOfControlPoints:0
-CONNECTION
-Box70:interactorStyleMaracas4:Box72:InteractorStyleMaracas4
-NumberOfControlPoints:0
-CONNECTION
-Box12:BoxChange:Box72:BoxExecute
-NumberOfControlPoints:0
-CONNECTION
 Box63:BoxChange:Box73:boxChange
 NumberOfControlPoints:0
 CONNECTION
@@ -1217,12 +1191,6 @@ CONNECTION
 Box66:Out:Box74:wxvtkbaseview1
 NumberOfControlPoints:0
 CONNECTION
-Box64:Out:Box74:point
-NumberOfControlPoints:0
-CONNECTION
-Box63:BoxChange:Box74:boxChange
-NumberOfControlPoints:0
-CONNECTION
 Box08:MeshTemp:Box74:mesh
 NumberOfControlPoints:0
 CONNECTION
@@ -1238,24 +1206,6 @@ CONNECTION
 Box23:Out:Box75:In
 NumberOfControlPoints:0
 CONNECTION
-Box75:Out:Box76:Active
-NumberOfControlPoints:0
-CONNECTION
-Box74:interactorStyleMaracas:Box76:InteractorStyleMaracas
-NumberOfControlPoints:0
-CONNECTION
-Box74:interactorStyleMaracas2:Box76:InteractorStyleMaracas2
-NumberOfControlPoints:0
-CONNECTION
-Box74:interactorStyleMaracas3:Box76:InteractorStyleMaracas3
-NumberOfControlPoints:0
-CONNECTION
-Box74:interactorStyleMaracas4:Box76:InteractorStyleMaracas4
-NumberOfControlPoints:0
-CONNECTION
-Box12:BoxChange:Box76:BoxExecute
-NumberOfControlPoints:0
-CONNECTION
 Box56:Out:Box08:Mesh
 NumberOfControlPoints:0
 CONNECTION
@@ -1358,9 +1308,6 @@ CONNECTION
 Box38:widget:Box102:Widget5
 NumberOfControlPoints:0
 CONNECTION
-Box63:BoxChange:Box103:boxChange
-NumberOfControlPoints:0
-CONNECTION
 Box07:Out:Box103:image
 NumberOfControlPoints:0
 CONNECTION
@@ -1370,9 +1317,6 @@ CONNECTION
 Box08:MeshManagerModel:Box103:meshmanagermodel
 NumberOfControlPoints:0
 CONNECTION
-Box64:Out:Box103:point
-NumberOfControlPoints:0
-CONNECTION
 Box66:Out:Box103:wxvtkbaseview1
 NumberOfControlPoints:0
 CONNECTION
@@ -1385,18 +1329,6 @@ 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
@@ -1406,12 +1338,6 @@ 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
@@ -1430,12 +1356,6 @@ CONNECTION
 Box108:Out:Box111:In2
 NumberOfControlPoints:0
 CONNECTION
-Box111:Out:Box40:Active
-NumberOfControlPoints:0
-CONNECTION
-Box110:Out:Box105:Active
-NumberOfControlPoints:0
-CONNECTION
 Box17:_widgetB:Box113:Widget2
 NumberOfControlPoints:0
 CONNECTION
@@ -1522,4 +1442,145 @@ NumberOfControlPoints:0
 CONNECTION
 Box117:actualPoint:Box10:freeplane_point
 NumberOfControlPoints:0
+CONNECTION
+Box67:Out:Box122:wxVtkBaseView1
+NumberOfControlPoints:0
+CONNECTION
+Box68:Out:Box122:wxVtkBaseView2
+NumberOfControlPoints:0
+CONNECTION
+Box69:Out:Box122:wxVtkBaseView3
+NumberOfControlPoints:0
+CONNECTION
+Box122:BoxChange:Box123:In1
+NumberOfControlPoints:0
+CONNECTION
+Box123:BoxChange:Box17:_execute
+NumberOfControlPoints:0
+CONNECTION
+Box67:Out:Box124:wxVtkBaseView1
+NumberOfControlPoints:0
+CONNECTION
+Box68:Out:Box124:wxVtkBaseView2
+NumberOfControlPoints:0
+CONNECTION
+Box69:Out:Box124:wxVtkBaseView3
+NumberOfControlPoints:0
+CONNECTION
+Box124:BoxChange:Box123:In2
+NumberOfControlPoints:0
+CONNECTION
+Box15:boxchange:Box122:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box15:boxchange:Box124:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+PointIn:PointIn:Box125:In
+NumberOfControlPoints:0
+CONNECTION
+BoxChange_ViewerNV:BoxChange_ViewerNV:Box126:In
+NumberOfControlPoints:0
+CONNECTION
+Box125:Out:Box10:point
+NumberOfControlPoints:0
+CONNECTION
+Box66:Out:Box124:wxVtkBaseView
+NumberOfControlPoints:0
+CONNECTION
+Box15:boxchange:Box127:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box67:Out:Box127:wxVtkBaseView1
+NumberOfControlPoints:0
+CONNECTION
+Box68:Out:Box127:wxVtkBaseView2
+NumberOfControlPoints:0
+CONNECTION
+Box69:Out:Box127:wxVtkBaseView3
+NumberOfControlPoints:0
+CONNECTION
+Box127:BoxChange:Box123:In3
+NumberOfControlPoints:0
+CONNECTION
+Box123:BoxChange:Box10:boxChange
+NumberOfControlPoints:0
+CONNECTION
+Box10:Active_ConcatString_box:Box129:Box_ConcatString
+NumberOfControlPoints:0
+CONNECTION
+Box24:Out:Box129:In1
+NumberOfControlPoints:0
+CONNECTION
+Box12:BoxChange:Box129:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box74:Active_ConcatString_Box:Box130:Box_ConcatString
+NumberOfControlPoints:0
+CONNECTION
+Box75:Out:Box130:In1
+NumberOfControlPoints:0
+CONNECTION
+Box12:BoxChange:Box130:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box125:Out:Box74:point
+NumberOfControlPoints:0
+CONNECTION
+Box123:BoxChange:Box74:boxChange
+NumberOfControlPoints:0
+CONNECTION
+Box125:Out:Box103:point
+NumberOfControlPoints:0
+CONNECTION
+Box125:Out:Box38:point
+NumberOfControlPoints:0
+CONNECTION
+Box123:BoxChange:Box103:boxChange
+NumberOfControlPoints:0
+CONNECTION
+Box123:BoxChange:Box38:boxChange
+NumberOfControlPoints:0
+CONNECTION
+Box103:Active_ConcatString_box:Box132:Box_ConcatString
+NumberOfControlPoints:0
+CONNECTION
+Box38:Active_ConcatString_box:Box131:Box_ConcatString
+NumberOfControlPoints:0
+CONNECTION
+Box106:BoxChange:Box132:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box106:BoxChange:Box131:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box110:Out:Box133:In
+NumberOfControlPoints:0
+CONNECTION
+Box133:Out:Box132:In1
+NumberOfControlPoints:0
+CONNECTION
+Box111:Out:Box134:In
+NumberOfControlPoints:0
+CONNECTION
+Box134:Out:Box131:In1
+NumberOfControlPoints:0
+CONNECTION
+Box23:Out:Box135:In
+NumberOfControlPoints:0
+CONNECTION
+Box135:Out:Box136:In1
+NumberOfControlPoints:0
+CONNECTION
+Box12:BoxChange:Box136:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box70:Active_ConcatString_box:Box136:Box_ConcatString
+NumberOfControlPoints:0
+CONNECTION
+Box123:BoxChange:Box70:boxChange
+NumberOfControlPoints:0
+CONNECTION
+Box125:Out:Box70:point
+NumberOfControlPoints:0
 APP_END
index 250fd5259749e2b841b0b0f9f8bdd78404063d19..e8a451c3c92bb2612280908b7ef15a8448db69de 100644 (file)
@@ -46,29 +46,22 @@ new wx:LayoutLine Box22
   set Box22.Orientation "V"
 
 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   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"
-  set Box23.In7 "false  false  false   false  false false"
-  set Box23.In8 "false  false  false   false  false false"
-  set Box23.In9 "false  false  false   false  false false"
+  set Box23.In0 "0  0  0  0  0  0  0  0"
+  set Box23.In1 "0  1  0  0  0  0  0  0"
+  set Box23.In2 "0  0  1  0  0  0  0  0"
+  set Box23.In3 "0  0  0  1  0  0  0  0"
+  set Box23.In4 "0  0  0  0  0  0  0  0"
+  set Box23.In5 "0  0  0  0  0  0  0  0"
+  set Box23.In6 "0  0  0  0  0  0  1  0"
+  set Box23.In7 "0  0  0  0  0  0  0  0"
+  set Box23.In8 "0  0  0  0  0  0  0  0"
+  set Box23.In9 "0  0  0  0  0  0  0  0"
 
 new std:GetVectorStringElement Box24
   set Box24.I "1"
 
-new creaMaracasVisu:InteractorStyleMaracas_Model Box25
-
 new vtk:SurfaceTexture Box26
 
-new wx:RadioButton Box27
-  set Box27.In0 "Red"
-  set Box27.In1 "Colour"
-  set Box27.In2 "B&W"
-
 new std:MultipleInputs Box28
 
 new std:StringSelect Box29
@@ -93,8 +86,6 @@ new creaMaracasVisu:Mesh_tool_ApplyPatch Box38
 new std:GetVectorStringElement Box39
   set Box39.I "3"
 
-new creaMaracasVisu:InteractorStyleMaracas_Model Box40
-
 new creaMaracasVisu:Mesh_tool_ApplySmooth Box46
   set Box46.title "Smooth"
 
@@ -161,11 +152,6 @@ new std:MagicBox Box69
 new creaMaracasVisu:Mesh_tool_ApplyRegionGrowing Box70
   set Box70.title "Region growing"
 
-new std:GetVectorStringElement Box71
-  set Box71.I "5"
-
-new creaMaracasVisu:InteractorStyleMaracas_Model Box72
-
 new creaMaracasVisu:Mesh_tool_ApplyExternalMask Box73
   set Box73.title "External Mask"
 
@@ -175,8 +161,6 @@ new creaMaracasVisu:Mesh_tool_ApplyCut Box74
 new std:GetVectorStringElement Box75
   set Box75.I "2"
 
-new creaMaracasVisu:InteractorStyleMaracas_Model Box76
-
 new wx:ComboBox Box79
   set Box79.In "mesh-0"
 
@@ -243,8 +227,6 @@ new wx:LayoutTab Box102
 new creaMaracasVisu:Mesh_tool_ApplyPatchSimple Box103
   set Box103.title "Simple (Yelow)"
 
-new creaMaracasVisu:InteractorStyleMaracas_Model Box105
-
 new std:MultipleInputs Box106
 
 new std:StringSelect Box107
@@ -291,6 +273,43 @@ new wx:LayoutLine Box121
   set Box121.Orientation "V"
   set Box121.WinTitle "Free plane"
 
+new creaMaracasVisu:wxVtkBaseView_Info Box122
+  set Box122.InteractionType "6"
+
+new std:MultipleInputs Box123
+
+new creaMaracasVisu:wxVtkBaseView_Info Box124
+  set Box124.InteractionType "2"
+
+new std:MagicBox Box125
+
+new std:MagicBox Box126
+
+new creaMaracasVisu:wxVtkBaseView_Info Box127
+  set Box127.InteractionType "5"
+
+new std:ConcatStrings_tool Box129
+  set Box129.Type "1"
+
+new std:ConcatStrings_tool Box130
+  set Box130.Type "1"
+
+new std:ConcatStrings_tool Box131
+  set Box131.Type "1"
+
+new std:ConcatStrings_tool Box132
+  set Box132.Type "1"
+
+new std:DoubleToInt Box133
+
+new std:DoubleToInt Box134
+
+new std:GetVectorStringElement Box135
+  set Box135.I "6"
+
+new std:ConcatStrings_tool Box136
+  set Box136.Type "1"
+
 
 connect Box08.MeshBase Box15.polydata
 connect Box08.MeshTemp Box10.mesh
@@ -303,12 +322,6 @@ connect Box08.MeshBase Box17._polydata
 connect Box20.Widget Box11.Widget1
 connect Box12.Selection Box23.In
 connect Box23.Out Box24.In
-connect Box10.interactorStyleMaracas Box25.InteractorStyleMaracas
-connect Box10.interactorStyleMaracas2 Box25.InteractorStyleMaracas2
-connect Box10.interactorStyleMaracas3 Box25.InteractorStyleMaracas3
-connect Box10.interactorStyleMaracas4 Box25.InteractorStyleMaracas4
-connect Box24.Out Box25.Active
-connect Box12.BoxChange Box25.BoxExecute
 connect Box08.MeshBase Box26.Mesh
 connect Box07.Out Box26.Image
 connect Box29.Out Box15.scalarvisibility
@@ -323,10 +336,6 @@ connect Box07.Out Box38.image
 connect Box08.MeshTemp Box38.mesh
 connect Box08.MeshManagerModel Box38.meshmanagermodel
 connect Box23.Out Box39.In
-connect Box38.interactorStyleMaracas Box40.InteractorStyleMaracas
-connect Box38.interactorStyleMaracas2 Box40.InteractorStyleMaracas2
-connect Box38.interactorStyleMaracas3 Box40.InteractorStyleMaracas3
-connect Box38.interactorStyleMaracas4 Box40.InteractorStyleMaracas4
 connect Box07.Out Box46.image
 connect Box08.MeshTemp Box46.mesh
 connect Box08.MeshManagerModel Box46.meshmanagermodel
@@ -356,13 +365,8 @@ connect Box07.Out Box61.In
 connect Box61.Spacing Box60.In1
 connect Box54.Out Box59.Active
 connect Box63.BoxChange Box28.In4
-connect Box63.BoxChange Box17._execute
-connect Box63.BoxChange Box10.boxChange
 connect Box63.BoxChange Box46.boxChange
 connect Box63.BoxChange Box47.boxChange
-connect Box63.BoxChange Box38.boxChange
-connect Box64.Out Box38.point
-connect Box64.Out Box10.point
 connect Box65.Out Box13.render
 connect Box65.Out Box48.Renderer
 connect Box65.Out Box15.render
@@ -390,22 +394,13 @@ connect Box69.Out Box46.wxvtkbaseview4
 connect Box69.Out Box47.wxvtkbaseview4
 connect Box69.Out Box17._wxvtkbaseview2D3
 connect Box13.boxchange Box22.BoxExecute
-connect Box63.BoxChange Box70.boxChange
 connect Box07.Out Box70.image
 connect Box08.MeshTemp Box70.mesh
 connect Box08.MeshManagerModel Box70.meshmanagermodel
-connect Box64.Out Box70.point
 connect Box66.Out Box70.wxvtkbaseview1
 connect Box67.Out Box70.wxvtkbaseview2
 connect Box68.Out Box70.wxvtkbaseview3
 connect Box69.Out Box70.wxvtkbaseview4
-connect Box71.Out Box72.Active
-connect Box23.Out Box71.In
-connect Box70.interactorStyleMaracas Box72.InteractorStyleMaracas
-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
@@ -422,19 +417,11 @@ connect Box69.Out Box74.wxvtkbaseview4
 connect Box68.Out Box74.wxvtkbaseview3
 connect Box67.Out Box74.wxvtkbaseview2
 connect Box66.Out Box74.wxvtkbaseview1
-connect Box64.Out Box74.point
-connect Box63.BoxChange Box74.boxChange
 connect Box08.MeshTemp Box74.mesh
 connect Box08.MeshManagerModel Box74.meshmanagermodel
 connect Box07.Out Box74.image
 connect Box74.widget Box12.Widget4
 connect Box23.Out Box75.In
-connect Box75.Out Box76.Active
-connect Box74.interactorStyleMaracas Box76.InteractorStyleMaracas
-connect Box74.interactorStyleMaracas2 Box76.InteractorStyleMaracas2
-connect Box74.interactorStyleMaracas3 Box76.InteractorStyleMaracas3
-connect Box74.interactorStyleMaracas4 Box76.InteractorStyleMaracas4
-connect Box12.BoxChange Box76.BoxExecute
 connect Box56.Out Box08.Mesh
 connect Box08.MeshNames Box79.In
 connect Box08.BoxChange Box79.BoxExecute
@@ -466,32 +453,22 @@ 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
 connect Box17._widgetB Box113.Widget2
 connect Box15.widgetB Box113.Widget4
 connect Box17._widgetA Box112.Widget2
@@ -521,12 +498,55 @@ connect Box99.Widget Box120.Widget6
 connect Box82.Widget Box115.Widget6
 connect Box117.transform Box10.freeplane_transform
 connect Box117.actualPoint Box10.freeplane_point
+connect Box67.Out Box122.wxVtkBaseView1
+connect Box68.Out Box122.wxVtkBaseView2
+connect Box69.Out Box122.wxVtkBaseView3
+connect Box122.BoxChange Box123.In1
+connect Box123.BoxChange Box17._execute
+connect Box67.Out Box124.wxVtkBaseView1
+connect Box68.Out Box124.wxVtkBaseView2
+connect Box69.Out Box124.wxVtkBaseView3
+connect Box124.BoxChange Box123.In2
+connect Box15.boxchange Box122.BoxExecute
+connect Box15.boxchange Box124.BoxExecute
+connect Box125.Out Box10.point
+connect Box66.Out Box124.wxVtkBaseView
+connect Box15.boxchange Box127.BoxExecute
+connect Box67.Out Box127.wxVtkBaseView1
+connect Box68.Out Box127.wxVtkBaseView2
+connect Box69.Out Box127.wxVtkBaseView3
+connect Box127.BoxChange Box123.In3
+connect Box123.BoxChange Box10.boxChange
+connect Box10.Active_ConcatString_box Box129.Box_ConcatString
+connect Box24.Out Box129.In1
+connect Box12.BoxChange Box129.BoxExecute
+connect Box74.Active_ConcatString_Box Box130.Box_ConcatString
+connect Box75.Out Box130.In1
+connect Box12.BoxChange Box130.BoxExecute
+connect Box125.Out Box74.point
+connect Box123.BoxChange Box74.boxChange
+connect Box125.Out Box103.point
+connect Box125.Out Box38.point
+connect Box123.BoxChange Box103.boxChange
+connect Box123.BoxChange Box38.boxChange
+connect Box103.Active_ConcatString_box Box132.Box_ConcatString
+connect Box38.Active_ConcatString_box Box131.Box_ConcatString
+connect Box106.BoxChange Box132.BoxExecute
+connect Box106.BoxChange Box131.BoxExecute
+connect Box110.Out Box133.In
+connect Box133.Out Box132.In1
+connect Box111.Out Box134.In
+connect Box134.Out Box131.In1
+connect Box23.Out Box135.In
+connect Box135.Out Box136.In1
+connect Box12.BoxChange Box136.BoxExecute
+connect Box70.Active_ConcatString_box Box136.Box_ConcatString
+connect Box123.BoxChange Box70.boxChange
+connect Box125.Out Box70.point
 
 # Complex input ports
 input MeshIn Box56.In " "
 input ImageIn Box07.In " "
-input BoxChange_ViewerNV Box63.In " "
-input PointIn Box64.In " "
 input Render3D Box65.In " "
 input wxvtkbaseview1_In Box66.In " "
 input wxvtkbaseview2_In Box67.In " "
@@ -534,11 +554,12 @@ input wxvtkbaseview3_In Box68.In " "
 input wxvtkbaseview4_In Box69.In " "
 input BaseImageFileName_ExMa Box95.In " "
 input OutDir_ExMa Box96.In " "
+input PointIn Box125.In " "
+input BoxChange_ViewerNV Box126.In " "
 
 # Complex output ports
 output WidgetOut Box11.Widget " "
 output MeshOut Box94.Out " "
 
-exec Box40
 
 endefine
index e600651658a0ddff66a0d30b96eab7e596a70458..f118b9704565358b5e944ae5bd011a16c3de7cca 100644 (file)
@@ -10,74 +10,62 @@ AUTHOR:info-dev@creatis.insa-lyon.fr
 COMPLEXBOX:TRUE
 COMPLEXBOXNAME:Mesh_tool_ApplyCut
 PACKAGENAME:creaMaracasVisu
-COMPLEXOUTPUTS:5
+COMPLEXOUTPUTS:2
 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
+Active_ConcatString_Box
+-272.421413:-187.453831:-900.000000
 FIN_COMPLEX_PORT
 COMPLEXINPUTS:10
 COMPLEX_PORT
 boxChange
--6.086529:137.355528:-900.000000
+-1.004575:204.292513:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 point
-8.392837:138.613226:-900.000000
+43.359860:206.732371:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 wxvtkbaseview1
--268.019084:133.379456:-900.000000
+-262.937130:200.316441:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 mesh
--59.814076:140.655693:-900.000000
+-54.732122:207.592678:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 image
--96.062149:138.883434:-900.000000
+-90.980195:205.820419:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 wxvtkbaseview2
--231.668448:132.854505:-900.000000
+-226.586494:199.791490:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 wxvtkbaseview3
--216.690458:133.262996:-900.000000
+-211.608504:200.199981:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 wxvtkbaseview4
--193.414893:132.224675:-900.000000
+-188.332939:199.161660:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 title
--167.581636:131.715380:-900.000000
+-162.499682:198.652365:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 meshmanagermodel
--150.374274:130.740991:-900.000000
+-142.569152:199.493422:-900.000000
 FIN_COMPLEX_PORT
-BOXES:148
+BOXES:154
 BOX
 creaMaracasVisu:ShowNPoints:showNpoints
 ISEXEC:FALSE
-24.787568:83.025910:-900.000000
-61.627568:80.525910:-900.000000
+65.325513:91.657411:-900.000000
+102.165513:89.157411:-900.000000
 PORT
 Radio:"2"
 PORT
@@ -190,8 +178,8 @@ FIN_BOX
 BOX
 vtk:ImageVtkProperties:Box68
 ISEXEC:FALSE
--111.766259:110.196821:-900.000000
--89.231259:107.696821:-900.000000
+-103.142894:115.643157:-900.000000
+-80.607894:113.143157:-900.000000
 FIN_BOX
 BOX
 std:VectorFilterDouble:Box70
@@ -240,14 +228,14 @@ FIN_BOX
 BOX
 std:MagicBox:Box66
 ISEXEC:FALSE
--148.055989:80.219744:-900.000000
--126.455989:77.719744:-900.000000
+-19.613231:111.536176:-900.000000
+1.986769:109.036176:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box67
 ISEXEC:FALSE
--67.526006:124.007723:-900.000000
--45.926006:121.507723:-900.000000
+-62.444052:190.944708:-900.000000
+-40.844052:188.444708:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:PolyDataToActor_Widget:Box48
@@ -258,8 +246,8 @@ FIN_BOX
 BOX
 vtk:vtkImageDataPointerRelay:Box35
 ISEXEC:FALSE
--107.091396:123.633118:-900.000000
--83.881396:121.133118:-900.000000
+-102.009442:190.570103:-900.000000
+-78.799442:188.070103:-900.000000
 FIN_BOX
 BOX
 wx:Slider:Box34
@@ -356,8 +344,8 @@ FIN_BOX
 BOX
 std:MagicBox:Box46
 ISEXEC:FALSE
--137.131256:113.921532:-900.000000
--115.531256:111.421532:-900.000000
+-147.130406:191.398904:-900.000000
+-125.530406:188.898904:-900.000000
 FIN_BOX
 BOX
 wx:ComboBox:Box49
@@ -418,32 +406,32 @@ FIN_BOX
 BOX
 std:MagicBox:Box63
 ISEXEC:FALSE
--8.402303:123.950335:-900.000000
-13.197697:121.450335:-900.000000
+-3.320349:190.887320:-900.000000
+18.279651:188.387320:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box64
 ISEXEC:FALSE
--243.113826:124.330340:-900.000000
--221.513826:121.830340:-900.000000
+-238.031872:191.267325:-900.000000
+-216.431872:188.767325:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box65
 ISEXEC:FALSE
--220.296210:124.504415:-900.000000
--198.696210:122.004415:-900.000000
+-215.214256:191.441400:-900.000000
+-193.614256:188.941400:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box69
 ISEXEC:FALSE
--197.793508:124.678490:-900.000000
--176.193508:122.178490:-900.000000
+-192.711554:191.615475:-900.000000
+-171.111554:189.115475:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box71
 ISEXEC:FALSE
--273.359367:124.504415:-900.000000
--251.759367:122.004415:-900.000000
+-268.277413:191.441400:-900.000000
+-246.677413:188.941400:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:MeshContours_Widget:Box72
@@ -502,8 +490,8 @@ FIN_BOX
 BOX
 creaMaracasVisu:wxVtkBaseView_Info:Box96
 ISEXEC:FALSE
--157.021318:90.558496:-900.000000
--129.741318:88.058496:-900.000000
+-163.829238:146.383440:-900.000000
+-134.789238:143.883440:-900.000000
 FIN_BOX
 BOX
 creaVtk:PolyDataNormals:Box97
@@ -1327,7 +1315,47 @@ ISEXEC:FALSE
 PORT
 Type:"14"
 FIN_BOX
-CONNECTIONS:261
+BOX
+creaMaracasVisu:InteractorStyleMaracas_Model:Box240
+ISEXEC:FALSE
+-318.796469:-24.457869:-900.000000
+-295.081469:-26.957869:-900.000000
+FIN_BOX
+BOX
+std:ConcatStrings:Box241
+ISEXEC:FALSE
+104.361113:166.981758:-900.000000
+127.121113:164.481758:-900.000000
+FIN_BOX
+BOX
+std:ConcatStrings_tool:Box242
+ISEXEC:FALSE
+67.677479:153.941815:-900.000000
+90.227479:151.441815:-900.000000
+FIN_BOX
+BOX
+std:StringSelect:Box243
+ISEXEC:FALSE
+77.057189:166.884604:-900.000000
+101.577189:164.384604:-900.000000
+PORT
+In0:"0"
+PORT
+In1:"2"
+FIN_BOX
+BOX
+std:MagicBox:Box244
+ISEXEC:FALSE
+41.523994:192.082422:-900.000000
+63.233994:189.582422:-900.000000
+FIN_BOX
+BOX
+std:ConcatStrings:Box245
+ISEXEC:FALSE
+-313.000327:60.169389:-900.000000
+-290.240327:57.669389:-900.000000
+FIN_BOX
+CONNECTIONS:269
 CONNECTION
 Box06:LstContourPointsX:Box04:LstX
 NumberOfControlPoints:0
@@ -1401,9 +1429,6 @@ CONNECTION
 Box66:Out:Box30:Renderer
 NumberOfControlPoints:0
 CONNECTION
-point:point:showNpoints:In
-NumberOfControlPoints:0
-CONNECTION
 Box66:Out:showNpoints:Renderer
 NumberOfControlPoints:0
 CONNECTION
@@ -1500,9 +1525,6 @@ CONNECTION
 boxChange:boxChange:Box63:In
 NumberOfControlPoints:0
 CONNECTION
-Box63:BoxChange:showNpoints:BoxExecute
-NumberOfControlPoints:0
-CONNECTION
 Box63:BoxChange:Box62:_execute
 NumberOfControlPoints:0
 CONNECTION
@@ -1590,15 +1612,6 @@ CONNECTION
 Box57:BoxChange:Box08:BoxExecute
 NumberOfControlPoints:0
 CONNECTION
-Box57:InteractorStyleMaracas:interactorStyleMaracas:interactorStyleMaracas
-NumberOfControlPoints:0
-CONNECTION
-Box57:InteractorStyleMaracas3:interactorStyleMaracas3:interactorStyleMaracas3
-NumberOfControlPoints:0
-CONNECTION
-Box57:InteractorStyleMaracas4:interactorStyleMaracas4:interactorStyleMaracas4
-NumberOfControlPoints:0
-CONNECTION
 Box92:MeshManagerModel:Box93:MeshManagerModel
 NumberOfControlPoints:0
 CONNECTION
@@ -1732,9 +1745,6 @@ CONNECTION
 showNpoints:WidgetShowNPoints:Box127:WidgetShowNPoints
 NumberOfControlPoints:0
 CONNECTION
-Box57:InteractorStyleMaracas2:interactorStyleMaracas2:interactorStyleMaracas2
-NumberOfControlPoints:0
-CONNECTION
 Box125:Widget:Box131:Widget1
 NumberOfControlPoints:0
 CONNECTION
@@ -2112,4 +2122,46 @@ NumberOfControlPoints:0
 CONNECTION
 showNpoints:lstSelectedIndexs:Box239:k1
 NumberOfControlPoints:0
+CONNECTION
+Box57:InteractorStyleMaracas:Box240:InteractorStyleMaracas
+NumberOfControlPoints:0
+CONNECTION
+Box57:InteractorStyleMaracas2:Box240:InteractorStyleMaracas2
+NumberOfControlPoints:0
+CONNECTION
+Box57:InteractorStyleMaracas3:Box240:InteractorStyleMaracas3
+NumberOfControlPoints:0
+CONNECTION
+Box57:InteractorStyleMaracas4:Box240:InteractorStyleMaracas4
+NumberOfControlPoints:0
+CONNECTION
+Box241:Box_ConcatStrings:Box242:Box_ConcatString
+NumberOfControlPoints:0
+CONNECTION
+Box241:Out:showNpoints:In
+NumberOfControlPoints:0
+CONNECTION
+Box243:Out:Box242:Type
+NumberOfControlPoints:0
+CONNECTION
+point:point:Box244:In
+NumberOfControlPoints:0
+CONNECTION
+Box244:Out:Box242:In1
+NumberOfControlPoints:0
+CONNECTION
+Box245:Out:Box243:In
+NumberOfControlPoints:0
+CONNECTION
+Box245:Box_ConcatStrings:Active_ConcatString_Box:Active_ConcatString_Box
+NumberOfControlPoints:0
+CONNECTION
+Box63:BoxChange:Box242:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box245:Out:Box240:Active
+NumberOfControlPoints:0
+CONNECTION
+Box245:BoxChange:Box240:BoxExecute
+NumberOfControlPoints:0
 APP_END
index 5c879fe46ed579cf246ab0fb1a9448c3c10e93f6..ba9e5e3ae089dbb00223d9cd02d6def001b936b3 100644 (file)
@@ -497,6 +497,20 @@ new creaMaracasVisu:ShowNPoints_Tools Box238
 new std:VectorFilterDouble Box239
   set Box239.Type "14"
 
+new creaMaracasVisu:InteractorStyleMaracas_Model Box240
+
+new std:ConcatStrings Box241
+
+new std:ConcatStrings_tool Box242
+
+new std:StringSelect Box243
+  set Box243.In0 "0"
+  set Box243.In1 "2"
+
+new std:MagicBox Box244
+
+new std:ConcatStrings Box245
+
 
 connect Box06.LstContourPointsX Box04.LstX
 connect showNpoints.lstIndexs Box06.LstIndexsIn
@@ -548,7 +562,6 @@ connect Box42.BoxChange Box53.In3
 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
@@ -744,9 +757,20 @@ connect Box239.Out2 Box29.LstControlPointsZ
 connect Box239.Out3 Box29.LstIndexsIn
 connect showNpoints.lstIndexs Box239.In3
 connect showNpoints.lstSelectedIndexs Box239.k1
+connect Box57.InteractorStyleMaracas Box240.InteractorStyleMaracas
+connect Box57.InteractorStyleMaracas2 Box240.InteractorStyleMaracas2
+connect Box57.InteractorStyleMaracas3 Box240.InteractorStyleMaracas3
+connect Box57.InteractorStyleMaracas4 Box240.InteractorStyleMaracas4
+connect Box241.Box_ConcatStrings Box242.Box_ConcatString
+connect Box241.Out showNpoints.In
+connect Box243.Out Box242.Type
+connect Box244.Out Box242.In1
+connect Box245.Out Box243.In
+connect Box63.BoxChange Box242.BoxExecute
+connect Box245.Out Box240.Active
+connect Box245.BoxChange Box240.BoxExecute
 
 # Complex input ports
-input point showNpoints.In " "
 input mesh Box67.In " "
 input image Box35.In " "
 input title Box08.WinTitle " "
@@ -756,13 +780,11 @@ input wxvtkbaseview2 Box64.In " "
 input wxvtkbaseview3 Box65.In " "
 input wxvtkbaseview4 Box69.In " "
 input wxvtkbaseview1 Box71.In " "
+input point Box244.In " "
 
 # Complex output ports
 output widget Box08.Widget " "
-output interactorStyleMaracas Box57.InteractorStyleMaracas " "
-output interactorStyleMaracas3 Box57.InteractorStyleMaracas3 " "
-output interactorStyleMaracas4 Box57.InteractorStyleMaracas4 " "
-output interactorStyleMaracas2 Box57.InteractorStyleMaracas2 " "
+output Active_ConcatString_Box Box245.Box_ConcatStrings " "
 
 
 endefine
index ae8fedadbde945e51105ac6995bc1aeff14e812b..d600031c319982262b2f4cc3174fcc8e0e046514 100644 (file)
@@ -10,69 +10,57 @@ AUTHOR:info-dev@creatis.insa-lyon.fr
 COMPLEXBOX:TRUE
 COMPLEXBOXNAME:Mesh_tool_ApplyPatch
 PACKAGENAME:creaMaracasVisu
-COMPLEXOUTPUTS:5
+COMPLEXOUTPUTS:2
 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
+Active_ConcatString_box
+-271.102248:-184.562622:-900.000000
 FIN_COMPLEX_PORT
 COMPLEXINPUTS:10
 COMPLEX_PORT
 boxChange
--6.086529:137.355528:-900.000000
+-6.086529:172.136420:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 point
-8.392837:138.613226:-900.000000
+8.392837:173.394118:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 wxvtkbaseview1
--268.019084:133.379456:-900.000000
+-268.019084:168.160348:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 mesh
--59.814076:140.655693:-900.000000
+-59.814076:175.436585:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 image
--96.062149:138.883434:-900.000000
+-96.062149:173.664326:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 wxvtkbaseview2
--231.668448:132.854505:-900.000000
+-231.668448:167.635397:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 wxvtkbaseview3
--216.690458:133.262996:-900.000000
+-216.690458:168.043888:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 wxvtkbaseview4
--193.414893:132.224675:-900.000000
+-193.414893:167.005567:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 title
--167.581636:131.715380:-900.000000
+-167.581636:166.496272:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 meshmanagermodel
--150.374274:130.740991:-900.000000
+-150.374274:165.521883:-900.000000
 FIN_COMPLEX_PORT
-BOXES:93
+BOXES:99
 BOX
 creaMaracasVisu:ShowNPoints:showNpoints
 ISEXEC:FALSE
@@ -246,14 +234,14 @@ FIN_BOX
 BOX
 std:MagicBox:Box67
 ISEXEC:FALSE
--67.526006:124.007723:-900.000000
--45.926006:121.507723:-900.000000
+-67.526006:158.788615:-900.000000
+-45.926006:156.288615:-900.000000
 FIN_BOX
 BOX
 vtk:vtkImageDataPointerRelay:Box35
 ISEXEC:FALSE
--107.091396:123.633118:-900.000000
--83.881396:121.133118:-900.000000
+-107.091396:158.414010:-900.000000
+-83.881396:155.914010:-900.000000
 FIN_BOX
 BOX
 wx:Slider:Box34
@@ -284,8 +272,8 @@ FIN_BOX
 BOX
 creaMaracasVisu:PolyDataToActor_Widget:Box37
 ISEXEC:FALSE
--96.686135:-86.463508:-900.000000
--73.666135:-88.963508:-900.000000
+-96.686135:-86.917369:-900.000000
+-73.666135:-89.417369:-900.000000
 PORT
 color:"0 1 1"
 PORT
@@ -396,38 +384,38 @@ FIN_BOX
 BOX
 std:MagicBox:Box63
 ISEXEC:FALSE
--8.402303:123.950335:-900.000000
-13.197697:121.450335:-900.000000
+-8.402303:158.731227:-900.000000
+13.197697:156.231227:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box64
 ISEXEC:FALSE
--243.113826:124.330340:-900.000000
--221.513826:121.830340:-900.000000
+-243.113826:159.111232:-900.000000
+-221.513826:156.611232:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box65
 ISEXEC:FALSE
--220.296210:124.504415:-900.000000
--198.696210:122.004415:-900.000000
+-220.296210:159.285307:-900.000000
+-198.696210:156.785307:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box69
 ISEXEC:FALSE
--197.793508:124.678490:-900.000000
--176.193508:122.178490:-900.000000
+-197.793508:159.459382:-900.000000
+-176.193508:156.959382:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box71
 ISEXEC:FALSE
--273.359367:124.504415:-900.000000
--251.759367:122.004415:-900.000000
+-273.359367:159.285307:-900.000000
+-251.759367:156.785307:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:MeshContours_Widget:Box72
 ISEXEC:FALSE
--166.632350:-88.118805:-900.000000
--143.837350:-90.618805:-900.000000
+-155.285817:-93.133973:-900.000000
+-132.490817:-95.633973:-900.000000
 PORT
 colorMesh:"0 1 1"
 FIN_BOX
@@ -555,7 +543,7 @@ BOX
 creaMaracasVisu:wxVtkBaseView_Info:Box105
 ISEXEC:FALSE
 -238.523609:87.781768:-900.000000
--211.243609:85.281768:-900.000000
+-209.483609:85.281768:-900.000000
 FIN_BOX
 BOX
 wx:LayoutTab:Box106
@@ -835,7 +823,47 @@ ISEXEC:FALSE
 PORT
 Type:"14"
 FIN_BOX
-CONNECTIONS:182
+BOX
+std:ConcatStrings:Box151
+ISEXEC:FALSE
+-316.016058:58.493253:-900.000000
+-293.256058:55.993253:-900.000000
+FIN_BOX
+BOX
+std:ConcatStrings:Box152
+ISEXEC:FALSE
+63.655732:131.163444:-900.000000
+86.415732:128.663444:-900.000000
+FIN_BOX
+BOX
+std:ConcatStrings_tool:Box153
+ISEXEC:FALSE
+25.952362:113.417167:-900.000000
+48.502362:110.917167:-900.000000
+FIN_BOX
+BOX
+std:StringSelect:Box154
+ISEXEC:FALSE
+20.719110:128.529909:-900.000000
+45.239110:126.029909:-900.000000
+PORT
+In0:"0"
+PORT
+In1:"2"
+FIN_BOX
+BOX
+std:MagicBox:Box155
+ISEXEC:FALSE
+17.339336:158.972302:-900.000000
+39.049336:156.472302:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:InteractorStyleMaracas_Model:Box156
+ISEXEC:FALSE
+-315.076120:39.934898:-900.000000
+-291.361120:37.434898:-900.000000
+FIN_BOX
+CONNECTIONS:190
 CONNECTION
 Box06:LstContourPointsX:Box04:LstX
 NumberOfControlPoints:0
@@ -909,9 +937,6 @@ CONNECTION
 Box66:Out:Box30:Renderer
 NumberOfControlPoints:0
 CONNECTION
-point:point:showNpoints:In
-NumberOfControlPoints:0
-CONNECTION
 Box66:Out:showNpoints:Renderer
 NumberOfControlPoints:0
 CONNECTION
@@ -984,9 +1009,6 @@ CONNECTION
 boxChange:boxChange:Box63:In
 NumberOfControlPoints:0
 CONNECTION
-Box63:BoxChange:showNpoints:BoxExecute
-NumberOfControlPoints:0
-CONNECTION
 wxvtkbaseview2:wxvtkbaseview2:Box64:In
 NumberOfControlPoints:0
 CONNECTION
@@ -1050,18 +1072,6 @@ 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
@@ -1382,4 +1392,46 @@ NumberOfControlPoints:0
 CONNECTION
 showNpoints:lstIndexs:Box150:In3
 NumberOfControlPoints:0
+CONNECTION
+point:point:Box155:In
+NumberOfControlPoints:0
+CONNECTION
+Box154:Out:Box153:Type
+NumberOfControlPoints:0
+CONNECTION
+Box151:Out:Box154:In
+NumberOfControlPoints:0
+CONNECTION
+Box152:Box_ConcatStrings:Box153:Box_ConcatString
+NumberOfControlPoints:0
+CONNECTION
+Box155:Out:Box153:In1
+NumberOfControlPoints:0
+CONNECTION
+Box63:BoxChange:Box153:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box151:Box_ConcatStrings:Active_ConcatString_box:Active_ConcatString_box
+NumberOfControlPoints:0
+CONNECTION
+Box152:Out:showNpoints:In
+NumberOfControlPoints:0
+CONNECTION
+Box57:InteractorStyleMaracas:Box156:InteractorStyleMaracas
+NumberOfControlPoints:0
+CONNECTION
+Box57:InteractorStyleMaracas2:Box156:InteractorStyleMaracas2
+NumberOfControlPoints:0
+CONNECTION
+Box57:InteractorStyleMaracas3:Box156:InteractorStyleMaracas3
+NumberOfControlPoints:0
+CONNECTION
+Box57:InteractorStyleMaracas4:Box156:InteractorStyleMaracas4
+NumberOfControlPoints:0
+CONNECTION
+Box151:Out:Box156:Active
+NumberOfControlPoints:0
+CONNECTION
+Box151:BoxChange:Box156:BoxExecute
+NumberOfControlPoints:0
 APP_END
index e6826e0bc1881231246b073630d48b4547de90b3..88f6e63601a34824f76034aa039f316c706577e0 100644 (file)
@@ -306,6 +306,20 @@ new creaMaracasVisu:ShowNPoints_Tools Box149
 new std:VectorFilterDouble Box150
   set Box150.Type "14"
 
+new std:ConcatStrings Box151
+
+new std:ConcatStrings Box152
+
+new std:ConcatStrings_tool Box153
+
+new std:StringSelect Box154
+  set Box154.In0 "0"
+  set Box154.In1 "2"
+
+new std:MagicBox Box155
+
+new creaMaracasVisu:InteractorStyleMaracas_Model Box156
+
 
 connect Box06.LstContourPointsX Box04.LstX
 connect showNpoints.lstIndexs Box06.LstIndexsIn
@@ -349,7 +363,6 @@ connect Box53.BoxChange Box77.BoxExecute
 connect Box43.BoxChange Box55.BoxExecute
 connect Box52.BoxChange Box55.In2
 connect Box43.BoxChange Box53.In6
-connect Box63.BoxChange showNpoints.BoxExecute
 connect Box64.Out Box57.wxVtkBaseView2
 connect Box65.Out Box57.wxVtkBaseView3
 connect Box69.Out Box57.wxVtkBaseView4
@@ -474,9 +487,20 @@ connect Box150.Out2 Box29.LstControlPointsZ
 connect Box150.Out3 Box29.LstIndexsIn
 connect showNpoints.lstSelectedIndexs Box150.k1
 connect showNpoints.lstIndexs Box150.In3
+connect Box154.Out Box153.Type
+connect Box151.Out Box154.In
+connect Box152.Box_ConcatStrings Box153.Box_ConcatString
+connect Box155.Out Box153.In1
+connect Box63.BoxChange Box153.BoxExecute
+connect Box152.Out showNpoints.In
+connect Box57.InteractorStyleMaracas Box156.InteractorStyleMaracas
+connect Box57.InteractorStyleMaracas2 Box156.InteractorStyleMaracas2
+connect Box57.InteractorStyleMaracas3 Box156.InteractorStyleMaracas3
+connect Box57.InteractorStyleMaracas4 Box156.InteractorStyleMaracas4
+connect Box151.Out Box156.Active
+connect Box151.BoxChange Box156.BoxExecute
 
 # Complex input ports
-input point showNpoints.In " "
 input mesh Box67.In " "
 input image Box35.In " "
 input title Box08.WinTitle " "
@@ -486,13 +510,11 @@ input wxvtkbaseview2 Box64.In " "
 input wxvtkbaseview3 Box65.In " "
 input wxvtkbaseview4 Box69.In " "
 input wxvtkbaseview1 Box71.In " "
+input point Box155.In " "
 
 # Complex output ports
 output widget Box08.Widget " "
-output interactorStyleMaracas Box57.InteractorStyleMaracas " "
-output interactorStyleMaracas2 Box57.InteractorStyleMaracas2 " "
-output interactorStyleMaracas3 Box57.InteractorStyleMaracas3 " "
-output interactorStyleMaracas4 Box57.InteractorStyleMaracas4 " "
+output Active_ConcatString_box Box151.Box_ConcatStrings " "
 
 
 endefine
index ad5f7e60e2a064aba471e0fef5810bb98ad71531..b2ad48c4390baff9a9853854b08b2947c4f65866 100644 (file)
@@ -10,35 +10,23 @@ AUTHOR:info-dev@creatis.insa-lyon.fr
 COMPLEXBOX:TRUE
 COMPLEXBOXNAME:Mesh_tool_ApplyPatchSimple
 PACKAGENAME:creaMaracasVisu
-COMPLEXOUTPUTS:5
+COMPLEXOUTPUTS:2
 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
+Active_ConcatString_box
+-267.636791:-187.249512:-900.000000
 FIN_COMPLEX_PORT
 COMPLEXINPUTS:10
 COMPLEX_PORT
 boxChange
--6.086529:137.355528:-900.000000
+-6.721718:139.472825:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 point
-8.392837:138.613226:-900.000000
+32.953478:138.930820:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 wxvtkbaseview1
@@ -72,7 +60,7 @@ COMPLEX_PORT
 meshmanagermodel
 -150.374274:130.740991:-900.000000
 FIN_COMPLEX_PORT
-BOXES:86
+BOXES:92
 BOX
 creaMaracasVisu:ShowNPoints:showNpoints
 ISEXEC:FALSE
@@ -234,8 +222,8 @@ FIN_BOX
 BOX
 creaMaracasVisu:PolyDataToActor_Widget:Box48
 ISEXEC:FALSE
-21.246336:1.807717:-900.000000
-44.266336:-0.692283:-900.000000
+20.683698:1.620171:-900.000000
+43.703698:-0.879829:-900.000000
 FIN_BOX
 BOX
 vtk:vtkImageDataPointerRelay:Box35
@@ -272,8 +260,8 @@ FIN_BOX
 BOX
 creaMaracasVisu:PolyDataToActor_Widget:Box37
 ISEXEC:FALSE
--78.826120:-92.227420:-900.000000
--55.806120:-94.727420:-900.000000
+-79.325367:-95.971776:-900.000000
+-56.305367:-98.471776:-900.000000
 PORT
 color:"0 1 1"
 PORT
@@ -384,8 +372,8 @@ FIN_BOX
 BOX
 creaMaracasVisu:MeshContours_Widget:Box62
 ISEXEC:FALSE
--6.827699:0.907483:-900.000000
-15.967301:-1.592517:-900.000000
+-150.118287:6.206408:-900.000000
+-127.323287:3.706408:-900.000000
 PORT
 colorMesh:"1 1 0"
 FIN_BOX
@@ -422,8 +410,8 @@ FIN_BOX
 BOX
 creaMaracasVisu:MeshContours_Widget:Box72
 ISEXEC:FALSE
--110.334252:-98.487183:-900.000000
--87.539252:-100.987183:-900.000000
+-111.800496:-105.291494:-900.000000
+-89.005496:-107.791494:-900.000000
 PORT
 colorMesh:"0 1 1"
 FIN_BOX
@@ -477,7 +465,7 @@ BOX
 creaMaracasVisu:wxVtkBaseView_Info:Box105
 ISEXEC:FALSE
 -238.523609:87.781768:-900.000000
--211.243609:85.281768:-900.000000
+-209.483609:85.281768:-900.000000
 FIN_BOX
 BOX
 std:AddStringToVector:Box111
@@ -634,8 +622,8 @@ FIN_BOX
 BOX
 wx:LayoutLine:Box147
 ISEXEC:FALSE
--115.155031:-108.866360:-900.000000
--81.835031:-111.366360:-900.000000
+-116.902397:-121.846794:-900.000000
+-83.582397:-124.346794:-900.000000
 PORT
 Orientation:"V"
 PORT
@@ -698,8 +686,8 @@ FIN_BOX
 BOX
 wx:LayoutLine:Box138
 ISEXEC:FALSE
--79.740220:-108.684257:-900.000000
--46.420220:-111.184257:-900.000000
+-81.487586:-121.664691:-900.000000
+-48.167586:-124.164691:-900.000000
 PORT
 Orientation:"V"
 PORT
@@ -708,8 +696,8 @@ FIN_BOX
 BOX
 wx:LayoutTab:Box144
 ISEXEC:FALSE
--111.664211:-115.642230:-900.000000
--78.344211:-118.142230:-900.000000
+-113.411577:-128.622664:-900.000000
+-80.091577:-131.122664:-900.000000
 FIN_BOX
 BOX
 wx:OutputText:Box149
@@ -726,14 +714,14 @@ FIN_BOX
 BOX
 wx:OutputText:Box155
 ISEXEC:FALSE
--102.710522:-103.476615:-900.000000
--80.930522:-105.976615:-900.000000
+-104.457888:-116.457049:-900.000000
+-82.677888:-118.957049:-900.000000
 FIN_BOX
 BOX
 wx:OutputText:Box156
 ISEXEC:FALSE
--62.727956:-100.753344:-900.000000
--40.947956:-103.253344:-900.000000
+-64.475322:-113.733778:-900.000000
+-42.695322:-116.233778:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box157
@@ -765,7 +753,47 @@ ISEXEC:FALSE
 PORT
 Type:"14"
 FIN_BOX
-CONNECTIONS:179
+BOX
+std:MagicBox:Box161
+ISEXEC:FALSE
+33.188625:123.544259:-900.000000
+54.898625:121.044259:-900.000000
+FIN_BOX
+BOX
+std:ConcatStrings:Box162
+ISEXEC:FALSE
+-318.376494:72.983085:-900.000000
+-295.616494:70.483085:-900.000000
+FIN_BOX
+BOX
+std:ConcatStrings:Box163
+ISEXEC:FALSE
+42.261241:118.087985:-900.000000
+65.021241:115.587985:-900.000000
+FIN_BOX
+BOX
+std:ConcatStrings_tool:Box164
+ISEXEC:FALSE
+22.284547:104.065130:-900.000000
+44.834547:101.565130:-900.000000
+FIN_BOX
+BOX
+std:StringSelect:Box165
+ISEXEC:FALSE
+13.497766:110.417019:-900.000000
+38.017766:107.917019:-900.000000
+PORT
+In0:"0"
+PORT
+In1:"2"
+FIN_BOX
+BOX
+creaMaracasVisu:InteractorStyleMaracas_Model:Box166
+ISEXEC:FALSE
+-310.441812:58.861250:-900.000000
+-286.726812:56.361250:-900.000000
+FIN_BOX
+CONNECTIONS:187
 CONNECTION
 Box06:LstContourPointsX:Box04:LstX
 NumberOfControlPoints:0
@@ -836,9 +864,6 @@ CONNECTION
 Box66:Out:Box30:Renderer
 NumberOfControlPoints:0
 CONNECTION
-point:point:showNpoints:In
-NumberOfControlPoints:0
-CONNECTION
 Box66:Out:showNpoints:Renderer
 NumberOfControlPoints:0
 CONNECTION
@@ -917,12 +942,6 @@ 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
@@ -1001,18 +1020,6 @@ 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
@@ -1022,9 +1029,6 @@ CONNECTION
 Box92:MeshBase:Box37:polydata
 NumberOfControlPoints:0
 CONNECTION
-Box37:boxchange:Box72:_execute
-NumberOfControlPoints:0
-CONNECTION
 Box81:Widget:Box08:Widget2
 NumberOfControlPoints:0
 CONNECTION
@@ -1303,4 +1307,52 @@ NumberOfControlPoints:0
 CONNECTION
 showNpoints:lstIndexs:Box160:In3
 NumberOfControlPoints:0
+CONNECTION
+Box162:Box_ConcatStrings:Active_ConcatString_box:Active_ConcatString_box
+NumberOfControlPoints:0
+CONNECTION
+Box163:Box_ConcatStrings:Box164:Box_ConcatString
+NumberOfControlPoints:0
+CONNECTION
+point:point:Box161:In
+NumberOfControlPoints:0
+CONNECTION
+Box161:Out:Box164:In1
+NumberOfControlPoints:0
+CONNECTION
+Box163:Out:showNpoints:In
+NumberOfControlPoints:0
+CONNECTION
+Box162:Out:Box165:In
+NumberOfControlPoints:0
+CONNECTION
+Box165:Out:Box164:Type
+NumberOfControlPoints:0
+CONNECTION
+Box63:BoxChange:Box164:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box48:boxchange:Box62:_execute
+NumberOfControlPoints:0
+CONNECTION
+Box63:BoxChange:Box72:_execute
+NumberOfControlPoints:0
+CONNECTION
+Box57:InteractorStyleMaracas:Box166:InteractorStyleMaracas
+NumberOfControlPoints:0
+CONNECTION
+Box57:InteractorStyleMaracas2:Box166:InteractorStyleMaracas2
+NumberOfControlPoints:0
+CONNECTION
+Box57:InteractorStyleMaracas3:Box166:InteractorStyleMaracas3
+NumberOfControlPoints:0
+CONNECTION
+Box57:InteractorStyleMaracas4:Box166:InteractorStyleMaracas4
+NumberOfControlPoints:0
+CONNECTION
+Box162:Out:Box166:Active
+NumberOfControlPoints:0
+CONNECTION
+Box162:BoxChange:Box166:BoxExecute
+NumberOfControlPoints:0
 APP_END
index 7ec4e32994e35ce983d7dacf9acd4aca27fadc9c..5527a97468cb040f2739c2ecf2f87affde03157d 100644 (file)
@@ -278,6 +278,20 @@ new creaVtk:PolyDataNormals Box159
 new std:VectorFilterDouble Box160
   set Box160.Type "14"
 
+new std:MagicBox Box161
+
+new std:ConcatStrings Box162
+
+new std:ConcatStrings Box163
+
+new std:ConcatStrings_tool Box164
+
+new std:StringSelect Box165
+  set Box165.In0 "0"
+  set Box165.In1 "2"
+
+new creaMaracasVisu:InteractorStyleMaracas_Model Box166
+
 
 connect Box06.LstContourPointsX Box04.LstX
 connect showNpoints.lstIndexs Box06.LstIndexsIn
@@ -322,8 +336,6 @@ 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
@@ -349,7 +361,6 @@ 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
@@ -443,9 +454,22 @@ connect Box160.Out1 Box29.LstControlPointsY
 connect Box160.Out2 Box29.LstControlPointsZ
 connect Box160.Out3 Box29.LstIndexsIn
 connect showNpoints.lstIndexs Box160.In3
+connect Box163.Box_ConcatStrings Box164.Box_ConcatString
+connect Box161.Out Box164.In1
+connect Box163.Out showNpoints.In
+connect Box162.Out Box165.In
+connect Box165.Out Box164.Type
+connect Box63.BoxChange Box164.BoxExecute
+connect Box48.boxchange Box62._execute
+connect Box63.BoxChange Box72._execute
+connect Box57.InteractorStyleMaracas Box166.InteractorStyleMaracas
+connect Box57.InteractorStyleMaracas2 Box166.InteractorStyleMaracas2
+connect Box57.InteractorStyleMaracas3 Box166.InteractorStyleMaracas3
+connect Box57.InteractorStyleMaracas4 Box166.InteractorStyleMaracas4
+connect Box162.Out Box166.Active
+connect Box162.BoxChange Box166.BoxExecute
 
 # Complex input ports
-input point showNpoints.In " "
 input mesh Box67.In " "
 input image Box35.In " "
 input title Box08.WinTitle " "
@@ -455,13 +479,11 @@ input wxvtkbaseview2 Box64.In " "
 input wxvtkbaseview3 Box65.In " "
 input wxvtkbaseview4 Box69.In " "
 input wxvtkbaseview1 Box71.In " "
+input point Box161.In " "
 
 # Complex output ports
 output widget Box08.Widget " "
-output interactorStyleMaracas Box57.InteractorStyleMaracas " "
-output interactorStyleMaracas2 Box57.InteractorStyleMaracas2 " "
-output interactorStyleMaracas3 Box57.InteractorStyleMaracas3 " "
-output interactorStyleMaracas4 Box57.InteractorStyleMaracas4 " "
+output Active_ConcatString_box Box162.Box_ConcatStrings " "
 
 
 endefine
index 2cc61d9d1ccd2ecb33d960c7ebf532bf83051c69..5a22c61cc309af46abb72659fc0efc3f84ebc46e 100644 (file)
@@ -10,69 +10,57 @@ AUTHOR:info-dev@creatis.insa-lyon.fr
 COMPLEXBOX:TRUE
 COMPLEXBOXNAME:Mesh_tool_ApplyRegionGrowing
 PACKAGENAME:creaMaracasVisu
-COMPLEXOUTPUTS:5
+COMPLEXOUTPUTS:2
 COMPLEX_PORT
 widget
 -176.524885:-207.578867:-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
+Active_ConcatString_box
+-267.181079:-190.286236:-900.000000
 FIN_COMPLEX_PORT
 COMPLEXINPUTS:10
 COMPLEX_PORT
 boxChange
--19.066963:139.102894:-900.000000
+-23.087178:207.446553:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 point
-8.392837:138.613226:-900.000000
+28.185751:206.956885:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 wxvtkbaseview1
--268.019084:133.379456:-900.000000
+-272.039299:201.723115:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 mesh
--59.814076:140.655693:-900.000000
+-63.834291:208.999352:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 image
--96.062149:138.883434:-900.000000
+-100.082364:207.227093:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 wxvtkbaseview2
--231.668448:132.854505:-900.000000
+-235.688663:201.198164:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 wxvtkbaseview3
--216.690458:133.262996:-900.000000
+-220.710673:201.606655:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 wxvtkbaseview4
--193.414893:132.224675:-900.000000
+-197.435108:200.568334:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 title
--167.581636:131.715380:-900.000000
+-171.601851:200.059039:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 meshmanagermodel
--150.374274:130.740991:-900.000000
+-153.486767:202.488610:-900.000000
 FIN_COMPLEX_PORT
-BOXES:87
+BOXES:93
 BOX
 creaMaracasVisu:ShowNPoints:showNpoints
 ISEXEC:FALSE
@@ -186,8 +174,8 @@ FIN_BOX
 BOX
 std:MagicBox:Box67
 ISEXEC:FALSE
--67.526006:124.007723:-900.000000
--45.926006:121.507723:-900.000000
+-71.546221:192.351382:-900.000000
+-49.946221:189.851382:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:PolyDataToActor_Widget:Box48
@@ -200,8 +188,8 @@ FIN_BOX
 BOX
 vtk:vtkImageDataPointerRelay:Box35
 ISEXEC:FALSE
--107.091396:123.633118:-900.000000
--83.881396:121.133118:-900.000000
+-111.111611:191.976777:-900.000000
+-87.901611:189.476777:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:PolyDataToActor_Widget:Box37
@@ -272,8 +260,8 @@ FIN_BOX
 BOX
 std:MagicBox:Box46
 ISEXEC:FALSE
--137.131256:113.921532:-900.000000
--115.531256:111.421532:-900.000000
+-144.101570:192.477071:-900.000000
+-122.501570:189.977071:-900.000000
 FIN_BOX
 BOX
 std:MultipleInputs:Box51
@@ -312,32 +300,32 @@ FIN_BOX
 BOX
 std:MagicBox:Box63
 ISEXEC:FALSE
--23.878975:123.201464:-900.000000
--2.278975:120.701464:-900.000000
+-27.899190:191.545123:-900.000000
+-6.299190:189.045123:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box64
 ISEXEC:FALSE
--243.113826:124.330340:-900.000000
--221.513826:121.830340:-900.000000
+-247.134041:192.673999:-900.000000
+-225.534041:190.173999:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box65
 ISEXEC:FALSE
--220.296210:124.504415:-900.000000
--198.696210:122.004415:-900.000000
+-224.316425:192.848074:-900.000000
+-202.716425:190.348074:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box69
 ISEXEC:FALSE
--197.793508:124.678490:-900.000000
--176.193508:122.178490:-900.000000
+-201.813723:193.022149:-900.000000
+-180.213723:190.522149:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box71
 ISEXEC:FALSE
--273.359367:124.504415:-900.000000
--251.759367:122.004415:-900.000000
+-277.379582:192.848074:-900.000000
+-255.779582:190.348074:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:MeshContours_Widget:Box72
@@ -397,7 +385,7 @@ BOX
 creaMaracasVisu:wxVtkBaseView_Info:Box96
 ISEXEC:FALSE
 -167.653292:103.516214:-900.000000
--140.373292:101.016214:-900.000000
+-138.613292:101.016214:-900.000000
 FIN_BOX
 BOX
 wx:LayoutLine:Box98
@@ -771,7 +759,47 @@ ISEXEC:FALSE
 -85.629080:-97.555325:-900.000000
 -63.849080:-100.055325:-900.000000
 FIN_BOX
-CONNECTIONS:162
+BOX
+std:ConcatStrings:Box152
+ISEXEC:FALSE
+49.965959:186.956157:-900.000000
+72.725959:184.456157:-900.000000
+FIN_BOX
+BOX
+std:ConcatStrings:Box153
+ISEXEC:FALSE
+-319.656020:72.805095:-900.000000
+-296.896020:70.305095:-900.000000
+FIN_BOX
+BOX
+std:ConcatStrings_tool:Box154
+ISEXEC:FALSE
+21.805133:164.210426:-900.000000
+44.355133:161.710426:-900.000000
+FIN_BOX
+BOX
+std:StringSelect:Box155
+ISEXEC:FALSE
+2.919718:179.529335:-900.000000
+27.439718:177.029335:-900.000000
+PORT
+In0:"0"
+PORT
+In1:"2"
+FIN_BOX
+BOX
+std:MagicBox:Box156
+ISEXEC:FALSE
+23.559481:193.970377:-900.000000
+45.269481:191.470377:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:InteractorStyleMaracas_Model:Box157
+ISEXEC:FALSE
+-308.988987:59.885268:-900.000000
+-285.273987:57.385268:-900.000000
+FIN_BOX
+CONNECTIONS:170
 CONNECTION
 Box31:BoxChange:Box11:BoxExecute
 NumberOfControlPoints:0
@@ -794,9 +822,6 @@ CONNECTION
 Box66:Out:Box11:Renderer
 NumberOfControlPoints:0
 CONNECTION
-point:point:showNpoints:In
-NumberOfControlPoints:0
-CONNECTION
 Box66:Out:showNpoints:Renderer
 NumberOfControlPoints:0
 CONNECTION
@@ -857,9 +882,6 @@ CONNECTION
 boxChange:boxChange:Box63:In
 NumberOfControlPoints:0
 CONNECTION
-Box63:BoxChange:showNpoints:BoxExecute
-NumberOfControlPoints:0
-CONNECTION
 wxvtkbaseview2:wxvtkbaseview2:Box64:In
 NumberOfControlPoints:0
 CONNECTION
@@ -929,18 +951,6 @@ 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
@@ -1258,4 +1268,46 @@ NumberOfControlPoints:0
 CONNECTION
 Box150:Widget:Box141:Widget9
 NumberOfControlPoints:0
+CONNECTION
+point:point:Box156:In
+NumberOfControlPoints:0
+CONNECTION
+Box152:Out:showNpoints:In
+NumberOfControlPoints:0
+CONNECTION
+Box156:Out:Box154:In1
+NumberOfControlPoints:0
+CONNECTION
+Box155:Out:Box154:Type
+NumberOfControlPoints:0
+CONNECTION
+Box153:Out:Box155:In
+NumberOfControlPoints:0
+CONNECTION
+Box63:BoxChange:Box154:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box152:Box_ConcatStrings:Box154:Box_ConcatString
+NumberOfControlPoints:0
+CONNECTION
+Box153:Box_ConcatStrings:Active_ConcatString_box:Active_ConcatString_box
+NumberOfControlPoints:0
+CONNECTION
+Box57:InteractorStyleMaracas:Box157:InteractorStyleMaracas
+NumberOfControlPoints:0
+CONNECTION
+Box57:InteractorStyleMaracas2:Box157:InteractorStyleMaracas2
+NumberOfControlPoints:0
+CONNECTION
+Box57:InteractorStyleMaracas3:Box157:InteractorStyleMaracas3
+NumberOfControlPoints:0
+CONNECTION
+Box57:InteractorStyleMaracas4:Box157:InteractorStyleMaracas4
+NumberOfControlPoints:0
+CONNECTION
+Box153:Out:Box157:Active
+NumberOfControlPoints:0
+CONNECTION
+Box153:BoxChange:Box157:BoxExecute
+NumberOfControlPoints:0
 APP_END
index d7075fbfc6a501addc686405e99296927063028b..129e377146dc691cf412d076d574e0d2f58d2c6d 100644 (file)
@@ -282,6 +282,20 @@ new wx:OutputText Box150
 
 new wx:OutputText Box151
 
+new std:ConcatStrings Box152
+
+new std:ConcatStrings Box153
+
+new std:ConcatStrings_tool Box154
+
+new std:StringSelect Box155
+  set Box155.In0 "0"
+  set Box155.In1 "2"
+
+new std:MagicBox Box156
+
+new creaMaracasVisu:InteractorStyleMaracas_Model Box157
+
 
 connect Box31.BoxChange Box11.BoxExecute
 connect Box58.Out Box57.In
@@ -304,7 +318,6 @@ connect Box52.BoxChange Box51.In4
 connect showNpoints.WidgetShowNPoints Box52.WidgetShowNPoints
 connect Box42.BoxChange Box53.In3
 connect Box52.BoxChange Box55.In2
-connect Box63.BoxChange showNpoints.BoxExecute
 connect Box64.Out Box57.wxVtkBaseView2
 connect Box64.Out Box62._wxvtkbaseview2D1
 connect Box65.Out Box57.wxVtkBaseView3
@@ -430,9 +443,20 @@ connect Box148.Widget Box143.Widget9
 connect Box149.Widget Box146.Widget9
 connect Box151.Widget Box144.Widget9
 connect Box150.Widget Box141.Widget9
+connect Box152.Out showNpoints.In
+connect Box156.Out Box154.In1
+connect Box155.Out Box154.Type
+connect Box153.Out Box155.In
+connect Box63.BoxChange Box154.BoxExecute
+connect Box152.Box_ConcatStrings Box154.Box_ConcatString
+connect Box57.InteractorStyleMaracas Box157.InteractorStyleMaracas
+connect Box57.InteractorStyleMaracas2 Box157.InteractorStyleMaracas2
+connect Box57.InteractorStyleMaracas3 Box157.InteractorStyleMaracas3
+connect Box57.InteractorStyleMaracas4 Box157.InteractorStyleMaracas4
+connect Box153.Out Box157.Active
+connect Box153.BoxChange Box157.BoxExecute
 
 # Complex input ports
-input point showNpoints.In " "
 input mesh Box67.In " "
 input image Box35.In " "
 input title Box08.WinTitle " "
@@ -442,13 +466,11 @@ input wxvtkbaseview2 Box64.In " "
 input wxvtkbaseview3 Box65.In " "
 input wxvtkbaseview4 Box69.In " "
 input wxvtkbaseview1 Box71.In " "
+input point Box156.In " "
 
 # Complex output ports
 output widget Box08.Widget " "
-output interactorStyleMaracas Box57.InteractorStyleMaracas " "
-output interactorStyleMaracas2 Box57.InteractorStyleMaracas2 " "
-output interactorStyleMaracas3 Box57.InteractorStyleMaracas3 " "
-output interactorStyleMaracas4 Box57.InteractorStyleMaracas4 " "
+output Active_ConcatString_box Box153.Box_ConcatStrings " "
 
 exec Box55
 
index b7b403bfcfae76924a14fb63870df8750be4ebad..e1d147c047de64b7d108ec2b70620e4f5fdab758 100644 (file)
@@ -10,26 +10,14 @@ AUTHOR:info-dev@creatis.insa-lyon.fr
 COMPLEXBOX:TRUE
 COMPLEXBOXNAME:Mesh_tool_ApplySurface
 PACKAGENAME:creaMaracasVisu
-COMPLEXOUTPUTS:5
+COMPLEXOUTPUTS:2
 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
+Active_ConcatString_box
+-271.929156:-187.297517:-900.000000
 FIN_COMPLEX_PORT
 COMPLEXINPUTS:12
 COMPLEX_PORT
@@ -38,7 +26,7 @@ boxChange
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 point
-8.392837:138.613226:-900.000000
+30.858973:133.847682:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 wxvtkbaseview1
@@ -80,7 +68,7 @@ COMPLEX_PORT
 freeplane_point
 -349.159524:124.829268:-900.000000
 FIN_COMPLEX_PORT
-BOXES:92
+BOXES:97
 BOX
 creaMaracasVisu:ShowNPoints:showNpoints
 ISEXEC:FALSE
@@ -134,8 +122,8 @@ FIN_BOX
 BOX
 std:MultipleInputs:Box31
 ISEXEC:FALSE
-14.774837:-45.768661:-900.000000
-36.744837:-48.268661:-900.000000
+16.136421:-46.222522:-900.000000
+38.106421:-48.722522:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:ManualContourModel_Box:Box29
@@ -148,8 +136,8 @@ FIN_BOX
 BOX
 creaMaracasVisu:wxPopupMenu:Box57
 ISEXEC:FALSE
--291.724262:77.620511:-900.000000
--269.659262:75.120511:-900.000000
+-292.747240:80.007460:-900.000000
+-270.682240:77.507460:-900.000000
 PORT
 WithCtrlKey:"true"
 FIN_BOX
@@ -202,8 +190,8 @@ FIN_BOX
 BOX
 creaVtk:BooleanOperationPolyDataFilter:Box77
 ISEXEC:FALSE
--85.849843:-22.221970:-900.000000
--62.119843:-24.721970:-900.000000
+-87.438358:-22.902762:-900.000000
+-63.708358:-25.402762:-900.000000
 PORT
 BoxProcessMode:"Manual"
 PORT
@@ -262,8 +250,8 @@ FIN_BOX
 BOX
 wx:Slider:Box34
 ISEXEC:FALSE
--198.941120:-3.426364:-900.000000
--169.141120:-5.926364:-900.000000
+-194.856368:10.189476:-900.000000
+-165.056368:7.689476:-900.000000
 PORT
 In:"50"
 PORT
@@ -287,7 +275,7 @@ In2:"100"
 FIN_BOX
 BOX
 creaMaracasVisu:PolyDataToActor_Widget:Box37
-ISEXEC:TRUE
+ISEXEC:FALSE
 -67.388857:-39.476785:-900.000000
 -44.368857:-41.976785:-900.000000
 PORT
@@ -480,28 +468,24 @@ FIN_BOX
 BOX
 creaVtk:MeshManager:Box92
 ISEXEC:FALSE
--56.608588:-81.789032:-900.000000
--34.578588:-84.289032:-900.000000
+-52.296905:-77.931211:-900.000000
+-30.266905:-80.431211:-900.000000
 FIN_BOX
 BOX
 creaVtk:MeshManager_tool:Box93
 ISEXEC:FALSE
--61.627153:-92.643884:-900.000000
--39.127153:-95.143884:-900.000000
+-55.273094:-98.771012:-900.000000
+-32.773094:-101.271012:-900.000000
+PORT
+BoxProcessMode:"Manual"
 PORT
 Tool:"35"
 FIN_BOX
 BOX
-std:MagicBox:Box94
-ISEXEC:FALSE
--70.989776:-33.864327:-900.000000
--49.389776:-36.364327:-900.000000
-FIN_BOX
-BOX
 creaMaracasVisu:wxVtkBaseView_Info:Box96
 ISEXEC:FALSE
 -157.021318:90.558496:-900.000000
--129.741318:88.058496:-900.000000
+-127.981318:88.058496:-900.000000
 FIN_BOX
 BOX
 creaVtk:PolyDataNormals:Box97
@@ -634,8 +618,8 @@ FIN_BOX
 BOX
 creaVtk:CleanPolyData:Box113
 ISEXEC:FALSE
--87.782424:-60.650779:-900.000000
--65.597424:-63.150779:-900.000000
+-88.009355:-61.558502:-900.000000
+-65.824355:-64.058502:-900.000000
 FIN_BOX
 BOX
 wx:LayoutLine:Box114
@@ -680,8 +664,8 @@ FIN_BOX
 BOX
 wx:OutputText:Box131
 ISEXEC:FALSE
--1.948621:-50.145678:-900.000000
-19.831379:-52.645678:-900.000000
+-4.444858:-53.549638:-900.000000
+17.335142:-56.049638:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:ShowNPoints_Tools:Box132
@@ -778,14 +762,14 @@ FIN_BOX
 BOX
 wx:OutputText:Box137
 ISEXEC:FALSE
--220.771854:-80.005991:-900.000000
--198.991854:-82.505991:-900.000000
+-202.528742:-78.471524:-900.000000
+-180.748742:-80.971524:-900.000000
 FIN_BOX
 BOX
 wx:OutputText:Box139
 ISEXEC:FALSE
--270.119436:-70.500638:-900.000000
--248.339436:-73.000638:-900.000000
+-248.125404:-75.445033:-900.000000
+-226.345404:-77.945033:-900.000000
 FIN_BOX
 BOX
 std:VectorFilterDouble:Box140
@@ -831,7 +815,47 @@ InY:"1"
 PORT
 InZ:"0"
 FIN_BOX
-CONNECTIONS:185
+BOX
+std:MagicBox:Box145
+ISEXEC:FALSE
+29.799700:123.894989:-900.000000
+51.509700:121.394989:-900.000000
+FIN_BOX
+BOX
+std:ConcatStrings:Box146
+ISEXEC:FALSE
+45.583120:115.261182:-900.000000
+68.343120:112.761182:-900.000000
+FIN_BOX
+BOX
+std:ConcatStrings_tool:Box147
+ISEXEC:FALSE
+16.537199:98.654484:-900.000000
+39.087199:96.154484:-900.000000
+FIN_BOX
+BOX
+std:StringSelect:Box148
+ISEXEC:FALSE
+-13.448146:107.009497:-900.000000
+11.071854:104.509497:-900.000000
+PORT
+In0:"0"
+PORT
+In1:"2"
+FIN_BOX
+BOX
+std:ConcatStrings:Box149
+ISEXEC:FALSE
+-264.972359:60.051985:-900.000000
+-242.212359:57.551985:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:InteractorStyleMaracas_Model:Box150
+ISEXEC:FALSE
+-312.126255:32.135821:-900.000000
+-288.411255:29.635821:-900.000000
+FIN_BOX
+CONNECTIONS:192
 CONNECTION
 Box06:LstContourPointsX:Box04:LstX
 NumberOfControlPoints:0
@@ -905,9 +929,6 @@ CONNECTION
 Box66:Out:Box30:Renderer
 NumberOfControlPoints:0
 CONNECTION
-point:point:showNpoints:In
-NumberOfControlPoints:0
-CONNECTION
 Box66:Out:showNpoints:Renderer
 NumberOfControlPoints:0
 CONNECTION
@@ -1001,12 +1022,6 @@ 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
@@ -1085,24 +1100,9 @@ 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
-Box77:BoxChange:Box93:BoxExecute
-NumberOfControlPoints:0
-CONNECTION
 Box92:MeshBase:Box72:_polydata
 NumberOfControlPoints:0
 CONNECTION
@@ -1115,12 +1115,6 @@ CONNECTION
 Box81:Widget:Box08:Widget2
 NumberOfControlPoints:0
 CONNECTION
-Box94:BoxChange:Box37:boxexecute
-NumberOfControlPoints:0
-CONNECTION
-Box77:BoxChange:Box94:BoxExecute
-NumberOfControlPoints:0
-CONNECTION
 Box71:Out:Box96:wxVtkBaseView
 NumberOfControlPoints:0
 CONNECTION
@@ -1387,4 +1381,55 @@ NumberOfControlPoints:0
 CONNECTION
 Box143:Out:Box60:Params
 NumberOfControlPoints:0
+CONNECTION
+Box77:BoxChange:Box37:boxexecute
+NumberOfControlPoints:0
+CONNECTION
+Box77:BoxChange:Box93:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+point:point:Box145:In
+NumberOfControlPoints:0
+CONNECTION
+Box48:boxchange:Box62:_execute
+NumberOfControlPoints:0
+CONNECTION
+Box145:Out:Box147:In1
+NumberOfControlPoints:0
+CONNECTION
+Box146:Box_ConcatStrings:Box147:Box_ConcatString
+NumberOfControlPoints:0
+CONNECTION
+Box146:Out:showNpoints:In
+NumberOfControlPoints:0
+CONNECTION
+Box63:BoxChange:Box147:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box148:Out:Box147:Type
+NumberOfControlPoints:0
+CONNECTION
+Box149:Out:Box148:In
+NumberOfControlPoints:0
+CONNECTION
+Box149:Box_ConcatStrings:Active_ConcatString_box:Active_ConcatString_box
+NumberOfControlPoints:0
+CONNECTION
+Box149:Out:Box150:Active
+NumberOfControlPoints:0
+CONNECTION
+Box57:InteractorStyleMaracas:Box150:InteractorStyleMaracas
+NumberOfControlPoints:0
+CONNECTION
+Box57:InteractorStyleMaracas2:Box150:InteractorStyleMaracas2
+NumberOfControlPoints:0
+CONNECTION
+Box57:InteractorStyleMaracas3:Box150:InteractorStyleMaracas3
+NumberOfControlPoints:0
+CONNECTION
+Box149:BoxChange:Box150:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box57:InteractorStyleMaracas4:Box150:InteractorStyleMaracas4
+NumberOfControlPoints:0
 APP_END
index ce86fea0e1d48f625383277e8a3d4840c90e3d82..46fa7a1edb8fd708db6fe088898db90b3559549b 100644 (file)
@@ -170,10 +170,9 @@ new wx:LayoutTab Box86
 new creaVtk:MeshManager Box92
 
 new creaVtk:MeshManager_tool Box93
+  set Box93.BoxProcessMode "Manual"
   set Box93.Tool "35"
 
-new std:MagicBox Box94
-
 new creaMaracasVisu:wxVtkBaseView_Info Box96
 
 new creaVtk:PolyDataNormals Box97
@@ -301,6 +300,20 @@ new creaVtk:TransformVector Box144
   set Box144.InY "1"
   set Box144.InZ "0"
 
+new std:MagicBox Box145
+
+new std:ConcatStrings Box146
+
+new std:ConcatStrings_tool Box147
+
+new std:StringSelect Box148
+  set Box148.In0 "0"
+  set Box148.In1 "2"
+
+new std:ConcatStrings Box149
+
+new creaMaracasVisu:InteractorStyleMaracas_Model Box150
+
 
 connect Box06.LstContourPointsX Box04.LstX
 connect showNpoints.lstIndexs Box06.LstIndexsIn
@@ -351,8 +364,6 @@ connect Box42.BoxChange Box53.In3
 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
@@ -376,13 +387,10 @@ connect Box49.Widget Box50.Widget2
 connect Box34.Widget Box50.Widget4
 connect Box57.BoxChange Box08.BoxExecute
 connect Box92.MeshManagerModel Box93.MeshManagerModel
-connect Box77.BoxChange Box93.BoxExecute
 connect Box92.MeshBase Box72._polydata
 connect Box92.MeshBase Box37.polydata
 connect Box37.boxchange Box72._execute
 connect Box81.Widget Box08.Widget2
-connect Box94.BoxChange Box37.boxexecute
-connect Box77.BoxChange Box94.BoxExecute
 connect Box71.Out Box96.wxVtkBaseView
 connect Box96.vtkRenderer Box66.In
 connect Box97.Out Box45.Mesh
@@ -470,9 +478,23 @@ connect Box144.OutX Box143.In3
 connect Box144.OutY Box143.In5
 connect Box144.OutZ Box143.In7
 connect Box143.Out Box60.Params
+connect Box77.BoxChange Box37.boxexecute
+connect Box77.BoxChange Box93.BoxExecute
+connect Box48.boxchange Box62._execute
+connect Box145.Out Box147.In1
+connect Box146.Box_ConcatStrings Box147.Box_ConcatString
+connect Box146.Out showNpoints.In
+connect Box63.BoxChange Box147.BoxExecute
+connect Box148.Out Box147.Type
+connect Box149.Out Box148.In
+connect Box149.Out Box150.Active
+connect Box57.InteractorStyleMaracas Box150.InteractorStyleMaracas
+connect Box57.InteractorStyleMaracas2 Box150.InteractorStyleMaracas2
+connect Box57.InteractorStyleMaracas3 Box150.InteractorStyleMaracas3
+connect Box149.BoxChange Box150.BoxExecute
+connect Box57.InteractorStyleMaracas4 Box150.InteractorStyleMaracas4
 
 # Complex input ports
-input point showNpoints.In " "
 input mesh Box67.In " "
 input image Box35.In " "
 input title Box08.WinTitle " "
@@ -484,14 +506,11 @@ input wxvtkbaseview4 Box69.In " "
 input wxvtkbaseview1 Box71.In " "
 input freeplane_transform Box141.In " "
 input freeplane_point Box142.In " "
+input point Box145.In " "
 
 # Complex output ports
 output widget Box08.Widget " "
-output interactorStyleMaracas Box57.InteractorStyleMaracas " "
-output interactorStyleMaracas2 Box57.InteractorStyleMaracas2 " "
-output interactorStyleMaracas3 Box57.InteractorStyleMaracas3 " "
-output interactorStyleMaracas4 Box57.InteractorStyleMaracas4 " "
+output Active_ConcatString_box Box149.Box_ConcatStrings " "
 
-exec Box37
 
 endefine
index df4d08b975fefa030c1c2f0685d817747ef84879..a92f170b2466df7a4a88104e356cf22e1b358407 100644 (file)
@@ -60,20 +60,20 @@ COMPLEX_PORT
 meshOpacity
 -5.910539:15.975956:-900.000000
 FIN_COMPLEX_PORT
-BOXES:8
+BOXES:9
 BOX
 wx:LayoutLine:Box04
 ISEXEC:FALSE
 -16.179920:-48.062580:-900.000000
-33.320000:-50.562580:-900.000000
+17.140080:-50.562580:-900.000000
 PORT
 Orientation:"H"
 FIN_BOX
 BOX
 vtk:PolyDataToActor:Box09
 ISEXEC:FALSE
-30.477991:-46.605584:-900.000000
-52.717991:-49.105584:-900.000000
+31.500969:-43.366153:-900.000000
+59.540969:-45.866153:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box10
@@ -84,16 +84,16 @@ FIN_BOX
 BOX
 vtk:UpdateRender:Box11
 ISEXEC:FALSE
-59.282350:-58.798209:-900.000000
-81.307350:-61.298209:-900.000000
+65.482218:-60.658169:-900.000000
+87.507218:-63.158169:-900.000000
 PORT
 Active:"true"
 FIN_BOX
 BOX
 wx:Slider:Box13
 ISEXEC:FALSE
--10.463564:-2.972867:-900.000000
-29.800000:-5.472867:-900.000000
+-9.533584:-1.577897:-900.000000
+29.800000:-4.077897:-900.000000
 PORT
 In:"50"
 PORT
@@ -118,8 +118,8 @@ FIN_BOX
 BOX
 wx:ComboBox:Box15
 ISEXEC:FALSE
-22.112635:-19.005024:-900.000000
-48.392635:-21.505024:-900.000000
+26.142549:-16.835070:-900.000000
+47.857549:-19.335070:-900.000000
 PORT
 In:"Points WireFrame Surface"
 PORT
@@ -131,9 +131,15 @@ BOX
 std:MultipleInputs:Box08
 ISEXEC:FALSE
 -36.135097:-21.729535:-900.000000
-21.000000:-24.229535:-900.000000
+-14.165097:-24.229535:-900.000000
 FIN_BOX
-CONNECTIONS:22
+BOX
+std:MagicBox:Box12
+ISEXEC:FALSE
+22.416296:1.762056:-900.000000
+44.016296:-0.737944:-900.000000
+FIN_BOX
+CONNECTIONS:23
 CONNECTION
 Box10:Out:Box11:Renderer
 NumberOfControlPoints:0
@@ -189,9 +195,6 @@ CONNECTION
 Box09:Out:vtkprop3D:vtkprop3D
 NumberOfControlPoints:0
 CONNECTION
-active:active:Box09:Active
-NumberOfControlPoints:0
-CONNECTION
 meshOpacity:meshOpacity:Box13:In
 NumberOfControlPoints:0
 CONNECTION
@@ -200,4 +203,10 @@ NumberOfControlPoints:0
 CONNECTION
 Box15:Widget:widgetB:widgetB
 NumberOfControlPoints:0
+CONNECTION
+active:active:Box12:In
+NumberOfControlPoints:0
+CONNECTION
+Box12:Out:Box09:Active
+NumberOfControlPoints:0
 APP_END
index 033e0f508f9c92d0daa03e52f018d3c39f023d02..16a1c4a185b8a03be5b450c93b12597e442583e7 100644 (file)
@@ -44,6 +44,8 @@ new wx:ComboBox Box15
 
 new std:MultipleInputs Box08
 
+new std:MagicBox Box12
+
 
 connect Box10.Out Box11.Renderer
 connect Box09.BoxChange Box11.BoxExecute
@@ -55,6 +57,7 @@ connect Box15.Widget Box04.Widget1
 connect Box13.Widget Box04.Widget3
 connect Box13.BoxChange Box08.In1
 connect Box08.BoxChange Box09.BoxExecute
+connect Box12.Out Box09.Active
 
 # Complex input ports
 input render Box10.In " "
@@ -62,8 +65,8 @@ input polydata Box09.In " "
 input color Box09.Colour " "
 input boxexecute Box08.In3 " "
 input scalarvisibility Box09.ScalarVisibility " "
-input active Box09.Active " "
 input meshOpacity Box13.In " "
+input active Box12.In " "
 
 # Complex output ports
 output widget Box04.Widget " "
index 7c8c778b4f52fb62f1213e28f112c3ed202c58f8..92a82d12de265f68b18d8cf2167b8334f03a03e6 100644 (file)
@@ -162,8 +162,12 @@ bool InteractorwxVtkBaseView::OnMouseMove()
 
         if (ok==true)
         {
+//EED 2023-08-05
             _box->SetwxVtkBaseViewOutputs( _wxvtkbaseview );
+            
             _box->bbSignalOutputModification();
+//            _box->bbSignalOutputModification(std::string("BoxChange"),false);
+            
             return false;
         } // if ok
     } // if _box
@@ -321,27 +325,29 @@ void wxVtkBaseView_Info::Process()
                 interactorwxvtkbaseview->AddThisInteractor();
             } // if wxVtkBaseView
             
+            interactorwxvtkbaseview1    = new InteractorwxVtkBaseView( this  );
+            if (bbGetInputwxVtkBaseView1()!=NULL)
+            {
+                interactorwxvtkbaseview1->SetwxVtkBaseView(  bbGetInputwxVtkBaseView1() );
+                interactorwxvtkbaseview1->AddThisInteractor();
+            } // if wxVtkBaseView2
+            
             interactorwxvtkbaseview2    = new InteractorwxVtkBaseView( this  );
             if (bbGetInputwxVtkBaseView2()!=NULL)
             {
                 interactorwxvtkbaseview2->SetwxVtkBaseView(  bbGetInputwxVtkBaseView2() );
                 interactorwxvtkbaseview2->AddThisInteractor();
-
-//                vtkInteractorStyleBaseView  *vtkinteractorstylebaseview = (vtkInteractorStyleBaseView*) (bbGetInputwxVtkBaseView2()->GetInteractorStyleBaseView() );
-//                vtkinteractorstylebaseview->AddInteractorStyleMaracas( interactorwxvtkbaseview2 );
             } // if wxVtkBaseView2
-            
+
             interactorwxvtkbaseview3    = new InteractorwxVtkBaseView( this  );
             if (bbGetInputwxVtkBaseView3()!=NULL)
             {
                 interactorwxvtkbaseview3->SetwxVtkBaseView(  bbGetInputwxVtkBaseView3() );
                 interactorwxvtkbaseview3->AddThisInteractor();
-
-//                vtkInteractorStyleBaseView  *vtkinteractorstylebaseview = (vtkInteractorStyleBaseView*) (bbGetInputwxVtkBaseView3()->GetInteractorStyleBaseView() );
-//                vtkinteractorstylebaseview->AddInteractorStyleMaracas( interactorwxvtkbaseview3 );
             } // if wxVtkBaseView3
             
             bbSetOutputInteractorwxVtkBaseView_model(   interactorwxvtkbaseview  );
+            bbSetOutputInteractorwxVtkBaseView_model1(  interactorwxvtkbaseview1 );
             bbSetOutputInteractorwxVtkBaseView_model2(  interactorwxvtkbaseview2 );
             bbSetOutputInteractorwxVtkBaseView_model3(  interactorwxvtkbaseview3 );
         } // if InteractionType !=0
@@ -373,6 +379,7 @@ void wxVtkBaseView_Info::bbUserSetDefaultValues()
     interactorwxvtkbaseview2=NULL;
     interactorwxvtkbaseview3=NULL;
     bbSetOutputInteractorwxVtkBaseView_model(   interactorwxvtkbaseview  );
+    bbSetOutputInteractorwxVtkBaseView_model1(  interactorwxvtkbaseview1 );
     bbSetOutputInteractorwxVtkBaseView_model2(  interactorwxvtkbaseview2 );
     bbSetOutputInteractorwxVtkBaseView_model3(  interactorwxvtkbaseview3 );
 }
@@ -387,6 +394,7 @@ void wxVtkBaseView_Info::bbUserInitializeProcessing()
 //    but this is where you should allocate the internal/output pointers 
 //    if any
     bbSetOutputInteractorwxVtkBaseView_model(NULL);
+    bbSetOutputInteractorwxVtkBaseView_model1(NULL);
     bbSetOutputInteractorwxVtkBaseView_model2(NULL);
     bbSetOutputInteractorwxVtkBaseView_model3(NULL);
 }
index d31b2d04c35b20114e45d2f5f7a511d803e882b3..071840010b1bbac3084a373067b29e13c60d503c 100644 (file)
@@ -41,6 +41,7 @@ class bbcreaMaracasVisu_EXPORT wxVtkBaseView_Info
 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
 //===== 
     BBTK_DECLARE_INPUT(wxVtkBaseView,wxVtkBaseView*);
+    BBTK_DECLARE_INPUT(wxVtkBaseView1,wxVtkBaseView*);
     BBTK_DECLARE_INPUT(wxVtkBaseView2,wxVtkBaseView*);
     BBTK_DECLARE_INPUT(wxVtkBaseView3,wxVtkBaseView*);
     BBTK_DECLARE_INPUT(InteractionType,int);
@@ -54,6 +55,7 @@ class bbcreaMaracasVisu_EXPORT wxVtkBaseView_Info
     BBTK_DECLARE_OUTPUT(PointMouse,std::vector<double>);
     BBTK_DECLARE_OUTPUT(Normal,std::vector<double>);
     BBTK_DECLARE_OUTPUT(InteractorwxVtkBaseView_model,InteractorwxVtkBaseView_model*);
+    BBTK_DECLARE_OUTPUT(InteractorwxVtkBaseView_model1,InteractorwxVtkBaseView_model*);
     BBTK_DECLARE_OUTPUT(InteractorwxVtkBaseView_model2,InteractorwxVtkBaseView_model*);
     BBTK_DECLARE_OUTPUT(InteractorwxVtkBaseView_model3,InteractorwxVtkBaseView_model*);
     BBTK_DECLARE_OUTPUT(Box_wxVtkBaseView_Info,wxVtkBaseView_Info*);
@@ -67,6 +69,7 @@ class bbcreaMaracasVisu_EXPORT wxVtkBaseView_Info
     void SetwxVtkBaseViewOutputs(wxVtkBaseView *wxvtkbaseview );
     
     InteractorwxVtkBaseView     *interactorwxvtkbaseview;
+    InteractorwxVtkBaseView     *interactorwxvtkbaseview1;
     InteractorwxVtkBaseView     *interactorwxvtkbaseview2;
     InteractorwxVtkBaseView     *interactorwxvtkbaseview3;
     
@@ -82,6 +85,7 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(wxVtkBaseView_Info,bbtk::AtomicBlackBox);
   BBTK_CATEGORY("empty");
 
   BBTK_INPUT(wxVtkBaseView_Info,wxVtkBaseView,"wxVtkBaseView Used for the principal output. Used in case of InteractionType!=0",wxVtkBaseView*,"");
+  BBTK_INPUT(wxVtkBaseView_Info,wxVtkBaseView1,"Used in case of InteractionType!=0",wxVtkBaseView*,"");
   BBTK_INPUT(wxVtkBaseView_Info,wxVtkBaseView2,"Used in case of InteractionType!=0",wxVtkBaseView*,"");
   BBTK_INPUT(wxVtkBaseView_Info,wxVtkBaseView3,"Used in case of InteractionType!=0",wxVtkBaseView*,"");
   BBTK_INPUT(wxVtkBaseView_Info,InteractionType,"(default 0) 0:Nothing 1:LeftButtonDown 2:LeftButtonUp 3:MouseMove 4:RightButtonDown 5:RightButtonUp 6:LeftDClick 7:RightDClick 8:DragLeft 9:DragRight 10:MiddleButtonDown 11:MiddleButtonUp  12:DragMiddle ",int,"");
@@ -95,6 +99,7 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(wxVtkBaseView_Info,bbtk::AtomicBlackBox);
   BBTK_OUTPUT(wxVtkBaseView_Info,PointMouse,"Actual Point Mouse",std::vector<double>,"");
   BBTK_OUTPUT(wxVtkBaseView_Info,Normal,"Normal of plane viewe",std::vector<double>,"");
   BBTK_OUTPUT(wxVtkBaseView_Info,InteractorwxVtkBaseView_model,"Interactor wxVtkBaseView Model", InteractorwxVtkBaseView_model* ,"");
+  BBTK_OUTPUT(wxVtkBaseView_Info,InteractorwxVtkBaseView_model1,"Interactor wxVtkBaseView Model", InteractorwxVtkBaseView_model* ,"");
   BBTK_OUTPUT(wxVtkBaseView_Info,InteractorwxVtkBaseView_model2,"Interactor wxVtkBaseView Model", InteractorwxVtkBaseView_model* ,"");
   BBTK_OUTPUT(wxVtkBaseView_Info,InteractorwxVtkBaseView_model3,"Interactor wxVtkBaseView Model", InteractorwxVtkBaseView_model* ,"");
   BBTK_OUTPUT(wxVtkBaseView_Info,Box_wxVtkBaseView_Info,"Box wxVtkBaseView_Info", wxVtkBaseView_Info* ,"");
index 4d879e6a972c9b30acec1607a2e542e4d91fb9fe..f50817f86b6a8f1216d307cb9e33fe3a1a57b8da 100644 (file)
@@ -103,6 +103,8 @@ BBTK_BLACK_BOX_IMPLEMENTATION(ShowNPoints,bbtk::WxBlackBox);
 //-----------------------------------------------------------------
 void ShowNPoints::Process()
 {
+    printf ("EED ShowNPoints::Process  OJO ----------------- aqui \n");
+   
        if (mwxwidget!=NULL)
        {
                mwxwidget->SetRenderer( bbGetInputRenderer() );
@@ -133,18 +135,17 @@ void ShowNPoints::Process()
 
         mwxwidget->AutoAddPoints();
         mwxwidget->TrackingPoint();
+
         bbSetOutputlstPointsX( mwxwidget->GetLstPointsX()               );
         bbSetOutputlstPointsY( mwxwidget->GetLstPointsY()               );
         bbSetOutputlstPointsZ( mwxwidget->GetLstPointsZ()               );
         bbSetOutputlstLabels( mwxwidget->GetLstLabels()                 );
         bbSetOutputlstIndexs( mwxwidget->GetLstIndexs()                 );
         bbSetOutputlstSelectedIndexs( mwxwidget->GetLstSelectedIndexs() );
-//        bbSetOutputlstPointsX( mwxwidget->GetModelShowNPoints()->GetLstPointsX() );
-//        bbSetOutputlstPointsY( mwxwidget->GetModelShowNPoints()->GetLstPointsY() );
-//        bbSetOutputlstPointsZ( mwxwidget->GetModelShowNPoints()->GetLstPointsZ() );
- //       bbSetOutputlstLabels( mwxwidget->GetModelShowNPoints()->GetLstLabels() );
         bbSetOutputWidgetShowNPoints( (WidgetShowNPoints*)mwxwidget );
+
        } // mwxwidget
+    
 }
 
 //-----------------------------------------------------------------
index 698893c00e152ca990688367c39b83c14d0e9f6f..71910917db3f261462b458a0035f1e48fc79953a 100644 (file)
@@ -68,7 +68,9 @@ void bbwxMaracas_N_ViewersWidget::OnRefreshView(wxCommandEvent & event)
                mbbViewerNV->_point.push_back( (int)GetY() );
                mbbViewerNV->_point.push_back( (int)GetZ() );
                mbbViewerNV->bbSetOutputPoint( mbbViewerNV->_point );
-               mbbViewerNV->bbSignalOutputModification(std::string("Point"));
+        bool ok=true;
+        if  (mbbViewerNV->bbGetInputReactivityType()==0) { ok=false; }
+        mbbViewerNV->bbSignalOutputModification(std::string("Point"),ok);
        } // if
        wxMaracas_N_ViewersWidget::OnRefreshView(event);
 }
@@ -192,6 +194,7 @@ void ViewerNV::bbUserSetDefaultValues()
        vecNTypeViwer.push_back(0);
        bbSetInputnTypeView(vecNTypeViwer);
     bbSetInputTDxWindow( -1 );
+    bbSetInputReactivityType(1);
 
        bbSetOutputwxVtkBaseView1( NULL );
        bbSetOutputwxVtkBaseView2( NULL );
index f798dcb30d44f2ef9004979fe93ec4a05e7ed49d..642b8d9d5d98fdc8135e4031db2bccd133485324 100644 (file)
@@ -84,6 +84,7 @@ class /*BBTK_EXPORT*/ ViewerNV
   BBTK_DECLARE_INPUT(Obs5, vtkInteractorObserver *);
   BBTK_DECLARE_INPUT(Interpolate, bool);
   BBTK_DECLARE_INPUT(TDxWindow, int);
+  BBTK_DECLARE_INPUT(ReactivityType, int);
 
 
   BBTK_DECLARE_OUTPUT(wxVtkBaseView1,wxVtkBaseView*);
@@ -131,6 +132,7 @@ BBTK_DESCRIPTION("Viewer : N view configuration 2D and 3D (C++,Python)");
   BBTK_INPUT(ViewerNV,Obs5,"Optional: set a different Color level by using an other widget",vtkInteractorObserver*,"");
   BBTK_INPUT(ViewerNV,Interpolate,"Interpolate true/false (default true)",bool,"");
   BBTK_INPUT(ViewerNV,TDxWindow,"(default -1) -1:No TDx  [0..3]:window",int,"");
+  BBTK_INPUT(ViewerNV,ReactivityType,"(default 1) 0:Ractivity Off  1:Ractivity On",int,"");
 
   BBTK_OUTPUT(ViewerNV,wxVtkBaseView1,"wxVtkBaseView 1",wxVtkBaseView  *,"");
   BBTK_OUTPUT(ViewerNV,wxVtkBaseView2,"wxVtkBaseView 2",wxVtkBaseView  *,"");