13 #ifndef mitkDICOMTag_h
14 #define mitkDICOMTag_h
41 DICOMTag(
unsigned int group,
unsigned int element);
85 void Print(std::ostream& os)
const;
89 std::string toHexString(
unsigned int i)
const;
92 unsigned int m_Element;
Representation of a DICOM tag.
std::string GetName() const
Return the name of this tag (e.g. "SeriesDescription" instead of "(0008,103e)").
unsigned int GetElement() const
Get the DICOM element number.
void Print(std::ostream &os) const
Print "(group-id,element-id) name" to the given stream.
DICOMTag(const DICOMTag &other)
Copy constructor.
DICOMTag(unsigned int group, unsigned int element)
Construct a DICOMTag from group and element numbers.
unsigned int GetGroup() const
Get the DICOM group number.
bool operator<(const DICOMTag &other) const
Less-than comparison operator (for sorting/containers).
DICOMTag & operator=(const DICOMTag &other)
Assignment operator.
bool operator==(const DICOMTag &other) const
Equality comparison operator.
Find image slices visible on a given plane.
bool DICOMStringToSpacing(const std::string &s, ScalarType &spacingX, ScalarType &spacingY)
Parse a DICOM spacing string into X and Y spacing values.
std::vector< DICOMTag > DICOMTagList
A list of DICOMTag instances.
void DICOMStringToOrientationVectors(const std::string &s, Vector3D &right, Vector3D &up, bool &successful)
Convert DICOM string describing a point to two Vector3D instances.
Point3D DICOMStringToPoint3D(const std::string &s, bool &successful)
Convert DICOM string describing a point to Point3D.
double ScalarType
Scalar type used throughout MITK for geometric computations.