LabelMe
Classes | Enumerations
My Namespace Reference

存放一些自定义组件和状态变量以及标注形状的命名空间 More...

Classes

class  Brush
 代表画刷形状,即分割标注所用形状,继承Shape2D类 More...
 
class  Brush3D
 代表画刷形状,用于3d分割标注,继承Shape3D More...
 
class  CentralWidget
 中心组件基类 More...
 
class  Circle
 代表圆形状,继承Shape2D类 More...
 
class  Command
 命令栈基类,用来实现撤销和重做功能 More...
 
class  Command2D
 2d命令栈类,用于实现撤销和重做功能,继承Command类 More...
 
class  Command3D
 3d状态的命令栈类,用于实现撤销和重做功能,继承Command类 More...
 
class  Curve
 代表平滑曲线形状,继承Shape2D类 More...
 
class  Label
 2d绘制图片及标注类,继承QLabel More...
 
class  Label3D
 3d绘制图片及标注类,继承QLabel More...
 
class  Parse
 负责解析标注文件以及图片 More...
 
class  Polygons
 代表多边形形状,继承Shape2D类 More...
 
class  Rectangle
 代表矩形形状,继承Shape2D类 More...
 
class  Rectangle3D
 代表长方体形状,用于3d分割标注,继承Shape3D More...
 
class  Shape
 所有标注形状的基类 More...
 
class  Shape2D
 2d标注形状的基类 More...
 
class  Shape3D
 3d标注形状的基类 More...
 

Enumerations

enum  Status { Edit, Focus, Create }
 主窗口的状态变量 More...
 
enum  shapeStatus {
  BrushShape, PolygonsShape, RectangleShape, CircleShape,
  CurveShape, NoShape, InShape
}
 中心组件状态 More...
 
enum  Mode { TwoD, ThreeD }
 主窗口模式状态变量 More...
 
enum  syncStatus {
  AddShape, AddPoint, Selected, Remove,
  UnSelected, ChangePoint, ShowMessage, Hovered,
  UnHovered, Offset
}
 3d组件对label3d的统一接口中同步状态变量 More...
 

Detailed Description

存放一些自定义组件和状态变量以及标注形状的命名空间

Enumeration Type Documentation

◆ Mode

enum My::Mode

主窗口模式状态变量

TwoD代表处于2d状态,ThreeD代表处于3d状态

Enumerator
TwoD 
ThreeD 

◆ shapeStatus

中心组件状态

noshape表明此时鼠标不在标注形状内部,且不在创建状态,inshape表明此时鼠标在标注形状内部,brushshape表明此时处于创建画刷状态,(分割标注) rectangleshape表明此时处于绘制矩形状态,circleshape表明处于创建圆形状态,polygonsshape表明处于创建多边形状态,curveshape表明处于创建平滑曲线状态

Enumerator
BrushShape 
PolygonsShape 
RectangleShape 
CircleShape 
CurveShape 
NoShape 
InShape 

◆ Status

enum My::Status

主窗口的状态变量

edit为默认状态,此时处于编辑标注的状态,focus为选中状态,表明此时有标注被选中,可以进行响应的操作,create为创建标注状态,表明此时正在创建标注

Enumerator
Edit 
Focus 
Create 

◆ syncStatus

3d组件对label3d的统一接口中同步状态变量

addshape表明添加标注形状,addpoint表明添加像素点,selected表明选中,unselected表明未选中,remove表明移除正在创建的形状 changepoint表明更改正在绘制的像素点,showmessage表明显示鼠标坐标,hovered表明鼠标在该标注形状内,unhovered表明鼠标已不在该标注形状内,offset表明偏移标注位置

Enumerator
AddShape 
AddPoint 
Selected 
Remove 
UnSelected 
ChangePoint 
ShowMessage 
Hovered 
UnHovered 
Offset