From: jpr Date: Fri, 9 Nov 2007 17:35:16 +0000 (+0000) Subject: Fix. X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=2df487698a5930773d83517b2824b0f56f827a5c;p=gdcm.git Fix. Thx to Neerav Patel for reporting typo. --- 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);