rtc.avd_SDK-C++  3.2.0
Public 成员函数 | 静态 Public 成员函数 | Protected 成员函数 | Protected 属性 | 所有成员列表
rtcimp::AnnotationObject类 参考
类 rtcimp::AnnotationObject 继承关系图:
rtcimp::Annotation2Point rtcimp::AnnotationEraser rtcimp::AnnotationMultiPoint rtcimp::AnnotationArrow rtcimp::AnnotationEllipse rtcimp::AnnotationFailure rtcimp::AnnotationHighlightCircle rtcimp::AnnotationHighlightPoint rtcimp::AnnotationLine rtcimp::AnnotationRectangle rtcimp::AnnotationRhomb rtcimp::AnnotationSuccess rtcimp::AnnotationPolyline

Public 成员函数

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 bool Draw (const AVDContext &context, bool paint)
 
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)
 
virtual bool HitTest (const Point &pt)
 
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 ()
 

静态 Public 成员函数

static AnnotationObject * Create (AnnotationToolType type)
 
static AnnotationToolType checkToolType (std::string json)
 

Protected 成员函数

 AnnotationObject ()
 

Protected 属性

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
 

构造及析构函数说明

◆ ~AnnotationObject()

virtual rtcimp::AnnotationObject::~AnnotationObject ( )
virtual

◆ AnnotationObject()

rtcimp::AnnotationObject::AnnotationObject ( )
protected

成员函数说明

◆ checkToolType()

static AnnotationToolType rtcimp::AnnotationObject::checkToolType ( std::string  json)
static

◆ CopyDataFrom()

virtual void rtcimp::AnnotationObject::CopyDataFrom ( AnnotationObject *  data)
virtual

◆ CopyDataFromJson()

virtual bool rtcimp::AnnotationObject::CopyDataFromJson ( std::string  annotStr)
virtual

◆ CopyDataFromPdu()

void rtcimp::AnnotationObject::CopyDataFromPdu ( const room_pdu::AnnotationObject *  pduobject)

◆ CopyDataToJson()

virtual bool rtcimp::AnnotationObject::CopyDataToJson ( std::string &  annotStr)
virtual

◆ CopyDataToPdu()

void rtcimp::AnnotationObject::CopyDataToPdu ( room_pdu::AnnotationObject *  pduobject)

◆ Create()

static AnnotationObject* rtcimp::AnnotationObject::Create ( AnnotationToolType  type)
static

◆ Draw()

virtual bool rtcimp::AnnotationObject::Draw ( const AVDContext &  context,
bool  paint 
)
virtual

◆ GetAnnotationId()

std::string rtcimp::AnnotationObject::GetAnnotationId ( )

◆ GetLineColor()

Color rtcimp::AnnotationObject::GetLineColor ( )

◆ GetObjectId()

std::string rtcimp::AnnotationObject::GetObjectId ( )

◆ getSeqNum()

uint32 rtcimp::AnnotationObject::getSeqNum ( )

◆ GetUserId()

std::string rtcimp::AnnotationObject::GetUserId ( )

◆ HitTest()

virtual bool rtcimp::AnnotationObject::HitTest ( const Point &  pt)
virtual

◆ Is()

virtual bool rtcimp::AnnotationObject::Is ( AnnotationToolType  type)
virtual

◆ IsEnable()

virtual bool rtcimp::AnnotationObject::IsEnable ( )
virtual

被 rtcimp::AnnotationImg 重载.

◆ SetAnnotationId()

void rtcimp::AnnotationObject::SetAnnotationId ( const std::string &  id)

◆ SetAnnotationRect()

virtual void rtcimp::AnnotationObject::SetAnnotationRect ( const Rect &  rc)
virtual

◆ SetDisplayRect()

virtual void rtcimp::AnnotationObject::SetDisplayRect ( const Rect &  rc)
virtual

◆ SetEnable()

virtual void rtcimp::AnnotationObject::SetEnable ( bool  enable = true)
virtual

被 rtcimp::AnnotationImg 重载.

◆ SetFillColor()

virtual void rtcimp::AnnotationObject::SetFillColor ( Color  color)
virtual

◆ SetLineArrow()

virtual void rtcimp::AnnotationObject::SetLineArrow ( const LineArrowType &  arrow)
virtual

◆ SetLineColor()

virtual void rtcimp::AnnotationObject::SetLineColor ( Color  color)
virtual

◆ SetLineWidth()

virtual void rtcimp::AnnotationObject::SetLineWidth ( int  width)
virtual

◆ SetObjectId()

void rtcimp::AnnotationObject::SetObjectId ( const std::string &  id)

◆ setSeqNum()

void rtcimp::AnnotationObject::setSeqNum ( uint32  i)

◆ SetUserId()

void rtcimp::AnnotationObject::SetUserId ( const std::string &  id)

◆ SetZoomMode()

virtual void rtcimp::AnnotationObject::SetZoomMode ( bool  isZoom)
virtual

◆ ToolType()

virtual AnnotationToolType rtcimp::AnnotationObject::ToolType ( )
virtual

类成员变量说明

◆ _seq_num

uint32 rtcimp::AnnotationObject::_seq_num
protected

◆ annotation_id_

std::string rtcimp::AnnotationObject::annotation_id_
protected

◆ annotation_rect_

Rect rtcimp::AnnotationObject::annotation_rect_
protected

◆ display_rect_

Rect rtcimp::AnnotationObject::display_rect_
protected

◆ enable_

bool rtcimp::AnnotationObject::enable_
protected

◆ fill_color_

Color rtcimp::AnnotationObject::fill_color_
protected

◆ line_arrow_

LineArrowType rtcimp::AnnotationObject::line_arrow_
protected

◆ line_color_

Color rtcimp::AnnotationObject::line_color_
protected

◆ line_width_

int rtcimp::AnnotationObject::line_width_
protected

◆ object_id_

std::string rtcimp::AnnotationObject::object_id_
protected

◆ object_rect_

Rect rtcimp::AnnotationObject::object_rect_
protected

◆ owned_cursor_

bool rtcimp::AnnotationObject::owned_cursor_
protected

◆ tool_type_

AnnotationToolType rtcimp::AnnotationObject::tool_type_
protected

◆ touched_

bool rtcimp::AnnotationObject::touched_
protected

◆ user_id_

std::string rtcimp::AnnotationObject::user_id_
protected

◆ zoom_

bool rtcimp::AnnotationObject::zoom_
protected

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