# ----------------------------------
# - BBTKGEditor v 1.4 BBS BlackBox Script
-# - /home/davila/Creatis/All/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/viewerNVwithVolRenExample.bbs
+# - /home/davila/Creatis/C8/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/viewerNVwithVolRenExample.bbs
# ----------------------------------
# BBTK GEditor Script
include creaMaracasVisu
include toolsbbtk
include wx
+include creaMiniTools
+include vtk
author "Author ??"
description "Description ??"
category "<VOID>"
-new ImagesChooserDialogBox Box00
+new creaImageIO:ImagesChooserDialogBox Box00
-new ViewerNV Box01
- set Box01.nTypeView "5 1 2 0"
+new creaMaracasVisu:ViewerNV Box01
-new ImageVtkPropertiesWidget Box04
+new toolsbbtk:ImageVtkPropertiesWidget Box04
-new LayoutTab Box05
+new wx:LayoutTab Box05
set Box05.WinHide "800"
set Box05.WinWidth "1000"
-new SaveMHD-Button Box06
+new toolsbbtk:SaveMHD-Button Box06
-new LayoutLine Box07
+new wx:LayoutLine Box07
set Box07.WinTitle "MPR Viewer"
+new creaMiniTools:LayerCol-VolRend-SurRend_Multi-Widget Box08
-connect Box00.Out Box01.In
+new wx:LayoutSplit Box09
+ set Box09.Orientation "H"
+ set Box09.WinTitle "ImageTools-Viewer-ViewerNV (with VolRendering)"
+
+new creaMaracasVisu:ImageChangeInformation Box10
+
+new vtk:vtkImageDataPointerRelay Box11
+
+new creaMaracasVisu:HelpViewerNV Box12
+
+new wx:LayoutLine Box13
+ set Box13.WinTitle "Viewer Help"
-connect Box00.Out Box04.in
connect Box04.widget Box05.Widget2
connect Box06.Widget Box05.Widget3
-connect Box00.Out Box06.In
-
connect Box01.Widget Box07.Widget1
connect Box07.Widget Box05.Widget1
+connect Box05.Widget Box09.Widget2
+
+connect Box08.widget Box09.Widget1
+
+connect Box01.Renderer1 Box08.renderer3D
+
+connect Box01.wxVtkBaseView2 Box08.wxvtkbaseview1
+
+connect Box01.wxVtkBaseView3 Box08.wxvtkbaseview2
+
+connect Box01.wxVtkBaseView4 Box08.wxvtkbaseview3
+
+connect Box11.Out Box01.In
+
+connect Box11.Out Box04.in
+
+connect Box11.Out Box06.In
+
+connect Box10.Out Box11.In
+
+connect Box00.Out Box10.In
+
+connect Box12.widget Box13.Widget1
+
+connect Box13.Widget Box05.Widget6
+
# Complex input ports
-exec Box05
+exec Box09