Cogs.Core
Public Member Functions | Public Attributes | List of all members
Cogs::Core::EchoSounder::UniformGridData Struct Reference

Public Member Functions

bool update_isosurface ()
 
MeshHandle createIsoSurfaces (Tile &tile, Cogs::Memory::MemoryBuffer &scratch, const glm::vec3 minCorner)
 

Public Attributes

UniformGridSystemsystem = nullptr
 
UniformGridComponentcomponent = 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, Tiletiles
 
std::vector< Entity * > destroy
 
glm::uvec3 size
 
glm::vec3 scale
 
float decibelMin = 0.0f
 
float decibelMax = 0.0f
 
UniformGridSampleDatasample_data = nullptr
 
UniformGridSampleDatasample_data_backbuffer = nullptr
 
ComputeType compute = ComputeType::Reference
 
std::vector< float > thresholds
 
std::vector< MaterialInstanceHandlelayerMaterialInstances
 
EntityPtr visualizer_group
 
glm::quat vesselOrientationGlobal
 
glm::vec3 vesselPositionGlobal
 
std::unordered_map< uint32_t, EntityPtrboundingFrustum
 
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
 

Detailed Description

Definition at line 65 of file UniformGridSystem.h.

Member Function Documentation

◆ createIsoSurfaces()

MeshHandle Cogs::Core::EchoSounder::UniformGridData::createIsoSurfaces ( Tile tile,
Cogs::Memory::MemoryBuffer scratch,
const glm::vec3  minCorner 
)

Definition at line 204 of file UniformGridSystem.cpp.

◆ update_isosurface()

bool Cogs::Core::EchoSounder::UniformGridData::update_isosurface ( )

Definition at line 1422 of file UniformGridSystem.cpp.

Member Data Documentation

◆ analyze

std::atomic<uint32_t> Cogs::Core::EchoSounder::UniformGridData::analyze = 0

Definition at line 119 of file UniformGridSystem.h.

◆ boundingFrustum

std::unordered_map<uint32_t, EntityPtr> Cogs::Core::EchoSounder::UniformGridData::boundingFrustum

Definition at line 99 of file UniformGridSystem.h.

◆ change_sv

bool Cogs::Core::EchoSounder::UniformGridData::change_sv = false

Definition at line 74 of file UniformGridSystem.h.

◆ component

UniformGridComponent* Cogs::Core::EchoSounder::UniformGridData::component = nullptr

Definition at line 67 of file UniformGridSystem.h.

◆ compute

ComputeType Cogs::Core::EchoSounder::UniformGridData::compute = ComputeType::Reference

Definition at line 91 of file UniformGridSystem.h.

◆ config

std::unordered_map<uint32_t ,std::shared_ptr<UniformGridConfig> > Cogs::Core::EchoSounder::UniformGridData::config

Definition at line 68 of file UniformGridSystem.h.

◆ cv

std::condition_variable Cogs::Core::EchoSounder::UniformGridData::cv

Definition at line 71 of file UniformGridSystem.h.

◆ decibelMax

float Cogs::Core::EchoSounder::UniformGridData::decibelMax = 0.0f

Definition at line 85 of file UniformGridSystem.h.

◆ decibelMin

float Cogs::Core::EchoSounder::UniformGridData::decibelMin = 0.0f

Definition at line 84 of file UniformGridSystem.h.

◆ destroy

std::vector<Entity*> Cogs::Core::EchoSounder::UniformGridData::destroy

Definition at line 79 of file UniformGridSystem.h.

◆ evict_number

uint64_t Cogs::Core::EchoSounder::UniformGridData::evict_number = 0

Definition at line 105 of file UniformGridSystem.h.

◆ idx

std::atomic<uint32_t> Cogs::Core::EchoSounder::UniformGridData::idx = 0

Definition at line 121 of file UniformGridSystem.h.

◆ layerMaterialInstances

std::vector<MaterialInstanceHandle> Cogs::Core::EchoSounder::UniformGridData::layerMaterialInstances

Definition at line 93 of file UniformGridSystem.h.

◆ mu

std::mutex Cogs::Core::EchoSounder::UniformGridData::mu

Definition at line 70 of file UniformGridSystem.h.

◆ N

std::atomic<uint32_t> Cogs::Core::EchoSounder::UniformGridData::N = 0

Definition at line 110 of file UniformGridSystem.h.

◆ ping_number

uint64_t Cogs::Core::EchoSounder::UniformGridData::ping_number = 0

Definition at line 101 of file UniformGridSystem.h.

◆ pings_droped

uint64_t Cogs::Core::EchoSounder::UniformGridData::pings_droped = 0

Definition at line 103 of file UniformGridSystem.h.

◆ pings_handled

uint64_t Cogs::Core::EchoSounder::UniformGridData::pings_handled = 0

Definition at line 102 of file UniformGridSystem.h.

◆ runs

unsigned Cogs::Core::EchoSounder::UniformGridData::runs = 0

Definition at line 107 of file UniformGridSystem.h.

◆ sample_data

UniformGridSampleData* Cogs::Core::EchoSounder::UniformGridData::sample_data = nullptr

Definition at line 87 of file UniformGridSystem.h.

◆ sample_data_backbuffer

UniformGridSampleData* Cogs::Core::EchoSounder::UniformGridData::sample_data_backbuffer = nullptr

Definition at line 88 of file UniformGridSystem.h.

◆ scale

glm::vec3 Cogs::Core::EchoSounder::UniformGridData::scale

Definition at line 82 of file UniformGridSystem.h.

◆ shutdown

bool Cogs::Core::EchoSounder::UniformGridData::shutdown = false

Definition at line 73 of file UniformGridSystem.h.

◆ size

glm::uvec3 Cogs::Core::EchoSounder::UniformGridData::size

Definition at line 81 of file UniformGridSystem.h.

◆ system

UniformGridSystem* Cogs::Core::EchoSounder::UniformGridData::system = nullptr

Definition at line 66 of file UniformGridSystem.h.

◆ thresholds

std::vector<float> Cogs::Core::EchoSounder::UniformGridData::thresholds

Definition at line 92 of file UniformGridSystem.h.

◆ tiles

std::unordered_map<TileKey, Tile> Cogs::Core::EchoSounder::UniformGridData::tiles

Definition at line 78 of file UniformGridSystem.h.

◆ tiles_mu

std::mutex Cogs::Core::EchoSounder::UniformGridData::tiles_mu

Definition at line 77 of file UniformGridSystem.h.

◆ update_iso

bool Cogs::Core::EchoSounder::UniformGridData::update_iso = false

Definition at line 75 of file UniformGridSystem.h.

◆ us

std::atomic<uint32_t> Cogs::Core::EchoSounder::UniformGridData::us = 0

Definition at line 109 of file UniformGridSystem.h.

◆ vesselOrientationGlobal

glm::quat Cogs::Core::EchoSounder::UniformGridData::vesselOrientationGlobal

Definition at line 97 of file UniformGridSystem.h.

◆ vesselPositionGlobal

glm::vec3 Cogs::Core::EchoSounder::UniformGridData::vesselPositionGlobal

Definition at line 98 of file UniformGridSystem.h.

◆ visualizer_group

EntityPtr Cogs::Core::EchoSounder::UniformGridData::visualizer_group

Definition at line 94 of file UniformGridSystem.h.

◆ vtx

std::atomic<uint32_t> Cogs::Core::EchoSounder::UniformGridData::vtx = 0

Definition at line 120 of file UniformGridSystem.h.


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