- // TODO Swig string* GetShaTagNames();
- string GetShaElValByName(string TagName);
- string GetShaElValByNumber(guint16 group, guint16 element);
- string GetShaElValRepByName(string TagName);
- string GetShaElValRepByNumber(guint16 group, guint16 element);
-
- string GetElValByName(string TagName);
- string GetElValByNumber(guint16 group, guint16 element);
- string GetElValRepByName(string TagName);
- string GetElValRepByNumber(guint16 group, guint16 element);
-
- int SetPubElValByName(string content, string TagName);
- int SetPubElValByNumber(string content, guint16 group, guint16 element);
- int SetShaElValByName(string content, string ShadowTagName);
- int SetShaElValByNumber(string content, guint16 group, guint16 element);
+ // TODO Swig std::string* GetShaTagNames();
+ std::string GetShaElValByName (std::string TagName);
+ std::string GetShaElValRepByName (std::string TagName);
+ std::string GetShaElValByNumber (guint16 group, guint16 element);
+ std::string GetShaElValRepByNumber(guint16 group, guint16 element);
+
+ std::string GetElValByName (std::string TagName);
+ std::string GetElValRepByName (std::string TagName);
+ std::string GetElValByNumber (guint16 group, guint16 element);
+ std::string GetElValRepByNumber(guint16 group, guint16 element);
+
+ int SetPubElValByName (std::string content, std::string TagName);
+ int SetShaElValByName (std::string content, std::string ShadowTagName);
+
+ int SetPubElValByNumber(std::string content, guint16 group, guint16 element);
+ int SetShaElValByNumber(std::string content, guint16 group, guint16 element);
+
+ int SetPubElValLengthByNumber(guint32 lgr, guint16 group, guint16 element);
+
+ int ReplaceOrCreateByNumber(std::string Value, guint16 Group, guint16 Elem);
+ int ReplaceOrCreateByNumber( char * Value, guint16 Group, guint16 Elem);
+ int ReplaceIfExistByNumber ( char * Value, guint16 Group, guint16 Elem);
+
+ int Write(FILE *, FileType);
+
+ // Some heuristic based accessors, end user intended
+
+ int GetXSize(void);
+ int GetYSize(void);
+ int GetZSize(void);
+ int GetBitsStored(void);
+ int GetSamplesPerPixel(void);
+
+ int GetPlanarConfiguration(void);
+
+ int GetPixelSize(void);
+ std::string GetPixelType(void);
+
+ float GetXSpacing(void);
+ float GetYSpacing(void);
+ float GetZSpacing(void);
+
+ float GetXImagePosition(void);
+ float GetYImagePosition(void);
+ float GetZImagePosition(void);