9 #include "fwData/config.hpp" 10 #include "fwData/factory/new.hpp" 11 #include "fwData/Object.hpp" 13 #include <fwCom/Signal.hpp> 14 #include <fwCom/Signals.hpp> 16 fwCampAutoDeclareDataMacro((
fwData)(Reconstruction), FWDATA_API);
34 ::fwData::factory::New< Reconstruction >);
47 fwCampMakeFriendDataMacro((
fwData)(Reconstruction));
50 FWDATA_API
void shallowCopy( const
Object::csptr& _source ) override;
53 FWDATA_API
void cachedDeepCopy(const
Object::csptr& _source, DeepCopyCacheType& cache) override;
56 FWDATA_API static const
double s_NO_COMPUTED_MASK_VOLUME;
62 bool getIsVisible () const;
63 void setIsVisible (const
bool _bIsVisible);
70 std::
string& getOrganName ();
71 const
std::
string& getOrganName () const;
72 void setOrganName (const
std::
string& _sOrganName);
79 std::
string& getStructureType ();
80 const
std::
string& getStructureType () const;
81 void setStructureType (const
std::
string& _sStructureType);
107 double getComputedMaskVolume () const;
108 void setComputedMaskVolume (
double val);
120 FWDATA_API static const ::
fwCom::Signals::SignalKeyType s_MESH_CHANGED_SIG;
126 FWDATA_API static const ::
fwCom::Signals::SignalKeyType s_VISIBILITY_MODIFIED_SIG;
140 std::
string m_sStructureType;
154 double m_computedMaskVolume;
161 MeshChangedSignalType::sptr m_sigMeshChanged;
165 VisibilityModifiedSignalType::sptr m_sigVisibilityModified;
174 inline
bool Reconstruction::getIsVisible ()
const 183 m_bIsVisible = _bIsVisible;
204 m_sOrganName = _sOrganName;
211 return this->m_sStructureType;
218 return this->m_sStructureType;
225 this->m_sStructureType = _sStructureType;
274 return m_computedMaskVolume;
279 inline void Reconstruction::setComputedMaskVolume (
double val)
281 m_computedMaskVolume = val;
std::string & getStructureType()
Get/Set value of the structureType.
This class defines a reconstruction object.
void setIsVisible(const bool _bIsVisible)
Get/Set value of the bIsVisible.
Namespace containing fw4spl communication tools.
This class defines a material. A material is represented by an ambient color and a diffuse color...
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
void setStructureType(const std::string &_sStructureType)
Get/Set value of the structureType.
double getComputedMaskVolume() const
Get/Set the volume from mask.
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
Base class for each data object.
#define fwCoreAllowSharedFromThis()
Generate getSptr and getConstSptr methods.
Contains the representation of the data objects used in the framework.
void setOrganName(const std::string &_sOrganName)
Get/Set value of the organName.
This class defines an image.
std::string & getOrganName()
Get/Set value of the organName.
Data holding a geometric structure composed of points, lines, triangles, quads or polygons...