8 #include "fwData/registry/macros.hpp" 9 #include "fwData/Exception.hpp" 10 #include "fwData/Resection.hpp" 12 #include <fwCom/Signal.hpp> 13 #include <fwCom/Signal.hxx> 15 #include <fwCore/base.hpp> 32 m_sigReconstructionAdded = ReconstructionAddedSignalType::New();
33 m_sigVisibilityModified = VisibilityModifiedSignalType::New();
49 Resection::csptr other = Resection::dynamicConstCast(_source);
51 "Unable to copy" + (_source ? _source->getClassname() : std::string(
"<NULL>"))
68 Resection::csptr other = Resection::dynamicConstCast(_source);
70 "Unable to copy" + (_source ? _source->getClassname() : std::string(
"<NULL>"))
81 for(
const ResectionInputs::value_type &resec : other->m_vInputs)
87 for(
const ResectionOutputs::value_type &resec : other->m_vOutputs)
bool m_isSafePart
flag if the part is safe
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
Implements data exception class.
This class defines a resection.
virtual FWDATA_API ~Resection()
Destructor.
ResectionOutputs m_vOutputs
Outputs (reconstructions)
FWDATA_API Resection(::fwData::Object::Key key)
Constructor.
FWDATA_API void fieldDeepCopy(const ::fwData::Object::csptr &source)
A deep copy of fields (objects in m_children)
ResectionInputs m_vInputs
Inputs (reconstructions)
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.
std::string m_name
Resection name.
bool m_isValid
flag if the resection is valid
bool m_isVisible
flag if the resection is visible
::fwData::PlaneList::sptr m_planeList
Planes list.
Contains the representation of the data objects used in the framework.
static FWDATA_APIconst::fwCom::Signals::SignalKeyType s_RECONSTRUCTION_ADDED_SIG
Key in m_signals map of signal m_sigReconstructionAdded.
FWDATA_API void fieldShallowCopy(const ::fwData::Object::csptr &source)
A shallow copy of fields (objects in m_children)
static FWDATA_APIconst::fwCom::Signals::SignalKeyType s_VISIBILITY_MODIFIED_SIG
Key in m_signals map of signal m_sigVisibilityModified.
virtual const std::string & getClassname() const override
return full object's classname with its namespace, i.e. fwCore::BaseObject
FWDATA_API void shallowCopy(const Object::csptr &_source) override
Defines shallow copy.
FWDATA_API void cachedDeepCopy(const Object::csptr &_source, DeepCopyCacheType &cache) override
Defines deep copy.