fw4spl
fwGdcmIO::reader::tid::Measurement Class Reference

Measurement TID. More...

#include <Measurement.hpp>

+ Inheritance diagram for fwGdcmIO::reader::tid::Measurement:
+ Collaboration diagram for fwGdcmIO::reader::tid::Measurement:

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::DicomSeriesm_dicomSeries
 Dicom Series.
 
std::shared_ptr< ::gdcm::Reader > m_reader
 GDCM Reader.
 
std::shared_ptr< ::fwGdcmIO::container::DicomInstancem_instance
 DICOM Instance.
 
std::shared_ptr< ::fwData::Imagem_object
 FW4SPL Object.
 
::fwLog::Logger::sptr m_logger
 Logger.
 

Detailed Description

Measurement TID.

See also
TID 300

Definition at line 32 of file reader/tid/Measurement.hpp.

Constructor & Destructor Documentation

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.

Parameters
[in]dicomSeriesDicomSeries used to access computed tag values.
[in]readerGDCM reader that must be used to read series.
[in]instanceDICOM instance used to share informations between modules
[in]imageFW4SPL data object
[in]loggerLogger

Member Function Documentation

void fwGdcmIO::reader::tid::Measurement::addDistance ( const std::shared_ptr< ::fwData::Point > &  point1,
const std::shared_ptr< ::fwData::Point > &  point2 
)
protected

Add a distance into the image.

Parameters
point1First point
point2Second point

Definition at line 105 of file reader/tid/Measurement.cpp.

References fwDataTools::fieldHelper::Image::m_imageDistancesId.

void fwGdcmIO::reader::tid::Measurement::readNode ( const std::shared_ptr< ::fwGdcmIO::container::sr::DicomSRNode > &  node)
virtual

Read a measurement node.

Parameters
[in]nodeNode 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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


The documentation for this class was generated from the following files: