7 #include "fwMedData/ModelSeries.hpp" 9 #include <fwCom/Signal.hpp> 10 #include <fwCom/Signal.hxx> 11 #include <fwCom/Signals.hpp> 13 #include <fwData/Exception.hpp> 14 #include <fwData/Image.hpp> 15 #include <fwData/Reconstruction.hpp> 16 #include <fwData/registry/macros.hpp> 29 m_sigReconstructionsAdded = ReconstructionsAddedSignalType::New();
30 m_sigReconstructionsRemoved = ReconstructionsRemovedSignalType::New();
46 ModelSeries::csptr other = ModelSeries::dynamicConstCast(_source);
48 "Unable to copy" + (_source ? _source->getClassname() : std::string(
"<NULL>"))
61 ModelSeries::csptr other = ModelSeries::dynamicConstCast(_source);
63 "Unable to copy" + (_source ? _source->getClassname() : std::string(
"<NULL>"))
69 for(const ::fwData::Reconstruction::sptr& rec : other->m_reconstructionDB)
FWMEDDATA_API void shallowCopy(const ::fwData::Object::csptr &_source) override
Defines shallow copy.
ReconstructionVectorType m_reconstructionDB
Model container.
Namespace containing medical data.
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
Implements data exception class.
FWMEDDATA_API void cachedDeepCopy(const ::fwData::Object::csptr &_source, DeepCopyCacheType &cache) override
Defines deep copy.
FWMEDDATA_API ModelSeries(::fwData::Object::Key key)
Constructor.
FWMEDDATA_API void cachedDeepCopy(const ::fwData::Object::csptr &_source, DeepCopyCacheType &cache) override
Defines deep copy.
virtual FWMEDDATA_API ~ModelSeries() override
Destructor.
static FWMEDDATA_APIconst::fwCom::Signals::SignalKeyType s_RECONSTRUCTIONS_ADDED_SIG
Key in m_signals map of signal m_sigReconstructionsAdded.
static FWDATA_API::fwData::Object::sptr copy(const ::fwData::Object::csptr &source)
return a copy of the source. if source is a null pointer, return a null pointer.
virtual const std::string & getClassname() const override
return full object's classname with its namespace, i.e. fwCore::BaseObject
::fwMedData::DicomSeries::sptr m_dicomReference
Dicom reference used to generate a valid Dicom Segmentation Surface.
FWMEDDATA_API void shallowCopy(const ::fwData::Object::csptr &_source) override
Defines shallow copy.
Holds series information.
static FWMEDDATA_APIconst::fwCom::Signals::SignalKeyType s_RECONSTRUCTIONS_REMOVED_SIG
Key in m_signals map of signal m_sigReconstructionsRemoved.