]> Creatis software - bbtk.git/blobdiff - packages/toolsbbtk/bbs/boxes/BaseViewerInfo.bbs
#3120 BBTK Bug New Normal - merge branch changestoITK3and4 FROM master
[bbtk.git] / packages / toolsbbtk / bbs / boxes / BaseViewerInfo.bbs
diff --git a/packages/toolsbbtk/bbs/boxes/BaseViewerInfo.bbs b/packages/toolsbbtk/bbs/boxes/BaseViewerInfo.bbs
new file mode 100644 (file)
index 0000000..29f0647
--- /dev/null
@@ -0,0 +1,80 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - BaseViewerInfo.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include toolsbbtk
+include creaMaracasVisu
+include wx
+include vtk
+
+define BaseViewerInfo toolsbbtk
+
+author "Author ??"
+description "Description ??"
+
+category "<VOID>"
+
+new toolsbbtk:SaveMHD-Button Box00
+
+new creaMaracasVisu:ViewerNV Box02
+
+new wx:LayoutTab Box03
+
+new vtk:vtkImageDataPointerRelay Box09
+
+new toolsbbtk:ImageVtkPropertiesWidget Box10
+
+new wx:LayoutLine Box07
+  set Box07.Orientation "H"
+  set Box07.WinTitle "Info"
+
+new vtk:RescaleSlopeIntercept Box08
+  set Box08.A "0"
+  set Box08.B "90"
+  set Box08.OutputFormat "VTK_UNSIGNED_SHORT"
+  set Box08.Type "2"
+
+new creaMaracasVisu:ImageChangeInformation Box11
+  set Box11.NewSpacing "1 1 1"
+
+new creaMaracasVisu:ColorLayerImageView Box12
+  set Box12.Active "false"
+  set Box12.lstBaseColor "0 0 1   0 1 1     1 1 0   1 0 0"
+
+new wx:LayoutLine Box13
+  set Box13.WinTitle "Color Layer"
+
+new wx:LayoutLine Box14
+  set Box14.Orientation "H"
+  set Box14.WinTitle "View"
+
+
+connect Box09.Out Box00.In
+connect Box09.Out Box10.in
+connect Box09.Out Box02.In
+connect Box00.Widget Box07.Widget2
+connect Box10.widget Box07.Widget1
+connect Box09.Out Box08.In
+connect Box08.Out Box11.In
+connect Box11.Out Box12.In
+connect Box12.Widget Box13.Widget1
+connect Box07.Widget Box03.Widget3
+connect Box02.Widget Box14.Widget1
+connect Box13.Widget Box03.Widget1
+connect Box14.Widget Box03.Widget2
+
+# Complex input ports
+input Image Box09.In " "
+input TitleAtribute Box03.WinTitle " "
+input wxvtkbaseview_03 Box12.WxVtkBaseView2 " "
+input wxvtkbaseview_02 Box12.WxVtkBaseView1 " "
+input wxvtkbaseview_01 Box12.WxVtkBaseView " "
+
+# Complex output ports
+output widget Box03.Widget " "
+
+
+endefine