]> Creatis software - creaMaracasVisu.git/commitdiff
#3490 MeshManager
authorEduardo DAVILA <davila@creatis.insa-lyon.fr>
Tue, 4 Oct 2022 07:25:34 +0000 (09:25 +0200)
committerEduardo DAVILA <davila@creatis.insa-lyon.fr>
Tue, 4 Oct 2022 07:25:34 +0000 (09:25 +0200)
bbtk/bbs/boxes/Mesh_Application.bbg [new file with mode: 0644]
bbtk/bbs/boxes/Mesh_Application.bbs [new file with mode: 0644]

diff --git a/bbtk/bbs/boxes/Mesh_Application.bbg b/bbtk/bbs/boxes/Mesh_Application.bbg
new file mode 100644 (file)
index 0000000..3c4dd76
--- /dev/null
@@ -0,0 +1,914 @@
+# ----------------------------------
+# - BBTKGEditor v 1.5 BBG BlackBox Diagram file
+# - /Users/davila/Creatis/C22/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_Application.bbg
+# ----------------------------------
+
+APP_START
+CATEGORY:<VOID>
+DESCRIPTION:Description ??
+AUTHOR:Author ??
+COMPLEXBOX:TRUE
+COMPLEXBOXNAME:Mesh_Application
+PACKAGENAME:creaMaracasVisu
+COMPLEXOUTPUTS:2
+COMPLEX_PORT
+WidgetOut
+-94.131893:-165.134889:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+MeshOut
+-42.369841:-162.975814:-900.000000
+FIN_COMPLEX_PORT
+COMPLEXINPUTS:9
+COMPLEX_PORT
+MeshIn
+-47.090275:91.551362:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+ImageIn
+-17.485754:91.989947:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+BoxChange_ViewerNV
+56.801493:93.744289:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+PointIn
+94.930773:91.761593:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+Render3D
+16.912554:89.887921:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+wxvtkbaseview1_In
+127.739707:92.180120:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+wxvtkbaseview2_In
+150.056911:93.827699:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+wxvtkbaseview3_In
+180.544608:95.028934:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+wxvtkbaseview4_In
+206.922345:93.364879:-900.000000
+FIN_COMPLEX_PORT
+BOXES:59
+BOX
+vtk:MetaImageReader:Box05
+ISEXEC:FALSE
+-167.017777:85.507933:-900.000000
+-144.557777:83.007933:-900.000000
+FIN_BOX
+BOX
+creaVtk:StlReader:Box06
+ISEXEC:FALSE
+-194.190858:85.694980:-900.000000
+-172.650858:83.194980:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:ImageChangeInformation:Box07
+ISEXEC:FALSE
+-17.999545:79.197539:-900.000000
+5.150455:76.697539:-900.000000
+FIN_BOX
+BOX
+creaVtk:MeshManager:Box08
+ISEXEC:FALSE
+-56.340123:64.695194:-900.000000
+-34.310123:62.195194:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:PolyDataToActor_Widget:Box15
+ISEXEC:FALSE
+-104.267222:-30.685106:-900.000000
+-81.247222:-33.185106:-900.000000
+PORT
+color:"1 0.7 0.7"
+PORT
+scalarvisibility:"true"
+FIN_BOX
+BOX
+creaMaracasVisu:Mesh_tool_ApplySurface:Box10
+ISEXEC:FALSE
+1.019874:-6.840604:-900.000000
+24.044874:-9.340604:-900.000000
+PORT
+title:"Surface"
+FIN_BOX
+BOX
+wx:LayoutSplit:Box11
+ISEXEC:FALSE
+-96.149542:-151.649281:-900.000000
+-73.389542:-154.149281:-900.000000
+PORT
+Proportion:"5"
+FIN_BOX
+BOX
+wx:LayoutTab:Box12
+ISEXEC:FALSE
+-1.524229:-28.130070:-900.000000
+31.795771:-30.630070:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:SetPositionPointPicker:Box13
+ISEXEC:FALSE
+-138.682314:-29.214851:-900.000000
+-115.952314:-31.714851:-900.000000
+FIN_BOX
+BOX
+wx:LayoutLine:Box14
+ISEXEC:FALSE
+-34.558347:-6.679515:-900.000000
+-1.238347:-9.179515:-900.000000
+PORT
+WinTitle:"Nothing"
+FIN_BOX
+BOX
+creaMaracasVisu:MeshContours_Widget:Box17
+ISEXEC:FALSE
+-71.108426:-10.591734:-900.000000
+-48.313426:-13.091734:-900.000000
+PORT
+colorMesh:"1 0 0"
+FIN_BOX
+BOX
+creaVtk:MeshReduction_DecimatePro:Box18
+ISEXEC:FALSE
+-192.987277:76.324902:-900.000000
+-169.492277:73.824902:-900.000000
+PORT
+TargetReduction:"0.8"
+FIN_BOX
+BOX
+wx:LayoutTab:Box20
+ISEXEC:FALSE
+-97.190069:-143.295975:-900.000000
+-63.870069:-145.795975:-900.000000
+FIN_BOX
+BOX
+wx:LayoutLine:Box22
+ISEXEC:FALSE
+-100.046840:-134.742726:-900.000000
+-66.726840:-137.242726:-900.000000
+PORT
+Orientation:"H"
+PORT
+WinTitle:"Final Surface (Red)"
+FIN_BOX
+BOX
+std:StringSelect:Box23
+ISEXEC:FALSE
+-0.033273:-37.759625:-900.000000
+24.486727:-40.259625:-900.000000
+PORT
+In0:"false  false  false  false  false"
+PORT
+In1:"false  true   false  false  false"
+PORT
+In2:"false  false  true   false  false"
+PORT
+In3:"false  false  false   false  false"
+PORT
+In4:"false  false  false   false  true"
+PORT
+In5:"false  false  false   false  false"
+PORT
+In6:"false  false  false   false  false"
+PORT
+In7:"false  false  false   false  false"
+PORT
+In8:"false  false  false   false  false"
+PORT
+In9:"false  false  false   false  false"
+FIN_BOX
+BOX
+std:GetVectorStringElement:Box24
+ISEXEC:FALSE
+-19.379724:-47.920386:-900.000000
+3.575276:-50.420386:-900.000000
+PORT
+I:"1"
+FIN_BOX
+BOX
+creaMaracasVisu:InteractorStyleMaracas_Model:Box25
+ISEXEC:FALSE
+-51.175905:-64.745553:-900.000000
+-27.570905:-67.245553:-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
+-138.054594:54.648057:-900.000000
+-101.214594:52.148057:-900.000000
+PORT
+In0:"Red"
+PORT
+In1:"Colour"
+PORT
+In2:"B&W"
+FIN_BOX
+BOX
+std:MultipleInputs:Box28
+ISEXEC:FALSE
+-155.246087:44.364360:-900.000000
+-133.276087:41.864360:-900.000000
+FIN_BOX
+BOX
+std:StringSelect:Box29
+ISEXEC:FALSE
+-108.969636:14.830202:-900.000000
+-84.449636:12.330202:-900.000000
+PORT
+In0:"false"
+PORT
+In1:"true"
+PORT
+In2:"true"
+FIN_BOX
+BOX
+std:Add:Box30
+ISEXEC:FALSE
+-133.940296:18.182303:-900.000000
+-112.905296:15.682303:-900.000000
+PORT
+In2:"-1"
+FIN_BOX
+BOX
+creaMaracasVisu:wxVtkBaseView_Info:Box31
+ISEXEC:FALSE
+-111.518153:35.023891:-900.000000
+-84.238153:32.523891:-900.000000
+FIN_BOX
+BOX
+std:GetVectorDoubleElement:Box32
+ISEXEC:FALSE
+-185.764370:25.475119:-900.000000
+-162.639370:22.975119:-900.000000
+PORT
+I:"1"
+FIN_BOX
+BOX
+std:GetVectorDoubleElement:Box33
+ISEXEC:FALSE
+-154.849811:22.322554:-900.000000
+-131.724811:19.822554:-900.000000
+PORT
+I:"0"
+FIN_BOX
+BOX
+wx:LayoutLine:Box34
+ISEXEC:FALSE
+-208.241265:-123.706763:-900.000000
+-174.921265:-126.206763:-900.000000
+FIN_BOX
+BOX
+wx:CommandButton:Box35
+ISEXEC:FALSE
+-263.866543:-78.333803:-900.000000
+-241.591543:-80.833803:-900.000000
+PORT
+Label:"Save and Exit"
+FIN_BOX
+BOX
+std:MultipleInputs:Box36
+ISEXEC:FALSE
+-268.608555:-99.412808:-900.000000
+-246.638555:-101.912808:-900.000000
+FIN_BOX
+BOX
+std:Exit:Box37
+ISEXEC:FALSE
+-250.875860:-91.704097:-900.000000
+-229.925860:-94.204097:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:Mesh_tool_ApplyPatch:Box38
+ISEXEC:FALSE
+32.150859:-6.156547:-900.000000
+54.990859:-8.656547:-900.000000
+PORT
+title:"Patch"
+FIN_BOX
+BOX
+std:GetVectorStringElement:Box39
+ISEXEC:FALSE
+4.531925:-46.027421:-900.000000
+27.486925:-48.527421:-900.000000
+PORT
+I:"2"
+FIN_BOX
+BOX
+creaMaracasVisu:InteractorStyleMaracas_Model:Box40
+ISEXEC:FALSE
+19.417712:-64.227148:-900.000000
+43.022712:-66.727148:-900.000000
+FIN_BOX
+BOX
+std:ConcatStrings:Box41
+ISEXEC:FALSE
+-172.708359:101.773175:-900.000000
+-149.948359:99.273175:-900.000000
+PORT
+In1:"1"
+FIN_BOX
+BOX
+std:StringSelect:Box42
+ISEXEC:FALSE
+-192.440554:93.252178:-900.000000
+-167.920554:90.752178:-900.000000
+PORT
+In0:"/Users/davila/CreatisWork-C11/tmpJCR/results/Experimental-XXXXX/AP098-VT-B-B/segmentation03/Expi-B.mhd-MaskDeepLearning.stl"
+PORT
+In1:"/Users/davila/CreatisWork-C11/tmpJCR/results/Experimental-XXXXX2/LA099-VT-B/segmentation03/Expi-B.mhd-MaskDeepLearning-2.stl"
+FIN_BOX
+BOX
+std:StringSelect:Box44
+ISEXEC:FALSE
+-165.281377:92.758206:-900.000000
+-140.761377:90.258206:-900.000000
+PORT
+In0:"/Users/davila/CreatisWork-C11/tmpJCR/results/Experimental-XXXXX/AP098-VT-B-B/images/Expi-B.mhd"
+PORT
+In1:"/Users/davila/CreatisWork-C11/tmpJCR/results/Experimental-XXXXX2/LA099-VT-B/images/Expi-B.mhd"
+FIN_BOX
+BOX
+creaMaracasVisu:Mesh_tool_ApplyByImage:Box46
+ISEXEC:FALSE
+64.137604:-5.148169:-900.000000
+87.292604:-7.648169:-900.000000
+PORT
+title:"By Image"
+FIN_BOX
+BOX
+creaMaracasVisu:Mesh_tool_ApplyDeformation:Box47
+ISEXEC:FALSE
+100.295941:-5.968439:-900.000000
+123.785941:-8.468439:-900.000000
+PORT
+title:"Deformation"
+FIN_BOX
+BOX
+creaVtk:PlaneWidget:Box48
+ISEXEC:FALSE
+-140.485334:-56.870762:-900.000000
+-118.640334:-59.370762:-900.000000
+PORT
+ReactiveType:"0"
+PORT
+Representation:"1"
+PORT
+Resolution:"5"
+FIN_BOX
+BOX
+creaVtk:PlaneWidget_Base:Box49
+ISEXEC:FALSE
+-167.015215:-83.458714:-900.000000
+-144.605215:-85.958714:-900.000000
+PORT
+Param:"-1"
+PORT
+Type:"1"
+FIN_BOX
+BOX
+creaVtk:PlaneWidget_Base:Box50
+ISEXEC:FALSE
+-133.284010:-83.257409:-900.000000
+-110.874010:-85.757409:-900.000000
+PORT
+Param:"1"
+PORT
+Type:"1"
+FIN_BOX
+BOX
+wx:CommandButton:Box51
+ISEXEC:FALSE
+-170.999028:-74.835470:-900.000000
+-148.724028:-77.335470:-900.000000
+PORT
+Label:"-"
+FIN_BOX
+BOX
+wx:CommandButton:Box52
+ISEXEC:FALSE
+-136.713117:-74.394727:-900.000000
+-114.438117:-76.894727:-900.000000
+PORT
+Label:"+"
+FIN_BOX
+BOX
+wx:LayoutLine:Box53
+ISEXEC:FALSE
+-190.138796:-112.361388:-900.000000
+-156.818796:-114.861388:-900.000000
+PORT
+Orientation:"H"
+FIN_BOX
+BOX
+wx:CheckBox:Box54
+ISEXEC:FALSE
+-211.761741:-50.048031:-900.000000
+-190.131741:-52.548031:-900.000000
+PORT
+In:"false"
+PORT
+Title:"Plane Widget"
+FIN_BOX
+BOX
+std:MultipleInputs:Box55
+ISEXEC:FALSE
+-150.826236:-42.647094:-900.000000
+-128.856236:-45.147094:-900.000000
+FIN_BOX
+BOX
+creaVtk:PolyDataNormals:Box56
+ISEXEC:FALSE
+-51.845091:77.243197:-900.000000
+-29.550091:74.743197:-900.000000
+FIN_BOX
+BOX
+std:ConcatStrings_tool:Box57
+ISEXEC:FALSE
+93.319326:-47.045698:-900.000000
+115.759326:-49.545698:-900.000000
+PORT
+Type:"1"
+FIN_BOX
+BOX
+std:GetVectorStringElement:Box58
+ISEXEC:FALSE
+99.772082:-33.618226:-900.000000
+122.727082:-36.118226:-900.000000
+PORT
+I:"4"
+FIN_BOX
+BOX
+creaMaracasVisu:SetPosition:Box59
+ISEXEC:FALSE
+-141.049598:-108.060523:-900.000000
+-119.389598:-110.560523:-900.000000
+FIN_BOX
+BOX
+std:MathOperationVector:Box60
+ISEXEC:FALSE
+-130.510540:-100.660654:-900.000000
+-105.990540:-103.160654:-900.000000
+PORT
+Type:"3"
+FIN_BOX
+BOX
+vtk:ImageVtkProperties:Box61
+ISEXEC:FALSE
+-120.867686:-94.582809:-900.000000
+-98.332686:-97.082809:-900.000000
+FIN_BOX
+BOX
+creaVtk:StlWriter:Box62
+ISEXEC:FALSE
+-194.307258:70.879842:-900.000000
+-172.917258:68.379842:-900.000000
+PORT
+Ascii:"false"
+PORT
+FileName:"/Users/davila/CreatisWork-C11/tmpJCR/results/Experimental-XXXXX2/LA099-VT-B/segmentation03/Expi-B.mhd-MaskDeepLearning-2.stl"
+FIN_BOX
+BOX
+std:MagicBox:Box63
+ISEXEC:FALSE
+58.021240:79.902351:-900.000000
+79.621240:77.402351:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box64
+ISEXEC:FALSE
+87.053151:77.612034:-900.000000
+108.653151:75.112034:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box65
+ISEXEC:FALSE
+17.120754:78.814691:-900.000000
+38.720754:76.314691:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box66
+ISEXEC:FALSE
+122.118195:77.823041:-900.000000
+143.718195:75.323041:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box67
+ISEXEC:FALSE
+147.651246:77.682065:-900.000000
+169.251246:75.182065:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box68
+ISEXEC:FALSE
+175.243772:77.520120:-900.000000
+196.843772:75.020120:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box69
+ISEXEC:FALSE
+200.941581:77.753594:-900.000000
+222.541581:75.253594:-900.000000
+FIN_BOX
+CONNECTIONS:129
+CONNECTION
+Box08:MeshBase:Box15:polydata
+NumberOfControlPoints:0
+CONNECTION
+Box08:MeshTemp:Box10:mesh
+NumberOfControlPoints:0
+CONNECTION
+Box12:Widget:Box11:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box07:Out:Box10:image
+NumberOfControlPoints:0
+CONNECTION
+Box07:Out:Box13:image
+NumberOfControlPoints:0
+CONNECTION
+Box10:widget:Box12:Widget3
+NumberOfControlPoints:0
+CONNECTION
+Box14:Widget:Box12:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box08:MeshManagerModel:Box10:meshmanagermodel
+NumberOfControlPoints:0
+CONNECTION
+Box08:MeshBase:Box17:_polydata
+NumberOfControlPoints:0
+CONNECTION
+Box20:Widget:Box11:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box12:Selection:Box23:In
+NumberOfControlPoints:0
+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
+Box07:Out:Box26:Image
+NumberOfControlPoints:0
+CONNECTION
+Box27:BoxChange:Box28:In2
+NumberOfControlPoints:0
+CONNECTION
+Box27:Out:Box29:In
+NumberOfControlPoints:0
+CONNECTION
+Box29:Out:Box15:scalarvisibility
+NumberOfControlPoints:0
+CONNECTION
+Box27:Out:Box30:In1
+NumberOfControlPoints:0
+CONNECTION
+Box30:Out:Box26:ColorType
+NumberOfControlPoints:0
+CONNECTION
+Box31:WindowColorLevel:Box32:In
+NumberOfControlPoints:0
+CONNECTION
+Box31:WindowColorLevel:Box33:In
+NumberOfControlPoints:0
+CONNECTION
+Box33:Out:Box26:ColorWindow
+NumberOfControlPoints:0
+CONNECTION
+Box32:Out:Box26:ColorLevel
+NumberOfControlPoints:0
+CONNECTION
+Box28:BoxChange:Box31:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box31:BoxChange:Box26:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box27:Widget:Box34:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box35:BoxChange:Box36:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box37:BoxChange:Box36:In9
+NumberOfControlPoints:0
+CONNECTION
+Box34:Widget:Box22:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box07:Out:Box38:image
+NumberOfControlPoints:0
+CONNECTION
+Box08:MeshTemp:Box38:mesh
+NumberOfControlPoints:0
+CONNECTION
+Box08:MeshManagerModel:Box38:meshmanagermodel
+NumberOfControlPoints:0
+CONNECTION
+Box38:widget:Box12:Widget5
+NumberOfControlPoints:0
+CONNECTION
+Box23:Out:Box39:In
+NumberOfControlPoints:0
+CONNECTION
+Box39:Out:Box40:Active
+NumberOfControlPoints:0
+CONNECTION
+Box12:BoxChange:Box40:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box38:interactorStyleMaracas:Box40:InteractorStyleMaracas
+NumberOfControlPoints:0
+CONNECTION
+Box38:interactorStyleMaracas2:Box40:InteractorStyleMaracas2
+NumberOfControlPoints:0
+CONNECTION
+Box38:interactorStyleMaracas3:Box40:InteractorStyleMaracas3
+NumberOfControlPoints:0
+CONNECTION
+Box38:interactorStyleMaracas4:Box40:InteractorStyleMaracas4
+NumberOfControlPoints:0
+CONNECTION
+Box17:_widget:Box22:Widget4
+NumberOfControlPoints:0
+CONNECTION
+Box15:widget:Box22:Widget6
+NumberOfControlPoints:0
+CONNECTION
+Box22:Widget:Box20:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box42:Out:Box06:FileName
+NumberOfControlPoints:0
+CONNECTION
+Box41:Out:Box42:In
+NumberOfControlPoints:0
+CONNECTION
+Box41:Out:Box44:In
+NumberOfControlPoints:0
+CONNECTION
+Box44:Out:Box05:In
+NumberOfControlPoints:0
+CONNECTION
+Box46:widget:Box12:Widget7
+NumberOfControlPoints:0
+CONNECTION
+Box07:Out:Box46:image
+NumberOfControlPoints:0
+CONNECTION
+Box08:MeshTemp:Box46:mesh
+NumberOfControlPoints:0
+CONNECTION
+Box08:MeshManagerModel:Box46:meshmanagermodel
+NumberOfControlPoints:0
+CONNECTION
+Box08:MeshManagerModel:Box47:meshmanagermodel
+NumberOfControlPoints:0
+CONNECTION
+Box08:MeshTemp:Box47:mesh
+NumberOfControlPoints:0
+CONNECTION
+Box07:Out:Box47:image
+NumberOfControlPoints:0
+CONNECTION
+Box47:widget:Box12:Widget8
+NumberOfControlPoints:0
+CONNECTION
+Box13:normal:Box48:NormalIn
+NumberOfControlPoints:0
+CONNECTION
+Box48:Base:Box49:In
+NumberOfControlPoints:0
+CONNECTION
+Box48:Base:Box50:In
+NumberOfControlPoints:0
+CONNECTION
+Box51:BoxChange:Box49:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box52:BoxChange:Box50:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box51:Widget:Box53:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box52:Widget:Box53:Widget4
+NumberOfControlPoints:0
+CONNECTION
+Box54:Out:Box48:Active
+NumberOfControlPoints:0
+CONNECTION
+Box55:BoxChange:Box48:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box13:boxchange:Box55:In2
+NumberOfControlPoints:0
+CONNECTION
+Box13:PositionWorld:Box48:Origin
+NumberOfControlPoints:0
+CONNECTION
+Box07:Out:Box48:In
+NumberOfControlPoints:0
+CONNECTION
+Box56:Out:Box08:Mesh
+NumberOfControlPoints:0
+CONNECTION
+Box47:ExportIsActive_concatstring_tool:Box57:Box_ConcatString
+NumberOfControlPoints:0
+CONNECTION
+Box23:Out:Box58:In
+NumberOfControlPoints:0
+CONNECTION
+Box58:Out:Box57:In1
+NumberOfControlPoints:0
+CONNECTION
+Box12:BoxChange:Box57:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box35:Widget:Box34:Widget8
+NumberOfControlPoints:0
+CONNECTION
+Box53:Widget:Box34:Widget6
+NumberOfControlPoints:0
+CONNECTION
+Box54:Widget:Box34:Widget4
+NumberOfControlPoints:0
+CONNECTION
+Box48:BoxChange:Box59:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box60:Out:Box59:Point
+NumberOfControlPoints:0
+CONNECTION
+Box48:Center:Box60:In0
+NumberOfControlPoints:0
+CONNECTION
+Box07:Out:Box61:In
+NumberOfControlPoints:0
+CONNECTION
+Box61:Spacing:Box60:In1
+NumberOfControlPoints:0
+CONNECTION
+Box54:Out:Box59:Active
+NumberOfControlPoints:0
+CONNECTION
+Box18:Out:Box62:In
+NumberOfControlPoints:0
+CONNECTION
+MeshIn:MeshIn:Box56:In
+NumberOfControlPoints:0
+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
+Box65:Out:Box13:render
+NumberOfControlPoints:0
+CONNECTION
+Box65:Out:Box48:Renderer
+NumberOfControlPoints:0
+CONNECTION
+Box65:Out:Box15:render
+NumberOfControlPoints:0
+CONNECTION
+Box11:Widget:WidgetOut:WidgetOut
+NumberOfControlPoints:0
+CONNECTION
+wxvtkbaseview1_In:wxvtkbaseview1_In:Box66:In
+NumberOfControlPoints:0
+CONNECTION
+Box66:Out:Box13:wxvtkbaseview
+NumberOfControlPoints:0
+CONNECTION
+Box66:Out:Box59:wxVtkBaseView
+NumberOfControlPoints:0
+CONNECTION
+Box66:Out:Box17:_wxvtkbaseview3D1
+NumberOfControlPoints:0
+CONNECTION
+Box66:Out:Box10:wxvtkbaseview1
+NumberOfControlPoints:0
+CONNECTION
+Box66:Out:Box38:wxvtkbaseview1
+NumberOfControlPoints:0
+CONNECTION
+Box66:Out:Box46:wxvtkbaseview1
+NumberOfControlPoints:0
+CONNECTION
+Box66:Out:Box47:wxvtkbaseview1
+NumberOfControlPoints:0
+CONNECTION
+wxvtkbaseview2_In:wxvtkbaseview2_In:Box67:In
+NumberOfControlPoints:0
+CONNECTION
+Box67:Out:Box31:wxVtkBaseView
+NumberOfControlPoints:0
+CONNECTION
+Box67:Out:Box17:_wxvtkbaseview2D1
+NumberOfControlPoints:0
+CONNECTION
+Box67:Out:Box47:wxvtkbaseview2
+NumberOfControlPoints:0
+CONNECTION
+Box67:Out:Box46:wxvtkbaseview2
+NumberOfControlPoints:0
+CONNECTION
+Box67:Out:Box38:wxvtkbaseview2
+NumberOfControlPoints:0
+CONNECTION
+Box67:Out:Box10:wxvtkbaseview2
+NumberOfControlPoints:0
+CONNECTION
+wxvtkbaseview3_In:wxvtkbaseview3_In:Box68:In
+NumberOfControlPoints:0
+CONNECTION
+Box68:Out:Box17:_wxvtkbaseview2D2
+NumberOfControlPoints:0
+CONNECTION
+Box68:Out:Box47:wxvtkbaseview3
+NumberOfControlPoints:0
+CONNECTION
+Box68:Out:Box46:wxvtkbaseview3
+NumberOfControlPoints:0
+CONNECTION
+Box68:Out:Box38:wxvtkbaseview3
+NumberOfControlPoints:0
+CONNECTION
+Box68:Out:Box10:wxvtkbaseview3
+NumberOfControlPoints:0
+CONNECTION
+wxvtkbaseview4_In:wxvtkbaseview4_In:Box69:In
+NumberOfControlPoints:0
+CONNECTION
+Box69:Out:Box10:wxvtkbaseview4
+NumberOfControlPoints:0
+CONNECTION
+Box08:MeshBase:MeshOut:MeshOut
+NumberOfControlPoints:0
+APP_END
diff --git a/bbtk/bbs/boxes/Mesh_Application.bbs b/bbtk/bbs/boxes/Mesh_Application.bbs
new file mode 100644 (file)
index 0000000..4d0a3ee
--- /dev/null
@@ -0,0 +1,331 @@
+# ----------------------------------
+# - BBTKGEditor v 1.5 BBS BlackBox Script (Complex Box)
+# - /Users/davila/Creatis/C22/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_Application.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include vtk
+include creaVtk
+include creaMaracasVisu
+include wx
+include std
+
+define Mesh_Application creaMaracasVisu
+
+author "Author ??"
+description "Description ??"
+
+category "<VOID>"
+
+new vtk:MetaImageReader Box05
+
+new creaVtk:StlReader Box06
+
+new creaMaracasVisu:ImageChangeInformation Box07
+
+new creaVtk:MeshManager Box08
+
+new creaMaracasVisu:PolyDataToActor_Widget Box15
+  set Box15.color "1 0.7 0.7"
+  set Box15.scalarvisibility "true"
+
+new creaMaracasVisu:Mesh_tool_ApplySurface Box10
+  set Box10.title "Surface"
+
+new wx:LayoutSplit Box11
+  set Box11.Proportion "5"
+
+new wx:LayoutTab Box12
+
+new creaMaracasVisu:SetPositionPointPicker Box13
+
+new wx:LayoutLine Box14
+  set Box14.WinTitle "Nothing"
+
+new creaMaracasVisu:MeshContours_Widget Box17
+  set Box17.colorMesh "1 0 0"
+
+new creaVtk:MeshReduction_DecimatePro Box18
+  set Box18.TargetReduction "0.8"
+
+new wx:LayoutTab Box20
+
+new wx:LayoutLine Box22
+  set Box22.Orientation "H"
+  set Box22.WinTitle "Final Surface (Red)"
+
+new std:StringSelect Box23
+  set Box23.In0 "false  false  false  false  false"
+  set Box23.In1 "false  true   false  false  false"
+  set Box23.In2 "false  false  true   false  false"
+  set Box23.In3 "false  false  false   false  false"
+  set Box23.In4 "false  false  false   false  true"
+  set Box23.In5 "false  false  false   false  false"
+  set Box23.In6 "false  false  false   false  false"
+  set Box23.In7 "false  false  false   false  false"
+  set Box23.In8 "false  false  false   false  false"
+  set Box23.In9 "false  false  false   false  false"
+
+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
+  set Box29.In0 "false"
+  set Box29.In1 "true"
+  set Box29.In2 "true"
+
+new std:Add Box30
+  set Box30.In2 "-1"
+
+new creaMaracasVisu:wxVtkBaseView_Info Box31
+
+new std:GetVectorDoubleElement Box32
+  set Box32.I "1"
+
+new std:GetVectorDoubleElement Box33
+  set Box33.I "0"
+
+new wx:LayoutLine Box34
+
+new wx:CommandButton Box35
+  set Box35.Label "Save and Exit"
+
+new std:MultipleInputs Box36
+
+new std:Exit Box37
+
+new creaMaracasVisu:Mesh_tool_ApplyPatch Box38
+  set Box38.title "Patch"
+
+new std:GetVectorStringElement Box39
+  set Box39.I "2"
+
+new creaMaracasVisu:InteractorStyleMaracas_Model Box40
+
+new std:ConcatStrings Box41
+  set Box41.In1 "1"
+
+new std:StringSelect Box42
+  set Box42.In0 "/Users/davila/CreatisWork-C11/tmpJCR/results/Experimental-XXXXX/AP098-VT-B-B/segmentation03/Expi-B.mhd-MaskDeepLearning.stl"
+  set Box42.In1 "/Users/davila/CreatisWork-C11/tmpJCR/results/Experimental-XXXXX2/LA099-VT-B/segmentation03/Expi-B.mhd-MaskDeepLearning-2.stl"
+
+new std:StringSelect Box44
+  set Box44.In0 "/Users/davila/CreatisWork-C11/tmpJCR/results/Experimental-XXXXX/AP098-VT-B-B/images/Expi-B.mhd"
+  set Box44.In1 "/Users/davila/CreatisWork-C11/tmpJCR/results/Experimental-XXXXX2/LA099-VT-B/images/Expi-B.mhd"
+
+new creaMaracasVisu:Mesh_tool_ApplyByImage Box46
+  set Box46.title "By Image"
+
+new creaMaracasVisu:Mesh_tool_ApplyDeformation Box47
+  set Box47.title "Deformation"
+
+new creaVtk:PlaneWidget Box48
+  set Box48.ReactiveType "0"
+  set Box48.Representation "1"
+  set Box48.Resolution "5"
+
+new creaVtk:PlaneWidget_Base Box49
+  set Box49.Param "-1"
+  set Box49.Type "1"
+
+new creaVtk:PlaneWidget_Base Box50
+  set Box50.Param "1"
+  set Box50.Type "1"
+
+new wx:CommandButton Box51
+  set Box51.Label "-"
+
+new wx:CommandButton Box52
+  set Box52.Label "+"
+
+new wx:LayoutLine Box53
+  set Box53.Orientation "H"
+
+new wx:CheckBox Box54
+  set Box54.In "false"
+  set Box54.Title "Plane Widget"
+
+new std:MultipleInputs Box55
+
+new creaVtk:PolyDataNormals Box56
+
+new std:ConcatStrings_tool Box57
+  set Box57.Type "1"
+
+new std:GetVectorStringElement Box58
+  set Box58.I "4"
+
+new creaMaracasVisu:SetPosition Box59
+
+new std:MathOperationVector Box60
+  set Box60.Type "3"
+
+new vtk:ImageVtkProperties Box61
+
+new creaVtk:StlWriter Box62
+  set Box62.Ascii "false"
+  set Box62.FileName "/Users/davila/CreatisWork-C11/tmpJCR/results/Experimental-XXXXX2/LA099-VT-B/segmentation03/Expi-B.mhd-MaskDeepLearning-2.stl"
+
+new std:MagicBox Box63
+
+new std:MagicBox Box64
+
+new std:MagicBox Box65
+
+new std:MagicBox Box66
+
+new std:MagicBox Box67
+
+new std:MagicBox Box68
+
+new std:MagicBox Box69
+
+
+connect Box08.MeshBase Box15.polydata
+connect Box08.MeshTemp Box10.mesh
+connect Box12.Widget Box11.Widget2
+connect Box07.Out Box10.image
+connect Box07.Out Box13.image
+connect Box10.widget Box12.Widget3
+connect Box14.Widget Box12.Widget1
+connect Box08.MeshManagerModel Box10.meshmanagermodel
+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 Box27.BoxChange Box28.In2
+connect Box27.Out Box29.In
+connect Box29.Out Box15.scalarvisibility
+connect Box27.Out Box30.In1
+connect Box30.Out Box26.ColorType
+connect Box31.WindowColorLevel Box32.In
+connect Box31.WindowColorLevel Box33.In
+connect Box33.Out Box26.ColorWindow
+connect Box32.Out Box26.ColorLevel
+connect Box28.BoxChange Box31.BoxExecute
+connect Box31.BoxChange Box26.BoxExecute
+connect Box27.Widget Box34.Widget2
+connect Box35.BoxChange Box36.BoxExecute
+connect Box37.BoxChange Box36.In9
+connect Box34.Widget Box22.Widget2
+connect Box07.Out Box38.image
+connect Box08.MeshTemp Box38.mesh
+connect Box08.MeshManagerModel Box38.meshmanagermodel
+connect Box38.widget Box12.Widget5
+connect Box23.Out Box39.In
+connect Box39.Out Box40.Active
+connect Box12.BoxChange Box40.BoxExecute
+connect Box38.interactorStyleMaracas Box40.InteractorStyleMaracas
+connect Box38.interactorStyleMaracas2 Box40.InteractorStyleMaracas2
+connect Box38.interactorStyleMaracas3 Box40.InteractorStyleMaracas3
+connect Box38.interactorStyleMaracas4 Box40.InteractorStyleMaracas4
+connect Box17._widget Box22.Widget4
+connect Box15.widget Box22.Widget6
+connect Box22.Widget Box20.Widget2
+connect Box42.Out Box06.FileName
+connect Box41.Out Box42.In
+connect Box41.Out Box44.In
+connect Box44.Out Box05.In
+connect Box46.widget Box12.Widget7
+connect Box07.Out Box46.image
+connect Box08.MeshTemp Box46.mesh
+connect Box08.MeshManagerModel Box46.meshmanagermodel
+connect Box08.MeshManagerModel Box47.meshmanagermodel
+connect Box08.MeshTemp Box47.mesh
+connect Box07.Out Box47.image
+connect Box47.widget Box12.Widget8
+connect Box13.normal Box48.NormalIn
+connect Box48.Base Box49.In
+connect Box48.Base Box50.In
+connect Box51.BoxChange Box49.BoxExecute
+connect Box52.BoxChange Box50.BoxExecute
+connect Box51.Widget Box53.Widget2
+connect Box52.Widget Box53.Widget4
+connect Box54.Out Box48.Active
+connect Box55.BoxChange Box48.BoxExecute
+connect Box13.boxchange Box55.In2
+connect Box13.PositionWorld Box48.Origin
+connect Box07.Out Box48.In
+connect Box56.Out Box08.Mesh
+connect Box47.ExportIsActive_concatstring_tool Box57.Box_ConcatString
+connect Box23.Out Box58.In
+connect Box58.Out Box57.In1
+connect Box12.BoxChange Box57.BoxExecute
+connect Box35.Widget Box34.Widget8
+connect Box53.Widget Box34.Widget6
+connect Box54.Widget Box34.Widget4
+connect Box48.BoxChange Box59.BoxExecute
+connect Box60.Out Box59.Point
+connect Box48.Center Box60.In0
+connect Box07.Out Box61.In
+connect Box61.Spacing Box60.In1
+connect Box54.Out Box59.Active
+connect Box18.Out Box62.In
+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
+connect Box66.Out Box13.wxvtkbaseview
+connect Box66.Out Box59.wxVtkBaseView
+connect Box66.Out Box17._wxvtkbaseview3D1
+connect Box66.Out Box10.wxvtkbaseview1
+connect Box66.Out Box38.wxvtkbaseview1
+connect Box66.Out Box46.wxvtkbaseview1
+connect Box66.Out Box47.wxvtkbaseview1
+connect Box67.Out Box31.wxVtkBaseView
+connect Box67.Out Box17._wxvtkbaseview2D1
+connect Box67.Out Box47.wxvtkbaseview2
+connect Box67.Out Box46.wxvtkbaseview2
+connect Box67.Out Box38.wxvtkbaseview2
+connect Box67.Out Box10.wxvtkbaseview2
+connect Box68.Out Box17._wxvtkbaseview2D2
+connect Box68.Out Box47.wxvtkbaseview3
+connect Box68.Out Box46.wxvtkbaseview3
+connect Box68.Out Box38.wxvtkbaseview3
+connect Box68.Out Box10.wxvtkbaseview3
+connect Box69.Out Box10.wxvtkbaseview4
+
+# 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 " "
+input wxvtkbaseview3_In Box68.In " "
+input wxvtkbaseview4_In Box69.In " "
+
+# Complex output ports
+output WidgetOut Box11.Widget " "
+output MeshOut Box08.MeshBase " "
+
+
+endefine