|
SIVIC API
0.9.26
|
#include <svkDcmtkIod.h>
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) |
| svkDcmtkIod | ( | ) |
Constructor. Initializes all DICOM modules comprising the MRImageStorage svkDcmtkIod.
| ~svkDcmtkIod | ( | ) |
| double getDoubleValue | ( | const DcmTagKey & | tag | ) | |
| throw | ( | svkDicomRunTimeError, | |||
| svkTagNotFound, | |||||
| svkIncompatibleVR | |||||
| ) | |||||
applies to values, represented as short, int, integer string, float, double, decimal string.
| 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.
| 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.
| 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.
| 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
| svkDicomRunTimeError | |
| svkTagNotFound |
References svkDcmtkUtils::getStringValue().
| void setValue | ( | const DcmTag & | tag, |
| const int | value | ||
| ) | |||
| throw | ( | overflow_error, | |
| svkDicomRunTimeError, | |||
| svkTagNotFound, | |||
| svkIncompatibleVR | |||
| ) | |||
integer and string VRs.
| svkDicomRunTimeError | |
| overflow_error | |
| svkTagNotFound | |
| svkIncompatibleVR |
References svkDcmtkUtils::setValue().
Referenced by svkDcmtkAdapter::InsertUniqueUID(), and svkDcmtkAdapter::SetValue().
| void setValue | ( | const DcmTag & | tag, |
| const float | value | ||
| ) | |||
| throw | ( | svkDicomRunTimeError, | |
| svkTagNotFound, | |||
| svkIncompatibleVR | |||
| ) | |||
applies to float32, float64 and string VRs.
| 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.
| 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.
| svkDicomRunTimeError | |
| svkTagNotFound | |
| IncomPatibleVR |
References svkDcmtkUtils::setValue().
1.8.5