From 2df487698a5930773d83517b2824b0f56f827a5c Mon Sep 17 00:00:00 2001 From: jpr Date: Fri, 9 Nov 2007 17:35:16 +0000 Subject: [PATCH] Fix. Thx to Neerav Patel for reporting typo. --- Doc/Website/HowToUseGdcm.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Doc/Website/HowToUseGdcm.html b/Doc/Website/HowToUseGdcm.html index bb9b730e..5ba8925a 100755 --- a/Doc/Website/HowToUseGdcm.html +++ b/Doc/Website/HowToUseGdcm.html @@ -229,8 +229,7 @@ Probabely, you'll never have to deal with Sequences (hope so!). 1-1-1-1) Deal with the file header The first step is to load the file header : - - gdcm::File *f = new gdcm::File(); + gdcm::File *f = gdcm::File::New(); f->SetLoadMode(LD_NOSEQ); | depending on what f->SetLoadMode(LD_NOSHADOW); | you want *not* f->SetLoadMode(LD_NOSEQ | LD_NOSHADOW);| to load from the @@ -599,7 +598,7 @@ When user knows the files with same Serie UID have same sizes, same 'pixel' type, same color convention, ... the right way to proceed is as follow : - gdcm::SerieHelper *sh= new gdcm::SerieHelper(); + gdcm::SerieHelper *sh= gdcm::NewSerieHelper(); // if user wants *not* to load some parts of the file headers sh->SetLoadMode(yourLoadMode); -- 2.45.1