7 #include "fwData/Spline.hpp" 9 #include "fwData/Exception.hpp" 10 #include "fwData/registry/macros.hpp" 21 FW_DEPRECATED_MSG(
"This data is deprecated, use ::fwData::PointList instead",
"18.0");
43 Spline::csptr other = Spline::dynamicConstCast(source);
45 "Unable to copy" + (source ? source->getClassname() : std::string(
"<NULL>"))
Points m_points
Points container.
virtual FWDATA_API ~Spline()
destructor
FWDATA_API void cachedDeepCopy(const Object::csptr &_source, DeepCopyCacheType &cache) override
Defines deep copy.
#define SLM_TRACE_FUNC()
Trace contextual function signature.
FWDATA_API Spline(::fwData::Object::Key key)
Constructor.
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
Implements data exception class.
FWDATA_API Points & points()
returns editable point container
#define FW_DEPRECATED_MSG(message, version)
Use this macro when deprecating a function to warn the developer.
#define SLM_FATAL(message)
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::vector< point > Points
3D point container
Contains the representation of the data objects used in the framework.
This class defines a spline object.