26 const float*
roi()
const {
return m_roi; }
int64_t CV_CLASS_ENUM
Type of object type flags (64 bits)
void setRoi(const float *roi)
Sets ROI (relative to screen)
virtual void drawMeOnly(CC_DRAW_CONTEXT &context) override
Draws the entity only (not its children)
bool fromFile_MeOnly(QFile &in, short dataVersion, int flags, LoadedIDMap &oldToNewIDMap) override
Loads own object data.
bool toFile_MeOnly(QFile &out, short dataVersion) const override
Save own object data.
cc2DViewportLabel(QString name=QString())
Default constructor.
void update2DLabelView(CC_DRAW_CONTEXT &context, bool updateScreen=true)
const float * roi() const
Returns ROI (relative to screen)
short minimumFileVersion_MeOnly() const override
virtual bool isSerializable() const override
Returns whether object is serializable of not.
virtual CV_CLASS_ENUM getClassID() const override
Returns class ID.
QMultiMap< unsigned, unsigned > LoadedIDMap
Map of loaded unique IDs (old ID --> new ID)