5#include "Foundation/Reflection/TypeDatabase.h"
10 #define COGSECHO_API extern "C" __declspec(dllexport)
12 #define COGSECHO_API extern "C"
26 typedef int(*SetConfigPtr)(
void * ctx,
36 const float* transducerAlpha,
37 const float* transducerOffset,
38 const float* directionX,
39 const float* directionY,
40 const float* beamWidthX,
41 const float* beamWidthY);
43 typedef int(*ClearPingsPtr)(
void * ctx,
46 typedef int(*AddPingPtr)(
void * ctx,
51 const float* position,
52 const float* orientation,
54 const float* bottomDepths,
55 const float* bottomReflectivities);
57 typedef int (*UniformGridAddConfigPtr)(
void * ctx,
66 const float* transducerAlpha,
67 const float* transducerOffset,
68 const float* directionX,
69 const float* directionY,
70 const float* beamWidthX,
71 const float* beamWidthY);
73 typedef int (*UniformGridClearPingsPtr)(
void * ctx, EntityId entityId);
75 typedef int (*UniformGridAddPingPtr)(
void * ctx,
81 const float* position,
82 const float* orientation,
84 const float* bottomDepths,
85 const float* bottomReflectivities);
91COGSECHO_API
int echosounderSetConfig(
void * ctx,
100 uint32_t tryPreserve,
101 const float* transducerAlpha,
102 const float* transducerOffset,
103 const float* directionX,
104 const float* directionY,
105 const float* beamWidthX,
106 const float* beamWidthY);
108COGSECHO_API
int echosounderClearPings(
void * ctx,
111COGSECHO_API
int echosounderAddPing(
void * ctx,
114 uint32_t sampleCount,
116 const float* position,
117 const float* orientation,
118 const float* samples,
119 const float* bottomDepths,
120 const float* bottomReflectivities);
122COGSECHO_API
int uniformGridAddConfig(
void * ctx,
128 uint32_t sampleCount,
131 const float* transducerAlpha,
132 const float* transducerOffset,
133 const float* directionX,
134 const float* directionY,
135 const float* beamWidthX,
136 const float* beamWidthY);
138COGSECHO_API
int uniformGridClearPings(
void * ctx, EntityId entityId);
140COGSECHO_API
int uniformGridAddPing(
void * ctx,
144 uint32_t sampleCount,
146 const float* position,
147 const float* orientation,
148 const float* samples,
149 const float* bottomDepths,
150 const float* bottomReflectivities);
uint16_t FieldId
Type used to index fields.
Contains all Cogs related functionality.