![]() |
VR-Forces Developer's Guide
|
FeatureSource that reads procedural trees feature tiles.

Classes | |
| class | Options |
Public Member Functions | |
| META_Layer (osgEarth, ProceduralTreesFeatureSource, Options, TiledFeatureSource, proceduraltreesfeatures) | |
| Status | insert (const TileKey &key, const FeatureList &features, bool overwrite) override |
| Status | openImplementation () override |
| bool | isWritable () const override |
Static Public Member Functions | |
| static void | setTreeMap (const DtOsgEarthVegetationLayerSourcePager::DtTreeMap &treeMap) |
Protected Member Functions | |
| void | init () override |
| void | addedToMap (const Map *) override |
| FeatureCursor * | createFeatureCursorImplementation (const Query &query, ProgressCallback *progress) const override |
| virtual | ~ProceduralTreesFeatureSource () |
Protected Attributes | |
| osg::ref_ptr < osgEarth::Procedural::VegetationLayer > | myVegLayer |
| const Map * | myMap = nullptr |
Static Protected Attributes | |
| static DtOsgEarthVegetationLayerSourcePager::DtTreeMap | myTreeMap |
|
inlineprotectedvirtual |
| osgEarth::ProceduralTreesFeatureSource::META_Layer | ( | osgEarth | , |
| ProceduralTreesFeatureSource | , | ||
| Options | , | ||
| TiledFeatureSource | , | ||
| proceduraltreesfeatures | |||
| ) |
|
override |
Inserts a full tile of features to the feature source.
|
override |
Layer.
Open the source
|
overrideprotected |
Initialize the layer.
|
overrideprotected |
Called when the layer is added to a map.
|
overrideprotected |
Return the features if exist for the given query (tile key)
|
override |
FeatureSource.
|
inlinestatic |
osgearth procedural vegetation layer will generate the tree map (to retrieve trunk width)
|
staticprotected |
hold a copy of the tree map to avoid having to access the vegetation layer for it, which is a bit expensive. This is used by the feature cursor to determine if a tile has any trees in it.
|
protected |
Used to extract procedural trees/shrub/ect.
|
protected |
vegetation layer of the pager