Cogs.Core
PingIsoComponent.h
1#pragma once
2
3#include "Resources/Resources.h"
4
5#include "Foundation/ComponentModel/Component.h"
6
7#include <vector>
8
9namespace Cogs
10{
11 namespace Core
12 {
13 namespace EchoSounder
14 {
15
17 {
18 std::vector<float> thresholds;
19 float capSeparation = 1e-3f;
20 float depthSpacing = 0.f;
21 float beamSpacing = 0.f;
22 float beamMaxUpsample = 5.f; // Max number of samples between a pair of beams.
23 float overflowThreshold = std::numeric_limits<float>::quiet_NaN();
24 float minVerticalDepth = std::numeric_limits<float>::quiet_NaN();
25 float maxVerticalDepth = std::numeric_limits<float>::quiet_NaN();
26 float seabedClipOffset = -std::numeric_limits<float>::infinity(); // Meters above seabed to clip, set to -infinity to disable clipping.
27
28 bool flipOrientation = false;
29 bool innerLayerOpaque = true;
30 float layerDepthBiasStep = 1.f;
31 float opacity = 1.f;
32
34
35 static void registerType();
36 };
37
38 }
39 }
40}
41
42template<> inline
43Cogs::StringView getName<Cogs::Core::EchoSounder::PingIsoComponent>()
44{
45 return "EchoPingIsoComponent";
46}
47
Base class for Component instances.
Definition: Component.h:143
Provides a weakly referenced view over the contents of a string.
Definition: StringView.h:24
Contains all Cogs related functionality.
Definition: FieldSetter.h:23