24 unsigned resolution = 48,
50 inline double getRadius()
const {
return m_radius; }
62 void updateInternalRepresentation();
int64_t CV_CLASS_ENUM
Type of object type flags (64 bits)
double m_radius
Radius of the circle.
bool toFile_MeOnly(QFile &out, short dataVersion) const override
Save own object data.
CV_CLASS_ENUM getClassID() const override
Returns class ID.
ccCircle * clone() const
Clones this circle.
void applyGLTransformation(const ccGLMatrix &trans) override
Applies a GL transformation to the entity.
bool fromFile_MeOnly(QFile &in, short dataVersion, int flags, LoadedIDMap &oldToNewIDMap) override
Loads own object data.
double getRadius() const
Returns the radius of the circle.
unsigned getResolution() const
Returns the resolution of the displayed circle.
void setRadius(double radius)
Sets the radius of the circle.
unsigned m_resolution
Resolution of the displayed circle.
~ccCircle() override=default
Destructor.
ccCircle(double radius=0.0, unsigned resolution=48, unsigned uniqueID=ccUniqueIDGenerator::InvalidUniqueID)
Default constructor.
ccCircle(const ccCircle &circle)
Copy constructor.
short minimumFileVersion_MeOnly() const override
void setResolution(unsigned resolution)
Sets the resolution of the displayed circle.
Float version of ccGLMatrixTpl.
QMultiMap< unsigned, unsigned > LoadedIDMap
Map of loaded unique IDs (old ID --> new ID)
static constexpr unsigned InvalidUniqueID