jpr [Sat, 8 Jan 2005 15:03:56 +0000 (15:03 +0000)]
According to Benoit's suggestion, and without any objection from anybody
- methods SetxxxByNumber and GetxxxByNumber renamed as Setxxx and Get xxx
- methods Dict::Print() and Dict::PrintByKey() merged into Dict::Print()
- method gdcmDicomDirObject::GetEntry() renamed as
gdcmDicomDirObject::GetEntryHT() to avoid confusion (and compile error)
regrain [Fri, 7 Jan 2005 16:45:51 +0000 (16:45 +0000)]
* src/gdcmDocEntry.[h|cxx] : now the ReadLength is the length of the datas
to read in the file... and only it ! Length is the efective length of the
datas in the DocEntry structure
-- BeNours
jpr [Fri, 7 Jan 2005 16:34:47 +0000 (16:34 +0000)]
Removal of useless groupNameAbbreviations2004.dic
Add dicomGroupNameAbbreviations.dic
should be used to write a method to replace the former
Dict::GetDictEntryNamesByCategory()
malaterre [Fri, 7 Jan 2005 16:26:11 +0000 (16:26 +0000)]
ENH: Change the gdcmDebug approach. Remov the global static debug 'dbg'. And now use a static function call instead, with a global variable. This is much closer to the VTK approach. Hopefully should be bulletproof and easier to use...hopefully
jpr [Thu, 6 Jan 2005 17:08:05 +0000 (17:08 +0000)]
Doxygenation
+ modif Coding style :
According with Benoit (and Doxygen) we shall use, just like anybody :
T *foo
or
T &foo
and NOT
T* foo
or
T & foo
(that was gdcm-special)
regrain [Thu, 6 Jan 2005 13:35:37 +0000 (13:35 +0000)]
* src/gdcmDictEntry.h : now, the IsVRUnknown is correct
* src/gdcmDocument.[h|cxx] : simplify the search of VR value when parsing
a file
* src/gdcmDocEntrySet.cxx : now the created DocEntry without values is good
when specifying the VR
* src/gdcmVR.[h|cxx] : add usefull method to test the validity of a VR
* src/gdcmDocEntry.cxx : amelioration of print
-- BeNours
regrain [Wed, 5 Jan 2005 15:38:27 +0000 (15:38 +0000)]
* src/gdcmCommon.h : add the GDCM_UNKNOWN constant. This constant is to
replace the different values "??", "Unkn", "Unknown".
* src/gdcmDicomDirElement.h, gdcmDictEntry.h, gdcmDictSet.h,
gdcmDocEntry.cxx, gdcmDocEntrySet.[h|cxx], gdcmDocument.h, gdcmSQItem.cxx,
gdcmVR.cxx : use the GDCM_UNKNOWN constant.
* Appears a bug in gdcmDictEntry : IsVRUnknown always returns false... bad
-- BeNours
regrain [Thu, 16 Dec 2004 13:46:36 +0000 (13:46 +0000)]
* src/gdcmBase.[h|cxx] : new base class. Contains the PrintLevel and an
empty Print Method
* Set the gdcm::Base class to some Printable classes
-- BeNours
regrain [Thu, 16 Dec 2004 11:37:01 +0000 (11:37 +0000)]
* src/gdcmFile.[h|cxx] : add the Print method
* src/gdcmPixelReadConvert.[h|cxx] : add the generalized Print method
* src/gdcmDocEntrySet.h : generalize the Print with the PrintLevel
* src/gdcmDocument.h : remove the PrintLevel informations
* Example/PrintFile.cxx : use the new gdcm::File::Print
-- BeNours
rouet [Sun, 12 Dec 2004 17:21:07 +0000 (17:21 +0000)]
* FIX: new handling of JPEG decompression, especially when dicom
frames are split into several JPEG Fragments. This makes use of
jpeg decompression from memory buffer. This solves reading for
example gdcm-JPEG-Lossless_Thoravision.dcm.
rouet [Sun, 12 Dec 2004 13:32:23 +0000 (13:32 +0000)]
* FIX: modified DirList::Explore in order to make it work under
Cygwin when GDCM_DATA_ROOT is a defined by CMake as a unix
path. The patch consists in not using the FindFirstFile win32api
function under cygwin but rather the open dir *nix method.
malaterre [Fri, 10 Dec 2004 15:50:04 +0000 (15:50 +0000)]
ENH: Adding an example that only work on linux, not on Win32. It shows how to create a DICOM image from scratch, we are only allowed to copy the string based entry from a previous DICOM
regrain [Fri, 10 Dec 2004 13:49:05 +0000 (13:49 +0000)]
* src/gdcmFile.[h|cxx], gdcmPixelReadConvert.[h|cxx] : change the API.
Rename Decompressed to Raw
* Use the API changes in gdcm::File.
* vtk/vtkGdcmWriter.[h|cxx] : add the possibility to write in other modes
Memory leaks fixed
-- BeNours