9 #include "fwGdcmIO/config.hpp" 10 #include "fwGdcmIO/container/DicomInstance.hpp" 11 #include "fwGdcmIO/exception/Failed.hpp" 13 #include <fwData/location/Folder.hpp> 15 #include <fwDataIO/writer/GenericObjectWriter.hpp> 17 #include <fwMedData/ImageSeries.hpp> 19 #include <fwTools/ProgressAdviser.hpp> 39 (()), ::fwDataIO::writer::factory::New< Series >);
43 SPATIAL_FIDUCIALS = 1,
45 COMPREHENSIVE_3D_SR = 3
48 typedef std::map< std::string, SPTR(::fwGdcmIO::container::DicomInstance) > DicomInstanceMapType;
62 FWGDCMIO_API
void write() throw (::
fwGdcmIO::exception::Failed) override;
68 FWGDCMIO_API
std::
string extension() override;
73 return m_fiducialsExportMode;
79 m_fiducialsExportMode = fiducialsExportMode;
88 bool hasDocumentSR(const ::fwMedData::ImageSeries::csptr& series)
const;
98 DicomInstanceMapType m_dicomInstanceMap;
This class defines a DICOM SOP instance. It is useful during the whole writing process. This class allows to share data between module writers.
This class handles DICOM files writing. It defines needs of data storage and delegates writing to app...
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
The namespace fwGdcmIO contains reader, writer and helper for dicom data.
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
This class is derived by reader/writer.
void setFiducialsExportMode(const FiducialsExportMode &fiducialsExportMode)
Set Fiducials Export Mode);.
generic class for all object writers.