fw4spl
|
Measurement TID. More...
#include <Measurement.hpp>
Public Member Functions | |
FWGDCMIO_API | Measurement (const std::shared_ptr< const ::fwMedData::DicomSeries > &dicomSeries, const std::shared_ptr< ::gdcm::Reader > &reader, const std::shared_ptr< ::fwGdcmIO::container::DicomInstance > &instance, const ::fwData::Image::sptr &image, const ::fwLog::Logger::sptr &logger) |
Constructor. More... | |
virtual FWGDCMIO_API | ~Measurement () |
Destructor. | |
virtual FWGDCMIO_API void | readNode (const std::shared_ptr< ::fwGdcmIO::container::sr::DicomSRNode > &node) |
Read a measurement node. More... | |
Public Member Functions inherited from fwGdcmIO::reader::tid::TemplateID< ::fwData::Image > | |
FWGDCMIO_API | TemplateID (const std::shared_ptr< const ::fwMedData::DicomSeries > &dicomSeries, const std::shared_ptr< ::gdcm::Reader > &reader, const std::shared_ptr< ::fwGdcmIO::container::DicomInstance > &instance, const std::shared_ptr< ::fwData::Image > &object, const ::fwLog::Logger::sptr &logger) |
Constructor. More... | |
virtual FWGDCMIO_API | ~TemplateID () |
Destructor. | |
Protected Member Functions | |
void | addDistance (const std::shared_ptr< ::fwData::Point > &point1, const std::shared_ptr< ::fwData::Point > &point2) |
Add a distance into the image. More... | |
Additional Inherited Members | |
Protected Attributes inherited from fwGdcmIO::reader::tid::TemplateID< ::fwData::Image > | |
std::shared_ptr< const ::fwMedData::DicomSeries > | m_dicomSeries |
Dicom Series. | |
std::shared_ptr< ::gdcm::Reader > | m_reader |
GDCM Reader. | |
std::shared_ptr< ::fwGdcmIO::container::DicomInstance > | m_instance |
DICOM Instance. | |
std::shared_ptr< ::fwData::Image > | m_object |
FW4SPL Object. | |
::fwLog::Logger::sptr | m_logger |
Logger. | |
FWGDCMIO_API fwGdcmIO::reader::tid::Measurement::Measurement | ( | const std::shared_ptr< const ::fwMedData::DicomSeries > & | dicomSeries, |
const std::shared_ptr< ::gdcm::Reader > & | reader, | ||
const std::shared_ptr< ::fwGdcmIO::container::DicomInstance > & | instance, | ||
const ::fwData::Image::sptr & | image, | ||
const ::fwLog::Logger::sptr & | logger | ||
) |
Constructor.
[in] | dicomSeries | DicomSeries used to access computed tag values. |
[in] | reader | GDCM reader that must be used to read series. |
[in] | instance | DICOM instance used to share informations between modules |
[in] | image | FW4SPL data object |
[in] | logger | Logger |
|
protected |
Add a distance into the image.
point1 | First point |
point2 | Second point |
Definition at line 105 of file reader/tid/Measurement.cpp.
References fwDataTools::fieldHelper::Image::m_imageDistancesId.
|
virtual |
Read a measurement node.
[in] | node | Node that must be read |
Definition at line 48 of file reader/tid/Measurement.cpp.
References fwGdcmIO::helper::DicomDataTools::convertFrameNumberToZCoordinate(), fwGdcmIO::container::sr::DicomSRNode::getCodedAttribute(), fwGdcmIO::container::sr::DicomSRImageNode::getFrameNumber(), fwGdcmIO::container::sr::DicomSRSCoordNode::getGraphicDataContainer(), fwGdcmIO::container::sr::DicomSRSCoord3DNode::getGraphicDataContainer(), fwGdcmIO::container::sr::DicomSRNode::getSubNodeContainer(), and SPTR.
Referenced by fwGdcmIO::reader::tid::MeasurementReport::readSR().