7 #ifndef __FWGDCMIO_CONTAINER_SR_DICOMSRNUMNODE_HPP__ 8 #define __FWGDCMIO_CONTAINER_SR_DICOMSRNUMNODE_HPP__ 10 #include "fwGdcmIO/config.hpp" 11 #include "fwGdcmIO/container/DicomCodedAttribute.hpp" 12 #include "fwGdcmIO/container/sr/DicomSRNode.hpp" 14 #include <gdcmDataSet.h> 32 const std::string& relationship,
33 const double numValue,
37 FWGDCMIO_API
virtual ~DicomSRNumNode();
43 FWGDCMIO_API
virtual void write(::gdcm::DataSet& dataset)
const;
54 m_numValue = numValue;
60 return m_measurementUnits;
66 m_measurementUnits = measurementUnits;
72 virtual void print(std::ostream& os)
const;
79 void writeMeasuredValueSequence(::gdcm::DataSet& dataset)
const;
void setMeasurementUnits(const DicomCodedAttribute &measurementUnits)
Set Measurement units.
double m_numValue
Numeric Value.
The namespace fwGdcmIO contains reader, writer and helper for dicom data.
This class defines a node in a SR document.
This class represents a DICOM basic coded entry. It stores the four mains attributes : Code Value...
DicomCodedAttribute m_measurementUnits
Measurement Units.
This class defines a NUM node in a SR document.
const double & getNumValue() const
Get Numeric value.
const DicomCodedAttribute & getMeasurementUnits() const
Get Measurement units.
void setNumValue(const double &numValue)
Set Numeric value.