From 8b5a4ad87f69d67ea4f311c5e86f64e5c2fb8b66 Mon Sep 17 00:00:00 2001 From: "eduardo.davila@creatis.insa-lyon.fr" Date: Thu, 17 Oct 2024 15:55:06 +0200 Subject: [PATCH] #3392 ContourReferenceGrid ContourReferenceStep xy and xz plane --- bbtk/bbs/boxes/ContourReferenceGrid.bbg | 295 ++++++++++++++---------- bbtk/bbs/boxes/ContourReferenceGrid.bbs | 42 +++- bbtk/bbs/boxes/ContourReferenceStep.bbg | 101 ++++---- bbtk/bbs/boxes/ContourReferenceStep.bbs | 8 +- 4 files changed, 268 insertions(+), 178 deletions(-) diff --git a/bbtk/bbs/boxes/ContourReferenceGrid.bbg b/bbtk/bbs/boxes/ContourReferenceGrid.bbg index 790d8ea..a00e133 100644 --- a/bbtk/bbs/boxes/ContourReferenceGrid.bbg +++ b/bbtk/bbs/boxes/ContourReferenceGrid.bbg @@ -14,87 +14,87 @@ PACKAGENAME:creaContours COMPLEXOUTPUTS:1 COMPLEX_PORT boxChange -116.538660:-148.539367:-900.000000 +113.082473:-54.266827:-900.000000 FIN_COMPLEX_PORT COMPLEXINPUTS:8 COMPLEX_PORT boxExecute -8.165968:169.597608:-900.000000 +9.775647:163.338449:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT NameFileContour -113.789720:171.064826:-900.000000 +115.399399:164.805667:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT Image --8.372308:169.902604:-900.000000 +-6.762629:163.643445:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT RenderXY --81.802959:169.021745:-900.000000 +-52.452067:162.166001:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT RenderYZ --46.447084:169.378756:-900.000000 +-94.055686:164.014475:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT opacity --127.062134:167.977360:-900.000000 +-125.452455:161.718201:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT iaxis -218.678398:168.750111:-900.000000 +220.288077:162.490952:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT _direction --160.923337:166.411266:-900.000000 +-171.247389:160.374539:-900.000000 FIN_COMPLEX_PORT -BOXES:43 +BOXES:46 BOX std:VectorFilterDouble:Box05 ISEXEC:FALSE -128.715772:127.135834:-900.000000 -154.995772:124.635834:-900.000000 +157.730173:118.143585:-900.000000 +184.010173:115.643585:-900.000000 FIN_BOX BOX creaMaracasVisu:ReadCreaContourFile:Box26 ISEXEC:FALSE -62.262235:155.608593:-900.000000 -84.977235:153.108593:-900.000000 +72.301595:141.772466:-900.000000 +95.016595:139.272466:-900.000000 PORT FromDirection:"0" FIN_BOX BOX std:MixingVectors:Box31 ISEXEC:FALSE -116.074921:60.207674:-900.000000 -138.834921:57.707674:-900.000000 +234.051107:47.446082:-900.000000 +256.811107:44.946082:-900.000000 FIN_BOX BOX vtk:vtkImageDataPointerRelay:Box32 ISEXEC:FALSE --20.410782:154.202084:-900.000000 -2.799218:151.702084:-900.000000 +-21.050317:148.776391:-900.000000 +2.159683:146.276391:-900.000000 FIN_BOX BOX vtk:ImageVtkProperties:Box33 ISEXEC:FALSE --22.635032:146.332975:-900.000000 --0.100032:143.832975:-900.000000 +-24.030381:136.764867:-900.000000 +-1.495381:134.264867:-900.000000 FIN_BOX BOX std:GetVectorDoubleElement:Box37 ISEXEC:FALSE --20.630301:132.317699:-900.000000 -2.494699:129.817699:-900.000000 +-21.981353:122.705295:-900.000000 +1.143647:120.205295:-900.000000 PORT I:"2" FIN_BOX BOX std:CreateArithmeticSuiteVector:Box38 ISEXEC:FALSE -140.972993:60.487358:-900.000000 -164.392993:57.987358:-900.000000 +80.180013:59.275430:-900.000000 +103.600013:56.775430:-900.000000 PORT Delta:"0" PORT @@ -103,20 +103,20 @@ FIN_BOX BOX std:GetDoubleVectorSize:Box39 ISEXEC:FALSE -140.609654:112.662844:-900.000000 -163.324654:110.162844:-900.000000 +162.802349:104.866608:-900.000000 +185.517349:102.366608:-900.000000 FIN_BOX BOX std:MixingVectors:Box45 ISEXEC:FALSE -46.849078:66.633198:-900.000000 -69.609078:64.133198:-900.000000 +48.225550:61.907374:-900.000000 +70.985550:59.407374:-900.000000 FIN_BOX BOX std:CreateArithmeticSuiteVector:Box46 ISEXEC:FALSE -143.312552:74.234146:-900.000000 -166.732552:71.734146:-900.000000 +121.416449:59.371518:-900.000000 +144.836449:56.871518:-900.000000 PORT Delta:"0" PORT @@ -125,20 +125,20 @@ FIN_BOX BOX std:ConcatStrings:Box47 ISEXEC:FALSE --19.645798:138.253481:-900.000000 -3.114202:135.753481:-900.000000 +-18.095410:128.929006:-900.000000 +4.664590:126.429006:-900.000000 FIN_BOX BOX vtk:Transform:Box49 ISEXEC:FALSE -16.354091:63.427384:-900.000000 -37.909091:60.927384:-900.000000 +10.896341:68.119323:-900.000000 +32.451341:65.619323:-900.000000 FIN_BOX BOX creaMaracasVisu:DrawAxisTree3D:Box50 ISEXEC:FALSE -208.237772:-88.036886:-900.000000 -236.277772:-90.536886:-900.000000 +193.524999:9.520575:-900.000000 +221.564999:7.020575:-900.000000 PORT Colour:"1 1 0" PORT @@ -149,62 +149,62 @@ FIN_BOX BOX std:MixingVectors:Box51 ISEXEC:FALSE -205.304051:47.094117:-900.000000 -228.064051:44.594117:-900.000000 +188.532441:45.628696:-900.000000 +211.292441:43.128696:-900.000000 FIN_BOX BOX std:CreateArithmeticSuiteVector:Box59 ISEXEC:FALSE -192.446874:74.637069:-900.000000 -215.866874:72.137069:-900.000000 +189.469643:77.081240:-900.000000 +212.889643:74.581240:-900.000000 PORT Delta:"0" PORT -FirstValue:"1000" +FirstValue:"1500" FIN_BOX BOX std:Mul:Box62 ISEXEC:FALSE -191.423016:87.240470:-900.000000 -212.398016:84.740470:-900.000000 +188.742058:84.495173:-900.000000 +209.717058:81.995173:-900.000000 PORT In2:"2" FIN_BOX BOX std:ConcatStrings:Box58 ISEXEC:FALSE --132.384395:155.244824:-900.000000 --109.624395:152.744824:-900.000000 +-138.284440:150.325156:-900.000000 +-115.524440:147.825156:-900.000000 FIN_BOX BOX std:MagicBox:Box61 ISEXEC:FALSE -5.341662:160.978996:-900.000000 -26.941662:158.478996:-900.000000 +6.951341:154.719837:-900.000000 +28.551341:152.219837:-900.000000 FIN_BOX BOX std:ConcatStrings:Box63 ISEXEC:FALSE -108.917105:157.992916:-900.000000 -131.677105:155.492916:-900.000000 +110.526784:151.733757:-900.000000 +133.286784:149.233757:-900.000000 FIN_BOX BOX std:MagicBox:Box64 ISEXEC:FALSE --94.229764:154.673505:-900.000000 --72.629764:152.173505:-900.000000 +-56.621454:148.781761:-900.000000 +-35.021454:146.281761:-900.000000 FIN_BOX BOX std:MagicBox:Box65 ISEXEC:FALSE --50.465241:155.912843:-900.000000 --28.865241:153.412843:-900.000000 +-97.369822:147.430695:-900.000000 +-75.769822:144.930695:-900.000000 FIN_BOX BOX creaVtk:Actor:Box30 ISEXEC:FALSE -210.320746:-117.728198:-900.000000 -231.480746:-120.228198:-900.000000 +205.646397:-13.710362:-900.000000 +226.806397:-16.210362:-900.000000 PORT Active:"true" PORT @@ -217,8 +217,8 @@ FIN_BOX BOX creaVtk:Actor:Box35 ISEXEC:FALSE -58.854186:-112.682559:-900.000000 -80.014186:-115.182559:-900.000000 +9.286598:-14.867114:-900.000000 +30.446598:-17.367114:-900.000000 PORT Active:"true" PORT @@ -233,56 +233,58 @@ FIN_BOX BOX std:VectorFilterDouble:Box40 ISEXEC:FALSE -127.568580:119.708589:-900.000000 -153.848580:117.208589:-900.000000 +158.266260:112.111688:-900.000000 +184.546260:109.611688:-900.000000 PORT Type:"8" FIN_BOX BOX std:ConcatStrings:Box44 ISEXEC:FALSE -212.241288:158.028841:-900.000000 -235.001288:155.528841:-900.000000 +217.866981:151.716547:-900.000000 +240.626981:149.216547:-900.000000 FIN_BOX BOX std:MultipleInputs:Box48 ISEXEC:FALSE -116.312760:-139.367458:-900.000000 -138.282760:-141.867458:-900.000000 +111.151146:-37.298681:-900.000000 +133.121146:-39.798681:-900.000000 FIN_BOX BOX creaMaracasVisu:DrawAxisTree3D:Box54 ISEXEC:FALSE -63.155919:-89.341618:-900.000000 -91.195919:-91.841618:-900.000000 +55.406476:4.068560:-900.000000 +83.446476:1.568560:-900.000000 PORT Colour:"1 1 0" PORT LineWidth:"1" PORT +Opacity:"0" +PORT iAxis:"12" FIN_BOX BOX std:MathOperationVector:Box66 ISEXEC:FALSE -82.744777:134.160342:-900.000000 -107.264777:131.660342:-900.000000 +102.789078:120.694116:-900.000000 +127.309078:118.194116:-900.000000 PORT Type:"-17" FIN_BOX BOX std:GetVectorDoubleElement:Box68 ISEXEC:FALSE -82.028594:124.306380:-900.000000 -105.153594:121.806380:-900.000000 +99.326493:113.719445:-900.000000 +122.451493:111.219445:-900.000000 PORT I:"0" FIN_BOX BOX std:CreateArithmeticSuiteVector:Box71 ISEXEC:FALSE -228.324202:56.897298:-900.000000 -251.744202:54.397298:-900.000000 +227.863781:61.433292:-900.000000 +251.283781:58.933292:-900.000000 PORT Delta:"0" PORT @@ -291,8 +293,8 @@ FIN_BOX BOX std:CreateArithmeticSuiteVector:Box72 ISEXEC:FALSE -89.878244:86.820488:-900.000000 -113.298244:84.320488:-900.000000 +94.640150:75.265870:-900.000000 +118.060150:72.765870:-900.000000 PORT Delta:"0" PORT @@ -301,24 +303,24 @@ FIN_BOX BOX std:MathOperationVector:Box73 ISEXEC:FALSE -50.125635:134.641049:-900.000000 -74.645635:132.141049:-900.000000 +69.084664:118.494866:-900.000000 +93.604664:115.994866:-900.000000 PORT Type:"-16" FIN_BOX BOX std:GetVectorDoubleElement:Box74 ISEXEC:FALSE -36.398578:124.689120:-900.000000 -59.523578:122.189120:-900.000000 +57.550298:111.112152:-900.000000 +80.675298:108.612152:-900.000000 PORT I:"0" FIN_BOX BOX std:CreateArithmeticSuiteVector:Box76 ISEXEC:FALSE -39.263854:86.671631:-900.000000 -62.683854:84.171631:-900.000000 +52.423866:79.150458:-900.000000 +75.843866:76.650458:-900.000000 PORT Delta:"0" PORT @@ -327,8 +329,8 @@ FIN_BOX BOX std:CreateArithmeticSuiteVector:Box77 ISEXEC:FALSE -181.636107:60.405781:-900.000000 -205.056107:57.905781:-900.000000 +184.752185:57.667493:-900.000000 +208.172185:55.167493:-900.000000 PORT Delta:"0" PORT @@ -337,62 +339,88 @@ FIN_BOX BOX std:GetVectorDoubleElement:Box82 ISEXEC:FALSE -89.017988:119.351672:-900.000000 -112.142988:116.851672:-900.000000 +114.156420:110.403719:-900.000000 +137.281420:107.903719:-900.000000 PORT I:"1" FIN_BOX BOX std:GetVectorDoubleElement:Box83 ISEXEC:FALSE -52.331201:120.045368:-900.000000 -75.456201:117.545368:-900.000000 +62.386574:106.778477:-900.000000 +85.511574:104.278477:-900.000000 PORT I:"1" FIN_BOX BOX std:Mul:Box84 ISEXEC:FALSE -58.042408:114.629344:-900.000000 -79.017408:112.129344:-900.000000 +62.427791:99.669108:-900.000000 +83.402791:97.169108:-900.000000 PORT -In2:"-1" +In2:"1" FIN_BOX BOX std:Add:Box85 ISEXEC:FALSE -57.860957:107.599916:-900.000000 -78.895957:105.099916:-900.000000 +63.645716:92.359804:-900.000000 +84.680716:89.859804:-900.000000 FIN_BOX BOX std:Mul:Box86 ISEXEC:FALSE -96.404730:114.264868:-900.000000 -117.379730:111.764868:-900.000000 +117.427587:103.011469:-900.000000 +138.402587:100.511469:-900.000000 PORT -In2:"-1" +In2:"1" FIN_BOX BOX std:Add:Box87 ISEXEC:FALSE -97.099146:107.775127:-900.000000 -118.134146:105.275127:-900.000000 +119.996563:96.030435:-900.000000 +141.031563:93.530435:-900.000000 FIN_BOX BOX std:Mul:Box70 ISEXEC:FALSE -144.561071:85.872255:-900.000000 -165.536071:83.372255:-900.000000 +151.408093:86.073407:-900.000000 +172.383093:83.573407:-900.000000 PORT In2:"2" FIN_BOX BOX -std:MagicBox:Box75 +std:StringSelect:Box96 +ISEXEC:FALSE +42.174578:119.985928:-900.000000 +66.694578:117.485928:-900.000000 +PORT +In0:"1" +PORT +In1:"-1" +FIN_BOX +BOX +std:MagicBox:Box97 ISEXEC:FALSE --161.124686:156.343813:-900.000000 --139.524686:153.843813:-900.000000 +-174.468974:151.515180:-900.000000 +-152.868974:149.015180:-900.000000 FIN_BOX -CONNECTIONS:74 +BOX +std:VectorFilterDouble:Box98 +ISEXEC:FALSE +116.351089:33.506105:-900.000000 +142.631089:31.006105:-900.000000 +PORT +Type:"16" +FIN_BOX +BOX +std:VectorFilterDouble:Box99 +ISEXEC:FALSE +227.361074:29.619866:-900.000000 +253.641074:27.119866:-900.000000 +PORT +Type:"16" +FIN_BOX +CONNECTIONS:83 CONNECTION Box26:LstZ:Box05:In0 NumberOfControlPoints:0 @@ -418,12 +446,6 @@ CONNECTION Box38:ArithmeticSuiteVector:Box50:lstIndexs NumberOfControlPoints:0 CONNECTION -Box31:Out:Box50:lstPointY -NumberOfControlPoints:0 -CONNECTION -Box59:ArithmeticSuiteVector:Box50:lstPointX -NumberOfControlPoints:0 -CONNECTION Box39:VectorSize:Box62:In1 NumberOfControlPoints:0 CONNECTION @@ -478,9 +500,6 @@ CONNECTION Box61:BoxChange:Box48:BoxExecute NumberOfControlPoints:0 CONNECTION -Box58:Out:Box54:Opacity -NumberOfControlPoints:0 -CONNECTION Box65:Out:Box54:Renderer NumberOfControlPoints:0 CONNECTION @@ -493,12 +512,6 @@ CONNECTION Box45:Out:Box54:lstPointX NumberOfControlPoints:0 CONNECTION -Box31:Out:Box54:lstPointY -NumberOfControlPoints:0 -CONNECTION -Box46:ArithmeticSuiteVector:Box54:lstPointZ -NumberOfControlPoints:0 -CONNECTION Box54:OutAxis:Box35:In NumberOfControlPoints:0 CONNECTION @@ -526,9 +539,6 @@ CONNECTION Box66:Out:Box68:In NumberOfControlPoints:0 CONNECTION -Box51:Out:Box50:lstPointZ -NumberOfControlPoints:0 -CONNECTION Box39:VectorSize:Box71:Size NumberOfControlPoints:0 CONNECTION @@ -613,6 +623,51 @@ CONNECTION Box48:BoxChange:boxChange:boxChange NumberOfControlPoints:0 CONNECTION -_direction:_direction:Box75:In +Box59:ArithmeticSuiteVector:Box50:lstPointX +NumberOfControlPoints:0 +CONNECTION +Box58:Out:Box54:Opacity +NumberOfControlPoints:0 +CONNECTION +Box96:Out:Box84:In2 +NumberOfControlPoints:0 +CONNECTION +Box96:Out:Box86:In2 +NumberOfControlPoints:0 +CONNECTION +_direction:_direction:Box97:In +NumberOfControlPoints:0 +CONNECTION +Box97:Out:Box96:In +NumberOfControlPoints:0 +CONNECTION +Box46:ArithmeticSuiteVector:Box98:In0 +NumberOfControlPoints:0 +CONNECTION +Box31:Out:Box98:In1 +NumberOfControlPoints:0 +CONNECTION +Box98:Out0:Box54:lstPointY +NumberOfControlPoints:0 +CONNECTION +Box98:Out1:Box54:lstPointZ +NumberOfControlPoints:0 +CONNECTION +Box97:Out:Box98:k1 +NumberOfControlPoints:0 +CONNECTION +Box51:Out:Box99:In0 +NumberOfControlPoints:0 +CONNECTION +Box31:Out:Box99:In1 +NumberOfControlPoints:0 +CONNECTION +Box99:Out0:Box50:lstPointY +NumberOfControlPoints:0 +CONNECTION +Box99:Out1:Box50:lstPointZ +NumberOfControlPoints:0 +CONNECTION +Box97:Out:Box99:k1 NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/ContourReferenceGrid.bbs b/bbtk/bbs/boxes/ContourReferenceGrid.bbs index 4140731..94e0816 100644 --- a/bbtk/bbs/boxes/ContourReferenceGrid.bbs +++ b/bbtk/bbs/boxes/ContourReferenceGrid.bbs @@ -56,7 +56,7 @@ new std:MixingVectors Box51 new std:CreateArithmeticSuiteVector Box59 set Box59.Delta "0" - set Box59.FirstValue "1000" + set Box59.FirstValue "1500" new std:Mul Box62 set Box62.In2 "2" @@ -94,6 +94,7 @@ new std:MultipleInputs Box48 new creaMaracasVisu:DrawAxisTree3D Box54 set Box54.Colour "1 1 0" set Box54.LineWidth "1" + set Box54.Opacity "0" set Box54.iAxis "12" new std:MathOperationVector Box66 @@ -131,19 +132,29 @@ new std:GetVectorDoubleElement Box83 set Box83.I "1" new std:Mul Box84 - set Box84.In2 "-1" + set Box84.In2 "1" new std:Add Box85 new std:Mul Box86 - set Box86.In2 "-1" + set Box86.In2 "1" new std:Add Box87 new std:Mul Box70 set Box70.In2 "2" -new std:MagicBox Box75 +new std:StringSelect Box96 + set Box96.In0 "1" + set Box96.In1 "-1" + +new std:MagicBox Box97 + +new std:VectorFilterDouble Box98 + set Box98.Type "16" + +new std:VectorFilterDouble Box99 + set Box99.Type "16" connect Box26.LstZ Box05.In0 @@ -154,8 +165,6 @@ connect Box39.VectorSize Box38.Size connect Box33.Spacing Box49.Scale connect Box49.Out Box50.Transform connect Box38.ArithmeticSuiteVector Box50.lstIndexs -connect Box31.Out Box50.lstPointY -connect Box59.ArithmeticSuiteVector Box50.lstPointX connect Box39.VectorSize Box62.In1 connect Box62.Out Box59.Size connect Box58.Out Box50.Opacity @@ -167,13 +176,10 @@ connect Box05.Out0 Box40.In0 connect Box30.BoxChange Box48.In4 connect Box35.BoxChange Box48.In1 connect Box61.BoxChange Box48.BoxExecute -connect Box58.Out Box54.Opacity connect Box65.Out Box54.Renderer connect Box49.Out Box54.Transform connect Box38.ArithmeticSuiteVector Box54.lstIndexs connect Box45.Out Box54.lstPointX -connect Box31.Out Box54.lstPointY -connect Box46.ArithmeticSuiteVector Box54.lstPointZ connect Box54.OutAxis Box35.In connect Box44.Out Box54.iAxis connect Box44.Out Box50.iAxis @@ -183,7 +189,6 @@ connect Box40.Out0 Box31.In2 connect Box26.LstX Box66.In0 connect Box26.LstY Box66.In1 connect Box66.Out Box68.In -connect Box51.Out Box50.lstPointZ connect Box39.VectorSize Box71.Size connect Box72.ArithmeticSuiteVector Box45.In2 connect Box68.Out Box72.FirstValue @@ -211,6 +216,21 @@ connect Box87.Out Box77.FirstValue connect Box82.Out Box86.In1 connect Box70.Out Box46.Size connect Box39.VectorSize Box70.In1 +connect Box59.ArithmeticSuiteVector Box50.lstPointX +connect Box58.Out Box54.Opacity +connect Box96.Out Box84.In2 +connect Box96.Out Box86.In2 +connect Box97.Out Box96.In +connect Box46.ArithmeticSuiteVector Box98.In0 +connect Box31.Out Box98.In1 +connect Box98.Out0 Box54.lstPointY +connect Box98.Out1 Box54.lstPointZ +connect Box97.Out Box98.k1 +connect Box51.Out Box99.In0 +connect Box31.Out Box99.In1 +connect Box99.Out0 Box50.lstPointY +connect Box99.Out1 Box50.lstPointZ +connect Box97.Out Box99.k1 # Complex input ports input boxExecute Box61.BoxExecute " " @@ -220,7 +240,7 @@ input RenderXY Box64.In " " input RenderYZ Box65.In " " input opacity Box58.In1 " " input iaxis Box44.In1 " " -input _direction Box75.In " " +input _direction Box97.In " " # Complex output ports output boxChange Box48.BoxChange " " diff --git a/bbtk/bbs/boxes/ContourReferenceStep.bbg b/bbtk/bbs/boxes/ContourReferenceStep.bbg index 8cc6a8f..1dff826 100644 --- a/bbtk/bbs/boxes/ContourReferenceStep.bbg +++ b/bbtk/bbs/boxes/ContourReferenceStep.bbg @@ -71,9 +71,9 @@ _wxvtkbaseview1 FIN_COMPLEX_PORT COMPLEX_PORT _direction --150.810013:164.563769:-900.000000 +-153.628900:170.604241:-900.000000 FIN_COMPLEX_PORT -BOXES:82 +BOXES:83 BOX creaContours:SetViewerPosition:Box83 ISEXEC:FALSE @@ -139,24 +139,24 @@ FIN_BOX BOX std:GetVectorIntElement:Box156 ISEXEC:FALSE --294.488888:80.317375:-900.000000 --271.718888:77.817375:-900.000000 +-290.723660:89.176734:-900.000000 +-267.953660:86.676734:-900.000000 PORT I:"0" FIN_BOX BOX std:GetVectorIntElement:Box157 ISEXEC:FALSE --220.404982:87.609065:-900.000000 --197.634982:85.109065:-900.000000 +-218.411626:88.273517:-900.000000 +-195.641626:85.773517:-900.000000 PORT I:"1" FIN_BOX BOX std:GetVectorIntElement:Box158 ISEXEC:FALSE --170.922489:85.834136:-900.000000 --148.152489:83.334136:-900.000000 +-170.258037:67.672449:-900.000000 +-147.488037:65.172449:-900.000000 PORT I:"2" FIN_BOX @@ -267,8 +267,8 @@ FIN_BOX BOX std:VectorFilterDouble:Box283 ISEXEC:FALSE -111.379800:124.102933:-900.000000 -137.659800:121.602933:-900.000000 +122.007270:123.074468:-900.000000 +148.287270:120.574468:-900.000000 FIN_BOX BOX std:CreateArithmeticSuiteVector:Box284 @@ -289,8 +289,8 @@ FIN_BOX BOX std:VectorFilterDouble:Box286 ISEXEC:FALSE -90.041093:35.084159:-900.000000 -116.321093:32.584159:-900.000000 +88.841217:35.769802:-900.000000 +115.121217:33.269802:-900.000000 PORT Type:"10" FIN_BOX @@ -331,14 +331,14 @@ FIN_BOX BOX std:GetVectorDoubleElement:Box298 ISEXEC:FALSE -70.198577:19.228366:-900.000000 -93.433577:16.728366:-900.000000 +90.788897:16.792042:-900.000000 +114.023897:14.292042:-900.000000 FIN_BOX BOX std:ReplaceCleanString:Box299 ISEXEC:FALSE --198.947744:-45.713136:-900.000000 --176.282744:-48.213136:-900.000000 +-177.604704:-39.632581:-900.000000 +-154.939704:-42.132581:-900.000000 PORT Search:".000000" FIN_BOX @@ -357,8 +357,8 @@ FIN_BOX BOX wx:ComboBox:Box314 ISEXEC:FALSE --80.767930:80.311626:-900.000000 --54.487930:77.811626:-900.000000 +-74.787862:103.567444:-900.000000 +-48.507862:101.067444:-900.000000 PORT In:"void" PORT @@ -369,8 +369,8 @@ FIN_BOX BOX std:CreateArithmeticSuiteVector:Box315 ISEXEC:FALSE --74.081616:97.236712:-900.000000 --50.551616:94.736712:-900.000000 +-68.101548:120.492530:-900.000000 +-44.571548:117.992530:-900.000000 PORT Delta:"1" PORT @@ -381,20 +381,20 @@ FIN_BOX BOX std:ConcatStrings:Box316 ISEXEC:FALSE --80.727897:87.290080:-900.000000 --57.967897:84.790080:-900.000000 +-74.747829:110.545898:-900.000000 +-51.987829:108.045898:-900.000000 FIN_BOX BOX std:ConcatStrings:Box317 ISEXEC:FALSE --60.909644:59.923021:-900.000000 --38.149644:57.423021:-900.000000 +-87.709206:94.031554:-900.000000 +-64.949206:91.531554:-900.000000 FIN_BOX BOX std:StringSelect:Box318 ISEXEC:FALSE --245.225771:1.007881:-900.000000 --220.705771:-1.492119:-900.000000 +-102.019048:-23.457977:-900.000000 +-77.499048:-25.957977:-900.000000 PORT In3:"-1" FIN_BOX @@ -413,8 +413,8 @@ FIN_BOX BOX std:ConcatStrings:Box324 ISEXEC:FALSE --258.383491:39.167082:-900.000000 --235.623491:36.667082:-900.000000 +-256.168651:36.509274:-900.000000 +-233.408651:34.009274:-900.000000 PORT In2:" " PORT @@ -423,8 +423,8 @@ FIN_BOX BOX std:GetVectorDoubleElement:Box326 ISEXEC:FALSE --125.975309:-38.875754:-900.000000 --102.740309:-41.375754:-900.000000 +-126.418277:-37.768334:-900.000000 +-103.183277:-40.268334:-900.000000 PORT I:"1" FIN_BOX @@ -447,8 +447,8 @@ FIN_BOX BOX std:ConcatStrings:Box329 ISEXEC:FALSE -23.496209:2.086436:-900.000000 -46.256209:-0.413564:-900.000000 +-84.069864:-9.188641:-900.000000 +-61.309864:-11.688641:-900.000000 PORT In2:" " PORT @@ -627,22 +627,22 @@ FIN_BOX BOX std:Div:Box81 ISEXEC:FALSE -91.009059:0.592042:-900.000000 -111.934059:-1.907958:-900.000000 +89.749833:5.376465:-900.000000 +110.674833:2.876465:-900.000000 FIN_BOX BOX std:GetVectorDoubleElement:Box82 ISEXEC:FALSE -164.544085:33.189061:-900.000000 -187.669085:30.689061:-900.000000 +149.483174:17.020730:-900.000000 +172.608174:14.520730:-900.000000 PORT I:"1" FIN_BOX BOX std:MagicBox:Box75 ISEXEC:FALSE --169.665437:141.908019:-900.000000 --148.065437:139.408019:-900.000000 +-163.624965:160.029436:-900.000000 +-142.024965:157.529436:-900.000000 FIN_BOX BOX std:VectorFilterDouble:Box76 @@ -698,7 +698,15 @@ ISEXEC:FALSE PORT Type:"2" FIN_BOX -CONNECTIONS:137 +BOX +std:MathOperation:Box102 +ISEXEC:FALSE +86.082393:-4.348240:-900.000000 +108.292393:-6.848240:-900.000000 +PORT +Type:"22" +FIN_BOX +CONNECTIONS:138 CONNECTION Box86:Widget:Box84:Widget2 NumberOfControlPoints:0 @@ -1039,12 +1047,6 @@ CONNECTION Box82:Out:Box81:In2 NumberOfControlPoints:0 CONNECTION -Box81:Out:Box329:In3 -NumberOfControlPoints:0 -CONNECTION -Box81:Out:Box299:In -NumberOfControlPoints:0 -CONNECTION _direction:_direction:Box75:In NumberOfControlPoints:0 CONNECTION @@ -1110,4 +1112,13 @@ NumberOfControlPoints:0 CONNECTION Box75:Out:Box83:Direction NumberOfControlPoints:0 +CONNECTION +Box81:Out:Box102:In1 +NumberOfControlPoints:0 +CONNECTION +Box102:Out:Box329:In3 +NumberOfControlPoints:0 +CONNECTION +Box102:Out:Box299:In +NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/ContourReferenceStep.bbs b/bbtk/bbs/boxes/ContourReferenceStep.bbs index efbb6b6..11282ab 100644 --- a/bbtk/bbs/boxes/ContourReferenceStep.bbs +++ b/bbtk/bbs/boxes/ContourReferenceStep.bbs @@ -248,6 +248,9 @@ new std:VectorFilterDouble Box96 new std:MathOperationVector Box97 set Box97.Type "2" +new std:MathOperation Box102 + set Box102.Type "22" + connect Box86.Widget Box84.Widget2 connect Box153.Widget Box154.Widget2 @@ -350,8 +353,6 @@ connect Box459.Out Box283.In0 connect Box460.Out Box437.In connect Box298.Out Box81.In1 connect Box82.Out Box81.In2 -connect Box81.Out Box329.In3 -connect Box81.Out Box299.In connect Box77.Out Box76.In0 connect Box76.Out0 Box450.In connect Box75.Out Box76.k1 @@ -371,6 +372,9 @@ connect Box96.Out0 Box97.In1 connect Box450.Out Box97.In0 connect Box97.Out Box436.In connect Box75.Out Box83.Direction +connect Box81.Out Box102.In1 +connect Box102.Out Box329.In3 +connect Box102.Out Box299.In # Complex input ports input _wxvtkbaseview2 Box452.In " " -- 2.47.1