From 474cf5a7b2dc45173b2e4206d8dcea23731596f2 Mon Sep 17 00:00:00 2001 From: "eduardo.davila@creatis.insa-lyon.fr" Date: Mon, 20 Nov 2023 18:00:16 +0100 Subject: [PATCH] #3512 clean bbs2 python version --- .../bbs/boxes/imageVtkPropertiesWidget.bbg | 86 +++++++++---------- .../bbs/boxes/imageVtkPropertiesWidget.bbs | 6 +- packages/vtk/src/bbvtkAppendPolyData.xml | 4 +- packages/wx/src/bbwxCheckBox.h | 2 +- 4 files changed, 49 insertions(+), 49 deletions(-) diff --git a/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbg b/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbg index a8242ab..c1d5a93 100644 --- a/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbg +++ b/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbg @@ -1,11 +1,11 @@ # ---------------------------------- -# - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - /home/davila/Creatis/C10/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbg +# - BBTKGEditor v 1.5 BBG BlackBox Diagram file +# - /Users/davila/Creatis/C23/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbg # ---------------------------------- APP_START CATEGORY: -DESCRIPTION:Description ?? +DESCRIPTION:(C++,Python) Description ?? AUTHOR:Author ?? COMPLEXBOX:TRUE COMPLEXBOXNAME:ImageVtkPropertiesWidget @@ -13,135 +13,135 @@ PACKAGENAME:toolsbbtk COMPLEXOUTPUTS:7 COMPLEX_PORT widget -3.333144:-72.520645:-900.000000 +2.333201:-21.756193:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT Dimensions -21.417324:-71.448913:-900.000000 +14.992127:-21.434674:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT MinMax -53.672901:-69.172114:-900.000000 +37.571031:-20.751634:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT Size -76.763110:-69.490331:-900.000000 +53.734177:-20.847099:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT Spacing -87.976850:-69.972313:-900.000000 +61.583795:-20.991694:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT TypeName -98.867443:-69.650261:-900.000000 +69.207210:-20.895078:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT origin -65.467976:-67.826409:-900.000000 +45.827583:-20.347923:-900.000000 FIN_COMPLEX_PORT COMPLEXINPUTS:3 COMPLEX_PORT in -20.217710:145.236819:-900.000000 +14.152397:43.571046:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT FileName -105.100511:147.914278:-900.000000 +73.570358:44.374283:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT boxExecute --92.186317:150.079323:-900.000000 +-64.530422:45.023797:-900.000000 FIN_COMPLEX_PORT BOXES:15 BOX wx:OutputText:Box02 ISEXEC:FALSE --173.282353:46.940241:-900.000000 --136.507353:36.940241:-900.000000 +-121.297647:14.082072:-900.000000 +-99.627647:11.582072:-900.000000 PORT Title:"Dimensions" FIN_BOX BOX wx:OutputText:Box17 ISEXEC:FALSE --81.960343:34.681383:-900.000000 --45.185343:24.681383:-900.000000 +-57.372240:10.404415:-900.000000 +-35.702240:7.904415:-900.000000 PORT Title:"Size" FIN_BOX BOX wx:OutputText:Box20 ISEXEC:FALSE --52.452230:20.761380:-900.000000 --15.677230:10.761380:-900.000000 +-36.716561:6.228414:-900.000000 +-15.046561:3.728414:-900.000000 PORT Title:"Spacing" FIN_BOX BOX wx:OutputText:Box22 ISEXEC:FALSE --33.844911:1.230494:-900.000000 -2.930089:-8.769506:-900.000000 +-23.691438:0.369148:-900.000000 +-2.021438:-2.130852:-900.000000 PORT Title:"TypeName" FIN_BOX BOX wx:OutputText:Box26 ISEXEC:FALSE --128.670557:28.919600:-900.000000 --91.895557:18.919600:-900.000000 +-90.069390:8.675880:-900.000000 +-68.399390:6.175880:-900.000000 PORT Title:"Min Max" FIN_BOX BOX vtk:ImageVtkProperties:Box09 ISEXEC:FALSE -14.396297:109.880107:-900.000000 -59.746297:99.880107:-900.000000 +10.077408:32.964032:-900.000000 +32.612408:30.464032:-900.000000 FIN_BOX BOX wx:OutputText:Box10 ISEXEC:FALSE --196.439793:65.504307:-900.000000 --159.664793:55.504307:-900.000000 +-137.507855:19.651292:-900.000000 +-115.837855:17.151292:-900.000000 PORT Title:"Components" FIN_BOX BOX wx:LayoutLine:Box11 ISEXEC:FALSE --57.992403:-49.764245:-900.000000 --0.432403:-59.764245:-900.000000 +-40.594682:-14.929274:-900.000000 +-7.274682:-17.429274:-900.000000 PORT WinTitle:"Image properties" FIN_BOX BOX wx:OutputText:Box13 ISEXEC:FALSE -8.178439:-32.145808:-900.000000 -44.953439:-42.145808:-900.000000 +5.724907:-9.643742:-900.000000 +27.394907:-12.143742:-900.000000 PORT Title:"Name" FIN_BOX BOX std:MagicBox:Box14 ISEXEC:FALSE --98.823731:125.742136:-900.000000 --62.748731:115.742136:-900.000000 +-69.176612:37.722641:-900.000000 +-47.576612:35.222641:-900.000000 FIN_BOX BOX wx:OutputText:Box15 ISEXEC:FALSE --27.670236:-19.010277:-900.000000 -9.104764:-29.010277:-900.000000 +-19.369165:-5.703083:-900.000000 +2.300835:-8.203083:-900.000000 PORT Title:"Origin" FIN_BOX BOX std:ConcatStrings:Box16 ISEXEC:FALSE -113.399842:22.194464:-900.000000 -153.124842:12.194464:-900.000000 +79.379889:6.658339:-900.000000 +102.139889:4.158339:-900.000000 PORT In2:" " PORT @@ -150,24 +150,24 @@ FIN_BOX BOX std:GetVectorDoubleElement:Box18 ISEXEC:FALSE -77.073454:52.393509:-900.000000 -128.123454:42.393509:-900.000000 +53.951418:15.718053:-900.000000 +77.076418:13.218053:-900.000000 PORT I:"0" FIN_BOX BOX std:GetVectorDoubleElement:Box19 ISEXEC:FALSE -94.301561:68.016836:-900.000000 -145.351561:58.016836:-900.000000 +66.011093:20.405051:-900.000000 +89.136093:17.905051:-900.000000 PORT I:"1" FIN_BOX BOX std:GetVectorDoubleElement:Box21 ISEXEC:FALSE -114.301561:88.016836:-900.000000 -165.351561:78.016836:-900.000000 +80.011093:26.405051:-900.000000 +103.136093:23.905051:-900.000000 PORT I:"2" FIN_BOX diff --git a/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbs b/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbs index 472e5f7..ec0bb53 100644 --- a/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbs +++ b/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbs @@ -1,6 +1,6 @@ # ---------------------------------- -# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) -# - /home/davila/Creatis/C10/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbs +# - BBTKGEditor v 1.5 BBS BlackBox Script (Complex Box) +# - /Users/davila/Creatis/C23/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbs # ---------------------------------- include std @@ -12,7 +12,7 @@ include std define ImageVtkPropertiesWidget toolsbbtk author "Author ??" -description "Description ??" +description "(C++,Python) Description ??" category "" diff --git a/packages/vtk/src/bbvtkAppendPolyData.xml b/packages/vtk/src/bbvtkAppendPolyData.xml index f415a88..a4b17de 100644 --- a/packages/vtk/src/bbvtkAppendPolyData.xml +++ b/packages/vtk/src/bbvtkAppendPolyData.xml @@ -16,8 +16,8 @@ -
typedef std::vector InputVector;
- +
typedef std::vector typeInputVector;
+
diff --git a/packages/wx/src/bbwxCheckBox.h b/packages/wx/src/bbwxCheckBox.h
index 5e8f963..ef5ec23 100644
--- a/packages/wx/src/bbwxCheckBox.h
+++ b/packages/wx/src/bbwxCheckBox.h
@@ -151,7 +151,7 @@ namespace bbwx
   BBTK_NAME("CheckBox");
   BBTK_AUTHOR("jpr@creatis.insa-lyon.fr");
   // Already inserted for any WxBlackBox  BBTK_CATEGORY("widget");
-  BBTK_DESCRIPTION("CheckBox widget (wxCheckBox)");
+  BBTK_DESCRIPTION("(C++,Python) CheckBox widget");
   BBTK_INPUT(CheckBox, In,   "Initial value of the CheckBox (default false)",bool,       "");
   BBTK_INPUT(CheckBox, Title,"Title shown above the CheckBox (default '') ", std::string,"");
   BBTK_OUTPUT(CheckBox,Out,  "Current value of the CheckBox",                bool,       "");
-- 
2.47.1