9 #include "fwData/factory/new.hpp" 10 #include "fwData/Node.hpp" 11 #include "fwData/StructureTraits.hpp" 13 fwCampAutoDeclareDataMacro((
fwData)(ROITraits), FWDATA_API);
51 std::string& getIdentifier();
52 const std::string& getIdentifier()
const;
53 void setIdentifier(
const std::string& _identifier);
60 StructureTraits::ROIExpression& getEvaluatedExp ();
61 const StructureTraits::ROIExpression& getEvaluatedExp ()
const;
62 void setEvaluatedExp (
const StructureTraits::ROIExpression& _evaluatedExp);
66 FWDATA_API
void setMaskOpNode(const ::fwData::Node::sptr& maskOpNode );
70 FWDATA_API ::fwData::Node::sptr getMaskOpNode();
73 FWDATA_API
void setStructureTraits(const ::fwData::StructureTraits::sptr& structureTraits );
76 FWDATA_API ::fwData::StructureTraits::sptr getStructureTraits();
79 FWDATA_API
void cachedDeepCopy(
const Object::csptr& _source, DeepCopyCacheType& cache)
override;
84 std::string m_identifier;
87 ::fwData::Node::sptr m_maskOpNode;
90 ::fwData::StructureTraits::sptr m_structureTraits;
93 StructureTraits::ROIExpression m_evaluatedExp;
114 m_identifier = _identifier;
121 return m_evaluatedExp;
128 return m_evaluatedExp;
135 m_evaluatedExp = _evaluatedExp;
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
void setEvaluatedExp(const StructureTraits::ROIExpression &_evaluatedExp)
Get/Set value of the ROI evaluated expression.
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
Base class for each data object.
StructureTraits::ROIExpression & getEvaluatedExp()
Get/Set value of the ROI evaluated expression.
Contains the representation of the data objects used in the framework.
This class defines ROI traits.
void setIdentifier(const std::string &_identifier)
Get/Set value of the ROIs identifier.
std::string & getIdentifier()
Get/Set value of the ROIs identifier.