9 #include "fwData/Color.hpp" 10 #include "fwData/config.hpp" 11 #include "fwData/factory/new.hpp" 38 ::fwData::Color::sptr
c;
46 this->p[0] = _point.
p[0];
47 this->p[1] = _point.
p[1];
48 this->p[2] = _point.
p[2];
49 this->normal[0] = _point.
normal[0];
50 this->normal[1] = _point.
normal[1];
51 this->normal[2] = _point.
normal[2];
70 FWDATA_API
virtual ~
Spline();
75 FWDATA_API Points& points();
82 const double& getRadius ()
const;
83 void setRadius(
double _radius);
91 int getNbSides ()
const;
92 void setNbSides (
const int _nbSides);
100 int getIdSpline ()
const;
101 void setIdSpline (
const int _idSpline);
105 FWDATA_API
void cachedDeepCopy(
const Object::csptr& _source, DeepCopyCacheType& cache)
override;
142 return this->m_nbSides;
156 m_nbSides = _nbSides;
177 m_idSpline = _idSpline;
Points m_points
Points container.
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
void setNbSides(const int _nbSides)
Get/Set value of the number of slices.
int & getNbSides()
Get/Set value of the number of slices.
bool isVisible
Flag if point is visible.
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
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.
::fwData::Color::sptr c
Point color.
double & getRadius()
Get/Set value of the radius.
void setRadius(double _radius)
Get/Set value of the radius.
Base class for each data object.
std::vector< point > Points
3D point container
Contains the representation of the data objects used in the framework.
double normal[3]
Normal coordinates.
double p[3]
Point coordinates.
This class defines a spline object.
Defines a 3D point for a spline.
void setIdSpline(const int _idSpline)
Get/Set value of the spline identifier.
int & getIdSpline()
Get/Set value of the spline identifier.