Cogs.Core
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Cogs::Core::EchoSounder::SwathSeabedBuildMeshTask Class Reference
Inheritance diagram for Cogs::Core::EchoSounder::SwathSeabedBuildMeshTask:
Cogs::Core::EchoSounder::SwathBuildMeshTask

Public Member Functions

 SwathSeabedBuildMeshTask (Cogs::Core::Context *context, Cogs::Core::MeshHandle &mesh, const uint32_t chunkIndex, const Cogs::Core::EchoSounder::BeamGroupComponent &groupComp, const Cogs::Core::EchoSounder::SwathBottomComponent &swathComp, const Cogs::Core::EchoSounder::SwathBottomData &swathData, const Cogs::Core::EchoSounder::DataSetData &dataData)
 
 SwathSeabedBuildMeshTask (const SwathSeabedBuildMeshTask &other)
 
void operator() ()
 
- Public Member Functions inherited from Cogs::Core::EchoSounder::SwathBuildMeshTask
 SwathBuildMeshTask (Cogs::Core::Context *context, Cogs::Core::MeshHandle &mesh, const uint32_t chunkIndex, const float pathSpacing, const float beamSpacing, const BeamGroupComponent &groupComp, const DataSetData &dataData, const SwathPathResamplingPositions &resPos, const SwathPathChunks &chunks)
 
 SwathBuildMeshTask (const SwathBuildMeshTask &other)
 

Protected Member Functions

void pathResample ()
 
void beamResample (std::vector< glm::vec3 > &beamDir)
 
template<typename PType , typename TType , typename DType >
void calcVertexPositions (Cogs::Geometry::BoundingBox &bbox, PType &P, TType &T, DType &beamDir)
 
template<typename PType , typename NType , typename IType >
void calcNormalVectors (PType &P, NType &N, IType &I)
 
template<typename PType , typename NType , typename IType >
void calcNormalVectors (PType &P, NType &N, IType &I1, IType &I2)
 
void calcIndices (std::vector< uint32_t > &indices, std::vector< uint32_t > &supportIndices)
 

Protected Attributes

const Cogs::Core::EchoSounder::SwathBottomComponent::TextureDomain uTexDom
 
const Cogs::Core::EchoSounder::SwathBottomComponent::TextureDomain vTexDom
 
const glm::vec2 uTexRange
 
const glm::vec2 vTexRange
 
Cogs::Memory::TypedBuffer< float > depths
 
Cogs::Memory::TypedBuffer< float > reflectivities
 
- Protected Attributes inherited from Cogs::Core::EchoSounder::SwathBuildMeshTask
Cogs::Core::Contextcontext
 
Cogs::Core::MeshHandlemesh
 
const uint32_t chunkIndex
 
const uint32_t bufferCapacity
 
const float pathSpacing
 
const float beamSpacing
 
const float maxBeamUpsample
 
bool tail
 
bool head
 
uint32_t beamCount
 
uint32_t sliceCount
 
uint32_t bix_a
 
uint32_t bix_b
 
uint32_t sliceA
 
uint32_t sliceB
 
std::vector< uint32_t > beams
 
const uint32_t coordSys
 
std::vector< float > directionX
 
std::vector< float > directionY
 
Cogs::Memory::TypedBuffer< Cogs::Core::EchoSounder::SwathPathResamplingPositions::EntryresamplingPositions
 
Cogs::Memory::TypedBuffer< Cogs::Core::EchoSounder::PingMetaDatametaPings
 

Detailed Description

Definition at line 13 of file SwathSeabedBuildMeshTask.h.

Constructor & Destructor Documentation

◆ SwathSeabedBuildMeshTask() [1/2]

Cogs::Core::EchoSounder::SwathSeabedBuildMeshTask::SwathSeabedBuildMeshTask ( Cogs::Core::Context context,
Cogs::Core::MeshHandle mesh,
const uint32_t  chunkIndex,
const Cogs::Core::EchoSounder::BeamGroupComponent groupComp,
const Cogs::Core::EchoSounder::SwathBottomComponent swathComp,
const Cogs::Core::EchoSounder::SwathBottomData swathData,
const Cogs::Core::EchoSounder::DataSetData dataData 
)

