X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmFileHelper.h;h=327431ba5193a3e64202d348fa0911de455fa703;hb=4695af60407895e5f0851ffcb9afdb138c9870f7;hp=9056534e0feec536c973fda59562c48d1877ea10;hpb=f42c171403bfb96eee2237f528a05d5f8591a7bd;p=gdcm.git diff --git a/src/gdcmFileHelper.h b/src/gdcmFileHelper.h index 9056534e..327431ba 100644 --- a/src/gdcmFileHelper.h +++ b/src/gdcmFileHelper.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmFileHelper.h,v $ Language: C++ - Date: $Date: 2005/03/09 09:45:33 $ - Version: $Revision: 1.16 $ + Date: $Date: 2005/07/08 14:36:48 $ + Version: $Revision: 1.18 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -50,14 +50,19 @@ public: FileHelper( ); FileHelper( File *header ); FileHelper( std::string const &filename ); - + virtual ~FileHelper(); void Print(std::ostream &os = std::cout, std::string const &indent = ""); /// Accessor to \ref File File *GetFile() { return FileInternal; } + + void SetLoadMode(int loadMode); + void SetFileName(std::string const &fileName); + bool Load(); + // File methods bool SetValEntry(std::string const &content, uint16_t group, uint16_t elem); @@ -93,6 +98,8 @@ public: // LUT uint8_t* GetLutRGBA(); + int GetLutItemNumber(); + int GetLutItemSize(); // Write mode