X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmHeaderHelper.h;h=ab5807c6b30f6fd720a3feaf8ae59cf57194ab59;hb=06e5584ba82b9878b3e544a53c9575cf363fdb8c;hp=6fb9e2d478d97d6e745a7e3b1853680b0801cb78;hpb=59d3befd7f593a3a6f10162d91bf757c1a4956ac;p=gdcm.git diff --git a/src/gdcmHeaderHelper.h b/src/gdcmHeaderHelper.h index 6fb9e2d4..ab5807c6 100644 --- a/src/gdcmHeaderHelper.h +++ b/src/gdcmHeaderHelper.h @@ -1,4 +1,4 @@ -// $Header: /cvs/public/gdcm/src/Attic/gdcmHeaderHelper.h,v 1.1 2003/09/08 16:37:47 malaterre Exp $ +// $Header: /cvs/public/gdcm/src/Attic/gdcmHeaderHelper.h,v 1.3 2003/09/11 13:44:17 jpr Exp $ #ifndef GDCMHEADERHELPER_H #define GDCMHEADERHELPER_H @@ -8,18 +8,54 @@ #include #include + // Dicom Part 3.3 Compliant enum ModalityType { Unknow, - CR, - CT, - MR, - NM, - OT, - US, - XA }; + AU, // Voice Audio + AS, // Angioscopy + BI, // Biomagnetic Imaging + CF, // Cinefluorography + CP, // Culposcopy + CR, // Computed Radiography + CS, // Cystoscopy + CT, // Computed Tomography + DD, // Duplex Dopler + DF, // Digital Fluoroscopy + DG, // Diaphanography + DM, // Digital Microscopy + DS, // Digital Substraction Angiography + DX, // Digital Radiography + ECG, // Echocardiography + EPS, // Basic Cardiac EP + ES, // Endoscopy + FA, // Fluorescein Angiography + FS, // Fundoscopy + HC, // Hard Copy + HD, // Hemodynamic + LP, // Laparoscopy + LS, // Laser Surface Scan + MA, // Magnetic Resonance Angiography + MR, // Magnetic Resonance + NM, // Nuclear Medicine + OT, // Other + PT, // Positron Emission Tomography + RF, // Radio Fluoroscopy + RG, // Radiographic Imaging + RTDOSE, // Radiotherapy Dose + RTIMAGE, // Radiotherapy Image + RTPLAN, // Radiotherapy Plan + RTSTRUCT, // Radiotherapy Structure Set + SM, // Microscopic Imaging + ST, // Single-photon Emission Computed Tomography + TG, // Thermography + US, // Ultrasound + VF, // Videofluorography + XA, // X-Ray Angiography + XC // Photographic Imaging + }; /** - This class is meant to *interprate* data given from gdcmHeader + This class is meant to *interpret* data given from gdcmHeader That is to say : * it will help other dev to link against there lib * return value instead of string @@ -34,7 +70,6 @@ public: gdcmHeaderHelper::gdcmHeaderHelper(); gdcmHeaderHelper::gdcmHeaderHelper(const char *filename, bool exception_on_error = false); - //Ces fonction releve de l'interpretation des données de gdcmHeader int GetPixelSize(); std::string GetPixelType();