Cogs.Core
|
Public Member Functions | |
bool | update_isosurface () |
MeshHandle | createIsoSurfaces (Tile &tile, Cogs::Memory::MemoryBuffer &scratch, const glm::vec3 minCorner) |
Public Attributes | |
UniformGridSystem * | system = nullptr |
UniformGridComponent * | component = nullptr |
std::unordered_map< uint32_t,std::shared_ptr< UniformGridConfig > > | config |
std::mutex | mu |
std::condition_variable | cv |
bool | shutdown = false |
bool | change_sv = false |
bool | update_iso = false |
std::mutex | tiles_mu |
std::unordered_map< TileKey, Tile > | tiles |
std::vector< Entity * > | destroy |
glm::uvec3 | size |
glm::vec3 | scale |
float | decibelMin = 0.0f |
float | decibelMax = 0.0f |
UniformGridSampleData * | sample_data = nullptr |
UniformGridSampleData * | sample_data_backbuffer = nullptr |
ComputeType | compute = ComputeType::Reference |
std::vector< float > | thresholds |
std::vector< MaterialInstanceHandle > | layerMaterialInstances |
EntityPtr | visualizer_group |
glm::quat | vesselOrientationGlobal |
glm::vec3 | vesselPositionGlobal |
std::unordered_map< uint32_t, EntityPtr > | boundingFrustum |
uint64_t | ping_number = 0 |
uint64_t | pings_handled = 0 |
uint64_t | pings_droped = 0 |
uint64_t | evict_number = 0 |
unsigned | runs = 0 |
struct { | |
std::atomic< uint32_t > us = 0 | |
std::atomic< uint32_t > N = 0 | |
} | sample_intersecting |
struct { | |
std::atomic< uint32_t > us = 0 | |
std::atomic< uint32_t > N = 0 | |
} | sample_inside |
struct { | |
std::atomic< uint32_t > analyze = 0 | |
std::atomic< uint32_t > vtx = 0 | |
std::atomic< uint32_t > idx = 0 | |
std::atomic< uint32_t > N = 0 | |
} | isoSurf |
Definition at line 65 of file UniformGridSystem.h.
MeshHandle Cogs::Core::EchoSounder::UniformGridData::createIsoSurfaces | ( | Tile & | tile, |
Cogs::Memory::MemoryBuffer & | scratch, | ||
const glm::vec3 | minCorner | ||
) |
Definition at line 204 of file UniformGridSystem.cpp.
bool Cogs::Core::EchoSounder::UniformGridData::update_isosurface | ( | ) |
Definition at line 1422 of file UniformGridSystem.cpp.
std::atomic<uint32_t> Cogs::Core::EchoSounder::UniformGridData::analyze = 0 |
Definition at line 119 of file UniformGridSystem.h.
std::unordered_map<uint32_t, EntityPtr> Cogs::Core::EchoSounder::UniformGridData::boundingFrustum |
Definition at line 99 of file UniformGridSystem.h.
bool Cogs::Core::EchoSounder::UniformGridData::change_sv = false |
Definition at line 74 of file UniformGridSystem.h.
UniformGridComponent* Cogs::Core::EchoSounder::UniformGridData::component = nullptr |
Definition at line 67 of file UniformGridSystem.h.
ComputeType Cogs::Core::EchoSounder::UniformGridData::compute = ComputeType::Reference |
Definition at line 91 of file UniformGridSystem.h.
std::unordered_map<uint32_t ,std::shared_ptr<UniformGridConfig> > Cogs::Core::EchoSounder::UniformGridData::config |
Definition at line 68 of file UniformGridSystem.h.
std::condition_variable Cogs::Core::EchoSounder::UniformGridData::cv |
Definition at line 71 of file UniformGridSystem.h.
float Cogs::Core::EchoSounder::UniformGridData::decibelMax = 0.0f |
Definition at line 85 of file UniformGridSystem.h.
float Cogs::Core::EchoSounder::UniformGridData::decibelMin = 0.0f |
Definition at line 84 of file UniformGridSystem.h.
std::vector<Entity*> Cogs::Core::EchoSounder::UniformGridData::destroy |
Definition at line 79 of file UniformGridSystem.h.
uint64_t Cogs::Core::EchoSounder::UniformGridData::evict_number = 0 |
Definition at line 105 of file UniformGridSystem.h.
std::atomic<uint32_t> Cogs::Core::EchoSounder::UniformGridData::idx = 0 |
Definition at line 121 of file UniformGridSystem.h.
std::vector<MaterialInstanceHandle> Cogs::Core::EchoSounder::UniformGridData::layerMaterialInstances |
Definition at line 93 of file UniformGridSystem.h.
std::mutex Cogs::Core::EchoSounder::UniformGridData::mu |
Definition at line 70 of file UniformGridSystem.h.
std::atomic<uint32_t> Cogs::Core::EchoSounder::UniformGridData::N = 0 |
Definition at line 110 of file UniformGridSystem.h.
uint64_t Cogs::Core::EchoSounder::UniformGridData::ping_number = 0 |
Definition at line 101 of file UniformGridSystem.h.
uint64_t Cogs::Core::EchoSounder::UniformGridData::pings_droped = 0 |
Definition at line 103 of file UniformGridSystem.h.
uint64_t Cogs::Core::EchoSounder::UniformGridData::pings_handled = 0 |
Definition at line 102 of file UniformGridSystem.h.
unsigned Cogs::Core::EchoSounder::UniformGridData::runs = 0 |
Definition at line 107 of file UniformGridSystem.h.
UniformGridSampleData* Cogs::Core::EchoSounder::UniformGridData::sample_data = nullptr |
Definition at line 87 of file UniformGridSystem.h.
UniformGridSampleData* Cogs::Core::EchoSounder::UniformGridData::sample_data_backbuffer = nullptr |
Definition at line 88 of file UniformGridSystem.h.
glm::vec3 Cogs::Core::EchoSounder::UniformGridData::scale |
Definition at line 82 of file UniformGridSystem.h.
bool Cogs::Core::EchoSounder::UniformGridData::shutdown = false |
Definition at line 73 of file UniformGridSystem.h.
glm::uvec3 Cogs::Core::EchoSounder::UniformGridData::size |
Definition at line 81 of file UniformGridSystem.h.
UniformGridSystem* Cogs::Core::EchoSounder::UniformGridData::system = nullptr |
Definition at line 66 of file UniformGridSystem.h.
std::vector<float> Cogs::Core::EchoSounder::UniformGridData::thresholds |
Definition at line 92 of file UniformGridSystem.h.
std::unordered_map<TileKey, Tile> Cogs::Core::EchoSounder::UniformGridData::tiles |
Definition at line 78 of file UniformGridSystem.h.
std::mutex Cogs::Core::EchoSounder::UniformGridData::tiles_mu |
Definition at line 77 of file UniformGridSystem.h.
bool Cogs::Core::EchoSounder::UniformGridData::update_iso = false |
Definition at line 75 of file UniformGridSystem.h.
std::atomic<uint32_t> Cogs::Core::EchoSounder::UniformGridData::us = 0 |
Definition at line 109 of file UniformGridSystem.h.
glm::quat Cogs::Core::EchoSounder::UniformGridData::vesselOrientationGlobal |
Definition at line 97 of file UniformGridSystem.h.
glm::vec3 Cogs::Core::EchoSounder::UniformGridData::vesselPositionGlobal |
Definition at line 98 of file UniformGridSystem.h.
EntityPtr Cogs::Core::EchoSounder::UniformGridData::visualizer_group |
Definition at line 94 of file UniformGridSystem.h.
std::atomic<uint32_t> Cogs::Core::EchoSounder::UniformGridData::vtx = 0 |
Definition at line 120 of file UniformGridSystem.h.