Cogs.Core
Public Attributes | List of all members
Cogs::Core::SparseOctree::Cell Struct Reference

Public Attributes

uint32_t x = 0
 
uint32_t y = 0
 
uint32_t z = 0
 
Geometry::BoundingBox bbox
 Initially the full bounds of the cell, but shrinked to bounds of geometry after cell has been populated with clipped geometry, and can then be empty.
 
std::vector< uint32_t > touches
 Entity index of parts that touches the cell.
 
std::vector< MeshRefmeshRefs
 Meshes written to disc.
 
std::vector< MeshRecmeshRecs
 Meshes not yet written to disc.
 
uint32_t vertexCount = 0
 
uint32_t sizeEstimate = 0
 Estimated filesize of cell geometry, used to determine if geometry of multiple cells should be packed in a single file.
 
MeshHandle mesh
 

Detailed Description

Definition at line 88 of file SparseBuildOctree.h.

Member Data Documentation

◆ bbox

Geometry::BoundingBox Cogs::Core::SparseOctree::Cell::bbox

Initially the full bounds of the cell, but shrinked to bounds of geometry after cell has been populated with clipped geometry, and can then be empty.

Definition at line 94 of file SparseBuildOctree.h.

◆ mesh

MeshHandle Cogs::Core::SparseOctree::Cell::mesh

Definition at line 104 of file SparseBuildOctree.h.

◆ meshRecs

std::vector<MeshRec> Cogs::Core::SparseOctree::Cell::meshRecs

Meshes not yet written to disc.

Definition at line 99 of file SparseBuildOctree.h.

◆ meshRefs

std::vector<MeshRef> Cogs::Core::SparseOctree::Cell::meshRefs

Meshes written to disc.

Definition at line 98 of file SparseBuildOctree.h.

◆ sizeEstimate

uint32_t Cogs::Core::SparseOctree::Cell::sizeEstimate = 0

Estimated filesize of cell geometry, used to determine if geometry of multiple cells should be packed in a single file.

Definition at line 102 of file SparseBuildOctree.h.

◆ touches

std::vector<uint32_t> Cogs::Core::SparseOctree::Cell::touches

Entity index of parts that touches the cell.

Definition at line 96 of file SparseBuildOctree.h.

◆ vertexCount

uint32_t Cogs::Core::SparseOctree::Cell::vertexCount = 0

Definition at line 101 of file SparseBuildOctree.h.

◆ x

uint32_t Cogs::Core::SparseOctree::Cell::x = 0

Definition at line 90 of file SparseBuildOctree.h.

◆ y

uint32_t Cogs::Core::SparseOctree::Cell::y = 0

Definition at line 91 of file SparseBuildOctree.h.

◆ z

uint32_t Cogs::Core::SparseOctree::Cell::z = 0

Definition at line 92 of file SparseBuildOctree.h.


The documentation for this struct was generated from the following file: