Cogs.Core
|
Classes | |
struct | Channel |
Public Member Functions | |
bool | parseConfigJson (Cogs::FileContents *contents) |
Public Attributes | |
std::string | rootPath |
uint32_t | instanceId = 0 |
Component instance id. | |
uint32_t | treeDepth = 0 |
Depth of tile hierarchy. From json. | |
uint32_t | baseSize = 0 |
Base image size of a cached tile. From json. | |
uint32_t | noDataDepth = 0 |
Depth value that corresponds to noData. | |
float | extent = 1.f |
Size in model space units, used for bounds queries. | |
uint8_t | valueChannel = uint8_t(0) |
Data channel to be used as value data. From component. | |
uint8_t | depthChannel = static_cast<uint8_t>(~0u) |
Data channel that contains depth data. From json. | |
std::vector< Channel > | channels |
Data channels to use. From json. | |
uint32_t | cacheMaxCount = 0 |
uint32_t | treeMaxSize = 0 |
uint32_t | maxConcurrent = 0 |
bool | hasDepth = false |
If data has depth and component wants depth. | |
bool | discardNoDepth = true |
Discard pixels with no depth data. | |
Definition at line 26 of file Image360.h.
bool Cogs::Core::Image360::Config::parseConfigJson | ( | Cogs::FileContents * | contents | ) |
Definition at line 112 of file Config.cpp.
uint32_t Cogs::Core::Image360::Config::baseSize = 0 |
Base image size of a cached tile. From json.
Definition at line 46 of file Image360.h.
Referenced by Cogs::Core::Image360::RendererExtension::handleEvent(), and Cogs::Core::Image360System::update().
uint32_t Cogs::Core::Image360::Config::cacheMaxCount = 0 |
Definition at line 54 of file Image360.h.
std::vector<Channel> Cogs::Core::Image360::Config::channels |
Data channels to use. From json.
Definition at line 51 of file Image360.h.
Referenced by Cogs::Core::Image360::RendererExtension::handleEvent(), and Cogs::Core::Image360System::update().
uint8_t Cogs::Core::Image360::Config::depthChannel = static_cast<uint8_t>(~0u) |
Data channel that contains depth data. From json.
Definition at line 50 of file Image360.h.
Referenced by Cogs::Core::Image360::RendererExtension::handleEvent(), and Cogs::Core::Image360System::update().
bool Cogs::Core::Image360::Config::discardNoDepth = true |
Discard pixels with no depth data.
Definition at line 59 of file Image360.h.
Referenced by Cogs::Core::Image360System::update().
float Cogs::Core::Image360::Config::extent = 1.f |
Size in model space units, used for bounds queries.
Definition at line 48 of file Image360.h.
bool Cogs::Core::Image360::Config::hasDepth = false |
If data has depth and component wants depth.
Definition at line 58 of file Image360.h.
Referenced by Cogs::Core::Image360::RendererExtension::handleEvent(), and Cogs::Core::Image360System::update().
uint32_t Cogs::Core::Image360::Config::instanceId = 0 |
Component instance id.
Definition at line 44 of file Image360.h.
uint32_t Cogs::Core::Image360::Config::maxConcurrent = 0 |
Definition at line 56 of file Image360.h.
uint32_t Cogs::Core::Image360::Config::noDataDepth = 0 |
Depth value that corresponds to noData.
Definition at line 47 of file Image360.h.
Referenced by Cogs::Core::Image360::RendererExtension::handleEvent().
std::string Cogs::Core::Image360::Config::rootPath |
Definition at line 43 of file Image360.h.
uint32_t Cogs::Core::Image360::Config::treeDepth = 0 |
Depth of tile hierarchy. From json.
Definition at line 45 of file Image360.h.
Referenced by Cogs::Core::Image360System::update().
uint32_t Cogs::Core::Image360::Config::treeMaxSize = 0 |
Definition at line 55 of file Image360.h.
uint8_t Cogs::Core::Image360::Config::valueChannel = uint8_t(0) |
Data channel to be used as value data. From component.
Definition at line 49 of file Image360.h.
Referenced by Cogs::Core::Image360::RendererExtension::handleEvent(), and Cogs::Core::Image360System::update().