VR-Vantage
Loading...
Searching...
No Matches
DtTerrain.h
Go to the documentation of this file.
1/******************************************************************************
2** Copyright (c) 2026 MAK Technologies, Inc.
3** All rights reserved.
4******************************************************************************/
5
9
10#pragma once
11
12#include <vrvCore/vrvCore.h>
15#include <vrvCore/DtForest.h>
20
21#include <matrix/vlVector.h>
22
24
25#include <vrvUtil/signalslib.h>
26
27#include <string>
28#include <list>
29#include <vector>
30
31namespace makArchives
32{
36}
37
38namespace makVrv
39{
41 class DtDe;
42 class DtFeature;
43 class DtFeatureLayer;
44 class DtModelAgent;
45 class DtOceanLayer;
47 class DtProp;
51 class DtTexturedQuad;
56 class DtLightPointUpdater;
57
61 {
62
63 public:
64
65 typedef std::list<DtTerrainPatch*> TerrainPatches;
66 typedef std::list<DtFeatureLayer*> FeatureLayers;
67 typedef std::list<DtOceanLayer*> OceanLayers;
68
70 typedef std::map<int, makArchives::DtTerrainOperationRecord> TerrainOperationsMap;
71
73 DtTerrain(DtDe& de, DtAgentManagerInterface& sceneManagerInterface);
74
76 virtual ~DtTerrain();
77
80 void clear(bool reload=false);
81
83
84
88 bool globalScaleTerrain() const;
89
94
96 virtual void getRecord(makArchives::DtTerrainRecord& rec) const;
97
100 virtual void setFromRecord(const makArchives::DtTerrainRecord& rec, bool clearFirst=true);
101
103 virtual void reloadTerrain();
104
106
108
109
115
123 virtual DtTerrainPatch& addTerrainPatch(const std::string& terrainDefinitionName, bool minimapOnly=false,
125
127 virtual DtTerrainPatch* findTerrainPatch(const std::string& terrainDefinitionName);
128
131
136 virtual bool removeTerrainPatch(const std::string& terrainDefinitionName, bool minimapOnly=false);
137
141
145
148
150 bool lightPointsEnabled() const;
152
153
155
158
160
161
162
168
173 virtual DtFeatureLayer& addFeatureLayer(const std::string& featureLayerFilename,
176
178 virtual void removeFeatureLayer(const std::string& featureLayerFilename);
179
181 virtual const FeatureLayers& featureLayers() const;
182
185
187 virtual DtFeatureLayer* findFeatureLayer(const std::string& featureLayerFilename);
188
193
196
201
204
207
210
212
214
215
219
224 virtual DtOceanLayer& addOceanLayer( const std::string& layerName );
225
227 virtual void removeOceanLayer( const std::string& layerName );
228
230 virtual const OceanLayers& oceanLayers() const;
231
234
236 virtual DtOceanLayer* findOceanLayer( const std::string& layerName );
237
240 virtual void onOceanNodesExtracted( DtTerrainPatchObject& patchObject );
242
244
245
247 std::string generatePropName(const std::string& propType);
248
250
252
253
257 virtual DtForest& forest();
258
260
261 bool isPropNameUsed(const std::string& propName) const;
262
266 virtual bool getTerrainIntersection(double x, double y, double z,
267 double upX, double upY, double upZ, double& retX, double& retY,
268 double& retZ );
269
273 virtual void clearElevationCache();
275
277
278
281 virtual bool exportTerrainAndProps(const std::string&);
282
284
288 virtual const std::string* findOptionalParameter(const std::string& name) const;
289
291 virtual void setOptionalParameter(const std::string& name, const std::string& value);
292
296
298 virtual void removeOptionalParameter(const std::string& name);
299
302
304 virtual const std::string& description();
305
307 virtual void setDescription(const std::string& description);
308
310 virtual bool useICO() const;
311
313 virtual void setUseICO(bool flag);
314
316 virtual unsigned int maxPagedLODs() const;
317
319 virtual void setMaxPagedLODs( unsigned int maxPagedLODs );
320
322 virtual bool reloadingTerrain() { return myReloadingTerrain;}
323
324 protected:
325
328 const makArchives::DtTerrainRecord& terrainRec);
329
332
335
338
341
343 void slot_handleIsDayChanged(bool isDay);
344
349
351
352 protected:
353 typedef std::map<std::string,int> PropNameMap;
354
358
369
373
375
378
379 std::string myDescription;
380
382 unsigned int myMaxPagedLODs;
383
385
387 };
388
394 {
395 public:
396
399
402
403 //@name Signals
405
406 boost::signalslib::signal< void(const makArchives::DtTerrainRecord&) > signal_terrainLoaded;
407
408 boost::signalslib::signal< void(unsigned int) > signal_terrainMaxPagedLODChanged;
409
411 boost::signalslib::signal< void (const DtTerrainPatch&) > signal_terrainPatchAdded;
412
414 boost::signalslib::signal< void (const DtTerrainPatch&) > signal_terrainPatchToBeDeleted;
415
417 boost::signalslib::signal< void (const DtFeatureLayer&) > signal_featureLayerAdded;
418
420 boost::signalslib::signal< void (const DtFeatureLayer&) > signal_featureLayerToBeDeleted;
421
423 boost::signalslib::signal< void (const DtOceanLayer&) > signal_oceanLayerAdded;
424
426 boost::signalslib::signal< void (const DtOceanLayer&) > signal_oceanLayerToBeDeleted;
427
429 boost::signalslib::signal< void(const std::string&) > signal_oceanLayerDeleted;
430
432 boost::signalslib::signal< void (const DtOceanLayer&, double) > signal_oceanLayerSeaLevelChanged;
433
435 boost::signalslib::signal< void (const DtOceanLayer&, int) > signal_oceanLayerLodRangeChanged;
436
439 boost::signalslib::signal<void (bool reload) > signal_terrainToBeCleared;
440
442 boost::signalslib::signal< void () > signal_terrainCleared;
443
445 boost::signalslib::signal< void (DtProp& prop) > signal_propCreated;
446
448 boost::signalslib::signal< void (const DtProp& prop) > signal_propAboutToBeDestroyed;
449
451 boost::signalslib::signal< void (DtBuoyOrBeaconFacade& buoy,
452 const DtVector& initialPosition) > signal_buoyOrBeaconCreated;
453
488 boost::signalslib::signal< void (DtUniqueID id,
489 const DtVector& position,
490 const std::string& catfog,
491 const std::string& soundFilepath,
492 const std::vector<DtSigseqSlot>& slots,
493 float decibels,
494 const std::string& rawSigseq,
495 const DtFogSignalAttenuation& attenuation,
497
502 boost::signalslib::signal< void (DtUniqueID id) >
504
506 boost::signalslib::signal< void (const DtBuoyOrBeaconFacade& buoy) >
508
510 boost::signalslib::signal< void (const DtProp& prop, double x, double y, double z) >
512
514 boost::signalslib::signal< void (const DtProp& prop, double x, double y, double z, double w) > signal_propOrientationAboutToChange;
515
517 boost::signalslib::signal< void (const DtFeature&) > signal_featureAdded;
518
520 boost::signalslib::signal< void (const DtFeature&) > signal_featureToBeDeleted;
521
523 boost::signalslib::signal< void(int id, const makArchives::DtTerrainOperationRecord& rec) > signal_terrainOperationAdded;
524
526 boost::signalslib::signal< void(int id) > signal_terrainOperationRemoved;
527
529 boost::signalslib::signal< void(bool) > signal_terrainIsGlobalScaleChanged;
530
532
533 protected:
535 };
536
537
541 {
542
543 public:
547
550
552 virtual DtTerrain* create( DtDe& de,
553 DtAgentManagerInterface& agentManager );
554 };
555
556}
557
558
Contains the DtFogSignalAttenuation value type carrying the per-buoy 3D-audio attenuation envelope fo...
Contains the DtFogWaveAction value type and periodForWindSpeed helper used by the fog signal wave-act...
Contains makVrv::DtForest class.
Base class to provide boost signal/slot management.
Tokeniser for S-57 SIGSEQ fog/light signal sequence strings.
Contains makVrv::DtTerrainPatch class.
Contains makArchives::DtTerrainRecord class.
Contains makVrv::DtVirtualBaseClass class.
A DtFeatureLayerRecord contains the information to add features from a single source file and ruleset...
Definition DtFeatureLayerRecord.h:23
A DtOceanLayerRecord contains the information to add dynamic water.
Definition DtOceanLayerRecord.h:22
A DtTerrainOperationRecord contains information about a single terrain operation.
Definition DtTerrainOperationRecord.h:20
TargetApplication
Definition DtTerrainOperationRecord.h:26
@ VisualizationAndSimulation
Definition DtTerrainOperationRecord.h:30
A DtTerrainPatchRecord contains the information to construct a single DtTerrainPatch.
Definition DtTerrainPatchRecord.h:28
Record of a VR-Vantage terrain Contains: Terrain coordinate system Terrain patches Feature layers Ter...
Definition DtTerrainRecord.h:30
std::list< DtGenericTerrainRecord > GenericRecords
Definition DtTerrainRecord.h:36
std::map< std::string, std::string > OptionalParameterMap
Definition DtTerrainRecord.h:38
The abstract interface necessary for agents.
Definition DtAgentManagerInterface.h:34
Definition DtBuoyBeaconLayer.h:36
The DtEntityFacade is a facade around agents that make up an entity. This entity facade represents a ...
Definition DtBuoyOrBeaconFacade.h:25
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer,...
Definition DtDe.h:77
Definition DtDynamicFeatureLayer.h:35
Definition DtFeature.h:33
The feature layer is a type of terrain layer which contains features, such as points,...
Definition DtFeatureLayer.h:26
A wrapper around the forest driver and some local state of the forest.
Definition DtForest.h:36
Agent class for the scene object class: DtModel.
Definition DtModelAgent.hpp:27
Definition DtNavigationFeatureManager.h:39
Definition DtNavigationLightManager.h:57
The ocean layer is a type of terrain layer which contains information about an area that should be re...
Definition DtOceanLayer.h:26
Facade object for a scene prop.
Definition DtProp.h:35
Definition DtStreamedFeatureLayer.h:35
The terrain creator for the DtTerrain class.
Definition DtTerrain.h:541
static DtTerrainCreator & instance(DtDe &de)
Get the terrain creator instance for this display engine.
static void registerInstance(DtDe &de, DtTerrainCreator *instance)
Register the creator instance with a display engine.
virtual DtTerrain * create(DtDe &de, DtAgentManagerInterface &agentManager)
Create a DtTerrain.
DtTerrain is a facade around terrain functionality.
Definition DtTerrain.h:61
virtual void setUseICO(bool flag)
Set the UseICO flag.
std::map< std::string, int > PropNameMap
Saves terrain geometry and props to specified file. This file will be saved in the format specified b...
Definition DtTerrain.h:353
unsigned int myMaxPagedLODs
Saves terrain geometry and props to specified file. This file will be saved in the format specified b...
Definition DtTerrain.h:382
size_t numberOfTerrainPatches() const
Get the number of terrain patches.
DtNavigationFeatureManager * myNavigationDaymarkManager
Saves terrain geometry and props to specified file. This file will be saved in the format specified b...
Definition DtTerrain.h:367
DtAgentManagerInterface & myAgentManagerInterface
Saves terrain geometry and props to specified file. This file will be saved in the format specified b...
Definition DtTerrain.h:357
void clearTerrainOperations()
Remove all terrain operations from myTerrainOperationsMap emitting signals.
void updateGlobalScaleTerrain()
Rechecks if the terrain is of global scale. This function will emit the global scale changed signal f...
bool isPropNameUsed(const std::string &propName) const
Checks whether a prop name is in use.
std::map< int, makArchives::DtTerrainOperationRecord > TerrainOperationsMap
Map of terrain operation ids, to terrain operations.
Definition DtTerrain.h:70
virtual unsigned int maxPagedLODs() const
Get max paged LOD target.
std::list< DtOceanLayer * > OceanLayers
Definition DtTerrain.h:67
virtual void clearElevationCache()
If any of the terrain's patch objects is using an elevation cache, clear them (otherwise do nothing)....
virtual DtNavigationFeatureManager & navigationDaymarkManager()
Return the nav daymark manager.
bool lightPointsEnabled() const
Are we showing point lights on the terrain?
void addTerrainOperationRecord(const makArchives::DtTerrainOperationRecord &operation)
Add a terrain operations record and emit signal_terrainOperationAdded.
virtual void setOptionalParameters(const makArchives::DtTerrainRecord::OptionalParameterMap &)
Set an optional parameters. This will overwrite any existing optional parameters.
makArchives::DtTerrainRecord::OptionalParameterMap myOptionalParameters
Saves terrain geometry and props to specified file. This file will be saved in the format specified b...
Definition DtTerrain.h:376
virtual DtStreamedFeatureLayer & streamedFeatureLayer()
bool globalScaleTerrain() const
Checks to see if the terrain is a global scale terrain. Typically a global scale terrain takes a [nea...
void clear(bool reload=false)
virtual ~DtTerrain()
DTOR.
virtual void removeOceanLayer(const std::string &layerName)
Remove a ocean layer. Emits signal_oceanLayerToBeDeleted.
virtual bool checkIfTerrainOperationRecordsMatch(const makArchives::DtTerrainOperationRecord &left, const makArchives::DtTerrainOperationRecord &right)
Check if two DtTerrainOperationRecord match without comparing the application type field.
DtForest * myForest
Saves terrain geometry and props to specified file. This file will be saved in the format specified b...
Definition DtTerrain.h:362
virtual void setOptionalParameter(const std::string &name, const std::string &value)
Set an optional parameter.
DtTerrainSignaler & mySignaler
Saves terrain geometry and props to specified file. This file will be saved in the format specified b...
Definition DtTerrain.h:356
int myNextTerrainOperationId
Saves terrain geometry and props to specified file. This file will be saved in the format specified b...
Definition DtTerrain.h:371
std::string generatePropName(const std::string &propType)
Generate a unique name for the prop.
bool myReloadingTerrain
Saves terrain geometry and props to specified file. This file will be saved in the format specified b...
Definition DtTerrain.h:384
std::list< DtTerrainPatch * > TerrainPatches
Definition DtTerrain.h:65
virtual void removeOptionalParameter(const std::string &name)
Remove an optional parameter.
DtTexturedQuad * myLogo
Saves terrain geometry and props to specified file. This file will be saved in the format specified b...
Definition DtTerrain.h:386
TerrainOperationsMap myTerrainOperationsMap
Saves terrain geometry and props to specified file. This file will be saved in the format specified b...
Definition DtTerrain.h:370
virtual DtOceanLayer * findOceanLayer(const std::string &layerName)
Return the DtOceanLayer with the name layerName.
virtual DtTerrainPatch * findTerrainPatch(const std::string &terrainDefinitionName)
Return the DtTerrainPatchObjectAgent with the name terrainName.
virtual const OceanLayers & oceanLayers() const
Accessor for OceanLayers.
virtual const std::string * findOptionalParameter(const std::string &name) const
Find an optional parameter. These optional parameters are provided because VR-Vantage and VR-Forces w...
virtual DtNavigationLightManager & navigationLightManager()
Return the nav light manager.
virtual bool removeTerrainPatch(const std::string &terrainDefinitionName, bool minimapOnly=false)
Find and delete a terrain.
DtBuoyBeaconLayer * myBuoyLayer
Saves terrain geometry and props to specified file. This file will be saved in the format specified b...
Definition DtTerrain.h:363
virtual void setFromRecord(const makArchives::DtTerrainRecord &rec, bool clearFirst=true)
Populate a DtTerrain from a DtTerrainRecord. Called by loadTerrain(). If the clearFirst flag is true,...
std::string myDescription
Saves terrain geometry and props to specified file. This file will be saved in the format specified b...
Definition DtTerrain.h:379
const TerrainPatches & terrainPatches() const
Get the terrain drivers. \Warning Do not add or remove terrains while iterating.
virtual DtForest & forest()
Return the DtForestObjectDriver. This lazily creates one if it does not exist. There only needs to be...
bool myUseICO
Saves terrain geometry and props to specified file. This file will be saved in the format specified b...
Definition DtTerrain.h:381
virtual void onOceanNodesExtracted(DtTerrainPatchObject &patchObject)
TerrainPatches & terrainPatches()
Get the terrain drivers. \Warning Do not add or remove terrains while iterating.
DtDynamicFeatureLayer * myDynamicFeatureLayer
Saves terrain geometry and props to specified file. This file will be saved in the format specified b...
Definition DtTerrain.h:365
void executeTerrainOperation(const makArchives::DtTerrainOperationRecord &operation, const makArchives::DtTerrainRecord &terrainRec)
Execute a terrain operation. For example, adding a terrain patch.
virtual DtDynamicFeatureLayer & dynamicFeatureLayer()
DtStreamedFeatureLayer * myStreamedFeatureLayer
Saves terrain geometry and props to specified file. This file will be saved in the format specified b...
Definition DtTerrain.h:364
virtual bool reloadingTerrain()
is the terrain currently reloading
Definition DtTerrain.h:322
std::list< DtFeatureLayer * > FeatureLayers
Definition DtTerrain.h:66
virtual DtOceanLayer & addOceanLayer(const std::string &layerName)
Create and add a DtOceanLayer. If a DtOceanLayer already exists with the same name,...
virtual FeatureLayers & featureLayers()
Accessor for FeatureLayers.
virtual void connectForestAndOceanSignals(void)
Saves terrain geometry and props to specified file. This file will be saved in the format specified b...
void removeTerrainOperationRecord(int id)
Removed a terrain operations record and emit signal_terrainOperationAdded.
DtTerrain(DtDe &de, DtAgentManagerInterface &sceneManagerInterface)
CTOR.
TerrainPatches myTerrainPatches
Saves terrain geometry and props to specified file. This file will be saved in the format specified b...
Definition DtTerrain.h:359
virtual void removeFeatureLayer(const std::string &featureLayerFilename)
Remove a feature layer. Emits signal_terrainPatchToBeDeleted.
DtNavigationLightManager * myNavigationLightManager
Saves terrain geometry and props to specified file. This file will be saved in the format specified b...
Definition DtTerrain.h:366
virtual void getRecord(makArchives::DtTerrainRecord &rec) const
Fill out a DtTerrainRecord with the current terrain info. Called by saveTerrain().
DtNavigationFeatureManager * myNavigationTopmarkManager
Saves terrain geometry and props to specified file. This file will be saved in the format specified b...
Definition DtTerrain.h:368
const makArchives::DtTerrainRecord::OptionalParameterMap & optionalParameters() const
Get the optional parameters.
virtual void setMaxPagedLODs(unsigned int maxPagedLODs)
Set the max paged LOD target.
virtual DtTerrainPatch & addTerrainPatch(const makArchives::DtTerrainPatchRecord &rec)
Create and add a new terrain patch driver. If a terrain patch already exists with the same name,...
FeatureLayers myFeatureLayers
Saves terrain geometry and props to specified file. This file will be saved in the format specified b...
Definition DtTerrain.h:360
virtual bool getTerrainIntersection(double x, double y, double z, double upX, double upY, double upZ, double &retX, double &retY, double &retZ)
Get the closest intersection to x,y,z. Note that the up values may not be used in the case of osgEart...
virtual const std::string & description()
Get the terrains's description.
void removeTerrainOperationRecord(const makArchives::DtTerrainOperationRecord &operation)
Remove a previously added record.
virtual DtTerrainPatch & addTerrainPatch(const std::string &terrainDefinitionName, bool minimapOnly=false, const DtTerrainPatch::DtPageableTerrainPatchRecord &pageableTerrainPatchRecord=DtTerrainPatch::DtPageableTerrainPatchRecord())
Create and add a new terrain patch driver. If a terrain patch already exists with the same name,...
virtual bool useICO() const
Get the UseICO flag.
void slot_handleIsDayChanged(bool isDay)
Turn on and off the lights when the sky object says to.
virtual void setDescription(const std::string &description)
Set the terrains's description.
virtual DtTerrainPatch * findTerrainPatch(DtUniqueID id)
Return the DtTerrainPatchObjectAgent with the unique id.
virtual DtFeatureLayer & addFeatureLayer(const std::string &featureLayerFilename, makArchives::DtTerrainOperationRecord::TargetApplication target=makArchives::DtTerrainOperationRecord::VisualizationAndSimulation)
Create and add a DtFeatureLayer. If a DtFeatureLayer already exists with the same name,...
virtual DtFeatureLayer & addFeatureLayer(const makArchives::DtFeatureLayerRecord &rec, makArchives::DtTerrainOperationRecord::TargetApplication target=makArchives::DtTerrainOperationRecord::VisualizationAndSimulation)
OceanLayers myOceanLayers
Saves terrain geometry and props to specified file. This file will be saved in the format specified b...
Definition DtTerrain.h:361
bool myGlobalScaleFlag
Saves terrain geometry and props to specified file. This file will be saved in the format specified b...
Definition DtTerrain.h:372
virtual const FeatureLayers & featureLayers() const
Accessor for FeatureLayers.
makArchives::DtTerrainRecord::GenericRecords myGenericRecords
Saves terrain geometry and props to specified file. This file will be saved in the format specified b...
Definition DtTerrain.h:377
virtual DtBuoyBeaconLayer & buoyBeaconLayer()
Return the buoy layer.
virtual void reloadTerrain()
Request that the current terrain be reloaded.
virtual bool exportTerrainAndProps(const std::string &)
Saves terrain geometry and props to specified file. This file will be saved in the format specified b...
virtual const TerrainOperationsMap & terrainOperationsMap() const
virtual DtNavigationFeatureManager & navigationTopmarkManager()
Return the nav topmark manager.
virtual DtOceanLayer & addOceanLayer(const makArchives::DtOceanLayerRecord &rec)
virtual DtFeatureLayer * findFeatureLayer(const std::string &featureLayerFilename)
Return the DtFeatureLayer with the name featureLayerFilename.
PropNameMap myPropNameMap
Saves terrain geometry and props to specified file. This file will be saved in the format specified b...
Definition DtTerrain.h:374
virtual OceanLayers & oceanLayers()
Accessor for OceanLayers.
DtDe & myDe
Saves terrain geometry and props to specified file. This file will be saved in the format specified b...
Definition DtTerrain.h:355
A container for a single piece of terrain, containing settings needed to recreate it.
Definition DtTerrainPatch.h:43
makArchives::DtTerrainPatchRecord::DtPageableTerrainPatchRecord DtPageableTerrainPatchRecord
Definition DtTerrainPatch.h:47
Agent class for the scene object class: DtTerrainPatchObject.
Definition DtTerrainPatchObjectAgent.hpp:29
A DtTerrainPatchObject contains the methods for loading a file as a terrain. When loading a file as a...
Definition DtTerrainPatchObject.h:36
A global signaler object for the DtTerrain class. These signals are raised on the master by DtTerrain...
Definition DtTerrain.h:394
boost::signalslib::signal< void(const DtOceanLayer &) > signal_oceanLayerToBeDeleted
Emitted when a ocean layer is about to be removed.
Definition DtTerrain.h:426
boost::signalslib::signal< void(bool reload) > signal_terrainToBeCleared
Definition DtTerrain.h:439
boost::signalslib::signal< void(const DtFeature &) > signal_featureToBeDeleted
Emitted when a DtFeature is about to be removed.
Definition DtTerrain.h:520
boost::signalslib::signal< void(const DtFeature &) > signal_featureAdded
Emitted when a DtFeature is added.
Definition DtTerrain.h:517
boost::signalslib::signal< void(DtProp &prop) > signal_propCreated
Emitted when a prop is created.
Definition DtTerrain.h:445
boost::signalslib::signal< void(const DtProp &prop) > signal_propAboutToBeDestroyed
Emitted when a prop is destroyed.
Definition DtTerrain.h:448
boost::signalslib::signal< void(DtBuoyOrBeaconFacade &buoy, const DtVector &initialPosition) > signal_buoyOrBeaconCreated
Emitted when a buoy is created.
Definition DtTerrain.h:452
boost::signalslib::signal< void(const DtTerrainPatch &) > signal_terrainPatchAdded
Emitted when a DtTerrainPatch is added.
Definition DtTerrain.h:411
boost::signalslib::signal< void(const DtOceanLayer &, int) > signal_oceanLayerLodRangeChanged
Emitted when an ocean layer changes its lod range.
Definition DtTerrain.h:435
boost::signalslib::signal< void(const DtFeatureLayer &) > signal_featureLayerToBeDeleted
Emitted when a DtFeatureLayer is about to be removed.
Definition DtTerrain.h:420
boost::signalslib::signal< void(const DtProp &prop, double x, double y, double z, double w) > signal_propOrientationAboutToChange
Emitted when a prop orientation is about to be changed.
Definition DtTerrain.h:514
boost::signalslib::signal< void(int id) > signal_terrainOperationRemoved
Emitted when an operation is removed.
Definition DtTerrain.h:526
boost::signalslib::signal< void(DtUniqueID id, const DtVector &position, const std::string &catfog, const std::string &soundFilepath, const std::vector< DtSigseqSlot > &slots, float decibels, const std::string &rawSigseq, const DtFogSignalAttenuation &attenuation, const DtFogWaveAction &waveAction) > signal_buoyOrBeaconFogSignalRequested
Emitted when a buoy/beacon-related fog-signal feature with valid S-57 timing data is created....
Definition DtTerrain.h:496
boost::signalslib::signal< void(const DtOceanLayer &, double) > signal_oceanLayerSeaLevelChanged
Emitted when an ocean layer changes its sea level.
Definition DtTerrain.h:432
boost::signalslib::signal< void(bool) > signal_terrainIsGlobalScaleChanged
Emitted when an terrain is global changes.
Definition DtTerrain.h:529
boost::signalslib::signal< void(const DtOceanLayer &) > signal_oceanLayerAdded
Emitted when a DtFeatureLayer is added.
Definition DtTerrain.h:423
boost::signalslib::signal< void(int id, const makArchives::DtTerrainOperationRecord &rec) > signal_terrainOperationAdded
Emitted when an operation is added.
Definition DtTerrain.h:523
static DtTerrainSignaler & instance(DtDe &de)
Get an instance used to emit, or to connect.
boost::signalslib::signal< void(const DtTerrainPatch &) > signal_terrainPatchToBeDeleted
Emitted when a DtTerrainPatch is about to be removed.
Definition DtTerrain.h:414
boost::signalslib::signal< void(const DtBuoyOrBeaconFacade &buoy) > signal_buoyOrBeaconAboutToBeDestroyed
Emitted when a buoy is destroyed.
Definition DtTerrain.h:507
boost::signalslib::signal< void(unsigned int) > signal_terrainMaxPagedLODChanged
Definition DtTerrain.h:408
boost::signalslib::signal< void(DtUniqueID id) > signal_fogSignalAudioCleared
Emitted when a fog-signal feature is paged out / destroyed. The id matches the one previously passed ...
Definition DtTerrain.h:503
boost::signalslib::signal< void(const makArchives::DtTerrainRecord &) > signal_terrainLoaded
Definition DtTerrain.h:406
boost::signalslib::signal< void() > signal_terrainCleared
Emitted when the terrain is cleared.
Definition DtTerrain.h:442
virtual ~DtTerrainSignaler()
DTOR.
boost::signalslib::signal< void(const DtProp &prop, double x, double y, double z) > signal_propPositionAboutToChange
Emitted when a prop position is about to be changed.
Definition DtTerrain.h:511
boost::signalslib::signal< void(const std::string &) > signal_oceanLayerDeleted
Emitted when a ocean layer is removed.
Definition DtTerrain.h:429
boost::signalslib::signal< void(const DtFeatureLayer &) > signal_featureLayerAdded
Emitted when a DtFeatureLayer is added.
Definition DtTerrain.h:417
Definition DtTexturedQuad.h:25
DtVirtualBaseClass()
Do nothing constructor.
Definition DtAddPropsRuleRecord.h:20
Contains DtCreateSensorFieldOfViewCommand and DtCreateSensorFieldOfViewCommandCreator class declarati...
Definition DtGridLinesSettingsRecord.h:16
unsigned long long DtUniqueID
Definition DtUniqueID.h:19
Per-buoy 3D-audio attenuation envelope for a fog signal request.
Definition DtFogSignalAttenuation.h:38
Wave-action fog signal cadence configuration.
Definition DtFogWaveAction.h:29
Contains DLL export macros.
#define DT_DLL_VRVCORE
Definition vrvCore.h:20