SIVIC API
0.9.26
|
#include <svkDcmtkUtils.h>
Static Public Member Functions | |
static void | setValue (DcmItem *item, const DcmTag &tag, const int value, const int pos=0) throw (overflow_error, svkDicomRunTimeError, svkTagNotFound, svkIncompatibleVR) |
static void | setValue (DcmItem *item, const DcmTag &tag, const long int value) throw (svkDicomRunTimeError, svkTagNotFound, svkIncompatibleVR) |
static void | setValue (DcmItem *item, const DcmTag &tag, const float value) throw (svkDicomRunTimeError, svkTagNotFound, svkIncompatibleVR) |
static void | setValue (DcmItem *item, const DcmTag &tag, const double value) throw (overflow_error, svkDicomRunTimeError, svkTagNotFound, svkIncompatibleVR) |
static void | setValue (DcmItem *item, const DcmTag &tag, const string value) throw (svkDicomRunTimeError, svkTagNotFound, svkIncompatibleVR) |
static int | getIntValue (DcmItem *item, const DcmTagKey &tag, const int pos=0) throw (svkDicomRunTimeError, svkTagNotFound, svkIncompatibleVR) |
static long int | getLongIntValue (DcmItem *item, const DcmTagKey &tag, const int pos=0) throw (svkDicomRunTimeError, svkTagNotFound, svkIncompatibleVR) |
static float | getFloatValue (DcmItem *item, const DcmTagKey &tag, int pos=0) throw (overflow_error, svkDicomRunTimeError, svkTagNotFound, svkIncompatibleVR) |
static double | getDoubleValue (DcmItem *item, const DcmTagKey &tag) throw (svkDicomRunTimeError, svkTagNotFound, svkIncompatibleVR) |
static string | getStringValue (DcmItem *item, const DcmTagKey &tag, int pos) throw (svkDicomRunTimeError, svkTagNotFound) |
static string | getStringValue (DcmItem *item, const DcmTagKey &tag) throw (svkDicomRunTimeError, svkTagNotFound) |
|
static |
applies to values, represented as short, int, integer string, float, double, decimal string.
svkDicomRunTimeError | |
svkTagNotFound | |
svkIncompatibleVR |
References svk::handleError().
Referenced by svkDcmtkAdapter::GetDoubleSequenceItemElement(), and svkDcmtkIod::getDoubleValue().
|
static |
applies to values, represented as short, int, integer string, float, double, decimal string.
svkDicomRunTimeError | |
overflow_error | |
svkTagNotFound | |
svkIncompatibleVR |
References svk::handleError().
Referenced by svkDcmtkAdapter::GetFloatSequenceItemElement(), and svkDcmtkIod::getFloatValue().
|
static |
applies to values, represented as short, int, integer string.
svkDicomRunTimeError | |
svkTagNotFound | |
svkIncompatibleVR |
References svk::handleError().
Referenced by svkDcmtkAdapter::GetIntSequenceItemElement(), and svkDcmtkIod::getIntValue().
|
static |
applies to values, represented as short, int, integer string.
svkDicomRunTimeError | |
svkTagNotFound | |
svkIncompatibleVR |
References svk::handleError().
|
static |
applies to practically every dicom vr.
svkDicomRunTimeError | |
svkTagNotFound |
References svk::handleError().
Referenced by svkDcmtkAdapter::GetLongIntSequenceItemElement(), svkDcmtkAdapter::GetStringSequenceItemElement(), and svkDcmtkIod::getStringValue().
|
static |
applies to practically every dicom vr. if vm>1 returns all values, separated by backslashes
svkDicomRunTimeError | |
svkTagNotFound |
References svk::handleError().
|
static |
integer and string VRs.
svkDicomRunTimeError | |
overflow_error | |
svkTagNotFound | |
svkIncompatibleVR |
References svk::handleError().
Referenced by svkDcmtkAdapter::AddSequenceItemElement(), and svkDcmtkIod::setValue().
|
static |
applies to float32, float64 and string VRs.
svkDicomRunTimeError | |
svkTagNotFound | |
IncomPatibleVR |
References svk::handleError().
|
static |
applies to float32, float64 and string VRs.
svkDicomRunTimeError | |
svkTagNotFound | |
IncomPatibleVR |
References svk::handleError().
|
static |
applies to float32, float64 and string VRs. for float32 overflow is checked.
svkDicomRunTimeError | |
overflow_error | |
svkTagNotFound | |
IncomPatibleVR |
References svk::handleError().
|
static |
applies to practically all non-numerical VRs.
svkDicomRunTimeError | |
svkTagNotFound | |
IncomPatibleVR |
References svk::handleError().