From ee4cf72af9083e74f6b7f99099e80f1bda39212a Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Thu, 13 Apr 2023 14:15:48 +0200 Subject: [PATCH] Clean code --- .../appli/example_BoxWidget_ClipPolydata.bbg | 38 ++++++++++--------- .../appli/example_BoxWidget_ClipPolydata.bbs | 5 ++- 2 files changed, 23 insertions(+), 20 deletions(-) diff --git a/bbtk_creaVtk_PKG/bbs/appli/example_BoxWidget_ClipPolydata.bbg b/bbtk_creaVtk_PKG/bbs/appli/example_BoxWidget_ClipPolydata.bbg index f68c584..731d664 100644 --- a/bbtk_creaVtk_PKG/bbs/appli/example_BoxWidget_ClipPolydata.bbg +++ b/bbtk_creaVtk_PKG/bbs/appli/example_BoxWidget_ClipPolydata.bbg @@ -1,6 +1,6 @@ # ---------------------------------- -# - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - /home/davila/Creatis/C8/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/example_BoxWidget_ClipPolydata.bbg +# - BBTKGEditor v 1.5 BBG BlackBox Diagram file +# - /Users/davila/Creatis/C23/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/example_BoxWidget_ClipPolydata.bbg # ---------------------------------- APP_START @@ -13,42 +13,44 @@ BOXES:8 BOX vtk:LoadHola:Box00 ISEXEC:FALSE --13.850748:68.721067:-900.000000 -21.699252:58.721067:-900.000000 +-9.695524:20.616320:-900.000000 +11.854476:18.116320:-900.000000 FIN_BOX BOX creaMaracasVisu:ViewerNV:Box01 ISEXEC:FALSE --19.979284:45.126531:-900.000000 -43.740716:35.126531:-900.000000 +-13.985499:13.537959:-900.000000 +38.600000:11.037959:-900.000000 FIN_BOX BOX creaVtk:BoxWidget:Box02 ISEXEC:FALSE --38.184214:4.379120:-900.000000 --1.509214:-5.620880:-900.000000 +-26.728950:1.313736:-900.000000 +-5.068950:-1.186264:-900.000000 +PORT +Active:"true" FIN_BOX BOX wx:LayoutSplit:Box03 ISEXEC:TRUE -11.848896:-90.117759:-900.000000 -50.928896:-100.117759:-900.000000 +8.294227:-27.035328:-900.000000 +29.959227:-29.535328:-900.000000 PORT Orientation:"H" FIN_BOX BOX wx:CommandButton:Box04 ISEXEC:FALSE --85.584870:31.037853:-900.000000 --42.809870:21.037853:-900.000000 +-59.909409:9.311356:-900.000000 +21.000000:6.811356:-900.000000 PORT Label:"Refresh" FIN_BOX BOX vtk:SphereSource:Box05 ISEXEC:FALSE -26.306848:5.863047:-900.000000 -66.131848:-4.136953:-900.000000 +18.414794:1.758914:-900.000000 +40.399794:-0.741086:-900.000000 PORT CenterX:"50" PORT @@ -61,14 +63,14 @@ FIN_BOX BOX creaVtk:ClipPolyData:Box06 ISEXEC:FALSE --49.518922:-34.972985:-900.000000 --10.693922:-44.972985:-900.000000 +-34.663245:-10.491896:-900.000000 +-12.788245:-12.991896:-900.000000 FIN_BOX BOX vtk:PolyDataToActor:Box07 ISEXEC:FALSE --52.136645:-67.077861:-900.000000 --9.736645:-77.077861:-900.000000 +-36.495652:-20.123358:-900.000000 +26.280000:-22.623358:-900.000000 FIN_BOX CONNECTIONS:10 CONNECTION diff --git a/bbtk_creaVtk_PKG/bbs/appli/example_BoxWidget_ClipPolydata.bbs b/bbtk_creaVtk_PKG/bbs/appli/example_BoxWidget_ClipPolydata.bbs index f57eb60..65d644d 100644 --- a/bbtk_creaVtk_PKG/bbs/appli/example_BoxWidget_ClipPolydata.bbs +++ b/bbtk_creaVtk_PKG/bbs/appli/example_BoxWidget_ClipPolydata.bbs @@ -1,6 +1,6 @@ # ---------------------------------- -# - BBTKGEditor v 1.4 BBS BlackBox Script -# - /home/davila/Creatis/C8/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/example_BoxWidget_ClipPolydata.bbs +# - BBTKGEditor v 1.5 BBS BlackBox Script +# - /Users/davila/Creatis/C23/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/example_BoxWidget_ClipPolydata.bbs # ---------------------------------- # BBTK GEditor Script @@ -22,6 +22,7 @@ new vtk:LoadHola Box00 new creaMaracasVisu:ViewerNV Box01 new creaVtk:BoxWidget Box02 + set Box02.Active "true" new wx:LayoutSplit Box03 set Box03.Orientation "H" -- 2.47.1