9 #include "fwData/config.hpp" 10 #include "fwData/factory/new.hpp" 11 #include "fwData/Object.hpp" 12 #include "fwData/Plane.hpp" 14 #include <fwCom/Signal.hpp> 15 #include <fwCom/Signals.hpp> 19 fwCampAutoDeclareDataMacro((
fwData)(PlaneList), FWDATA_API);
34 typedef std::vector< ::fwData::Plane::sptr > PlaneListContainer;
46 FWDATA_API
void shallowCopy(
const Object::csptr& _source )
override;
49 FWDATA_API
void cachedDeepCopy(
const Object::csptr& _source, DeepCopyCacheType& cache)
override;
54 PlaneListContainer& getPlanes ();
55 const PlaneListContainer& getPlanes ()
const;
56 void setPlanes (
const PlaneListContainer& _vPlanes);
89 return this->m_vPlanes;
96 return this->m_vPlanes;
103 this->m_vPlanes = _vPlanes;
static FWDATA_APIconst::fwCom::Signals::SignalKeyType s_VISIBILITY_MODIFIED_SIG
Signal emitted when a plane is added.
PlaneListContainer & getPlanes()
get/set container of all planes
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
static FWDATA_APIconst::fwCom::Signals::SignalKeyType s_PLANE_REMOVED_SIG
Signal emitted when a plane is added.
::fwCom::Signal< void(bool) > VisibilityModifiedSignalType
Signal emitted when the visibility changed.
::fwCom::Signal< void(::fwData::Plane::sptr) > PlaneRemovedSignalType
Signal emitted when a plane is removed.
PlaneListContainer m_vPlanes
Planes container.
void setPlanes(const PlaneListContainer &_vPlanes)
get/set container of all planes
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
Base class for each data object.
This class defines a list of planes.
Contains the representation of the data objects used in the framework.
static FWDATA_APIconst::fwCom::Signals::SignalKeyType s_PLANE_ADDED_SIG
Signal emitted when a plane is added.