Integer axis-aligned volume invalidated by a 3D edit. 更多...
#include <EditingVolume.h>
Public 成员函数 | |
| bool | empty () const |
| Empty. | |
| void | clear () |
| Clears clear. | |
| void | include (int x, int y, int z) |
| Include. | |
| void | include (const EditVolume &other) |
| Include. | |
| EditRegion | xzRegion () const |
| Xz region. | |
Public 属性 | |
| int | minX = 0 |
| int | minY = 0 |
| int | minZ = 0 |
| int | maxX = -1 |
| int | maxY = -1 |
| int | maxZ = -1 |
详细描述
Integer axis-aligned volume invalidated by a 3D edit.
在文件 EditingVolume.h 第 10 行定义.
成员函数说明
◆ clear()
|
inline |
Clears clear.
在文件 EditingVolume.h 第 16 行定义.
◆ empty()
|
inline |
◆ include() [1/2]
| void eve::editing::EditVolume::include | ( | const EditVolume & | other | ) |
◆ include() [2/2]
| void eve::editing::EditVolume::include | ( | int | x, |
| int | y, | ||
| int | z | ||
| ) |
Include.
在文件 EditingVolume.cpp 第 5 行定义.
引用了 empty(), maxX, maxY, maxZ, minX, minY, minZ, x, y , 以及 z.
被这些函数引用 include(), eve::editor::IntVolumeEditCommand::mergeWith(), eve::editor::IntVolumeEditCommand::record() , 以及 eve::voxel_editing::VoxelWorldTarget::writeInt3().
◆ xzRegion()
| EditRegion eve::editing::EditVolume::xzRegion | ( | ) | const |
Xz region.
在文件 EditingVolume.cpp 第 26 行定义.
引用了 empty(), eve::editing::EditRegion::include(), maxX, maxZ, minX , 以及 minZ.
类成员变量说明
◆ maxX
| int eve::editing::EditVolume::maxX = -1 |
在文件 EditingVolume.h 第 12 行定义.
被这些函数引用 include(), include() , 以及 xzRegion().
◆ maxY
| int eve::editing::EditVolume::maxY = -1 |
在文件 EditingVolume.h 第 12 行定义.
◆ maxZ
| int eve::editing::EditVolume::maxZ = -1 |
在文件 EditingVolume.h 第 12 行定义.
被这些函数引用 include(), include() , 以及 xzRegion().
◆ minX
| int eve::editing::EditVolume::minX = 0 |
在文件 EditingVolume.h 第 11 行定义.
被这些函数引用 include(), include() , 以及 xzRegion().
◆ minY
| int eve::editing::EditVolume::minY = 0 |
在文件 EditingVolume.h 第 11 行定义.
◆ minZ
| int eve::editing::EditVolume::minZ = 0 |
在文件 EditingVolume.h 第 11 行定义.
被这些函数引用 include(), include() , 以及 xzRegion().
该结构体的文档由以下文件生成:
- src/modules/editing/EditingVolume.h
- src/modules/editing/EditingVolume.cpp