From 313f228ef0ea749e2b83220eacc19b114961d20c Mon Sep 17 00:00:00 2001 From: jean-pierre roux Date: Fri, 9 Oct 2009 16:51:01 +0000 Subject: [PATCH] Add the ability to use a vtkgdcmReader (and nothing else!) --- packages/demo/bbs/appli/demoViewing1.bbs | 8 ++++++++ packages/demo/bbs/appli/demoViewing3.bbs | 9 ++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/packages/demo/bbs/appli/demoViewing1.bbs b/packages/demo/bbs/appli/demoViewing1.bbs index 90008b4..8e066e4 100644 --- a/packages/demo/bbs/appli/demoViewing1.bbs +++ b/packages/demo/bbs/appli/demoViewing1.bbs @@ -42,6 +42,14 @@ new ImageReader reader connect openFileDialog.Out reader.In */ +# uncomment next lines to use a vtkgdcmReader +# ------------------------------------- +/* +new FileSelector openFileDialog +new GetInfoGdcmReader reader + connect openFileDialog.Out reader.In +*/ + # uncomment next lines to use Gimmick # ----------------------------------- /* diff --git a/packages/demo/bbs/appli/demoViewing3.bbs b/packages/demo/bbs/appli/demoViewing3.bbs index 0e84b10..1edb63b 100644 --- a/packages/demo/bbs/appli/demoViewing3.bbs +++ b/packages/demo/bbs/appli/demoViewing3.bbs @@ -14,7 +14,6 @@ include wx load itkvtk load gdcmvtk - new LayoutX4 main new LayoutLine upright @@ -38,6 +37,14 @@ new ImageReader reader connect openFileDialog.Out reader.In */ +# uncomment next lines to use a vtkgdcmReader +# ------------------------------------- +/* +new FileSelector openFileDialog +new GetInfoGdcmReader reader + connect openFileDialog.Out reader.In +*/ + # uncomment next lines to use Gimmick # ----------------------------------- /* -- 2.47.1