8 #include "fwData/Exception.hpp" 9 #include "fwData/Image.hpp" 10 #include "fwData/Material.hpp" 11 #include "fwData/Mesh.hpp" 12 #include "fwData/Reconstruction.hpp" 13 #include "fwData/registry/macros.hpp" 15 #include <fwCom/Signal.hpp> 16 #include <fwCom/Signal.hxx> 17 #include <fwCom/Signals.hpp> 19 #include <fwCore/base.hpp> 56 Reconstruction::csptr other = Reconstruction::dynamicConstCast(_source);
58 "Unable to copy" + (_source ? _source->getClassname() : std::string(
"<NULL>"))
77 Reconstruction::csptr other = Reconstruction::dynamicConstCast(_source);
79 "Unable to copy" + (_source ? _source->getClassname() : std::string(
"<NULL>"))
This class defines a reconstruction object.
bool m_bIsVisible
true if this reconstruction is visible
MeshChangedSignalType::sptr m_sigMeshChanged
Signal emitted when mesh changed, mesh parameter is used to store old mesh.
#define SLM_TRACE_FUNC()
Trace contextual function signature.
This class defines a material. A material is represented by an ambient color and a diffuse color...
VisibilityModifiedSignalType::sptr m_sigVisibilityModified
Signal emitted when visibility is modified.
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
Implements data exception class.
Contains fwAtomsFilter::factory utilities.
static FWDATA_APIconst::fwCom::Signals::SignalKeyType s_MESH_CHANGED_SIG
Key in m_signals map of signal m_sigMeshModified.
virtual const std::string & getClassname() const override
return full object's classname with its namespace, i.e. fwCore::BaseObject
FWDATA_API void fieldDeepCopy(const ::fwData::Object::csptr &source)
A deep copy of fields (objects in m_children)
std::string m_sOrganName
Organ name.
FWDATA_API void cachedDeepCopy(const Object::csptr &_source, DeepCopyCacheType &cache) override
Defines deep copy.
static FWDATA_API const double s_NO_COMPUTED_MASK_VOLUME
Constant to inform that mask volume has not been computed yet.
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.
double m_computedMaskVolume
Reconstruction's mask volume.
FWDATA_API void shallowCopy(const Object::csptr &_source) override
Defines shallow copy.
static FWDATA_APIconst::fwCom::Signals::SignalKeyType s_VISIBILITY_MODIFIED_SIG
Key in m_signals map of signal m_sigVisibilityModified.
virtual FWDATA_API ~Reconstruction()
Destructor.
std::shared_ptr< ::fwData::Image > m_image
Reconstruction's mask.
std::shared_ptr< ::fwData::Mesh > m_mesh
Reconstruction's mesh.
std::string m_sStructureType
Structure type.
Contains the representation of the data objects used in the framework.
FWDATA_API void fieldShallowCopy(const ::fwData::Object::csptr &source)
A shallow copy of fields (objects in m_children)
std::shared_ptr< ::fwData::Material > m_material
Reconstruction's material.
FWDATA_API Reconstruction(::fwData::Object::Key key)
Constructor.