frog [Thu, 7 Nov 2002 15:11:35 +0000 (15:11 +0000)]
* python/gdcm.i: added a typemap that converts a C++ hashing table
to native Python dictionary.
* python/demo/test.py:
- now uses the native dictionary for exploration of gdcmHeader.
- takes an optional filename argument (the file to parse).
* src/gdcm.h and gdcmHeader.cxx: gdcmHeader now has an accessor on
PubElVals hashing table.
* Dicts/dicomV3.dic removed error prone trailing spaces. --- Frog
frog [Wed, 6 Nov 2002 22:48:40 +0000 (22:48 +0000)]
* Python wrapping process moved away from src/Makefile to
newly created python/Makefile (as well as gdcm.i)
* python/demo/test.py (that mirrors Test/test.cxx) is effective.
* src/gdcmHeader::FindLength only looks for current vr when necessary.
* src/gdcmDictSet.cxx: the dictionnaries directory path is now imported
from the environement variable GDCM_DICT_PATH (when existing).
* src/gdcmDict::GetTag bug fix. --- Frog
frog [Thu, 31 Oct 2002 15:15:49 +0000 (15:15 +0000)]
* Straightforward temporary fixes for swig to build the python wrappers.
src/Makefile now has a python working entry [by working we mean
that we can import de shadow classes without errors]. --- Frog
frog [Tue, 29 Oct 2002 17:37:08 +0000 (17:37 +0000)]
* src/gdcmHeader.cxx :
- Parsing of header is now separated from loading of element values
(see gdcmHeader::LoadElements).
- general clean up of hopefully all file access (creation of
ReadInt16 and ReadInt32) --- Frog
frog [Tue, 22 Oct 2002 14:10:49 +0000 (14:10 +0000)]
* src/gdcmHeader.cxx :
- RecupLgr renamed to FindLength and cut off with new IsAnInteger
method.
- SetLgrElem renamed to SetLength
- GetLgrElem renamed to GetLength
- ~gdcmHeader() made virtual to pesky warning messages at compile.
* src/gdcmElValSet.cxx fixed both GetElValue methods
* Dicts/dicomV3.dic falacious entry [7fe0 0010 OT PXL Pixel Data]
due to IdoDude was cleaned out. --- Frog
frog [Mon, 21 Oct 2002 10:29:42 +0000 (10:29 +0000)]
* src/gdcmHeader.cxx RecupLgr split in FindVR and RecupLgr. FindVR
concentrates on finding the value representation (when it exists).
RecupLgr now only finds the element value length, and it avoids
returning the unecessary skL (skipped length).
Also, offsetCourant was simply removed (with taille_fich) since
it was redundant with the File position internals (by using
ftell and fseek). This also made skL (see above in RecupLgr) usage
jajun.
* src/gdcmHeaderIdo.cxx src/gdcmIdo.h added. Those files concentrate
on the libido specificities which are handled through class
inheritance.
* Test/implicit_vr.dcm dicom v3 in implicit value representation
added. --- Frog