LabelMe
src
rectangle3d.h
Go to the documentation of this file.
1
8
#ifndef RECTANGLE3D_H
9
#define RECTANGLE3D_H
10
11
#include"
Shape3D.h
"
12
14
class
My::Rectangle3D
:
public
My::Shape3D
{
15
public
:
16
18
float
width
=0;
19
21
float
height
=0;
22
24
int
zspan
=0;
25
26
public
:
27
Rectangle3D
():
Shape3D
(
My
::
Shape3D
::
Rectangle3D
){}
28
~Rectangle3D
();
29
};
30
31
#endif // RECTANGLE3D_H
My::Rectangle3D::Rectangle3D
Rectangle3D()
Definition:
rectangle3d.h:27
My::Rectangle3D::~Rectangle3D
~Rectangle3D()
Definition:
rectangle3d.cpp:11
My
存放一些自定义组件和状态变量以及标注形状的命名空间
Definition:
Namespace.h:12
My::Rectangle3D::width
float width
存储长方体的宽
Definition:
rectangle3d.h:18
My::Shape3D
3d标注形状的基类
Definition:
shape3d.h:15
My::Rectangle3D::height
float height
存储长方体的高
Definition:
rectangle3d.h:21
My::Rectangle3D::zspan
int zspan
存储长方体的z方向跨度
Definition:
rectangle3d.h:24
shape3d.h
3d形状纯虚基类
My::Rectangle3D
代表长方体形状,用于3d分割标注,继承Shape3D
Definition:
rectangle3d.h:14
Generated by
1.8.16