From 03389c5a1ee2f7f665bcf80dedfbc04282536b2a Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Wed, 6 Dec 2017 19:56:42 +0100 Subject: [PATCH] #3155 creaMaracasVisu Feature New Normal - ViewerPlane ComplexBox --- bbtk/bbs/boxes/ViewerByPlane.bbg | 632 +++++++++++++++++++++++++++---- bbtk/bbs/boxes/ViewerByPlane.bbs | 197 +++++++++- 2 files changed, 748 insertions(+), 81 deletions(-) diff --git a/bbtk/bbs/boxes/ViewerByPlane.bbg b/bbtk/bbs/boxes/ViewerByPlane.bbg index c03f890..f6418ee 100644 --- a/bbtk/bbs/boxes/ViewerByPlane.bbg +++ b/bbtk/bbs/boxes/ViewerByPlane.bbg @@ -10,34 +10,46 @@ AUTHOR:Author ?? COMPLEXBOX:TRUE COMPLEXBOXNAME:ViewerByPlane PACKAGENAME:creaMaracasVisu -COMPLEXOUTPUTS:3 +COMPLEXOUTPUTS:6 COMPLEX_PORT widget -257.430958:-172.402527:-900.000000 +268.900118:-337.558426:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT wxvtkbaseview1 -281.392519:-172.262009:-900.000000 +293.320445:-337.876674:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT render1 -237.266428:-170.682480:-900.000000 +201.774592:-339.383392:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +render2 +220.636906:-339.341035:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +render3 +231.063415:-338.089854:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +render4 +240.655803:-336.838673:-900.000000 FIN_COMPLEX_PORT COMPLEXINPUTS:2 COMPLEX_PORT FileNale -129.540696:84.595186:-900.000000 +128.173378:108.865073:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT typeMHDorSeek -331.570354:88.190320:-900.000000 +313.453396:106.307278:-900.000000 FIN_COMPLEX_PORT -BOXES:19 +BOXES:52 BOX creaMaracasVisu:ViewerNV:Box01 ISEXEC:FALSE -218.560896:-8.198420:-900.000000 -282.280896:-18.198420:-900.000000 +211.855534:-40.516873:-900.000000 +275.575534:-50.516873:-900.000000 PORT ColorLevel:"900" PORT @@ -48,88 +60,96 @@ FIN_BOX BOX vtk:CreateImage:Box02 ISEXEC:FALSE -175.450119:15.183182:-900.000000 -221.025119:5.183182:-900.000000 +174.082801:33.300140:-900.000000 +219.657801:23.300140:-900.000000 PORT InitialValue:"500" FIN_BOX BOX creaVtk:MHDFileInfo:Box03 ISEXEC:FALSE -184.219079:37.426139:-900.000000 -229.794079:27.426139:-900.000000 +180.117126:68.190785:-900.000000 +225.692126:58.190785:-900.000000 FIN_BOX BOX std:ConcatStrings:Box04 ISEXEC:FALSE -121.881190:64.180099:-900.000000 -167.456190:54.180099:-900.000000 +117.779237:88.449986:-900.000000 +163.354237:78.449986:-900.000000 FIN_BOX BOX creaVtk:ReadMHDPlane:Box05 ISEXEC:FALSE -97.902089:-53.418561:-900.000000 -143.477089:-63.418561:-900.000000 +-119.481412:-151.432628:-900.000000 +-73.906412:-161.432628:-900.000000 PORT DirectionPlane:"XY" PORT Type:"1" +PORT +Width:"10" FIN_BOX BOX std:GetVectorIntElement:Box06 ISEXEC:FALSE -65.832872:-29.890255:-900.000000 -137.007872:-39.890255:-900.000000 +-166.080203:-58.913810:-900.000000 +-94.905203:-68.913810:-900.000000 PORT I:"2" FIN_BOX BOX std:ConcatStrings:Box07 ISEXEC:FALSE -49.273686:-53.161098:-900.000000 -94.848686:-63.161098:-900.000000 +-181.496858:-153.259339:-900.000000 +-135.921858:-163.259339:-900.000000 PORT In1:"0 0 " FIN_BOX BOX vtk:InversCrop:Box08 ISEXEC:FALSE -103.966831:-88.915948:-900.000000 -149.541831:-98.915948:-900.000000 +-157.964973:-189.296113:-900.000000 +-112.389973:-199.296113:-900.000000 +PORT +Active:"false" PORT Type:"1" FIN_BOX BOX creaVtk:ReadMHDPlane:Box12 ISEXEC:FALSE -218.450362:-55.313033:-900.000000 -264.025362:-65.313033:-900.000000 +199.206515:-232.573203:-900.000000 +244.781515:-242.573203:-900.000000 PORT DirectionPlane:"ZX" PORT Type:"1" +PORT +Width:"10" FIN_BOX BOX std:GetVectorIntElement:Box13 ISEXEC:FALSE -202.761259:-36.747075:-900.000000 -273.936259:-46.747075:-900.000000 +178.302090:-146.764363:-900.000000 +249.477090:-156.764363:-900.000000 PORT I:"1" FIN_BOX BOX vtk:InversCrop:Box14 ISEXEC:FALSE -172.775551:-77.128930:-900.000000 -218.350551:-87.128930:-900.000000 +132.269209:-266.078164:-900.000000 +177.844209:-276.078164:-900.000000 +PORT +Active:"false" PORT Type:"1" FIN_BOX BOX std:ConcatStrings:Box15 ISEXEC:FALSE -165.908201:-55.667861:-900.000000 -211.483201:-65.667861:-900.000000 +143.293749:-234.065468:-900.000000 +188.868749:-244.065468:-900.000000 PORT In1:"0 " PORT @@ -138,58 +158,328 @@ FIN_BOX BOX creaVtk:ReadMHDPlane:Box18 ISEXEC:FALSE -359.467754:-54.452037:-900.000000 -405.042754:-64.452037:-900.000000 +557.636900:-248.888075:-900.000000 +603.211900:-258.888075:-900.000000 PORT DirectionPlane:"YZ" PORT Type:"1" +PORT +Width:"10" FIN_BOX BOX std:GetVectorIntElement:Box19 ISEXEC:FALSE -343.778651:-35.886079:-900.000000 -414.953651:-45.886079:-900.000000 +484.087763:-153.495430:-900.000000 +555.262763:-163.495430:-900.000000 PORT I:"0" FIN_BOX BOX vtk:InversCrop:Box20 ISEXEC:FALSE -282.374914:-96.383547:-900.000000 -327.949914:-106.383547:-900.000000 +488.622102:-290.583946:-900.000000 +534.197102:-300.583946:-900.000000 +PORT +Active:"false" PORT Type:"1" FIN_BOX BOX std:ConcatStrings:Box21 ISEXEC:FALSE -306.925593:-54.806865:-900.000000 -352.500593:-64.806865:-900.000000 +476.692928:-250.911144:-900.000000 +522.267928:-260.911144:-900.000000 PORT In3:" 0 0" FIN_BOX BOX std:MagicBox:Box22 ISEXEC:FALSE -300.550446:23.204815:-900.000000 -346.125446:13.204815:-900.000000 +302.259593:36.536162:-900.000000 +347.834593:26.536162:-900.000000 +FIN_BOX +BOX +std:CreateArithmeticSuiteVector:Box25 +ISEXEC:FALSE +-293.894172:-33.421666:-900.000000 +-222.719172:-43.421666:-900.000000 +PORT +Delta:"0" +PORT +FirstValue:"1" +FIN_BOX +BOX +std:GetVectorIntElement:Box28 +ISEXEC:FALSE +-284.597642:-2.473740:-900.000000 +-213.422642:-12.473740:-900.000000 +PORT +I:"2" +FIN_BOX +BOX +std:GetVectorIntPointer:Box29 +ISEXEC:FALSE +-300.879747:-52.905942:-900.000000 +-255.304747:-62.905942:-900.000000 +FIN_BOX +BOX +std:SetElementVectorVectorInt:Box30 +ISEXEC:FALSE +-276.757602:-207.728892:-900.000000 +-205.582602:-217.728892:-900.000000 +PORT +Value:"0" +FIN_BOX +BOX +std:GetVectorIntElement:Box31 +ISEXEC:FALSE +-261.829321:-110.984570:-900.000000 +-190.654321:-120.984570:-900.000000 +PORT +I:"2" FIN_BOX BOX -std:MagicBox:Box23 +std:SetElementVectorVectorInt:Box32 ISEXEC:FALSE -327.163217:69.325261:-900.000000 -372.738217:59.325261:-900.000000 +-286.437534:-72.057179:-900.000000 +-215.262534:-82.057179:-900.000000 +PORT +I:"-1" +PORT +Value:"0" FIN_BOX BOX -wx:ComboBox:Box27 +std:CreateArithmeticSuiteVector:Box33 ISEXEC:FALSE -288.859714:45.574941:-900.000000 -334.434714:35.574941:-900.000000 +6.511113:-140.436711:-900.000000 +77.686113:-150.436711:-900.000000 +PORT +Delta:"0" PORT -In:"0 1 3" +FirstValue:"1" FIN_BOX -CONNECTIONS:38 +BOX +std:GetVectorIntElement:Box34 +ISEXEC:FALSE +33.729239:-96.227285:-900.000000 +104.904239:-106.227285:-900.000000 +PORT +I:"1" +FIN_BOX +BOX +std:GetVectorIntPointer:Box35 +ISEXEC:FALSE +15.882466:-151.478702:-900.000000 +61.457466:-161.478702:-900.000000 +FIN_BOX +BOX +std:SetElementVectorVectorInt:Box36 +ISEXEC:FALSE +10.168341:-290.887328:-900.000000 +81.343341:-300.887328:-900.000000 +PORT +Value:"0" +FIN_BOX +BOX +std:GetVectorIntElement:Box37 +ISEXEC:FALSE +93.568160:-197.425236:-900.000000 +164.743160:-207.425236:-900.000000 +PORT +I:"2" +FIN_BOX +BOX +std:SetElementVectorVectorInt:Box38 +ISEXEC:FALSE +30.324678:-170.629940:-900.000000 +101.499678:-180.629940:-900.000000 +PORT +I:"-1" +PORT +Value:"0" +FIN_BOX +BOX +std:CreateArithmeticSuiteVector:Box39 +ISEXEC:FALSE +335.330997:-126.674951:-900.000000 +406.505997:-136.674951:-900.000000 +PORT +Delta:"0" +PORT +FirstValue:"1" +FIN_BOX +BOX +std:GetVectorIntElement:Box40 +ISEXEC:FALSE +346.372632:-90.516177:-900.000000 +417.547632:-100.516177:-900.000000 +PORT +I:"0" +FIN_BOX +BOX +std:GetVectorIntPointer:Box41 +ISEXEC:FALSE +333.621850:-146.159227:-900.000000 +379.196850:-156.159227:-900.000000 +FIN_BOX +BOX +std:SetElementVectorVectorInt:Box42 +ISEXEC:FALSE +348.677331:-330.043208:-900.000000 +419.852331:-340.043208:-900.000000 +PORT +Value:"0" +FIN_BOX +BOX +std:GetVectorIntElement:Box43 +ISEXEC:FALSE +376.252415:-203.353981:-900.000000 +447.427415:-213.353981:-900.000000 +PORT +I:"2" +FIN_BOX +BOX +std:SetElementVectorVectorInt:Box44 +ISEXEC:FALSE +355.404325:-167.145530:-900.000000 +426.579325:-177.145530:-900.000000 +PORT +I:"-1" +PORT +Value:"0" +FIN_BOX +BOX +std:Div:Box49 +ISEXEC:FALSE +-275.966276:-16.777053:-900.000000 +-243.191276:-26.777053:-900.000000 +PORT +In2:"10" +FIN_BOX +BOX +std:Div:Box50 +ISEXEC:FALSE +-207.785042:-78.441508:-900.000000 +-175.010042:-88.441508:-900.000000 +PORT +In2:"10" +FIN_BOX +BOX +std:ConcatStrings:Box51 +ISEXEC:FALSE +-154.792316:47.329778:-900.000000 +-109.217316:37.329778:-900.000000 +PORT +In1:"10" +FIN_BOX +BOX +std:Div:Box53 +ISEXEC:FALSE +17.363359:-115.346277:-900.000000 +50.138359:-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 +PORT +In2:"10" +FIN_BOX +BOX +std:Div:Box55 +ISEXEC:FALSE +432.982443:-185.759365:-900.000000 +465.757443:-195.759365:-900.000000 +PORT +In2:"10" +FIN_BOX +BOX +std:Div:Box56 +ISEXEC:FALSE +341.378011:-106.711972:-900.000000 +374.153011:-116.711972:-900.000000 +PORT +In2:"10" +FIN_BOX +BOX +std:ConcatStrings:Box57 +ISEXEC:FALSE +430.268991:17.041475:-900.000000 +475.843991:7.041475:-900.000000 +PORT +In1:"10" +FIN_BOX +BOX +std:GetVectorIntElement:Box63 +ISEXEC:FALSE +-159.815354:-107.735296:-900.000000 +-88.640354:-117.735296:-900.000000 +PORT +I:"0" +FIN_BOX +BOX +std:MathOperation:Box64 +ISEXEC:FALSE +-176.701442:-125.216736:-900.000000 +-131.126442:-135.216736:-900.000000 +PORT +Type:"2" +FIN_BOX +BOX +std:ConcatStrings:Box65 +ISEXEC:FALSE +-154.917793:-90.369793:-900.000000 +-109.342793:-100.369793:-900.000000 +FIN_BOX +BOX +std:GetVectorIntElement:Box66 +ISEXEC:FALSE +176.217814:-197.615533:-900.000000 +247.392814:-207.615533:-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 +PORT +Type:"2" +FIN_BOX +BOX +std:ConcatStrings:Box68 +ISEXEC:FALSE +180.436704:-178.255723:-900.000000 +226.011704:-188.255723:-900.000000 +FIN_BOX +BOX +std:GetVectorIntElement:Box69 +ISEXEC:FALSE +608.807976:-193.668625:-900.000000 +679.982976:-203.668625:-900.000000 +PORT +I:"0" +FIN_BOX +BOX +std:MathOperation:Box70 +ISEXEC:FALSE +587.334225:-211.984186:-900.000000 +632.909225:-221.984186:-900.000000 +PORT +Type:"2" +FIN_BOX +BOX +std:ConcatStrings:Box71 +ISEXEC:FALSE +613.705537:-176.303122:-900.000000 +659.280537:-186.303122:-900.000000 +FIN_BOX +CONNECTIONS:106 CONNECTION Box02:Out:Box01:In NumberOfControlPoints:0 @@ -212,9 +502,6 @@ CONNECTION Box01:Point:Box06:In NumberOfControlPoints:0 CONNECTION -Box06:Out:Box07:In2 -NumberOfControlPoints:0 -CONNECTION Box07:Out:Box08:Origin NumberOfControlPoints:0 CONNECTION @@ -233,18 +520,12 @@ CONNECTION Box01:Widget:widget:widget NumberOfControlPoints:0 CONNECTION -Box06:Out:Box05:Slice -NumberOfControlPoints:0 -CONNECTION Box04:Out:Box12:FileName NumberOfControlPoints:0 CONNECTION Box01:Point:Box13:In NumberOfControlPoints:0 CONNECTION -Box13:Out:Box12:Slice -NumberOfControlPoints:0 -CONNECTION Box01:BoxChange:Box14:BoxExecute NumberOfControlPoints:0 CONNECTION @@ -254,21 +535,12 @@ CONNECTION Box15:Out:Box14:Origin NumberOfControlPoints:0 CONNECTION -Box13:Out:Box15:In2 -NumberOfControlPoints:0 -CONNECTION Box12:Out2:Box14:ImageMove NumberOfControlPoints:0 CONNECTION -Box19:Out:Box18:Slice -NumberOfControlPoints:0 -CONNECTION Box21:Out:Box20:Origin NumberOfControlPoints:0 CONNECTION -Box19:Out:Box21:In2 -NumberOfControlPoints:0 -CONNECTION Box04:Out:Box18:FileName NumberOfControlPoints:0 CONNECTION @@ -299,9 +571,231 @@ CONNECTION Box22:Out:Box18:Type NumberOfControlPoints:0 CONNECTION -typeMHDorSeek:typeMHDorSeek:Box23:In +typeMHDorSeek:typeMHDorSeek:Box22:In +NumberOfControlPoints:0 +CONNECTION +Box03:DimSize:Box28:In +NumberOfControlPoints:0 +CONNECTION +Box29:PVec:Box30:PVec +NumberOfControlPoints:0 +CONNECTION +Box25:ArithmeticSuiteVector:Box29:In +NumberOfControlPoints:0 +CONNECTION +Box29:PVec:Box32:PVec +NumberOfControlPoints:0 +CONNECTION +Box32:Vec:Box31:In +NumberOfControlPoints:0 +CONNECTION +Box08:BoxChange:Box30:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box35:PVec:Box36:PVec +NumberOfControlPoints:0 +CONNECTION +Box33:ArithmeticSuiteVector:Box35:In +NumberOfControlPoints:0 +CONNECTION +Box35:PVec:Box38:PVec +NumberOfControlPoints:0 +CONNECTION +Box38:Vec:Box37:In +NumberOfControlPoints:0 +CONNECTION +Box03:DimSize:Box34:In +NumberOfControlPoints:0 +CONNECTION +Box14:BoxChange:Box36:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box41:PVec:Box42:PVec +NumberOfControlPoints:0 +CONNECTION +Box39:ArithmeticSuiteVector:Box41:In +NumberOfControlPoints:0 +CONNECTION +Box41:PVec:Box44:PVec +NumberOfControlPoints:0 +CONNECTION +Box44:Vec:Box43:In +NumberOfControlPoints:0 +CONNECTION +Box03:DimSize:Box40:In +NumberOfControlPoints:0 +CONNECTION +Box20:BoxChange:Box42:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box43:Out:Box18:Active +NumberOfControlPoints:0 +CONNECTION +Box37:Out:Box12:Active +NumberOfControlPoints:0 +CONNECTION +Box31:Out:Box05:Active +NumberOfControlPoints:0 +CONNECTION +Box19:BoxChange:Box43:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box13:BoxChange:Box37:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box06:BoxChange:Box31:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box06:BoxChange:Box32:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box13:BoxChange:Box38:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box19:BoxChange:Box44:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box28:Out:Box49:In1 +NumberOfControlPoints:0 +CONNECTION +Box49:Out:Box25:Size +NumberOfControlPoints:0 +CONNECTION +Box06:Out:Box50:In1 +NumberOfControlPoints:0 +CONNECTION +Box50:Out:Box31:I +NumberOfControlPoints:0 +CONNECTION +Box51:Out:Box49:In2 +NumberOfControlPoints:0 +CONNECTION +Box51:Out:Box50:In2 +NumberOfControlPoints:0 +CONNECTION +Box51:Out:Box05:Width +NumberOfControlPoints:0 +CONNECTION +Box50:Out:Box30:I +NumberOfControlPoints:0 +CONNECTION +Box51:Out:Box12:Width +NumberOfControlPoints:0 +CONNECTION +Box34:Out:Box53:In1 +NumberOfControlPoints:0 +CONNECTION +Box53:Out:Box33:Size +NumberOfControlPoints:0 +CONNECTION +Box51:Out:Box53:In2 +NumberOfControlPoints:0 +CONNECTION +Box51:Out:Box54:In2 +NumberOfControlPoints:0 +CONNECTION +Box13:Out:Box54:In1 +NumberOfControlPoints:0 +CONNECTION +Box54:Out:Box37:I +NumberOfControlPoints:0 +CONNECTION +Box54:Out:Box36:I +NumberOfControlPoints:0 +CONNECTION +Box40:Out:Box56:In1 +NumberOfControlPoints:0 +CONNECTION +Box56:Out:Box39:Size +NumberOfControlPoints:0 +CONNECTION +Box55:Out:Box43:I +NumberOfControlPoints:0 +CONNECTION +Box19:Out:Box55:In1 +NumberOfControlPoints:0 +CONNECTION +Box55:Out:Box42:I +NumberOfControlPoints:0 +CONNECTION +Box43:Out:Box20:Active +NumberOfControlPoints:0 +CONNECTION +Box31:Out:Box08:Active +NumberOfControlPoints:0 +CONNECTION +Box37:Out:Box14:Active +NumberOfControlPoints:0 +CONNECTION +Box57:Out:Box56:In2 +NumberOfControlPoints:0 +CONNECTION +Box57:Out:Box55:In2 +NumberOfControlPoints:0 +CONNECTION +Box57:Out:Box18:Width +NumberOfControlPoints:0 +CONNECTION +Box63:Out:Box64:In1 +NumberOfControlPoints:0 +CONNECTION +Box51:Out:Box64:In2 +NumberOfControlPoints:0 +CONNECTION +Box64:Out:Box07:In2 +NumberOfControlPoints:0 +CONNECTION +Box50:Out:Box65:In1 +NumberOfControlPoints:0 +CONNECTION +Box65:Out:Box63:In +NumberOfControlPoints:0 +CONNECTION +Box64:Out:Box05:Slice +NumberOfControlPoints:0 +CONNECTION +Box66:Out:Box67:In1 +NumberOfControlPoints:0 +CONNECTION +Box68:Out:Box66:In +NumberOfControlPoints:0 +CONNECTION +Box54:Out:Box68:In1 +NumberOfControlPoints:0 +CONNECTION +Box51:Out:Box67:In2 +NumberOfControlPoints:0 +CONNECTION +Box67:Out:Box15:In2 +NumberOfControlPoints:0 +CONNECTION +Box67:Out:Box12:Slice +NumberOfControlPoints:0 +CONNECTION +Box69:Out:Box70:In1 +NumberOfControlPoints:0 +CONNECTION +Box71:Out:Box69:In +NumberOfControlPoints:0 +CONNECTION +Box70:Out:Box21:In1 +NumberOfControlPoints:0 +CONNECTION +Box70:Out:Box18:Slice +NumberOfControlPoints:0 +CONNECTION +Box57:Out:Box70:In2 +NumberOfControlPoints:0 +CONNECTION +Box55:Out:Box71:In1 +NumberOfControlPoints:0 +CONNECTION +Box01:Renderer2:render2:render2 +NumberOfControlPoints:0 +CONNECTION +Box01:Renderer3:render3:render3 NumberOfControlPoints:0 CONNECTION -Box27:OutString:Box22:In +Box01:Renderer4:render4:render4 NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/ViewerByPlane.bbs b/bbtk/bbs/boxes/ViewerByPlane.bbs index 0b57843..b2bf14b 100644 --- a/bbtk/bbs/boxes/ViewerByPlane.bbs +++ b/bbtk/bbs/boxes/ViewerByPlane.bbs @@ -9,7 +9,6 @@ include creaMaracasVisu include vtk include creaVtk include std -include wx define ViewerByPlane creaMaracasVisu @@ -33,6 +32,7 @@ new std:ConcatStrings Box04 new creaVtk:ReadMHDPlane Box05 set Box05.DirectionPlane "XY" set Box05.Type "1" + set Box05.Width "10" new std:GetVectorIntElement Box06 set Box06.I "2" @@ -41,16 +41,19 @@ new std:ConcatStrings Box07 set Box07.In1 "0 0 " new vtk:InversCrop Box08 + set Box08.Active "false" set Box08.Type "1" new creaVtk:ReadMHDPlane Box12 set Box12.DirectionPlane "ZX" set Box12.Type "1" + set Box12.Width "10" new std:GetVectorIntElement Box13 set Box13.I "1" new vtk:InversCrop Box14 + set Box14.Active "false" set Box14.Type "1" new std:ConcatStrings Box15 @@ -60,11 +63,13 @@ new std:ConcatStrings Box15 new creaVtk:ReadMHDPlane Box18 set Box18.DirectionPlane "YZ" set Box18.Type "1" + set Box18.Width "10" new std:GetVectorIntElement Box19 set Box19.I "0" new vtk:InversCrop Box20 + set Box20.Active "false" set Box20.Type "1" new std:ConcatStrings Box21 @@ -72,10 +77,110 @@ new std:ConcatStrings Box21 new std:MagicBox Box22 -new std:MagicBox Box23 +new std:CreateArithmeticSuiteVector Box25 + set Box25.Delta "0" + set Box25.FirstValue "1" -new wx:ComboBox Box27 - set Box27.In "0 1 3" +new std:GetVectorIntElement Box28 + set Box28.I "2" + +new std:GetVectorIntPointer Box29 + +new std:SetElementVectorVectorInt Box30 + set Box30.Value "0" + +new std:GetVectorIntElement Box31 + set Box31.I "2" + +new std:SetElementVectorVectorInt Box32 + set Box32.I "-1" + set Box32.Value "0" + +new std:CreateArithmeticSuiteVector Box33 + set Box33.Delta "0" + set Box33.FirstValue "1" + +new std:GetVectorIntElement Box34 + set Box34.I "1" + +new std:GetVectorIntPointer Box35 + +new std:SetElementVectorVectorInt Box36 + set Box36.Value "0" + +new std:GetVectorIntElement Box37 + set Box37.I "2" + +new std:SetElementVectorVectorInt Box38 + set Box38.I "-1" + set Box38.Value "0" + +new std:CreateArithmeticSuiteVector Box39 + set Box39.Delta "0" + set Box39.FirstValue "1" + +new std:GetVectorIntElement Box40 + set Box40.I "0" + +new std:GetVectorIntPointer Box41 + +new std:SetElementVectorVectorInt Box42 + set Box42.Value "0" + +new std:GetVectorIntElement Box43 + set Box43.I "2" + +new std:SetElementVectorVectorInt Box44 + set Box44.I "-1" + set Box44.Value "0" + +new std:Div Box49 + set Box49.In2 "10" + +new std:Div Box50 + set Box50.In2 "10" + +new std:ConcatStrings Box51 + set Box51.In1 "10" + +new std:Div Box53 + set Box53.In2 "10" + +new std:Div Box54 + set Box54.In2 "10" + +new std:Div Box55 + set Box55.In2 "10" + +new std:Div Box56 + set Box56.In2 "10" + +new std:ConcatStrings Box57 + set Box57.In1 "10" + +new std:GetVectorIntElement Box63 + set Box63.I "0" + +new std:MathOperation Box64 + set Box64.Type "2" + +new std:ConcatStrings Box65 + +new std:GetVectorIntElement Box66 + set Box66.I "0" + +new std:MathOperation Box67 + set Box67.Type "2" + +new std:ConcatStrings Box68 + +new std:GetVectorIntElement Box69 + set Box69.I "0" + +new std:MathOperation Box70 + set Box70.Type "2" + +new std:ConcatStrings Box71 connect Box02.Out Box01.In @@ -85,23 +190,17 @@ connect Box03.ElementType Box02.OutputFormat connect Box04.Out Box03.FileName connect Box04.Out Box05.FileName connect Box01.Point Box06.In -connect Box06.Out Box07.In2 connect Box07.Out Box08.Origin connect Box02.Out Box08.ImageFix connect Box05.Out Box08.ImageMove connect Box01.BoxChange Box08.BoxExecute -connect Box06.Out Box05.Slice connect Box04.Out Box12.FileName connect Box01.Point Box13.In -connect Box13.Out Box12.Slice connect Box01.BoxChange Box14.BoxExecute connect Box02.Out Box14.ImageFix connect Box15.Out Box14.Origin -connect Box13.Out Box15.In2 connect Box12.Out2 Box14.ImageMove -connect Box19.Out Box18.Slice connect Box21.Out Box20.Origin -connect Box19.Out Box21.In2 connect Box04.Out Box18.FileName connect Box01.Point Box19.In connect Box01.BoxChange Box20.BoxExecute @@ -110,16 +209,90 @@ connect Box18.Out2 Box20.ImageMove connect Box22.Out Box05.Type connect Box22.Out Box12.Type connect Box22.Out Box18.Type -connect Box27.OutString Box22.In +connect Box03.DimSize Box28.In +connect Box29.PVec Box30.PVec +connect Box25.ArithmeticSuiteVector Box29.In +connect Box29.PVec Box32.PVec +connect Box32.Vec Box31.In +connect Box08.BoxChange Box30.BoxExecute +connect Box35.PVec Box36.PVec +connect Box33.ArithmeticSuiteVector Box35.In +connect Box35.PVec Box38.PVec +connect Box38.Vec Box37.In +connect Box03.DimSize Box34.In +connect Box14.BoxChange Box36.BoxExecute +connect Box41.PVec Box42.PVec +connect Box39.ArithmeticSuiteVector Box41.In +connect Box41.PVec Box44.PVec +connect Box44.Vec Box43.In +connect Box03.DimSize Box40.In +connect Box20.BoxChange Box42.BoxExecute +connect Box43.Out Box18.Active +connect Box37.Out Box12.Active +connect Box31.Out Box05.Active +connect Box19.BoxChange Box43.BoxExecute +connect Box13.BoxChange Box37.BoxExecute +connect Box06.BoxChange Box31.BoxExecute +connect Box06.BoxChange Box32.BoxExecute +connect Box13.BoxChange Box38.BoxExecute +connect Box19.BoxChange Box44.BoxExecute +connect Box28.Out Box49.In1 +connect Box49.Out Box25.Size +connect Box06.Out Box50.In1 +connect Box50.Out Box31.I +connect Box51.Out Box49.In2 +connect Box51.Out Box50.In2 +connect Box51.Out Box05.Width +connect Box50.Out Box30.I +connect Box51.Out Box12.Width +connect Box34.Out Box53.In1 +connect Box53.Out Box33.Size +connect Box51.Out Box53.In2 +connect Box51.Out Box54.In2 +connect Box13.Out Box54.In1 +connect Box54.Out Box37.I +connect Box54.Out Box36.I +connect Box40.Out Box56.In1 +connect Box56.Out Box39.Size +connect Box55.Out Box43.I +connect Box19.Out Box55.In1 +connect Box55.Out Box42.I +connect Box43.Out Box20.Active +connect Box31.Out Box08.Active +connect Box37.Out Box14.Active +connect Box57.Out Box56.In2 +connect Box57.Out Box55.In2 +connect Box57.Out Box18.Width +connect Box63.Out Box64.In1 +connect Box51.Out Box64.In2 +connect Box64.Out Box07.In2 +connect Box50.Out Box65.In1 +connect Box65.Out Box63.In +connect Box64.Out Box05.Slice +connect Box66.Out Box67.In1 +connect Box68.Out Box66.In +connect Box54.Out Box68.In1 +connect Box51.Out Box67.In2 +connect Box67.Out Box15.In2 +connect Box67.Out Box12.Slice +connect Box69.Out Box70.In1 +connect Box71.Out Box69.In +connect Box70.Out Box21.In1 +connect Box70.Out Box18.Slice +connect Box57.Out Box70.In2 +connect Box55.Out Box71.In1 # Complex input ports input FileNale Box04.In1 " " -input typeMHDorSeek Box23.In " " +input typeMHDorSeek Box22.In " " # Complex output ports output widget Box01.Widget " " output wxvtkbaseview1 Box01.wxVtkBaseView1 " " output render1 Box01.Renderer1 " " +output render2 Box01.Renderer2 " " +output render3 Box01.Renderer3 " " +output render4 Box01.Renderer4 " " endefine -- 2.47.1