SIVIC API  0.9.26
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
svkDcmtkIod Class Reference

#include <svkDcmtkIod.h>

Inheritance diagram for svkDcmtkIod:

Public Member Functions

 svkDcmtkIod ()
 Constructor. Initializes all DICOM modules comprising the MRImageStorage svkDcmtkIod. More...
 
 ~svkDcmtkIod ()
 
void setValue (const DcmTag &tag, const int value) throw (overflow_error, svkDicomRunTimeError, svkTagNotFound, svkIncompatibleVR)
 
void setValue (const DcmTag &tag, const float value) throw (svkDicomRunTimeError, svkTagNotFound, svkIncompatibleVR)
 
void setValue (const DcmTag &tag, const double value) throw (overflow_error, svkDicomRunTimeError, svkTagNotFound, svkIncompatibleVR)
 
void setValue (const DcmTag &tag, const string value, bool meta_header_value=0) throw (svkDicomRunTimeError, svkTagNotFound, svkIncompatibleVR)
 
int getIntValue (const DcmTagKey &tag) throw (svkDicomRunTimeError, svkTagNotFound, svkIncompatibleVR)
 
float getFloatValue (const DcmTagKey &tag, int pos=0) throw (overflow_error, svkDicomRunTimeError, svkTagNotFound, svkIncompatibleVR)
 
double getDoubleValue (const DcmTagKey &tag) throw (svkDicomRunTimeError, svkTagNotFound, svkIncompatibleVR)
 
string getStringValue (const DcmTagKey &tag, int pos) throw (svkDicomRunTimeError, svkTagNotFound)
 
string getStringValue (const DcmTagKey &tag) throw (svkDicomRunTimeError, svkTagNotFound)
 
DcmItem * getItem (bool meta_header_value=0)
 

Constructor & Destructor Documentation

Constructor. Initializes all DICOM modules comprising the MRImageStorage svkDcmtkIod.

Member Function Documentation

double getDoubleValue ( const DcmTagKey &  tag)
throw (svkDicomRunTimeError,
svkTagNotFound,
svkIncompatibleVR
)

applies to values, represented as short, int, integer string, float, double, decimal string.

Exceptions
svkDicomRunTimeError
svkTagNotFound
svkIncompatibleVR

References svkDcmtkUtils::getDoubleValue().

Referenced by svkDcmtkAdapter::GetDoubleValue().

float getFloatValue ( const DcmTagKey &  tag,
int  pos = 0 
)
throw (overflow_error,
svkDicomRunTimeError,
svkTagNotFound,
svkIncompatibleVR
)

applies to values, represented as short, int, integer string, float, double, decimal string.

Exceptions
svkDicomRunTimeError
overflow_error
svkTagNotFound
svkIncompatibleVR

References svkDcmtkUtils::getFloatValue().

Referenced by svkDcmtkAdapter::GetFloatValue().

int getIntValue ( const DcmTagKey &  tag)
throw (svkDicomRunTimeError,
svkTagNotFound,
svkIncompatibleVR
)

applies to values, represented as short, int, integer string.

Exceptions
svkDicomRunTimeError
svkTagNotFound
svkIncompatibleVR

References svkDcmtkUtils::getIntValue().

Referenced by svkDcmtkAdapter::GetIntValue().

DcmItem * getItem ( bool  meta_header_value = 0)

Returns the base clase type for svkDcmtkUtils to operate on (element getters/setters).

string getStringValue ( const DcmTagKey &  tag,
int  pos 
)
throw (svkDicomRunTimeError,
svkTagNotFound
)

applies to practically every dicom vr.

Exceptions
svkDicomRunTimeError
svkTagNotFound

References svkDcmtkUtils::getStringValue().

Referenced by svkDcmtkAdapter::GetStringValue().

string getStringValue ( const DcmTagKey &  tag)
throw (svkDicomRunTimeError,
svkTagNotFound
)

applies to practically every dicom vr. if vm>1 returns all values, separated by backslashes

Exceptions
svkDicomRunTimeError
svkTagNotFound

References svkDcmtkUtils::getStringValue().

void setValue ( const DcmTag &  tag,
const int  value 
)
throw (overflow_error,
svkDicomRunTimeError,
svkTagNotFound,
svkIncompatibleVR
)
void setValue ( const DcmTag &  tag,
const float  value 
)
throw (svkDicomRunTimeError,
svkTagNotFound,
svkIncompatibleVR
)

applies to float32, float64 and string VRs.

Exceptions
svkDicomRunTimeError
svkTagNotFound
IncomPatibleVR

References svkDcmtkUtils::setValue().

void setValue ( const DcmTag &  tag,
const double  value 
)
throw (overflow_error,
svkDicomRunTimeError,
svkTagNotFound,
svkIncompatibleVR
)

applies to float32, float64 and string VRs. for float32 overflow is checked.

Exceptions
svkDicomRunTimeError
overflow_error
svkTagNotFound
IncomPatibleVR

References svkDcmtkUtils::setValue().

void setValue ( const DcmTag &  tag,
const string  value,
bool  meta_header_value = 0 
)
throw (svkDicomRunTimeError,
svkTagNotFound,
svkIncompatibleVR
)

applies to practically all non-numerical VRs.

Exceptions
svkDicomRunTimeError
svkTagNotFound
IncomPatibleVR

References svkDcmtkUtils::setValue().


The documentation for this class was generated from the following files: