C++SDK  1.0.0
Public 成员函数 | Protected 属性 | 所有成员列表
rtcimp::AnnotationEraser类 参考

#include <annotationobject.h>

类 rtcimp::AnnotationEraser 继承关系图:
Inheritance graph
[图例]
rtcimp::AnnotationEraser 的协作图:
Collaboration graph
[图例]

Public 成员函数

 AnnotationEraser (AnnotationObjects &eraserObjects)
 
 AnnotationEraser (AnnotationObjectIds &eraserObjectIds)
 
 AnnotationEraser ()
 
 ~AnnotationEraser ()
 
void Undo ()
 
void Redo ()
 
void CopyDataFrom (AnnotationObject *data)
 
virtual void CopyDataFrom (const room_pdu::AnnotationList *pdulist)
 
virtual void CopyDataTo (room_pdu::AnnotationList *pdulist)
 
void SetEraserObjects (AnnotationObjects &eraserObjects)
 
void GetEraserObjectIds (AnnotationObjectIds &eraserObjectIds)
 
bool HitTest (const Point &pt)
 
bool Draw (const AVDContext &context, bool paint)
 
void MoveOnly (const Point &movePt)
 
- 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 CopyDataTo (room_pdu::AnnotationObject *pduobject)
 
virtual void CopyDataFrom (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_
 
rtcbase::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 AnnotationObjectCreate (AnnotationToolType type)
 
static AnnotationToolType checkToolType (std::string json)
 
- Protected 成员函数 继承自 rtcimp::AnnotationObject
 AnnotationObject ()
 

构造及析构函数说明

rtcimp::AnnotationEraser::AnnotationEraser ( AnnotationObjects eraserObjects)
rtcimp::AnnotationEraser::AnnotationEraser ( AnnotationObjectIds eraserObjectIds)
rtcimp::AnnotationEraser::AnnotationEraser ( )
rtcimp::AnnotationEraser::~AnnotationEraser ( )

成员函数说明

void rtcimp::AnnotationEraser::CopyDataFrom ( AnnotationObject data)
inlinevirtual
virtual void rtcimp::AnnotationEraser::CopyDataFrom ( const room_pdu::AnnotationList *  pdulist)
virtual
virtual void rtcimp::AnnotationEraser::CopyDataTo ( room_pdu::AnnotationList *  pdulist)
virtual
bool rtcimp::AnnotationEraser::Draw ( const AVDContext context,
bool  paint 
)
inlinevirtual
void rtcimp::AnnotationEraser::GetEraserObjectIds ( AnnotationObjectIds eraserObjectIds)
bool rtcimp::AnnotationEraser::HitTest ( const Point pt)
inlinevirtual
void rtcimp::AnnotationEraser::MoveOnly ( const Point movePt)
inline
void rtcimp::AnnotationEraser::Redo ( )
void rtcimp::AnnotationEraser::SetEraserObjects ( AnnotationObjects eraserObjects)
void rtcimp::AnnotationEraser::Undo ( )

类成员变量说明

AnnotationObjectIds rtcimp::AnnotationEraser::eraser_object_ids_
protected
AnnotationObjects rtcimp::AnnotationEraser::eraser_objects_
protected
rtcbase::CriticalSection* rtcimp::AnnotationEraser::map_crit_
protected

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