+/// \brief comparison operators (as used in SerieHelper::AddRestriction() )
+enum CompOperators {
+ GDCM_EQUAL = 0,
+ GDCM_DIFFERENT,
+ GDCM_GREATER,
+ GDCM_GREATEROREQUAL,
+ GDCM_LESS,
+ GDCM_LESSOREQUAL
+};
+
+/// \brief Loading mode
+enum LodModeType
+{
+ LD_ALL = 0x00000000, // Load all
+ LD_NOSEQ = 0x00000001, // Don't load Sequences
+ LD_NOSHADOW = 0x00000002, // Don't load odd groups
+ LD_NOSHADOWSEQ = 0x00000004 // Don't load Sequences if they belong
+ // to an odd group
+ // (*exclusive* from LD_NOSEQ and LD_NOSHADOW)
+};
+
+/// \brief Only user knows what kind of image he is going to write !
+///
+/// -1) user created ex nihilo his own image and wants to write it as a Dicom image.
+/// USER_OWN_IMAGE
+/// -2) user modified the pixels of an existing image.
+/// FILTERED_IMAGE
+/// -3) user created a new image, using existing images (eg MIP, MPR, cartography image)
+/// CREATED_IMAGE
+/// -4) user modified/added some tags *without processing* the pixels (anonymization...
+/// UNMODIFIED_PIXELS_IMAGE
+enum ImageContentType
+{
+// note to developer : don't forget to add as well in vtkGdcmWriter.h !
+ USER_OWN_IMAGE = 1,
+ FILTERED_IMAGE,
+ CREATED_IMAGE,
+ UNMODIFIED_PIXELS_IMAGE
+};
+
+/**
+ * \brief structure, for internal use only
+ */
+struct DicomElement
+{
+ /// Dicom Group number
+ unsigned short int Group;
+ /// Dicom Element number
+ unsigned short int Elem;
+ /// Value Representation
+ VRKey VR;
+ /// value (coded as a std::string) of the Element
+ std::string Value;
+};