Cogs.Core
|
Public Types | |
enum struct | Kind : uint8_t { RegularNode , SubtreeLink } |
enum struct | State : uint8_t { None , Issued , Ready , Failed } |
enum struct | Flags : uint8_t { None = 0 , Active = 1 << 0 } |
Public Member Functions | |
bool | isRootNode () const |
bool | isActive () const |
void | setActive () |
void | setInactive () |
void | appendDescendSteps (std::string &path) const |
void | fetchData (Context *context, PotreeSystem *poSystem, const PotreeComponent *poComp, PotreeData *poData) |
void | releaseData (Context *context, PotreeData *poData) |
Public Attributes | |
uint64_t | byteOffset = 0 |
uint64_t | byteCount = 0 |
ListNode | subtreeNode |
ListNode | activeNode |
ListNode | tmpNode |
PotreeSubtree * | owningSubtree = nullptr |
union { | |
PotreeCell * children [8] | |
PotreeSubtree * linkedSubtree | |
}; | |
Cogs::BufferHandle | boxParametersBuffer |
VertexBufferHandle | pointData |
Memory::TypedBuffer< glm::vec3 > | points |
glm::vec3 | tbmin |
glm::vec3 | tbmax |
uint32_t | hierarchyNumPoints = 0 |
uint32_t | pointCount = 0 |
uint32_t | prefix = 0 |
uint16_t | texOffset = static_cast<uint16_t>(~0u) |
uint8_t | i = 0 |
uint8_t | j = 0 |
uint8_t | k = 0 |
uint8_t | l = 0 |
uint8_t | scaleFactor = 100 |
enum Cogs::Core::PotreeCell::Kind | kind = Kind::RegularNode |
enum Cogs::Core::PotreeCell::State | state = State::None |
enum Cogs::Core::PotreeCell::Flags | flags = Flags::None |
DataFetcherManager::FetchId | fetch_id = DataFetcherManager::NoFetchId |
Definition at line 109 of file PotreeSystem.h.
|
strong |
Definition at line 151 of file PotreeSystem.h.
|
strong |
Definition at line 139 of file PotreeSystem.h.
|
strong |
Definition at line 144 of file PotreeSystem.h.
void Cogs::Core::PotreeCell::appendDescendSteps | ( | std::string & | path | ) | const |
Definition at line 18 of file PotreeCell.cpp.
void Cogs::Core::PotreeCell::fetchData | ( | Context * | context, |
PotreeSystem * | poSystem, | ||
const PotreeComponent * | poComp, | ||
PotreeData * | poData | ||
) |
Definition at line 27 of file PotreeCell.cpp.
|
inline |
Definition at line 159 of file PotreeSystem.h.
|
inline |
Definition at line 198 of file PotreeSystem.h.
void Cogs::Core::PotreeCell::releaseData | ( | Context * | context, |
PotreeData * | poData | ||
) |
Definition at line 200 of file PotreeCell.cpp.
|
inline |
Definition at line 160 of file PotreeSystem.h.
|
inline |
Definition at line 161 of file PotreeSystem.h.
ListNode Cogs::Core::PotreeCell::activeNode |
Definition at line 114 of file PotreeSystem.h.
Cogs::BufferHandle Cogs::Core::PotreeCell::boxParametersBuffer |
Definition at line 122 of file PotreeSystem.h.
uint64_t Cogs::Core::PotreeCell::byteCount = 0 |
Definition at line 112 of file PotreeSystem.h.
uint64_t Cogs::Core::PotreeCell::byteOffset = 0 |
Definition at line 111 of file PotreeSystem.h.
PotreeCell* Cogs::Core::PotreeCell::children[8] |
Definition at line 118 of file PotreeSystem.h.
DataFetcherManager::FetchId Cogs::Core::PotreeCell::fetch_id = DataFetcherManager::NoFetchId |
Definition at line 156 of file PotreeSystem.h.
uint32_t Cogs::Core::PotreeCell::hierarchyNumPoints = 0 |
Definition at line 128 of file PotreeSystem.h.
uint8_t Cogs::Core::PotreeCell::i = 0 |
Definition at line 132 of file PotreeSystem.h.
uint8_t Cogs::Core::PotreeCell::j = 0 |
Definition at line 133 of file PotreeSystem.h.
uint8_t Cogs::Core::PotreeCell::k = 0 |
Definition at line 134 of file PotreeSystem.h.
uint8_t Cogs::Core::PotreeCell::l = 0 |
Definition at line 135 of file PotreeSystem.h.
PotreeSubtree* Cogs::Core::PotreeCell::linkedSubtree |
Definition at line 119 of file PotreeSystem.h.
PotreeSubtree* Cogs::Core::PotreeCell::owningSubtree = nullptr |
Definition at line 116 of file PotreeSystem.h.
uint32_t Cogs::Core::PotreeCell::pointCount = 0 |
Definition at line 129 of file PotreeSystem.h.
VertexBufferHandle Cogs::Core::PotreeCell::pointData |
Definition at line 123 of file PotreeSystem.h.
Memory::TypedBuffer<glm::vec3> Cogs::Core::PotreeCell::points |
Definition at line 124 of file PotreeSystem.h.
uint32_t Cogs::Core::PotreeCell::prefix = 0 |
Definition at line 130 of file PotreeSystem.h.
uint8_t Cogs::Core::PotreeCell::scaleFactor = 100 |
Definition at line 136 of file PotreeSystem.h.
ListNode Cogs::Core::PotreeCell::subtreeNode |
Definition at line 113 of file PotreeSystem.h.
glm::vec3 Cogs::Core::PotreeCell::tbmax |
Definition at line 126 of file PotreeSystem.h.
glm::vec3 Cogs::Core::PotreeCell::tbmin |
Definition at line 126 of file PotreeSystem.h.
uint16_t Cogs::Core::PotreeCell::texOffset = static_cast<uint16_t>(~0u) |
Definition at line 131 of file PotreeSystem.h.
ListNode Cogs::Core::PotreeCell::tmpNode |
Definition at line 115 of file PotreeSystem.h.