From: Eduardo DAVILA Date: Fri, 10 Sep 2021 09:01:40 +0000 (+0200) Subject: #3470 merge vtk8itk5wx3-mingw64 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=54b6b0c0eb849a103538fb68c13417ce1f390fa7;p=creaVtk.git #3470 merge vtk8itk5wx3-mingw64 --- diff --git a/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsExploration_Widget.bbg b/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsExploration_Widget.bbg index 7b82938..26c68ed 100644 --- a/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsExploration_Widget.bbg +++ b/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsExploration_Widget.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - /tmpEED/creaTools2/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsExploration_Widget.bbg +# - /home/davila/Creatis/C8/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsExploration_Widget.bbg # ---------------------------------- APP_START diff --git a/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsExploration_Widget.bbs b/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsExploration_Widget.bbs index c999230..f8724a1 100644 --- a/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsExploration_Widget.bbs +++ b/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsExploration_Widget.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script -# - /tmpEED/creaTools2/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsExploration_Widget.bbs +# - /home/davila/Creatis/C8/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleVectorsExploration_Widget.bbs # ---------------------------------- # BBTK GEditor Script diff --git a/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbg b/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbg index aca1f16..aff184d 100644 --- a/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbg +++ b/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - /tmpEED/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbg +# - /home/davila/Creatis/C8/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbg # ---------------------------------- APP_START @@ -37,7 +37,7 @@ BOX creaVtk:VectorsVisu:Box00 ISEXEC:FALSE -4.465574:-69.418679:-900.000000 -41.109426:-79.418679:-900.000000 +33.159426:-79.418679:-900.000000 FIN_BOX BOX creaVtk:PlaneWidget:Box01 @@ -91,9 +91,9 @@ BOX std:MagicBox:Box11 ISEXEC:FALSE -116.304953:49.494646:-900.000000 --70.729953:39.494646:-900.000000 +-80.229953:39.494646:-900.000000 FIN_BOX -CONNECTIONS:22 +CONNECTIONS:23 CONNECTION Box03:Out:Box00:In NumberOfControlPoints:0 @@ -160,4 +160,7 @@ NumberOfControlPoints:0 CONNECTION Box11:Out:Box15:In2 NumberOfControlPoints:0 +CONNECTION +Box01:BoxChange:Box15:In3 +NumberOfControlPoints:0 APP_END diff --git a/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbs b/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbs index 05e401e..443ca11 100644 --- a/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbs +++ b/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) -# - /tmpEED/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbs +# - /home/davila/Creatis/C8/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbs # ---------------------------------- include std @@ -55,6 +55,7 @@ connect Box15.Out Box00.BoxExecute connect Box06.boxChange Box15.In1 connect Box15.Out Box13.BoxExecute connect Box11.Out Box15.In2 +connect Box01.BoxChange Box15.In3 # Complex input ports input vtkImageData Box04.In " " diff --git a/bbtk_creaVtk_PKG/bbs/boxes/VectorsExploration_Widget.bbg b/bbtk_creaVtk_PKG/bbs/boxes/VectorsExploration_Widget.bbg index 300ebb8..c641119 100644 --- a/bbtk_creaVtk_PKG/bbs/boxes/VectorsExploration_Widget.bbg +++ b/bbtk_creaVtk_PKG/bbs/boxes/VectorsExploration_Widget.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - /tmpEED/creaTools2/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VectorsExploration_Widget.bbg +# - /home/davila/Creatis/C8/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VectorsExploration_Widget.bbg # ---------------------------------- APP_START @@ -13,77 +13,77 @@ PACKAGENAME:creaVtk COMPLEXOUTPUTS:1 COMPLEX_PORT widget --179.941974:-67.018786:-900.000000 +-64.794419:-71.354886:-900.000000 FIN_COMPLEX_PORT COMPLEXINPUTS:3 COMPLEX_PORT vtkImageData_vectors --219.680681:113.036929:-900.000000 +-134.404040:115.927663:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT vtkRenderer --81.265493:115.039904:-900.000000 +-3.697475:117.448849:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT Title --130.329765:114.918814:-900.000000 +-54.207113:115.882392:-900.000000 FIN_COMPLEX_PORT BOXES:8 BOX vtk:UpdateRender:Box22 ISEXEC:FALSE --109.905905:-14.897333:-900.000000 --69.580905:-24.897333:-900.000000 +71.246734:-19.233433:-900.000000 +111.571734:-29.233433:-900.000000 PORT Active:"true" FIN_BOX BOX wx:LayoutTab:Box17 ISEXEC:FALSE --184.622210:-20.410541:-900.000000 --84.013417:-30.410541:-900.000000 +-117.596676:-21.541034:-900.000000 +-60.036676:-31.541034:-900.000000 PORT WinTitle:"VectorsTensors Analysis" FIN_BOX BOX std:MultipleInputs:Box23 ISEXEC:FALSE --151.066256:11.353972:-900.000000 --95.654261:1.353972:-900.000000 +-57.932570:7.880653:-900.000000 +-18.232570:-2.119347:-900.000000 PORT BoxProcessMode:"Reactive" FIN_BOX BOX creaVtk:PlaneVectorVisu_Widget:Box41 ISEXEC:FALSE --268.440972:51.457315:-900.000000 --157.542180:41.457315:-900.000000 +-147.291399:48.531904:-900.000000 +-97.341399:38.531904:-900.000000 FIN_BOX BOX wx:LayoutLine:Box14 ISEXEC:FALSE --232.798631:5.736817:-900.000000 --98.441282:-4.263183:-900.000000 +-144.819902:7.714371:-900.000000 +-87.259902:-2.285629:-900.000000 PORT WinTitle:"Field" FIN_BOX BOX creaVtk:VolumeVectorVisu_Widget:Box18 ISEXEC:FALSE --187.068807:50.505798:-900.000000 --133.195159:40.505798:-900.000000 +-52.700093:49.576898:-900.000000 +-0.650093:39.576898:-900.000000 FIN_BOX BOX vtk:vtkImageDataPointerRelay:Box26 ISEXEC:FALSE --226.504734:87.499150:-900.000000 --142.837799:77.499150:-900.000000 +-159.536072:87.017361:-900.000000 +-107.361072:77.017361:-900.000000 FIN_BOX BOX std:MagicBox:Box28 ISEXEC:FALSE --94.829944:83.888857:-900.000000 --58.754944:73.888857:-900.000000 +-21.330778:79.918028:-900.000000 +14.744222:69.918028:-900.000000 FIN_BOX CONNECTIONS:16 CONNECTION diff --git a/bbtk_creaVtk_PKG/bbs/boxes/VectorsExploration_Widget.bbs b/bbtk_creaVtk_PKG/bbs/boxes/VectorsExploration_Widget.bbs index 9e27405..a518fcb 100644 --- a/bbtk_creaVtk_PKG/bbs/boxes/VectorsExploration_Widget.bbs +++ b/bbtk_creaVtk_PKG/bbs/boxes/VectorsExploration_Widget.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) -# - /tmpEED/creaTools2/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VectorsExploration_Widget.bbs +# - /home/davila/Creatis/C8/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VectorsExploration_Widget.bbs # ---------------------------------- include std diff --git a/bbtk_creaVtk_PKG/bbs/boxes/VectorsTensors_Widget.bbg b/bbtk_creaVtk_PKG/bbs/boxes/VectorsTensors_Widget.bbg index 6980d5b..f1a04f4 100644 --- a/bbtk_creaVtk_PKG/bbs/boxes/VectorsTensors_Widget.bbg +++ b/bbtk_creaVtk_PKG/bbs/boxes/VectorsTensors_Widget.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - VectorsTensors_Widget.bbg +# - /home/davila/Creatis/C8/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VectorsTensors_Widget.bbg # ---------------------------------- APP_START @@ -13,7 +13,7 @@ PACKAGENAME:creaVtk COMPLEXOUTPUTS:1 COMPLEX_PORT widget --87.086702:-131.675720:-900.000000 +-133.205566:-215.108938:-900.000000 FIN_COMPLEX_PORT COMPLEXINPUTS:3 COMPLEX_PORT @@ -32,24 +32,24 @@ BOXES:14 BOX vtk:UpdateRender:Box22 ISEXEC:FALSE -112.874685:-20.808003:-900.000000 -158.449685:-30.808003:-900.000000 +91.911565:-119.753930:-900.000000 +132.236565:-129.753930:-900.000000 PORT Active:"true" FIN_BOX BOX wx:LayoutTab:Box17 ISEXEC:FALSE --89.942511:-71.713124:-900.000000 --44.367511:-81.713124:-900.000000 +-148.219985:-138.795108:-900.000000 +-90.659985:-148.795108:-900.000000 PORT WinTitle:"VectorsTensors Analysis" FIN_BOX BOX std:MultipleInputs:Box23 ISEXEC:FALSE -76.506639:18.351379:-900.000000 -122.081639:8.351379:-900.000000 +32.484087:-86.883484:-900.000000 +72.184087:-96.883484:-900.000000 PORT BoxProcessMode:"Reactive" FIN_BOX @@ -57,13 +57,13 @@ BOX creaVtk:PlaneVectorVisu_Widget:Box41 ISEXEC:FALSE -290.289955:71.849699:-900.000000 --202.478965:61.849699:-900.000000 +-240.339955:61.849699:-900.000000 FIN_BOX BOX wx:LayoutLine:Box14 ISEXEC:FALSE --231.090102:-2.949602:-900.000000 --136.464715:-12.949602:-900.000000 +-249.537648:23.883192:-900.000000 +-191.977648:13.883192:-900.000000 PORT WinTitle:"Field" FIN_BOX @@ -71,13 +71,13 @@ BOX creaVtk:VolumeVectorVisu_Widget:Box18 ISEXEC:FALSE -214.258652:71.383715:-900.000000 --143.083652:61.383715:-900.000000 +-162.208652:61.383715:-900.000000 FIN_BOX BOX wx:LayoutLine:Box16 ISEXEC:FALSE --40.899412:-16.748818:-900.000000 -4.675588:-26.748818:-900.000000 +-107.142871:-103.536135:-900.000000 +-49.582871:-113.536135:-900.000000 PORT WinTitle:"Tensors" FIN_BOX @@ -85,43 +85,43 @@ BOX creaVtk:VolumeTensorVisu_Widget:Box19 ISEXEC:FALSE 60.863865:72.033730:-900.000000 -132.038865:62.033730:-900.000000 +112.563865:62.033730:-900.000000 FIN_BOX BOX creaVtk:PlaneTensorVisu_Widget:Box21 ISEXEC:FALSE --19.798384:71.186398:-900.000000 -51.376616:61.186398:-900.000000 +-17.702072:72.444185:-900.000000 +31.897928:62.444185:-900.000000 FIN_BOX BOX creaVtk:PlaneWidget_StreamLineVisu_Widget:Box30 ISEXEC:FALSE --128.471084:73.231403:-900.000000 --57.296084:63.231403:-900.000000 +-156.561665:28.789589:-900.000000 +-94.686665:18.789589:-900.000000 FIN_BOX BOX vtk:vtkImageDataPointerRelay:Box26 ISEXEC:FALSE -208.540015:141.393307:-900.000000 --137.365015:131.393307:-900.000000 +-154.090517:131.393307:-900.000000 FIN_BOX BOX vtk:vtkImageDataPointerRelay:Box27 ISEXEC:FALSE -89.314298:137.998626:-900.000000 --18.139298:127.998626:-900.000000 +-37.139298:127.998626:-900.000000 FIN_BOX BOX std:MagicBox:Box28 ISEXEC:FALSE 123.517825:137.982960:-900.000000 -169.092825:127.982960:-900.000000 +159.592825:127.982960:-900.000000 FIN_BOX BOX wx:LayoutTab:Box29 ISEXEC:FALSE --199.996601:-45.212305:-900.000000 --126.846139:-55.212305:-900.000000 +-175.679382:-102.651254:-900.000000 +-118.119382:-112.651254:-900.000000 PORT WinTitle:"Vectors" FIN_BOX diff --git a/bbtk_creaVtk_PKG/bbs/boxes/VectorsTensors_Widget.bbs b/bbtk_creaVtk_PKG/bbs/boxes/VectorsTensors_Widget.bbs index 1187f71..8117a50 100644 --- a/bbtk_creaVtk_PKG/bbs/boxes/VectorsTensors_Widget.bbs +++ b/bbtk_creaVtk_PKG/bbs/boxes/VectorsTensors_Widget.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) -# - VectorsTensors_Widget.bbs +# - /home/davila/Creatis/C8/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VectorsTensors_Widget.bbs # ---------------------------------- include std diff --git a/bbtk_creaVtk_PKG/bbs/boxes/VectorsVisu_Interface.bbg b/bbtk_creaVtk_PKG/bbs/boxes/VectorsVisu_Interface.bbg index 1a3b7e4..b0d59f1 100644 --- a/bbtk_creaVtk_PKG/bbs/boxes/VectorsVisu_Interface.bbg +++ b/bbtk_creaVtk_PKG/bbs/boxes/VectorsVisu_Interface.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - /home/davila/Creatis/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VectorsVisu_Interface.bbg +# - /home/davila/Creatis/C8/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VectorsVisu_Interface.bbg # ---------------------------------- APP_START @@ -10,42 +10,74 @@ AUTHOR:Author ?? COMPLEXBOX:TRUE COMPLEXBOXNAME:VectorsVisu_Interface PACKAGENAME:creaVtk -COMPLEXOUTPUTS:5 +COMPLEXOUTPUTS:13 COMPLEX_PORT Opacity -40.353594:-51.001761:-900.000000 +42.538344:-69.870059:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT widget --69.045254:-49.350565:-900.000000 +-100.028986:-72.786978:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT active --37.624825:-47.529091:-900.000000 +-309.918405:-54.479031:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT ScaleFactor -74.070740:-49.457530:-900.000000 +98.010322:-71.281755:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT boxChange --5.260159:-49.295203:-900.000000 +-6.253227:-75.114980:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +Type +-36.743528:-74.778045:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +Resolution +135.040901:-72.809438:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +activeYZ +-246.741332:-62.122408:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +activeXZ +-234.757315:-62.498404:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +activeXY +-258.301271:-62.762468:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +active3DXY +-188.230914:-63.118705:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +active3DYZ +-177.192216:-63.118705:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +active3DXZ +-166.383492:-61.968841:-900.000000 FIN_COMPLEX_PORT COMPLEXINPUTS:0 -BOXES:8 +BOXES:23 BOX wx:CheckBox:Box00 ISEXEC:FALSE --76.224989:54.666321:-900.000000 --30.649989:44.666321:-900.000000 +-319.671398:229.215607:-900.000000 +-283.346398:219.215607:-900.000000 PORT -Title:"Active Vector" +Title:"active" FIN_BOX BOX wx:Slider:Box01 ISEXEC:FALSE --8.984397:56.398119:-900.000000 -42.415603:46.398119:-900.000000 +-2.231532:70.499689:-900.000000 +49.168468:60.499689:-900.000000 PORT In:"100" PORT @@ -62,38 +94,38 @@ FIN_BOX BOX std:Div:Box02 ISEXEC:FALSE -33.671471:18.616028:-900.000000 -66.446471:8.616028:-900.000000 +41.089791:-19.299830:-900.000000 +70.414791:-29.299830:-900.000000 PORT In2:"100.0" FIN_BOX BOX wx:LayoutLine:Box03 ISEXEC:FALSE --85.410221:-1.499463:-900.000000 --27.850221:-11.499463:-900.000000 +-99.083516:16.933184:-900.000000 +-41.523516:6.933184:-900.000000 PORT -WinTitle:"Vector field" +Orientation:"H" FIN_BOX BOX wx:LayoutTab:Box04 ISEXEC:FALSE --83.037560:-20.291032:-900.000000 --25.477560:-30.291032:-900.000000 +-88.602903:-23.326674:-900.000000 +-52.352903:-33.326674:-900.000000 FIN_BOX BOX std:MultipleInputs:Box05 ISEXEC:FALSE -9.535855:-18.209205:-900.000000 -36.039145:-28.209205:-900.000000 +30.164145:-28.209205:-900.000000 PORT BoxProcessMode:"Reactive" FIN_BOX BOX wx:Slider:Box06 ISEXEC:FALSE -58.855363:57.678213:-900.000000 -110.255363:47.678213:-900.000000 +62.595736:71.111066:-900.000000 +113.995736:61.111066:-900.000000 PORT ChangeResolution:"true" PORT @@ -101,7 +133,7 @@ In:"100" PORT Label:"true" PORT -Max:"500000" +Max:"50000" PORT Min:"1" PORT @@ -112,52 +144,283 @@ FIN_BOX BOX std:Div:Box07 ISEXEC:FALSE -79.821975:17.274812:-900.000000 -112.596975:7.274812:-900.000000 +85.545028:-22.113257:-900.000000 +114.870028:-32.113257:-900.000000 PORT In2:"100.0" FIN_BOX -CONNECTIONS:14 +BOX +wx:ComboBox:Box08 +ISEXEC:FALSE +-27.823446:107.084383:-900.000000 +14.336554:97.084383:-900.000000 +PORT +In:"Line Arrow" +PORT +WinHeight:"50" +FIN_BOX +BOX +wx:LayoutLine:Box09 +ISEXEC:FALSE +-119.658896:-3.230688:-900.000000 +-62.098896:-13.230688:-900.000000 +PORT +WinTitle:"Vector Field" +FIN_BOX +BOX +wx:Slider:Box10 +ISEXEC:FALSE +121.335852:72.977394:-900.000000 +172.735852:62.977394:-900.000000 +PORT +ChangeResolution:"true" +PORT +In:"100" +PORT +Label:"true" +PORT +Max:"300" +PORT +Min:"1" +PORT +ReactiveOnTrack:"true" +PORT +Title:"Resolution" +FIN_BOX +BOX +wx:CheckBox:Box11 +ISEXEC:FALSE +-274.939074:200.152619:-900.000000 +-238.614074:190.152619:-900.000000 +PORT +Title:"2DYZ" +FIN_BOX +BOX +wx:CheckBox:Box12 +ISEXEC:FALSE +-251.538590:186.328512:-900.000000 +-215.213590:176.328512:-900.000000 +PORT +Title:"2DXZ" +FIN_BOX +BOX +wx:LayoutLine:Box13 +ISEXEC:FALSE +-236.454901:95.950415:-900.000000 +-178.894901:85.950415:-900.000000 +PORT +Orientation:"H" +PORT +WinTitle:"Vector field" +FIN_BOX +BOX +wx:CheckBox:Box14 +ISEXEC:FALSE +-301.923823:215.684098:-900.000000 +-265.598823:205.684098:-900.000000 +PORT +Title:"2DXY" +FIN_BOX +BOX +wx:CheckBox:Box17 +ISEXEC:FALSE +-152.599075:223.125680:-900.000000 +-116.274075:213.125680:-900.000000 +PORT +Title:"3DYZ" +FIN_BOX +BOX +wx:CheckBox:Box18 +ISEXEC:FALSE +-173.374556:235.667511:-900.000000 +-137.049556:225.667511:-900.000000 +PORT +Title:"3DXY" +FIN_BOX +BOX +wx:CheckBox:Box19 +ISEXEC:FALSE +-131.498319:209.301572:-900.000000 +-95.173319:199.301572:-900.000000 +PORT +Title:"3DXZ" +FIN_BOX +BOX +wx:LayoutLine:Box20 +ISEXEC:FALSE +-117.812264:98.010113:-900.000000 +-81.237264:88.010113:-900.000000 +PORT +Orientation:"H" +PORT +WinTitle:"Vector field" +FIN_BOX +BOX +wx:LayoutLine:Box23 +ISEXEC:FALSE +-213.120660:66.634174:-900.000000 +-155.560660:56.634174:-900.000000 +PORT +Orientation:"H" +FIN_BOX +BOX +std:MultipleInputs:Box24 +ISEXEC:FALSE +-88.447185:149.525365:-900.000000 +-48.747185:139.525365:-900.000000 +PORT +BoxProcessMode:"Reactive" +FIN_BOX +BOX +std:MultipleInputs:Box25 +ISEXEC:FALSE +-215.973743:125.671630:-900.000000 +-176.273743:115.671630:-900.000000 +PORT +BoxProcessMode:"Reactive" +FIN_BOX +BOX +wx:LayoutLine:Box26 +ISEXEC:FALSE +-90.551971:51.679193:-900.000000 +-32.991971:41.679193:-900.000000 +PORT +Orientation:"H" +FIN_BOX +CONNECTIONS:45 CONNECTION -Box01:Widget:Box03:Widget2 +Box01:Out:Box02:In1 NumberOfControlPoints:0 CONNECTION -Box00:Widget:Box03:Widget1 +Box02:Out:Opacity:Opacity NumberOfControlPoints:0 CONNECTION -Box01:Out:Box02:In1 +Box04:Widget:widget:widget NumberOfControlPoints:0 CONNECTION -Box02:Out:Opacity:Opacity +Box00:Out:active:active NumberOfControlPoints:0 CONNECTION -Box03:Widget:Box04:Widget1 +Box06:Widget:Box03:Widget3 NumberOfControlPoints:0 CONNECTION -Box04:Widget:widget:widget +Box06:Out:Box07:In1 NumberOfControlPoints:0 CONNECTION -Box01:BoxChange:Box05:In2 +Box07:Out:ScaleFactor:ScaleFactor NumberOfControlPoints:0 CONNECTION -Box00:BoxChange:Box05:In1 +Box05:BoxChange:boxChange:boxChange NumberOfControlPoints:0 CONNECTION -Box00:Out:active:active +Box08:Out:Type:Type NumberOfControlPoints:0 CONNECTION -Box06:Widget:Box03:Widget3 +Box10:Widget:Box03:Widget4 NumberOfControlPoints:0 CONNECTION -Box06:BoxChange:Box05:In3 +Box10:Out:Resolution:Resolution NumberOfControlPoints:0 CONNECTION -Box06:Out:Box07:In1 +Box08:BoxChange:Box05:In2 NumberOfControlPoints:0 CONNECTION -Box07:Out:ScaleFactor:ScaleFactor +Box01:BoxChange:Box05:In3 NumberOfControlPoints:0 CONNECTION -Box05:BoxChange:boxChange:boxChange +Box06:BoxChange:Box05:In4 +NumberOfControlPoints:0 +CONNECTION +Box10:BoxChange:Box05:In5 +NumberOfControlPoints:0 +CONNECTION +Box11:Widget:Box13:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box12:Widget:Box13:Widget3 +NumberOfControlPoints:0 +CONNECTION +Box11:Out:activeYZ:activeYZ +NumberOfControlPoints:0 +CONNECTION +Box12:Out:activeXZ:activeXZ +NumberOfControlPoints:0 +CONNECTION +Box00:Widget:Box13:Widget5 +NumberOfControlPoints:0 +CONNECTION +Box14:Widget:Box13:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box14:Out:activeXY:activeXY +NumberOfControlPoints:0 +CONNECTION +Box18:Out:active3DXY:active3DXY +NumberOfControlPoints:0 +CONNECTION +Box17:Out:active3DYZ:active3DYZ +NumberOfControlPoints:0 +CONNECTION +Box19:Out:active3DXZ:active3DXZ +NumberOfControlPoints:0 +CONNECTION +Box18:Widget:Box20:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box17:Widget:Box20:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box19:Widget:Box20:Widget3 +NumberOfControlPoints:0 +CONNECTION +Box13:Widget:Box23:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box20:Widget:Box23:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box23:Widget:Box09:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box18:BoxChange:Box24:In1 +NumberOfControlPoints:0 +CONNECTION +Box17:BoxChange:Box24:In2 +NumberOfControlPoints:0 +CONNECTION +Box19:BoxChange:Box24:In3 +NumberOfControlPoints:0 +CONNECTION +Box00:BoxChange:Box25:In1 +NumberOfControlPoints:0 +CONNECTION +Box14:BoxChange:Box25:In2 +NumberOfControlPoints:0 +CONNECTION +Box11:BoxChange:Box25:In3 +NumberOfControlPoints:0 +CONNECTION +Box12:BoxChange:Box25:In4 +NumberOfControlPoints:0 +CONNECTION +Box24:BoxChange:Box05:In8 +NumberOfControlPoints:0 +CONNECTION +Box25:BoxChange:Box05:In7 +NumberOfControlPoints:0 +CONNECTION +Box08:Widget:Box26:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box01:Widget:Box26:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box26:Widget:Box09:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box03:Widget:Box09:Widget3 +NumberOfControlPoints:0 +CONNECTION +Box09:Widget:Box04:Widget1 NumberOfControlPoints:0 APP_END diff --git a/bbtk_creaVtk_PKG/bbs/boxes/VectorsVisu_Interface.bbs b/bbtk_creaVtk_PKG/bbs/boxes/VectorsVisu_Interface.bbs index c70d6ab..2c734c5 100644 --- a/bbtk_creaVtk_PKG/bbs/boxes/VectorsVisu_Interface.bbs +++ b/bbtk_creaVtk_PKG/bbs/boxes/VectorsVisu_Interface.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) -# - /home/davila/Creatis/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VectorsVisu_Interface.bbs +# - /home/davila/Creatis/C8/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VectorsVisu_Interface.bbs # ---------------------------------- include std @@ -15,10 +15,10 @@ description "Description ??" category "" -new CheckBox Box00 - set Box00.Title "Active Vector" +new wx:CheckBox Box00 + set Box00.Title "active" -new Slider Box01 +new wx:Slider Box01 set Box01.In "100" set Box01.Label "true" set Box01.Max "100" @@ -26,39 +26,116 @@ new Slider Box01 set Box01.ReactiveOnTrack "true" set Box01.Title "Opacity" -new Div Box02 +new std:Div Box02 set Box02.In2 "100.0" -new LayoutLine Box03 - set Box03.WinTitle "Vector field" +new wx:LayoutLine Box03 + set Box03.Orientation "H" -new LayoutTab Box04 +new wx:LayoutTab Box04 -new MultipleInputs Box05 +new std:MultipleInputs Box05 set Box05.BoxProcessMode "Reactive" -new Slider Box06 +new wx:Slider Box06 set Box06.ChangeResolution "true" set Box06.In "100" set Box06.Label "true" - set Box06.Max "500000" + set Box06.Max "50000" set Box06.Min "1" set Box06.ReactiveOnTrack "true" set Box06.Title "Scale Factor" -new Div Box07 +new std:Div Box07 set Box07.In2 "100.0" +new wx:ComboBox Box08 + set Box08.In "Line Arrow" + set Box08.WinHeight "50" + +new wx:LayoutLine Box09 + set Box09.WinTitle "Vector Field" + +new wx:Slider Box10 + set Box10.ChangeResolution "true" + set Box10.In "100" + set Box10.Label "true" + set Box10.Max "300" + set Box10.Min "1" + set Box10.ReactiveOnTrack "true" + set Box10.Title "Resolution" + +new wx:CheckBox Box11 + set Box11.Title "2DYZ" + +new wx:CheckBox Box12 + set Box12.Title "2DXZ" + +new wx:LayoutLine Box13 + set Box13.Orientation "H" + set Box13.WinTitle "Vector field" + +new wx:CheckBox Box14 + set Box14.Title "2DXY" + +new wx:CheckBox Box17 + set Box17.Title "3DYZ" + +new wx:CheckBox Box18 + set Box18.Title "3DXY" + +new wx:CheckBox Box19 + set Box19.Title "3DXZ" + +new wx:LayoutLine Box20 + set Box20.Orientation "H" + set Box20.WinTitle "Vector field" + +new wx:LayoutLine Box23 + set Box23.Orientation "H" + +new std:MultipleInputs Box24 + set Box24.BoxProcessMode "Reactive" + +new std:MultipleInputs Box25 + set Box25.BoxProcessMode "Reactive" + +new wx:LayoutLine Box26 + set Box26.Orientation "H" + -connect Box01.Widget Box03.Widget2 -connect Box00.Widget Box03.Widget1 connect Box01.Out Box02.In1 -connect Box03.Widget Box04.Widget1 -connect Box01.BoxChange Box05.In2 -connect Box00.BoxChange Box05.In1 connect Box06.Widget Box03.Widget3 -connect Box06.BoxChange Box05.In3 connect Box06.Out Box07.In1 +connect Box10.Widget Box03.Widget4 +connect Box08.BoxChange Box05.In2 +connect Box01.BoxChange Box05.In3 +connect Box06.BoxChange Box05.In4 +connect Box10.BoxChange Box05.In5 +connect Box11.Widget Box13.Widget2 +connect Box12.Widget Box13.Widget3 +connect Box00.Widget Box13.Widget5 +connect Box14.Widget Box13.Widget1 +connect Box18.Widget Box20.Widget1 +connect Box17.Widget Box20.Widget2 +connect Box19.Widget Box20.Widget3 +connect Box13.Widget Box23.Widget1 +connect Box20.Widget Box23.Widget2 +connect Box23.Widget Box09.Widget1 +connect Box18.BoxChange Box24.In1 +connect Box17.BoxChange Box24.In2 +connect Box19.BoxChange Box24.In3 +connect Box00.BoxChange Box25.In1 +connect Box14.BoxChange Box25.In2 +connect Box11.BoxChange Box25.In3 +connect Box12.BoxChange Box25.In4 +connect Box24.BoxChange Box05.In8 +connect Box25.BoxChange Box05.In7 +connect Box08.Widget Box26.Widget1 +connect Box01.Widget Box26.Widget2 +connect Box26.Widget Box09.Widget2 +connect Box03.Widget Box09.Widget3 +connect Box09.Widget Box04.Widget1 # Complex input ports @@ -68,6 +145,14 @@ output widget Box04.Widget " " output active Box00.Out " " output ScaleFactor Box07.Out " " output boxChange Box05.BoxChange " " +output Type Box08.Out " " +output Resolution Box10.Out " " +output activeYZ Box11.Out " " +output activeXZ Box12.Out " " +output activeXY Box14.Out " " +output active3DXY Box18.Out " " +output active3DYZ Box17.Out " " +output active3DXZ Box19.Out " " endefine diff --git a/bbtk_creaVtk_PKG/bbs/boxes/VectorsVisu_Widget.bbg b/bbtk_creaVtk_PKG/bbs/boxes/VectorsVisu_Widget.bbg index c4687a3..b24dc42 100644 --- a/bbtk_creaVtk_PKG/bbs/boxes/VectorsVisu_Widget.bbg +++ b/bbtk_creaVtk_PKG/bbs/boxes/VectorsVisu_Widget.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - /tmpEED/creaTools2/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VectorsVisu_Widget.bbg +# - /home/davila/Creatis/C8/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VectorsVisu_Widget.bbg # ---------------------------------- APP_START @@ -19,18 +19,22 @@ COMPLEX_PORT BoxChange -148.185967:-105.619763:-900.000000 FIN_COMPLEX_PORT -COMPLEXINPUTS:3 +COMPLEXINPUTS:4 COMPLEX_PORT renderer --116.813076:40.976013:-900.000000 +-115.777988:44.672757:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT vtkDataObject --138.011324:45.349330:-900.000000 +-139.194282:43.574893:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT boxExecute --196.920121:41.238358:-900.000000 +-196.920121:43.900014:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +orientation +-95.893542:43.917320:-900.000000 FIN_COMPLEX_PORT BOXES:3 BOX @@ -53,11 +57,11 @@ BOX std:MultipleInputs:Box07 ISEXEC:FALSE -199.014629:-6.443575:-900.000000 --148.406139:-16.443575:-900.000000 +-159.314629:-16.443575:-900.000000 PORT BoxProcessMode:"Reactive" FIN_BOX -CONNECTIONS:10 +CONNECTIONS:12 CONNECTION Box05:Opacity:Box03:Opacity NumberOfControlPoints:0 @@ -88,4 +92,10 @@ NumberOfControlPoints:0 CONNECTION boxExecute:boxExecute:Box07:In1 NumberOfControlPoints:0 +CONNECTION +Box05:Type:Box03:TypeForm +NumberOfControlPoints:0 +CONNECTION +orientation:orientation:Box03:Orientation +NumberOfControlPoints:0 APP_END diff --git a/bbtk_creaVtk_PKG/bbs/boxes/VectorsVisu_Widget.bbs b/bbtk_creaVtk_PKG/bbs/boxes/VectorsVisu_Widget.bbs index 1b46f4a..032aaad 100644 --- a/bbtk_creaVtk_PKG/bbs/boxes/VectorsVisu_Widget.bbs +++ b/bbtk_creaVtk_PKG/bbs/boxes/VectorsVisu_Widget.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) -# - /tmpEED/creaTools2/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VectorsVisu_Widget.bbs +# - /home/davila/Creatis/C8/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VectorsVisu_Widget.bbs # ---------------------------------- include std @@ -30,11 +30,13 @@ connect Box05.ScaleFactor Box03.ScaleFactor connect Box05.active Box03.Active connect Box07.BoxChange Box03.BoxExecute connect Box05.boxChange Box07.In2 +connect Box05.Type Box03.TypeForm # Complex input ports input renderer Box03.Renderer " " input vtkDataObject Box03.In " " input boxExecute Box07.In1 " " +input orientation Box03.Orientation " " # Complex output ports output BoxChange Box03.BoxChange " " diff --git a/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Interface.bbg b/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Interface.bbg index db07e89..6e6c30c 100644 --- a/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Interface.bbg +++ b/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Interface.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - /home/davila/Creatis/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Interface.bbg +# - /home/davila/Creatis/C11/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Interface.bbg # ---------------------------------- APP_START @@ -10,44 +10,58 @@ AUTHOR:Author ?? COMPLEXBOX:TRUE COMPLEXBOXNAME:VolumeVectorVisu_Interface PACKAGENAME:creaVtk -COMPLEXOUTPUTS:6 +COMPLEXOUTPUTS:9 COMPLEX_PORT boxChange --55.620936:-52.838253:-900.000000 +-52.001184:-76.860241:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT widget --7.184086:-56.055226:-900.000000 +-9.312745:-74.872535:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT AcitiveVector -80.231895:-54.018263:-900.000000 +38.732011:-76.441184:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT Opacity -102.436951:-54.580138:-900.000000 +110.514564:-76.141171:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT ScaleFactor -161.011397:-55.687721:-900.000000 +166.276490:-73.457411:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT Ratio --91.228359:-50.583288:-900.000000 +59.515777:-74.885497:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +form +213.982353:-74.143348:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +ActiveBoxWidget +-77.397252:-75.636223:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +RandomTypeOut +80.971822:-72.710043:-900.000000 FIN_COMPLEX_PORT COMPLEXINPUTS:0 -BOXES:9 +BOXES:16 BOX wx:Slider:Box00 ISEXEC:FALSE --50.906743:62.037478:-900.000000 -0.493257:52.037478:-900.000000 +28.107228:92.608230:-900.000000 +79.507228:82.608230:-900.000000 +PORT +ChangeResolution:"true" PORT In:"30" PORT Label:"true" PORT -Max:"1000" +Max:"10000" PORT Min:"1" PORT @@ -58,30 +72,30 @@ FIN_BOX BOX std:MultipleInputs:Box02 ISEXEC:FALSE --57.320437:18.206815:-900.000000 --11.745437:8.206815:-900.000000 +-23.708229:-13.504221:-900.000000 +15.991771:-23.504221:-900.000000 PORT BoxProcessMode:"Reactive" FIN_BOX BOX wx:LayoutLine:Box03 ISEXEC:FALSE --4.139184:17.027492:-900.000000 -53.420816:7.027492:-900.000000 +62.861204:-17.338021:-900.000000 +120.421204:-27.338021:-900.000000 PORT WinTitle:"Volume flield" FIN_BOX BOX wx:LayoutTab:Box04 ISEXEC:FALSE --10.200778:-7.513801:-900.000000 -47.359222:-17.513801:-900.000000 +-12.965722:-34.557818:-900.000000 +44.594278:-44.557818:-900.000000 FIN_BOX BOX wx:CheckBox:Box05 ISEXEC:FALSE -40.200879:64.505359:-900.000000 -85.775879:54.505359:-900.000000 +-20.992880:91.261464:-900.000000 +15.332120:81.261464:-900.000000 PORT ReactiveOnKeystroke:"true" PORT @@ -109,7 +123,7 @@ BOX std:Div:Box07 ISEXEC:FALSE 97.629121:16.000693:-900.000000 -130.404121:6.000693:-900.000000 +126.954121:6.000693:-900.000000 PORT In2:"100.0" FIN_BOX @@ -125,7 +139,7 @@ In:"100" PORT Label:"true" PORT -Max:"500000" +Max:"5000" PORT Min:"1" PORT @@ -137,18 +151,83 @@ BOX std:Div:Box09 ISEXEC:FALSE 158.956759:16.879927:-900.000000 -191.731759:6.879927:-900.000000 +188.281759:6.879927:-900.000000 PORT In2:"100.0" FIN_BOX -CONNECTIONS:18 +BOX +wx:ComboBox:Box10 +ISEXEC:FALSE +217.700945:62.835923:-900.000000 +259.860945:52.835923:-900.000000 +PORT +In:"Line Arrow" +PORT +Title:"Form" +FIN_BOX +BOX +wx:LayoutLine:Box11 +ISEXEC:FALSE +170.175144:40.547736:-900.000000 +227.735144:30.547736:-900.000000 +PORT +Orientation:"H" +FIN_BOX +BOX +wx:LayoutLine:Box12 +ISEXEC:FALSE +-56.592475:61.660958:-900.000000 +0.967525:51.660958:-900.000000 +PORT +Orientation:"H" +PORT +WinTitle:"Volume flield" +FIN_BOX +BOX +wx:CheckBox:Box13 +ISEXEC:FALSE +-98.559689:94.875557:-900.000000 +-62.234689:84.875557:-900.000000 +PORT +ReactiveOnKeystroke:"true" +PORT +Title:"Active Box" +FIN_BOX +BOX +wx:RadioButton:Box15 +ISEXEC:FALSE +84.727176:93.036895:-900.000000 +148.447176:83.036895:-900.000000 +PORT +In0:"No random" +PORT +In1:"Random (0)" +FIN_BOX +BOX +std:MathOperation:Box16 +ISEXEC:FALSE +56.218447:68.235579:-900.000000 +97.268447:58.235579:-900.000000 +PORT +In2:"-1" +PORT +Type:"0" +FIN_BOX +BOX +wx:LayoutLine:Box17 +ISEXEC:FALSE +63.876692:6.529194:-900.000000 +121.436692:-3.470806:-900.000000 +PORT +Orientation:"H" +PORT +WinTitle:"Volume flield" +FIN_BOX +CONNECTIONS:31 CONNECTION Box00:BoxChange:Box02:In1 NumberOfControlPoints:0 CONNECTION -Box00:Widget:Box03:Widget2 -NumberOfControlPoints:0 -CONNECTION Box02:BoxChange:boxChange:boxChange NumberOfControlPoints:0 CONNECTION @@ -158,15 +237,9 @@ CONNECTION Box04:Widget:widget:widget NumberOfControlPoints:0 CONNECTION -Box05:Widget:Box03:Widget3 -NumberOfControlPoints:0 -CONNECTION Box05:BoxChange:Box02:In3 NumberOfControlPoints:0 CONNECTION -Box06:Widget:Box03:Widget4 -NumberOfControlPoints:0 -CONNECTION Box06:Out:Box07:In1 NumberOfControlPoints:0 CONNECTION @@ -179,9 +252,6 @@ CONNECTION Box08:BoxChange:Box02:In5 NumberOfControlPoints:0 CONNECTION -Box08:Widget:Box03:Widget5 -NumberOfControlPoints:0 -CONNECTION Box05:Out:AcitiveVector:AcitiveVector NumberOfControlPoints:0 CONNECTION @@ -196,4 +266,55 @@ NumberOfControlPoints:0 CONNECTION Box02:BoxChange:Box04:BoxExecute NumberOfControlPoints:0 +CONNECTION +Box10:Out:form:form +NumberOfControlPoints:0 +CONNECTION +Box08:Widget:Box11:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box10:Widget:Box11:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box10:BoxChange:Box02:In6 +NumberOfControlPoints:0 +CONNECTION +Box11:Widget:Box03:Widget7 +NumberOfControlPoints:0 +CONNECTION +Box06:Widget:Box03:Widget6 +NumberOfControlPoints:0 +CONNECTION +Box12:Widget:Box03:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box05:Widget:Box12:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box13:Widget:Box12:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box13:BoxChange:Box02:In2 +NumberOfControlPoints:0 +CONNECTION +Box13:Out:ActiveBoxWidget:ActiveBoxWidget +NumberOfControlPoints:0 +CONNECTION +Box00:Widget:Box17:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box15:Widget:Box17:Widget4 +NumberOfControlPoints:0 +CONNECTION +Box17:Widget:Box03:Widget3 +NumberOfControlPoints:0 +CONNECTION +Box15:Out:Box16:In1 +NumberOfControlPoints:0 +CONNECTION +Box16:Out:RandomTypeOut:RandomTypeOut +NumberOfControlPoints:0 +CONNECTION +Box15:BoxChange:Box02:In8 +NumberOfControlPoints:0 APP_END diff --git a/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Interface.bbs b/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Interface.bbs index 914eb27..173bacf 100644 --- a/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Interface.bbs +++ b/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Interface.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) -# - /home/davila/Creatis/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Interface.bbs +# - /home/davila/Creatis/C11/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Interface.bbs # ---------------------------------- include std @@ -15,27 +15,28 @@ description "Description ??" category "" -new Slider Box00 +new wx:Slider Box00 + set Box00.ChangeResolution "true" set Box00.In "30" set Box00.Label "true" - set Box00.Max "1000" + set Box00.Max "10000" set Box00.Min "1" set Box00.ReactiveOnTrack "true" set Box00.Title "Ratio" -new MultipleInputs Box02 +new std:MultipleInputs Box02 set Box02.BoxProcessMode "Reactive" -new LayoutLine Box03 +new wx:LayoutLine Box03 set Box03.WinTitle "Volume flield" -new LayoutTab Box04 +new wx:LayoutTab Box04 -new CheckBox Box05 +new wx:CheckBox Box05 set Box05.ReactiveOnKeystroke "true" set Box05.Title "Active Vectors" -new Slider Box06 +new wx:Slider Box06 set Box06.In "100" set Box06.Label "true" set Box06.Max "100" @@ -43,34 +44,71 @@ new Slider Box06 set Box06.ReactiveOnTrack "true" set Box06.Title "Opacity" -new Div Box07 +new std:Div Box07 set Box07.In2 "100.0" -new Slider Box08 +new wx:Slider Box08 set Box08.ChangeResolution "true" set Box08.In "100" set Box08.Label "true" - set Box08.Max "500000" + set Box08.Max "5000" set Box08.Min "1" set Box08.ReactiveOnTrack "true" set Box08.Title "Scale Factor" -new Div Box09 +new std:Div Box09 set Box09.In2 "100.0" +new wx:ComboBox Box10 + set Box10.In "Line Arrow" + set Box10.Title "Form" + +new wx:LayoutLine Box11 + set Box11.Orientation "H" + +new wx:LayoutLine Box12 + set Box12.Orientation "H" + set Box12.WinTitle "Volume flield" + +new wx:CheckBox Box13 + set Box13.ReactiveOnKeystroke "true" + set Box13.Title "Active Box" + +new wx:RadioButton Box15 + set Box15.In0 "No random" + set Box15.In1 "Random (0)" + +new std:MathOperation Box16 + set Box16.In2 "-1" + set Box16.Type "0" + +new wx:LayoutLine Box17 + set Box17.Orientation "H" + set Box17.WinTitle "Volume flield" + connect Box00.BoxChange Box02.In1 -connect Box00.Widget Box03.Widget2 connect Box03.Widget Box04.Widget1 -connect Box05.Widget Box03.Widget3 connect Box05.BoxChange Box02.In3 -connect Box06.Widget Box03.Widget4 connect Box06.Out Box07.In1 connect Box08.Out Box09.In1 connect Box06.BoxChange Box02.In4 connect Box08.BoxChange Box02.In5 -connect Box08.Widget Box03.Widget5 connect Box02.BoxChange Box04.BoxExecute +connect Box08.Widget Box11.Widget1 +connect Box10.Widget Box11.Widget2 +connect Box10.BoxChange Box02.In6 +connect Box11.Widget Box03.Widget7 +connect Box06.Widget Box03.Widget6 +connect Box12.Widget Box03.Widget1 +connect Box05.Widget Box12.Widget2 +connect Box13.Widget Box12.Widget1 +connect Box13.BoxChange Box02.In2 +connect Box00.Widget Box17.Widget2 +connect Box15.Widget Box17.Widget4 +connect Box17.Widget Box03.Widget3 +connect Box15.Out Box16.In1 +connect Box15.BoxChange Box02.In8 # Complex input ports @@ -81,6 +119,9 @@ output AcitiveVector Box05.Out " " output Opacity Box07.Out " " output ScaleFactor Box09.Out " " output Ratio Box00.Out " " +output form Box10.Out " " +output ActiveBoxWidget Box13.Out " " +output RandomTypeOut Box16.Out " " endefine diff --git a/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Widget.bbg b/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Widget.bbg index 5e24740..10526c8 100644 --- a/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Widget.bbg +++ b/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Widget.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - /home/davila/Creatis/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Widget.bbg +# - /home/davila/Creatis/C11/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Widget.bbg # ---------------------------------- APP_START @@ -19,7 +19,7 @@ COMPLEX_PORT boxchange 73.449532:-77.914560:-900.000000 FIN_COMPLEX_PORT -COMPLEXINPUTS:2 +COMPLEXINPUTS:3 COMPLEX_PORT vtkImageData -28.119201:88.409572:-900.000000 @@ -28,46 +28,72 @@ COMPLEX_PORT renderer -102.399936:88.482773:-900.000000 FIN_COMPLEX_PORT -BOXES:5 +COMPLEX_PORT +externalLut +12.095215:91.117290:-900.000000 +FIN_COMPLEX_PORT +BOXES:9 BOX creaVtk:VectorsVisu:Box00 ISEXEC:FALSE --34.809942:-4.756125:-900.000000 -10.765058:-14.756125:-900.000000 +-17.900845:-12.462724:-900.000000 +19.724155:-22.462724:-900.000000 FIN_BOX BOX vtk:MaskPoint:Box07 ISEXEC:FALSE --33.632255:27.751669:-900.000000 -11.942745:17.751669:-900.000000 +-16.666033:44.572575:-900.000000 +19.483967:34.572575:-900.000000 FIN_BOX BOX creaVtk:VolumeVectorVisu_Interface:Box02 ISEXEC:FALSE -46.516412:57.888962:-900.000000 -117.691412:47.888962:-900.000000 +50.966622:84.837457:-900.000000 +104.916622:74.837457:-900.000000 FIN_BOX BOX vtk:UpdateRender:Box03 ISEXEC:FALSE --16.726909:-47.773066:-900.000000 -28.848091:-57.773066:-900.000000 +-4.196952:-69.750559:-900.000000 +36.128048:-79.750559:-900.000000 PORT Active:"true" FIN_BOX BOX std:MagicBox:Box04 ISEXEC:FALSE --109.738661:31.553033:-900.000000 --64.163661:21.553033:-900.000000 +-112.198808:64.555673:-900.000000 +-76.123808:54.555673:-900.000000 FIN_BOX -CONNECTIONS:14 -CONNECTION -Box07:Out:Box00:In -NumberOfControlPoints:0 -CONNECTION -vtkImageData:vtkImageData:Box07:In -NumberOfControlPoints:0 +BOX +std:MagicBox:Box06 +ISEXEC:FALSE +-30.904238:69.101876:-900.000000 +5.170762:59.101876:-900.000000 +FIN_BOX +BOX +creaVtk:ClipPolyData:Box08 +ISEXEC:FALSE +-15.381729:23.829285:-900.000000 +23.443271:13.829285:-900.000000 +PORT +Inside:"true" +PORT +Type:"1" +FIN_BOX +BOX +creaVtk:BoxWidget:Box09 +ISEXEC:FALSE +-65.717137:44.169788:-900.000000 +-29.042137:34.169788:-900.000000 +FIN_BOX +BOX +std:MultipleInputs:Box10 +ISEXEC:FALSE +-64.370903:22.659312:-900.000000 +-24.670903:12.659312:-900.000000 +FIN_BOX +CONNECTIONS:25 CONNECTION Box02:AcitiveVector:Box00:Active NumberOfControlPoints:0 @@ -87,12 +113,6 @@ CONNECTION Box02:widget:Widget:Widget NumberOfControlPoints:0 CONNECTION -Box02:boxChange:Box07:BoxExecute -NumberOfControlPoints:0 -CONNECTION -Box02:boxChange:Box00:BoxExecute -NumberOfControlPoints:0 -CONNECTION renderer:renderer:Box04:In NumberOfControlPoints:0 CONNECTION @@ -104,4 +124,49 @@ NumberOfControlPoints:0 CONNECTION Box02:boxChange:Box03:BoxExecute NumberOfControlPoints:0 +CONNECTION +Box02:form:Box00:TypeForm +NumberOfControlPoints:0 +CONNECTION +vtkImageData:vtkImageData:Box06:In +NumberOfControlPoints:0 +CONNECTION +Box06:Out:Box07:In +NumberOfControlPoints:0 +CONNECTION +Box07:Out:Box08:In +NumberOfControlPoints:0 +CONNECTION +Box08:Out:Box00:In +NumberOfControlPoints:0 +CONNECTION +Box09:ImplicitFunction:Box08:ImplicitFunction +NumberOfControlPoints:0 +CONNECTION +Box04:Out:Box09:Renderer +NumberOfControlPoints:0 +CONNECTION +Box02:boxChange:Box10:In2 +NumberOfControlPoints:0 +CONNECTION +Box09:BoxChange:Box10:In1 +NumberOfControlPoints:0 +CONNECTION +Box10:BoxChange:Box00:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box02:ActiveBoxWidget:Box09:Active +NumberOfControlPoints:0 +CONNECTION +Box02:AcitiveVector:Box07:Active +NumberOfControlPoints:0 +CONNECTION +externalLut:externalLut:Box00:ExternalLut +NumberOfControlPoints:0 +CONNECTION +Box06:Out:Box09:ImageInitSize +NumberOfControlPoints:0 +CONNECTION +Box02:RandomTypeOut:Box07:RandomType +NumberOfControlPoints:0 APP_END diff --git a/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Widget.bbs b/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Widget.bbs index 8e4a0ba..3811441 100644 --- a/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Widget.bbs +++ b/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Widget.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) -# - /home/davila/Creatis/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Widget.bbs +# - /home/davila/Creatis/C11/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Widget.bbs # ---------------------------------- include std @@ -16,32 +16,53 @@ description "Description ??" category "" -new VectorsVisu Box00 +new creaVtk:VectorsVisu Box00 -new MaskPoint Box07 +new vtk:MaskPoint Box07 -new VolumeVectorVisu_Interface Box02 +new creaVtk:VolumeVectorVisu_Interface Box02 -new UpdateRender Box03 +new vtk:UpdateRender Box03 set Box03.Active "true" -new MagicBox Box04 +new std:MagicBox Box04 + +new std:MagicBox Box06 + +new creaVtk:ClipPolyData Box08 + set Box08.Inside "true" + set Box08.Type "1" + +new creaVtk:BoxWidget Box09 + +new std:MultipleInputs Box10 -connect Box07.Out Box00.In connect Box02.AcitiveVector Box00.Active connect Box02.Opacity Box00.Opacity connect Box02.Ratio Box07.Ratio connect Box02.ScaleFactor Box00.ScaleFactor -connect Box02.boxChange Box07.BoxExecute -connect Box02.boxChange Box00.BoxExecute connect Box04.Out Box00.Renderer connect Box04.Out Box03.Renderer connect Box02.boxChange Box03.BoxExecute +connect Box02.form Box00.TypeForm +connect Box06.Out Box07.In +connect Box07.Out Box08.In +connect Box08.Out Box00.In +connect Box09.ImplicitFunction Box08.ImplicitFunction +connect Box04.Out Box09.Renderer +connect Box02.boxChange Box10.In2 +connect Box09.BoxChange Box10.In1 +connect Box10.BoxChange Box00.BoxExecute +connect Box02.ActiveBoxWidget Box09.Active +connect Box02.AcitiveVector Box07.Active +connect Box06.Out Box09.ImageInitSize +connect Box02.RandomTypeOut Box07.RandomType # Complex input ports -input vtkImageData Box07.In " " input renderer Box04.In " " +input vtkImageData Box06.In " " +input externalLut Box00.ExternalLut " " # Complex output ports output boxchange Box02.boxChange " "