23 explicit ccCircle(
double radius = 0.0,
24 unsigned resolution = 48,
47 void setRadius(
double radius);
50 inline double getRadius()
const {
return m_radius; }
55 void setResolution(
unsigned resolution);
62 void updateInternalRepresentation();
65 bool toFile_MeOnly(QFile& out,
short dataVersion)
const override;
70 LoadedIDMap& oldToNewIDMap)
override;
int64_t CV_CLASS_ENUM
Type of object type flags (64 bits)
double m_radius
Radius of the circle.
CV_CLASS_ENUM getClassID() const override
Returns class ID.
double getRadius() const
Returns the radius of the circle.
unsigned getResolution() const
Returns the resolution of the displayed circle.
unsigned m_resolution
Resolution of the displayed circle.
~ccCircle() override=default
Destructor.
Float version of ccGLMatrixTpl.
short minimumFileVersion_MeOnly() const override
bool toFile_MeOnly(QFile &out, short dataVersion) const override
Save own object data.
bool fromFile_MeOnly(QFile &in, short dataVersion, int flags, LoadedIDMap &oldToNewIDMap) override
Loads own object data.
virtual void applyGLTransformation(const ccGLMatrix &trans) override
Applies a GL transformation to the entity.
static constexpr unsigned InvalidUniqueID