C++SDK
1.0.0
|
#include <annotationobject.h>
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) |
![]() | |
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_ |
![]() | |
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 |
额外继承的成员函数 | |
![]() | |
static AnnotationObject * | Create (AnnotationToolType type) |
static AnnotationToolType | checkToolType (std::string json) |
![]() | |
AnnotationObject () | |
rtcimp::AnnotationEraser::AnnotationEraser | ( | AnnotationObjects & | eraserObjects | ) |
rtcimp::AnnotationEraser::AnnotationEraser | ( | AnnotationObjectIds & | eraserObjectIds | ) |
rtcimp::AnnotationEraser::AnnotationEraser | ( | ) |
rtcimp::AnnotationEraser::~AnnotationEraser | ( | ) |
|
inlinevirtual |
|
virtual |
|
virtual |
|
inlinevirtual |
void rtcimp::AnnotationEraser::GetEraserObjectIds | ( | AnnotationObjectIds & | eraserObjectIds | ) |
|
inlinevirtual |
|
inline |
void rtcimp::AnnotationEraser::Redo | ( | ) |
void rtcimp::AnnotationEraser::SetEraserObjects | ( | AnnotationObjects & | eraserObjects | ) |
void rtcimp::AnnotationEraser::Undo | ( | ) |
|
protected |
|
protected |
|
protected |