Definition at line 15 of file SwathSeabedBuildMeshTask.cpp.

◆ SwathSeabedBuildMeshTask() [2/2]

Cogs::Core::EchoSounder::SwathSeabedBuildMeshTask::SwathSeabedBuildMeshTask ( const SwathSeabedBuildMeshTask other)

Definition at line 45 of file SwathSeabedBuildMeshTask.cpp.

Member Function Documentation

◆ beamResample()

void Cogs::Core::EchoSounder::SwathSeabedBuildMeshTask::beamResample ( std::vector< glm::vec3 > &  beamDir)
protected

Definition at line 140 of file SwathSeabedBuildMeshTask.cpp.

◆ calcIndices()

void Cogs::Core::EchoSounder::SwathSeabedBuildMeshTask::calcIndices ( std::vector< uint32_t > &  indices,
std::vector< uint32_t > &  supportIndices 
)
protected

Definition at line 258 of file SwathSeabedBuildMeshTask.cpp.

◆ calcNormalVectors() [1/2]

template<typename PType , typename NType , typename IType >
void Cogs::Core::EchoSounder::SwathSeabedBuildMeshTask::calcNormalVectors ( PType &  P,
NType &  N,
IType &  I 
)
protected

Definition at line 242 of file SwathSeabedBuildMeshTask.cpp.

◆ calcNormalVectors() [2/2]

template<typename PType , typename NType , typename IType >
void Cogs::Core::EchoSounder::SwathSeabedBuildMeshTask::calcNormalVectors ( PType &  P,
NType &  N,
IType &  I1,
IType &  I2 
)
protected

Definition at line 225 of file SwathSeabedBuildMeshTask.cpp.

◆ calcVertexPositions()

template<typename PType , typename TType , typename DType >
void Cogs::Core::EchoSounder::SwathSeabedBuildMeshTask::calcVertexPositions ( Cogs::Geometry::BoundingBox &  bbox,
PType &  P,
TType &  T,
DType &  beamDir 
)
protected

Definition at line 192 of file SwathSeabedBuildMeshTask.cpp.

◆ operator()()

void Cogs::Core::EchoSounder::SwathSeabedBuildMeshTask::operator() ( )

Definition at line 56 of file SwathSeabedBuildMeshTask.cpp.

◆ pathResample()

void Cogs::Core::EchoSounder::SwathSeabedBuildMeshTask::pathResample ( )
protected

Definition at line 105 of file SwathSeabedBuildMeshTask.cpp.

Member Data Documentation

◆ depths

Cogs::Memory::TypedBuffer<float> Cogs::Core::EchoSounder::SwathSeabedBuildMeshTask::depths
protected

Definition at line 36 of file SwathSeabedBuildMeshTask.h.

◆ reflectivities

Cogs::Memory::TypedBuffer<float> Cogs::Core::EchoSounder::SwathSeabedBuildMeshTask::reflectivities
protected

Definition at line 37 of file SwathSeabedBuildMeshTask.h.

◆ uTexDom

const Cogs::Core::EchoSounder::SwathBottomComponent::TextureDomain Cogs::Core::EchoSounder::SwathSeabedBuildMeshTask::uTexDom
protected

Definition at line 31 of file SwathSeabedBuildMeshTask.h.

◆ uTexRange

const glm::vec2 Cogs::Core::EchoSounder::SwathSeabedBuildMeshTask::uTexRange
protected

Definition at line 33 of file SwathSeabedBuildMeshTask.h.

◆ vTexDom

const Cogs::Core::EchoSounder::SwathBottomComponent::TextureDomain Cogs::Core::EchoSounder::SwathSeabedBuildMeshTask::vTexDom
protected

Definition at line 32 of file SwathSeabedBuildMeshTask.h.

◆ vTexRange

const glm::vec2 Cogs::Core::EchoSounder::SwathSeabedBuildMeshTask::vTexRange
protected

Definition at line 34 of file SwathSeabedBuildMeshTask.h.


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