fw4spl
|
SurfaceSegmentationIOD class used to write Surface Segmentation DICOM files. More...
#include <SurfaceSegmentationIOD.hpp>
Public Member Functions | |
FWGDCMIO_API | SurfaceSegmentationIOD (const std::shared_ptr< ::fwGdcmIO::container::DicomInstance > &instance, const std::shared_ptr< ::fwGdcmIO::container::DicomInstance > &imageInstance, const ::boost::filesystem::path &destinationPath, const ::fwLog::Logger::sptr &logger=::fwLog::Logger::New(), ProgressCallback progress=nullptr, CancelRequestedCallback cancel=nullptr) |
Constructor. More... | |
virtual FWGDCMIO_API | ~SurfaceSegmentationIOD () |
Destructor. | |
virtual FWGDCMIO_API void | write (const ::fwMedData::Series::csptr &series) override |
Write DICOM file. | |
Public Member Functions inherited from fwGdcmIO::writer::iod::InformationObjectDefinition | |
FWGDCMIO_API | InformationObjectDefinition (const std::shared_ptr< ::fwGdcmIO::container::DicomInstance > &instance, const ::boost::filesystem::path &destinationPath, const ::fwLog::Logger::sptr &logger=nullptr, ProgressCallback progress=nullptr, CancelRequestedCallback cancel=nullptr) |
Constructor. More... | |
virtual FWGDCMIO_API | ~InformationObjectDefinition () |
Destructor. | |
Protected Attributes | |
std::shared_ptr< ::fwGdcmIO::container::DicomInstance > | m_imageInstance |
Image instance. | |
Protected Attributes inherited from fwGdcmIO::writer::iod::InformationObjectDefinition | |
std::shared_ptr< ::fwGdcmIO::container::DicomInstance > | m_instance |
DICOM Instance. | |
::boost::filesystem::path | m_destinationPath |
Destination Path. | |
::fwLog::Logger::sptr | m_logger |
Logger. | |
ProgressCallback | m_progressCallback |
Progress callback for jobs. | |
CancelRequestedCallback | m_cancelRequestedCallback |
Cancel information for jobs. | |
Additional Inherited Members | |
Public Types inherited from fwGdcmIO::writer::iod::InformationObjectDefinition | |
typedef std::function< void(std::uint64_t) > | ProgressCallback |
typedef std::function< bool() > | CancelRequestedCallback |
SurfaceSegmentationIOD class used to write Surface Segmentation DICOM files.
Definition at line 25 of file writer/iod/SurfaceSegmentationIOD.hpp.
fwGdcmIO::writer::iod::SurfaceSegmentationIOD::SurfaceSegmentationIOD | ( | const std::shared_ptr< ::fwGdcmIO::container::DicomInstance > & | instance, |
const std::shared_ptr< ::fwGdcmIO::container::DicomInstance > & | imageInstance, | ||
const ::boost::filesystem::path & | destinationPath, | ||
const ::fwLog::Logger::sptr & | logger = ::fwLog::Logger::New() , |
||
ProgressCallback | progress = nullptr , |
||
CancelRequestedCallback | cancel = nullptr |
||
) |
Constructor.
[in] | instance | DICOM instance used to share information between modules |
[in] | imageInstance | Associated image instance |
[in] | destinationPath | Destination path |
[in] | logger | Logger |
[in] | progress | Progress callback |
[in] | cancel | Cancel requested callback |
Definition at line 40 of file writer/iod/SurfaceSegmentationIOD.cpp.