rtc.avd_SDK-C++  3.2.0
Public 成员函数 | Protected 属性 | 所有成员列表
rtcimp::AnnotationEraser类 参考
类 rtcimp::AnnotationEraser 继承关系图:
rtcimp::AnnotationObject

Public 成员函数

 AnnotationEraser (AnnotationObjects &eraserObjects)
 
 AnnotationEraser (AnnotationObjectIds &eraserObjectIds)
 
 AnnotationEraser ()
 
 ~AnnotationEraser ()
 
void Undo ()
 
void Redo ()
 
void CopyDataFrom (const room_pdu::AnnotationList *pdulist)
 
void CopyDataTo (room_pdu::AnnotationList *pdulist)
 
void SetEraserObjects (AnnotationObjects &eraserObjects)
 
void GetEraserObjs (AnnotationObjects &eraserObjects)
 
void GetEraserObjectIds (AnnotationObjectIds &eraserObjectIds)
 
bool HitTest (const Point &pt) override
 
bool Draw (const AVDContext &context, bool paint) override
 
void MoveOnly (const Point &movePt)
 
virtual void CopyDataFrom (AnnotationObject *data)
 
- Public 成员函数 继承自 rtcimp::AnnotationObject
virtual ~AnnotationObject ()
 
virtual void SetLineWidth (int width)
 
virtual void SetLineColor (Color color)
 
virtual void SetFillColor (Color color)
 
virtual void SetLineArrow (const LineArrowType &arrow)
 
virtual void SetEnable (bool enable=true)
 
virtual void SetDisplayRect (const Rect &rc)
 
virtual void SetAnnotationRect (const Rect &rc)
 
virtual void SetZoomMode (bool isZoom)
 
virtual bool IsEnable ()
 
virtual bool Is (AnnotationToolType type)
 
virtual AnnotationToolType ToolType ()
 
virtual void CopyDataFrom (AnnotationObject *data)
 
void CopyDataToPdu (room_pdu::AnnotationObject *pduobject)
 
void CopyDataFromPdu (const room_pdu::AnnotationObject *pduobject)
 
virtual bool CopyDataFromJson (std::string annotStr)
 
virtual bool CopyDataToJson (std::string &annotStr)
 
void SetUserId (const std::string &id)
 
void SetAnnotationId (const std::string &id)
 
void SetObjectId (const std::string &id)
 
std::string GetUserId ()
 
std::string GetAnnotationId ()
 
std::string GetObjectId ()
 
Color GetLineColor ()
 
void setSeqNum (uint32 i)
 
uint32 getSeqNum ()
 

Protected 属性

AnnotationObjects eraser_objects_
 
AnnotationObjectIds eraser_object_ids_
 
rtc::CriticalSection * map_crit_
 
- Protected 属性 继承自 rtcimp::AnnotationObject
AnnotationToolType tool_type_
 
LineArrowType line_arrow_
 
bool owned_cursor_
 
bool touched_
 
bool enable_
 
bool zoom_
 
int line_width_
 
Color line_color_
 
Color fill_color_
 
Rect object_rect_
 
Rect display_rect_
 
Rect annotation_rect_
 
std::string object_id_
 
std::string annotation_id_
 
std::string user_id_
 
uint32 _seq_num
 

额外继承的成员函数

- 静态 Public 成员函数 继承自 rtcimp::AnnotationObject
static AnnotationObject * Create (AnnotationToolType type)
 
static AnnotationToolType checkToolType (std::string json)
 
- Protected 成员函数 继承自 rtcimp::AnnotationObject
 AnnotationObject ()
 

构造及析构函数说明

◆ AnnotationEraser() [1/3]

rtcimp::AnnotationEraser::AnnotationEraser ( AnnotationObjects &  eraserObjects)

◆ AnnotationEraser() [2/3]

rtcimp::AnnotationEraser::AnnotationEraser ( AnnotationObjectIds &  eraserObjectIds)

◆ AnnotationEraser() [3/3]

rtcimp::AnnotationEraser::AnnotationEraser ( )

◆ ~AnnotationEraser()

rtcimp::AnnotationEraser::~AnnotationEraser ( )

成员函数说明

◆ CopyDataFrom() [1/2]

virtual void rtcimp::AnnotationObject::CopyDataFrom

◆ CopyDataFrom() [2/2]

void rtcimp::AnnotationEraser::CopyDataFrom ( const room_pdu::AnnotationList *  pdulist)

◆ CopyDataTo()

void rtcimp::AnnotationEraser::CopyDataTo ( room_pdu::AnnotationList *  pdulist)

◆ Draw()

bool rtcimp::AnnotationEraser::Draw ( const AVDContext &  context,
bool  paint 
)
overridevirtual

◆ GetEraserObjectIds()

void rtcimp::AnnotationEraser::GetEraserObjectIds ( AnnotationObjectIds &  eraserObjectIds)

◆ GetEraserObjs()

void rtcimp::AnnotationEraser::GetEraserObjs ( AnnotationObjects &  eraserObjects)

◆ HitTest()

bool rtcimp::AnnotationEraser::HitTest ( const Point &  pt)
overridevirtual

◆ MoveOnly()

void rtcimp::AnnotationEraser::MoveOnly ( const Point &  movePt)

◆ Redo()

void rtcimp::AnnotationEraser::Redo ( )

◆ SetEraserObjects()

void rtcimp::AnnotationEraser::SetEraserObjects ( AnnotationObjects &  eraserObjects)

◆ Undo()

void rtcimp::AnnotationEraser::Undo ( )

类成员变量说明

◆ eraser_object_ids_

AnnotationObjectIds rtcimp::AnnotationEraser::eraser_object_ids_
protected

◆ eraser_objects_

AnnotationObjects rtcimp::AnnotationEraser::eraser_objects_
protected

◆ map_crit_

rtc::CriticalSection* rtcimp::AnnotationEraser::map_crit_
protected

该类的文档由以下文件生成: