7 #include "fwGdcmIO/writer/ie/FrameOfReference.hpp" 9 #include "fwGdcmIO/helper/DicomDataWriter.hxx" 11 #include <fwMedData/Series.hpp> 24 const ::fwMedData::Series::csptr& series,
25 const ::fwLog::Logger::sptr& logger,
26 ProgressCallback progress,
27 CancelRequestedCallback cancel) :
29 logger, progress, cancel)
44 ::gdcm::DataSet& dataset =
m_writer->GetFile().GetDataSet();
47 const std::string frameOfReferenceUID =
m_instance->getFrameOfReferenceUID();
48 ::fwGdcmIO::helper::DicomDataWriter::setTagValue< 0x0020, 0x0052 >(frameOfReferenceUID, dataset);
51 ::fwGdcmIO::helper::DicomDataWriter::setEmptyTagValue< 0x0020, 0x1040 >(dataset);
Namespace containing medical data.
virtual FWGDCMIO_API void writeFrameOfReferenceModule()
Write Frame of Reference Module tags.
This class defines a DICOM SOP instance. It is useful during the whole writing process. This class allows to share data between module writers.
Series Information Entity class.
The namespace fwGdcmIO contains reader, writer and helper for dicom data.
virtual FWGDCMIO_API ~FrameOfReference()
Destructor.
FWGDCMIO_API FrameOfReference(const std::shared_ptr< ::gdcm::Writer > &writer, const std::shared_ptr< ::fwGdcmIO::container::DicomInstance > &instance, const ::fwMedData::Series::csptr &series, const ::fwLog::Logger::sptr &logger=nullptr, ProgressCallback progress=nullptr, CancelRequestedCallback cancel=nullptr)
Constructor.