类 | |
| class | VoxelCatalogTarget |
| Revisioned project of MagicaVoxel-style sculpted models. 更多... | |
| struct | VoxelCoord |
| One occupied cell inside a sculpted model. 更多... | |
| struct | VoxelModelValue |
| One MagicaVoxel-style object: a bounded occupancy grid. 更多... | |
| struct | VoxelPaletteEntryValue |
| Stable authored entry in a Voxel cube palette. 更多... | |
| struct | VoxelPalettePublishedEntry |
| Stable base/variant ID mapping produced by palette publication. 更多... | |
| class | VoxelPaletteRuntime |
| Candidate-first CubeTypeRegistry publication. 更多... | |
| class | VoxelPaletteTarget |
| Revisioned Voxel CubeType palette with face-material Inspector. 更多... | |
| struct | VoxelPick |
| DDA pick against a sculpted model. 更多... | |
| struct | VoxelSocket |
| One face socket: matching tag plus compatible polarity. 更多... | |
| class | VoxelWorldTarget |
| Non-owning authoring adapter from a live voxel world to the volume protocol. 更多... | |
枚举 | |
| enum class | VoxelSocketKind { None , Symmetric , Male , Female } |
| Polarity of one authored join socket. 更多... | |
| enum class | VoxelCellFill { Empty , Partial , Filled } |
| Derived occupancy of a sculpted object. 更多... | |
函数 | |
| VoxelSocketKind | voxelSocketKindFromName (std::string_view name) |
| Parse a socket kind name. | |
| const char * | voxelSocketKindName (VoxelSocketKind kind) |
| Stable serialized name for a socket kind. @ownership Observed static string; callers must not free it. @lifetime Valid for the process lifetime. @thread Any. | |
| bool | canJoinVoxelSockets (const VoxelSocket &a, const VoxelSocket &b) |
| True when two facing sockets may join. | |
| int | voxelOppositeFace (int face) |
| Opposite FaceDir index in PosX/NegX/PosY/NegY/PosZ/NegZ order. | |
| bool | isVoxelModelOccupied (const VoxelModelValue &model, int x, int y, int z) |
True when model contains an occupied cell at (x,y,z). | |
| VoxelCellFill | voxelClassifyModelFill (const VoxelModelValue &model) |
| Classify a sculpted model as empty, partial, or a solid cube. | |
| VoxelPick | pickVoxelModel (const VoxelModelValue &model, float ox, float oy, float oz, float dx, float dy, float dz, float maxDistance) |
| Raycast occupied cells with MagicaVoxel-style previous-cell attach. | |
| editing::Result< void > | registerEditingCommands (editing::IEditingCommandRegistry ®istry) |
| Register voxel-catalog planned commands with a generic editing host. | |
| std::unique_ptr< VoxelWorldTarget > | createVoxelWorldTarget (std::string id, voxel::VoxelWorld *world) |
| Create a voxel-world adapter. | |
变量 | |
| constexpr int | kVoxelModelMaxSize = 32 |
| Inclusive maximum MagicaVoxel-like object edge (cells). | |
| constexpr int | kVoxelModelMaxOccupied = 4096 |
| Occupied-cell budget for one sculpted object. | |
类型定义说明
◆ CapabilityId
在文件 VoxelCatalog.h 第 22 行定义.
◆ DiagnosticSeverity
在文件 VoxelCatalog.h 第 23 行定义.
◆ DomainOperation
在文件 VoxelCatalog.h 第 24 行定义.
◆ EditorDiagnostic
在文件 VoxelCatalog.h 第 26 行定义.
◆ EditorStatus
在文件 VoxelCatalog.h 第 28 行定义.
◆ EditorValue
在文件 VoxelCatalog.h 第 29 行定义.
◆ EditRegion
在文件 VoxelCatalog.h 第 25 行定义.
◆ IDomainOperationTarget
在文件 VoxelCatalog.h 第 30 行定义.
◆ IDomainOperationTargetStaging
在文件 VoxelCatalog.h 第 31 行定义.
◆ IEditableTarget
在文件 VoxelCatalog.h 第 32 行定义.
◆ IEditingSnapshotProvider
在文件 VoxelCatalog.h 第 33 行定义.
◆ IPropertyProvider
在文件 VoxelCatalog.h 第 34 行定义.
◆ ObjectId
在文件 VoxelCatalog.h 第 35 行定义.
◆ PropertyDescriptor
在文件 VoxelCatalog.h 第 36 行定义.
◆ PropertyFlag
在文件 VoxelCatalog.h 第 37 行定义.
◆ PropertyPath
在文件 VoxelCatalog.h 第 38 行定义.
◆ PropertyReadResult
在文件 VoxelCatalog.h 第 39 行定义.
◆ PropertyReadState
在文件 VoxelCatalog.h 第 40 行定义.
◆ PropertySchema
在文件 VoxelCatalog.h 第 41 行定义.
◆ PropertySetMode
在文件 VoxelCatalog.h 第 42 行定义.
◆ PropertyType
在文件 VoxelCatalog.h 第 43 行定义.
◆ Revision
在文件 VoxelCatalog.h 第 44 行定义.
◆ RuleId
在文件 VoxelCatalog.h 第 45 行定义.
◆ SelectionSnapshot
在文件 VoxelCatalog.h 第 46 行定义.
◆ TargetDescriptor
在文件 VoxelCatalog.h 第 47 行定义.
◆ TargetId
在文件 VoxelCatalog.h 第 48 行定义.
枚举类型说明
◆ VoxelCellFill
|
strong |
◆ VoxelSocketKind
|
strong |
函数说明
◆ canJoinVoxelSockets()
| EVENGINE_API_ORCHESTRATION bool eve::voxel_editing::canJoinVoxelSockets | ( | const VoxelSocket & | a, |
| const VoxelSocket & | b | ||
| ) |
True when two facing sockets may join.
在文件 VoxelCatalog.cpp 第 196 行定义.
引用了 a, b , 以及 canJoinVoxelSockets().
被这些函数引用 canJoinVoxelSockets() , 以及 eve::voxel_editing::VoxelCatalogTarget::hullJoinPartners().
◆ createVoxelWorldTarget()
| EVENGINE_API_ORCHESTRATION std::unique_ptr< VoxelWorldTarget > eve::voxel_editing::createVoxelWorldTarget | ( | std::string | id, |
| voxel::VoxelWorld * | world | ||
| ) |
Create a voxel-world adapter.
- 参数
-
id Stable target identity. world Borrowed voxel world that must outlive the adapter.
- 返回
- Independently owned adapter.
在文件 VoxelWorldTarget.cpp 第 30 行定义.
引用了 world.
被这些函数引用 eve::voxelworld_target::VoxelWorldTargetModule::newTarget().
◆ isVoxelModelOccupied()
| bool eve::voxel_editing::isVoxelModelOccupied | ( | const VoxelModelValue & | model, |
| int | x, | ||
| int | y, | ||
| int | z | ||
| ) |
True when model contains an occupied cell at (x,y,z).
在文件 VoxelCatalog.cpp 第 210 行定义.
引用了 isVoxelModelOccupied(), model , 以及 v.
被这些函数引用 isVoxelModelOccupied() , 以及 pickVoxelModel().
◆ pickVoxelModel()
| EVENGINE_API_ORCHESTRATION VoxelPick eve::voxel_editing::pickVoxelModel | ( | const VoxelModelValue & | model, |
| float | ox, | ||
| float | oy, | ||
| float | oz, | ||
| float | dx, | ||
| float | dy, | ||
| float | dz, | ||
| float | maxDistance | ||
| ) |
Raycast occupied cells with MagicaVoxel-style previous-cell attach.
- 参数
-
maxDistance Maximum travel along the normalized ray.
在文件 VoxelCatalog.cpp 第 222 行定义.
引用了 eve::voxel_editing::VoxelPick::canAttach, dx, dy, dz, eve::voxel_editing::VoxelPick::hit, eve::voxel_editing::VoxelPick::hitX, eve::voxel_editing::VoxelPick::hitY, eve::voxel_editing::VoxelPick::hitZ, isVoxelModelOccupied(), model, ox, oy, pickVoxelModel(), eve::voxel_editing::VoxelPick::prevX, eve::voxel_editing::VoxelPick::prevY, eve::voxel_editing::VoxelPick::prevZ, t, x, y , 以及 z.
被这些函数引用 pickVoxelModel(), eve::voxel_editor::VoxelCatalogEditor::pointerDown() , 以及 eve::voxel_editor::VoxelCatalogEditor::pointerWorldRay().
◆ registerEditingCommands()
| EVENGINE_API_ORCHESTRATION editing::Result< void > eve::voxel_editing::registerEditingCommands | ( | editing::IEditingCommandRegistry & | registry | ) |
Register voxel-catalog planned commands with a generic editing host.
在文件 VoxelEditingCommands.cpp 第 87 行定义.
引用了 id, eve::voxel_editing::VoxelModelValue::id, model, name, request , 以及 target.
被这些函数引用 eve::voxel_editor::VoxelEditorModule::VoxelEditorModule().
◆ voxelClassifyModelFill()
| EVENGINE_API_ORCHESTRATION VoxelCellFill eve::voxel_editing::voxelClassifyModelFill | ( | const VoxelModelValue & | model | ) |
Classify a sculpted model as empty, partial, or a solid cube.
在文件 VoxelCatalog.cpp 第 215 行定义.
引用了 model, volume , 以及 voxelClassifyModelFill().
被这些函数引用 eve::voxel_editor::VoxelCatalogEditor::modelFill() , 以及 voxelClassifyModelFill().
◆ voxelOppositeFace()
| int eve::voxel_editing::voxelOppositeFace | ( | int | face | ) |
Opposite FaceDir index in PosX/NegX/PosY/NegY/PosZ/NegZ order.
在文件 VoxelCatalog.cpp 第 204 行定义.
引用了 voxelOppositeFace().
被这些函数引用 eve::voxel_editing::VoxelCatalogTarget::hullJoinPartners() , 以及 voxelOppositeFace().
◆ voxelSocketKindFromName()
| VoxelSocketKind eve::voxel_editing::voxelSocketKindFromName | ( | std::string_view | name | ) |
Parse a socket kind name.
- 返回
- Kind, or None when the name is empty/unknown.
在文件 VoxelCatalog.cpp 第 175 行定义.
引用了 name , 以及 voxelSocketKindFromName().
被这些函数引用 eve::voxel_editing::VoxelCatalogTarget::makeSet() , 以及 voxelSocketKindFromName().
◆ voxelSocketKindName()
| EVENGINE_API_ORCHESTRATION const char * eve::voxel_editing::voxelSocketKindName | ( | VoxelSocketKind | kind | ) |
Stable serialized name for a socket kind. @ownership Observed static string; callers must not free it. @lifetime Valid for the process lifetime. @thread Any.
在文件 VoxelCatalog.cpp 第 182 行定义.
引用了 kind , 以及 voxelSocketKindName().
被这些函数引用 eve::voxel_editing::VoxelCatalogTarget::makeSet(), eve::voxel_editing::VoxelCatalogTarget::read(), eve::voxel_editor::VoxelCatalogEditor::selectedSocketKind() , 以及 voxelSocketKindName().
变量说明
◆ kVoxelModelMaxOccupied
|
inlineconstexpr |
Occupied-cell budget for one sculpted object.
在文件 VoxelCatalog.h 第 53 行定义.
◆ kVoxelModelMaxSize
|
inlineconstexpr |
Inclusive maximum MagicaVoxel-like object edge (cells).
在文件 VoxelCatalog.h 第 51 行定义.