15 #include <osgEarth/FeatureSource>
16 #include <osgEarth/Feature>
17 #include <osgEarth/Threading>
19 #include <unordered_map>
23 class LandCoverDictionary;
47 virtual void init()
override;
50 virtual osgEarth::Status openImplementation()
override;
53 virtual osgEarth::FeatureCursor* createFeatureCursorImplementation(
54 const osgEarth::Query& query,
55 osgEarth::ProgressCallback* progress)
const override;
65 void setFeatures(
const osgEarth::FeatureList& features);
69 virtual const osgEarth::GeoExtent& getExtent()
const override;
72 virtual bool insertFeature(osgEarth::Feature* feature)
override;
78 virtual bool deleteAllFeatures();
81 virtual bool isWritable()
const override;
89 void recalculateExtent();
DT_DLL_EXAMPLESCENEROOTPLUGIN void init(DtDe &anIG)
unsigned int FeatureID
Definition: DtFeature.h:21
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
osgEarth::Threading::Mutex myMutex
Definition: DtOsgEarthMemoryFeatureSource.h:84
void fromConfig(const osgEarth::Config &)
Definition: DtOsgEarthMemoryFeatureSource.h:36
std::atomic_int myFidgen
Definition: DtOsgEarthMemoryFeatureSource.h:87
OpenThreads::Mutex Mutex
Definition: DtOsgThreadingUtils.h:12
osgEarth::FeatureList myFeatures
Definition: DtOsgEarthMemoryFeatureSource.h:86
Definition: DtOsgEarthMemoryFeatureSource.h:34
osgEarth::GeoExtent myExtent
Definition: DtOsgEarthMemoryFeatureSource.h:85
Contains DLL export macros.
Custom feature source that stores features in memory. Note: this FS will not serialize.
Definition: DtOsgEarthMemoryFeatureSource.h:31