From: Eduardo DAVILA Date: Thu, 16 Apr 2020 08:40:31 +0000 (+0200) Subject: #3386 creaMaracasVisu Feature New Normal - Clean box ViewerByPlane X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=dfa3d25cdb8b21a5905c38fb585fb264a8c2a7fb;p=creaMaracasVisu.git #3386 creaMaracasVisu Feature New Normal - Clean box ViewerByPlane --- diff --git a/bbtk/bbs/boxes/ViewerByPlane.bbg b/bbtk/bbs/boxes/ViewerByPlane.bbg index 5511b1d..2d3b103 100644 --- a/bbtk/bbs/boxes/ViewerByPlane.bbg +++ b/bbtk/bbs/boxes/ViewerByPlane.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - /tmpEED/creaTools/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/ViewerByPlane.bbg +# - /home/davila/Creatis/C10/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/ViewerByPlane.bbg # ---------------------------------- APP_START @@ -13,7 +13,7 @@ PACKAGENAME:creaMaracasVisu COMPLEXOUTPUTS:12 COMPLEX_PORT widget -268.900118:-337.558426:-900.000000 +264.101477:-335.991174:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT wxvtkbaseview1 @@ -72,8 +72,8 @@ BOXES:52 BOX creaMaracasVisu:ViewerNV:Box01 ISEXEC:FALSE -211.855534:-40.516873:-900.000000 -275.575534:-50.516873:-900.000000 +48.412888:-18.925728:-900.000000 +112.132888:-28.925728:-900.000000 PORT ColorLevel:"900" PORT @@ -85,7 +85,7 @@ BOX vtk:CreateImage:Box02 ISEXEC:FALSE 174.082801:33.300140:-900.000000 -219.657801:23.300140:-900.000000 +213.432801:23.300140:-900.000000 PORT InitialValue:"500" FIN_BOX @@ -93,19 +93,19 @@ BOX creaVtk:MHDFileInfo:Box03 ISEXEC:FALSE 180.117126:68.190785:-900.000000 -225.692126:58.190785:-900.000000 +217.742126:58.190785:-900.000000 FIN_BOX BOX std:ConcatStrings:Box04 ISEXEC:FALSE 117.779237:88.449986:-900.000000 -163.354237:78.449986:-900.000000 +157.504237:78.449986:-900.000000 FIN_BOX BOX creaVtk:ReadMHDPlane:Box05 ISEXEC:FALSE -119.481412:-151.432628:-900.000000 --73.906412:-161.432628:-900.000000 +-78.131412:-161.432628:-900.000000 PORT DirectionPlane:"XY" PORT @@ -117,7 +117,7 @@ BOX std:GetVectorIntElement:Box06 ISEXEC:FALSE -166.080203:-58.913810:-900.000000 --94.905203:-68.913810:-900.000000 +-119.630203:-68.913810:-900.000000 PORT I:"2" FIN_BOX @@ -125,7 +125,7 @@ BOX std:ConcatStrings:Box07 ISEXEC:FALSE -181.496858:-153.259339:-900.000000 --135.921858:-163.259339:-900.000000 +-141.771858:-163.259339:-900.000000 PORT In1:"0 0 " FIN_BOX @@ -133,7 +133,7 @@ BOX vtk:InversCrop:Box08 ISEXEC:FALSE -157.964973:-189.296113:-900.000000 --112.389973:-199.296113:-900.000000 +-121.164973:-199.296113:-900.000000 PORT Active:"false" PORT @@ -143,7 +143,7 @@ BOX creaVtk:ReadMHDPlane:Box12 ISEXEC:FALSE 199.206515:-232.573203:-900.000000 -244.781515:-242.573203:-900.000000 +240.556515:-242.573203:-900.000000 PORT DirectionPlane:"ZX" PORT @@ -154,16 +154,16 @@ FIN_BOX BOX std:GetVectorIntElement:Box13 ISEXEC:FALSE -178.302090:-146.764363:-900.000000 -249.477090:-156.764363:-900.000000 +171.778506:-136.403376:-900.000000 +218.228506:-146.403376:-900.000000 PORT I:"1" FIN_BOX BOX vtk:InversCrop:Box14 ISEXEC:FALSE -132.269209:-266.078164:-900.000000 -177.844209:-276.078164:-900.000000 +129.386112:-265.553964:-900.000000 +166.186112:-275.553964:-900.000000 PORT Active:"false" PORT @@ -173,7 +173,7 @@ BOX std:ConcatStrings:Box15 ISEXEC:FALSE 143.293749:-234.065468:-900.000000 -188.868749:-244.065468:-900.000000 +183.018749:-244.065468:-900.000000 PORT In1:"0 " PORT @@ -183,7 +183,7 @@ BOX creaVtk:ReadMHDPlane:Box18 ISEXEC:FALSE 557.636900:-248.888075:-900.000000 -603.211900:-258.888075:-900.000000 +598.986900:-258.888075:-900.000000 PORT DirectionPlane:"YZ" PORT @@ -195,7 +195,7 @@ BOX std:GetVectorIntElement:Box19 ISEXEC:FALSE 484.087763:-153.495430:-900.000000 -555.262763:-163.495430:-900.000000 +530.537763:-163.495430:-900.000000 PORT I:"0" FIN_BOX @@ -203,7 +203,7 @@ BOX vtk:InversCrop:Box20 ISEXEC:FALSE 488.622102:-290.583946:-900.000000 -534.197102:-300.583946:-900.000000 +525.422102:-300.583946:-900.000000 PORT Active:"false" PORT @@ -213,7 +213,7 @@ BOX std:ConcatStrings:Box21 ISEXEC:FALSE 476.692928:-250.911144:-900.000000 -522.267928:-260.911144:-900.000000 +516.417928:-260.911144:-900.000000 PORT In3:" 0 0" FIN_BOX @@ -221,13 +221,13 @@ BOX std:MagicBox:Box22 ISEXEC:FALSE 302.259593:36.536162:-900.000000 -347.834593:26.536162:-900.000000 +338.334593:26.536162:-900.000000 FIN_BOX BOX std:CreateArithmeticSuiteVector:Box25 ISEXEC:FALSE -293.894172:-33.421666:-900.000000 --222.719172:-43.421666:-900.000000 +-239.919172:-43.421666:-900.000000 PORT Delta:"0" PORT @@ -237,7 +237,7 @@ BOX std:GetVectorIntElement:Box28 ISEXEC:FALSE -284.597642:-2.473740:-900.000000 --213.422642:-12.473740:-900.000000 +-238.147642:-12.473740:-900.000000 PORT I:"2" FIN_BOX @@ -245,13 +245,13 @@ BOX std:GetVectorIntPointer:Box29 ISEXEC:FALSE -300.879747:-52.905942:-900.000000 --255.304747:-62.905942:-900.000000 +-255.579747:-62.905942:-900.000000 FIN_BOX BOX std:SetElementVectorVectorInt:Box30 ISEXEC:FALSE -276.757602:-207.728892:-900.000000 --205.582602:-217.728892:-900.000000 +-224.457602:-217.728892:-900.000000 PORT Value:"0" FIN_BOX @@ -259,7 +259,7 @@ BOX std:GetVectorIntElement:Box31 ISEXEC:FALSE -261.829321:-110.984570:-900.000000 --190.654321:-120.984570:-900.000000 +-215.379321:-120.984570:-900.000000 PORT I:"2" FIN_BOX @@ -267,7 +267,7 @@ BOX std:SetElementVectorVectorInt:Box32 ISEXEC:FALSE -286.437534:-72.057179:-900.000000 --215.262534:-82.057179:-900.000000 +-234.137534:-82.057179:-900.000000 PORT I:"-1" PORT @@ -277,7 +277,7 @@ BOX std:CreateArithmeticSuiteVector:Box33 ISEXEC:FALSE 6.511113:-140.436711:-900.000000 -77.686113:-150.436711:-900.000000 +60.486113:-150.436711:-900.000000 PORT Delta:"0" PORT @@ -287,7 +287,7 @@ BOX std:GetVectorIntElement:Box34 ISEXEC:FALSE 33.729239:-96.227285:-900.000000 -104.904239:-106.227285:-900.000000 +80.179239:-106.227285:-900.000000 PORT I:"1" FIN_BOX @@ -295,13 +295,13 @@ BOX std:GetVectorIntPointer:Box35 ISEXEC:FALSE 15.882466:-151.478702:-900.000000 -61.457466:-161.478702:-900.000000 +61.182466:-161.478702:-900.000000 FIN_BOX BOX std:SetElementVectorVectorInt:Box36 ISEXEC:FALSE 10.168341:-290.887328:-900.000000 -81.343341:-300.887328:-900.000000 +62.468341:-300.887328:-900.000000 PORT Value:"0" FIN_BOX @@ -309,7 +309,7 @@ BOX std:GetVectorIntElement:Box37 ISEXEC:FALSE 93.568160:-197.425236:-900.000000 -164.743160:-207.425236:-900.000000 +140.018160:-207.425236:-900.000000 PORT I:"2" FIN_BOX @@ -317,7 +317,7 @@ BOX std:SetElementVectorVectorInt:Box38 ISEXEC:FALSE 30.324678:-170.629940:-900.000000 -101.499678:-180.629940:-900.000000 +82.624678:-180.629940:-900.000000 PORT I:"-1" PORT @@ -327,7 +327,7 @@ BOX std:CreateArithmeticSuiteVector:Box39 ISEXEC:FALSE 335.330997:-126.674951:-900.000000 -406.505997:-136.674951:-900.000000 +389.305997:-136.674951:-900.000000 PORT Delta:"0" PORT @@ -337,7 +337,7 @@ BOX std:GetVectorIntElement:Box40 ISEXEC:FALSE 346.372632:-90.516177:-900.000000 -417.547632:-100.516177:-900.000000 +392.822632:-100.516177:-900.000000 PORT I:"0" FIN_BOX @@ -345,13 +345,13 @@ BOX std:GetVectorIntPointer:Box41 ISEXEC:FALSE 333.621850:-146.159227:-900.000000 -379.196850:-156.159227:-900.000000 +378.921850:-156.159227:-900.000000 FIN_BOX BOX std:SetElementVectorVectorInt:Box42 ISEXEC:FALSE 363.744192:-321.568099:-900.000000 -434.919192:-331.568099:-900.000000 +416.044192:-331.568099:-900.000000 PORT Value:"0" FIN_BOX @@ -359,7 +359,7 @@ BOX std:GetVectorIntElement:Box43 ISEXEC:FALSE 376.252415:-203.353981:-900.000000 -447.427415:-213.353981:-900.000000 +422.702415:-213.353981:-900.000000 PORT I:"2" FIN_BOX @@ -367,7 +367,7 @@ BOX std:SetElementVectorVectorInt:Box44 ISEXEC:FALSE 355.404325:-167.145530:-900.000000 -426.579325:-177.145530:-900.000000 +407.704325:-177.145530:-900.000000 PORT I:"-1" PORT @@ -377,7 +377,7 @@ BOX std:Div:Box49 ISEXEC:FALSE -275.966276:-16.777053:-900.000000 --243.191276:-26.777053:-900.000000 +-246.641276:-26.777053:-900.000000 PORT In2:"10" FIN_BOX @@ -385,7 +385,7 @@ BOX std:Div:Box50 ISEXEC:FALSE -207.785042:-78.441508:-900.000000 --175.010042:-88.441508:-900.000000 +-178.460042:-88.441508:-900.000000 PORT In2:"10" FIN_BOX @@ -393,7 +393,7 @@ BOX std:ConcatStrings:Box51 ISEXEC:FALSE -154.792316:47.329778:-900.000000 --109.217316:37.329778:-900.000000 +-115.067316:37.329778:-900.000000 PORT In1:"10" FIN_BOX @@ -401,15 +401,15 @@ BOX std:Div:Box53 ISEXEC:FALSE 17.363359:-115.346277:-900.000000 -50.138359:-125.346277:-900.000000 +46.688359:-125.346277:-900.000000 PORT In2:"10" FIN_BOX BOX std:Div:Box54 ISEXEC:FALSE -133.171773:-165.568210:-900.000000 -165.946773:-175.568210:-900.000000 +136.625435:-162.114548:-900.000000 +165.950435:-172.114548:-900.000000 PORT In2:"10" FIN_BOX @@ -417,7 +417,7 @@ BOX std:Div:Box55 ISEXEC:FALSE 432.982443:-185.759365:-900.000000 -465.757443:-195.759365:-900.000000 +462.307443:-195.759365:-900.000000 PORT In2:"10" FIN_BOX @@ -425,7 +425,7 @@ BOX std:Div:Box56 ISEXEC:FALSE 341.378011:-106.711972:-900.000000 -374.153011:-116.711972:-900.000000 +370.703011:-116.711972:-900.000000 PORT In2:"10" FIN_BOX @@ -433,7 +433,7 @@ BOX std:ConcatStrings:Box57 ISEXEC:FALSE 430.268991:17.041475:-900.000000 -475.843991:7.041475:-900.000000 +469.993991:7.041475:-900.000000 PORT In1:"10" FIN_BOX @@ -441,7 +441,7 @@ BOX std:GetVectorIntElement:Box63 ISEXEC:FALSE -159.815354:-107.735296:-900.000000 --88.640354:-117.735296:-900.000000 +-113.365354:-117.735296:-900.000000 PORT I:"0" FIN_BOX @@ -449,7 +449,7 @@ BOX std:MathOperation:Box64 ISEXEC:FALSE -176.701442:-125.216736:-900.000000 --131.126442:-135.216736:-900.000000 +-135.651442:-135.216736:-900.000000 PORT Type:"2" FIN_BOX @@ -457,35 +457,35 @@ BOX std:ConcatStrings:Box65 ISEXEC:FALSE -154.917793:-90.369793:-900.000000 --109.342793:-100.369793:-900.000000 +-115.192793:-100.369793:-900.000000 FIN_BOX BOX std:GetVectorIntElement:Box66 ISEXEC:FALSE -176.217814:-197.615533:-900.000000 -247.392814:-207.615533:-900.000000 +176.911170:-193.108718:-900.000000 +223.361170:-203.108718:-900.000000 PORT I:"0" FIN_BOX BOX std:MathOperation:Box67 ISEXEC:FALSE -168.290941:-209.637274:-900.000000 -213.865941:-219.637274:-900.000000 +168.159891:-210.030424:-900.000000 +209.209891:-220.030424:-900.000000 PORT Type:"2" FIN_BOX BOX std:ConcatStrings:Box68 ISEXEC:FALSE -180.436704:-178.255723:-900.000000 -226.011704:-188.255723:-900.000000 +180.052964:-176.912632:-900.000000 +219.777964:-186.912632:-900.000000 FIN_BOX BOX std:GetVectorIntElement:Box69 ISEXEC:FALSE 608.807976:-193.668625:-900.000000 -679.982976:-203.668625:-900.000000 +655.257976:-203.668625:-900.000000 PORT I:"0" FIN_BOX @@ -493,7 +493,7 @@ BOX std:MathOperation:Box70 ISEXEC:FALSE 587.334225:-211.984186:-900.000000 -632.909225:-221.984186:-900.000000 +628.384225:-221.984186:-900.000000 PORT Type:"2" FIN_BOX @@ -501,7 +501,7 @@ BOX std:ConcatStrings:Box71 ISEXEC:FALSE 613.705537:-176.303122:-900.000000 -659.280537:-186.303122:-900.000000 +653.430537:-186.303122:-900.000000 FIN_BOX CONNECTIONS:112 CONNECTION @@ -541,9 +541,6 @@ CONNECTION FileNale:FileNale:Box04:In1 NumberOfControlPoints:0 CONNECTION -Box01:Widget:widget:widget -NumberOfControlPoints:0 -CONNECTION Box04:Out:Box12:FileName NumberOfControlPoints:0 CONNECTION @@ -840,4 +837,7 @@ NumberOfControlPoints:0 CONNECTION Box01:wxVtkBaseView4:wxvtkbaseview4:wxvtkbaseview4 NumberOfControlPoints:0 +CONNECTION +Box01:Widget:widget:widget +NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/ViewerByPlane.bbs b/bbtk/bbs/boxes/ViewerByPlane.bbs index 9e64860..56375df 100644 --- a/bbtk/bbs/boxes/ViewerByPlane.bbs +++ b/bbtk/bbs/boxes/ViewerByPlane.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) -# - /tmpEED/creaTools/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/ViewerByPlane.bbs +# - /home/davila/Creatis/C10/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/ViewerByPlane.bbs # ---------------------------------- include std @@ -287,7 +287,6 @@ input FileNale Box04.In1 " " input typeMHDorSeek Box22.In " " # Complex output ports -output widget Box01.Widget " " output wxvtkbaseview1 Box01.wxVtkBaseView1 " " output render1 Box01.Renderer1 " " output render2 Box01.Renderer2 " " @@ -299,6 +298,7 @@ output boxchange Box01.BoxChange " " output wxvtkbaseview2 Box01.wxVtkBaseView2 " " output wxvtkbaseview3 Box01.wxVtkBaseView3 " " output wxvtkbaseview4 Box01.wxVtkBaseView4 " " +output widget Box01.Widget " " endefine