7 #include "fwData/registry/macros.hpp" 8 #include "fwData/Exception.hpp" 9 #include "fwData/Plane.hpp" 11 #include <fwCom/Signal.hpp> 12 #include <fwCom/Signal.hxx> 14 #include <fwCore/base.hpp> 44 Plane::csptr other = Plane::dynamicConstCast(_source);
46 "Unable to copy" + (_source ? _source->getClassname() : std::string(
"<NULL>"))
56 Plane::csptr other = Plane::dynamicConstCast(_source);
58 "Unable to copy" + (_source ? _source->getClassname() : std::string(
"<NULL>"))
68 void Plane::setValue(::fwData::Point::sptr _point1, ::fwData::Point::sptr _point2, ::fwData::Point::sptr _point3)
FWDATA_API Plane(::fwData::Object::Key key)
Constructor.
This class defines a plane defined by tree points.
FWDATA_API void shallowCopy(const Object::csptr &_source) override
Defines shallow copy.
PointContainer m_vPoints
Points container.
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
Implements data exception class.
FWDATA_API void cachedDeepCopy(const Object::csptr &_source, DeepCopyCacheType &cache) override
Defines deep copy.
FWDATA_API void fieldDeepCopy(const ::fwData::Object::csptr &source)
A deep copy of fields (objects in m_children)
virtual FWDATA_API ~Plane()
Destructor.
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.
virtual const std::string & getClassname() const override
return full object's classname with its namespace, i.e. fwCore::BaseObject
static FWDATA_APIconst::fwCom::Signals::SignalKeyType s_SELECTED_SIG
Signal emitted when plane is selected/deselected.
Contains the representation of the data objects used in the framework.
FWDATA_API void setValue(::fwData::Point::sptr _point1,::fwData::Point::sptr _point2,::fwData::Point::sptr _point3)
Re-initialize the plane with 3 points.
FWDATA_API void fieldShallowCopy(const ::fwData::Object::csptr &source)
A shallow copy of fields (objects in m_children)