fw4spl
fwGdcmIO::reader::tid::Fiducial Class Reference

Fiducial TID. More...

#include <Fiducial.hpp>

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

Public Member Functions

FWGDCMIO_API Fiducial (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 ~Fiducial ()
 Destructor.
 
virtual FWGDCMIO_API void readNode (const std::shared_ptr< ::fwGdcmIO::container::sr::DicomSRNode > &node)
 Read a fiducial 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 addLandmark (double x, double y, double z, const std::string &label)
 Add a landmark 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

Fiducial TID.

See also
TID t1tt3 FIXME: Set the final TID

Definition at line 27 of file reader/tid/Fiducial.hpp.

Constructor & Destructor Documentation

FWGDCMIO_API fwGdcmIO::reader::tid::Fiducial::Fiducial ( 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::Fiducial::addLandmark ( double  x,
double  y,
double  z,
const std::string &  label 
)
protected

Add a landmark into the image.

Parameters
xX coordinate
yY coordinate
zZ coordinate
labelLandmark label

Definition at line 126 of file reader/tid/Fiducial.cpp.

References fwDataTools::fieldHelper::Image::m_imageLandmarksId, and fwDataTools::fieldHelper::Image::m_labelId.

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

Read a fiducial node.

Parameters
[in]nodeNode that must be read

Definition at line 47 of file reader/tid/Fiducial.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(), fwGdcmIO::container::sr::DicomSRTextNode::getTextValue(), 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: