28namespace DicomToMLTools {
61 inline void setPos(
unsigned int z,
unsigned int t,
unsigned int u)
160 if(!tagPtr &&
smfTree.tagTree()){
161 tagPtr =
smfTree.tagTree()->getTag(tagId);
162 if (tagPtr){ isFromRoot =
true; }
181 bool isFromRoot =
false;
186 template <
typename VALUE_TYPE>
204 template <
typename GET_VALUE_FUNC_TYPE>
206 const unsigned int z,
const unsigned int t,
const unsigned int u,
210 frameSpecificTag.setPos(z,t,u);
211 frameSpecificTag.tagId = rawTagId;
213 frameSpecificTag.setUpFrameSpecificTagInfos(
smfTree,
true,
false);
216 if (frameSpecificTag.tagPtr){
232 bool valueIsValid =
false;
239 const unsigned int z,
const unsigned int t,
const unsigned int u,
246 return tagPtr ? tagPtr->toDouble() : 0.;
256 const unsigned int z,
const unsigned int t,
const unsigned int u,
263 return tagPtr ? tagPtr->toString() : std::string();
266 return std::string();
Exception class for DCMTree.
Support for structured multi-frame (SMF) DICOM objects.
std::vector< unsigned int > IndexVector
Index vector type, ordered as (z, t, u1, u2, ...)
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
boost::shared_ptr< const Tag > Const_TagPtr