libosmscout 0.1
Loading...
Searching...
No Matches
osmscout::MapPainter::DatabaseCacheEntry Class Reference

#include <MapPainter.h>

Public Member Functions

 DatabaseCacheEntry (const TypeConfig &typeConfig, const StyleConfigRef &styleConfig, bool basemap)

Public Attributes

AccessFeatureValueReader accessReader
 Value reader for the 'lanes' feature.
AddressFeatureValueReader addressReader
 Value reader for the 'address' feature.
double areaReachPixel {0.0}
 Widest reach of an area border of this database, as half the width plus the offset it is drawn at [pixels].
bool basemap {false}
ColorFeatureValueReader colorReader
 Value reader for the 'color' feature.
LanesFeatureValueReader lanesReader
 Value reader for the 'lanes' feature.
LayerFeatureValueReader layerReader
 Value reader for the 'layer' feature.
NameAltFeatureValueReader nameAltReader
 Value reader for the 'alternative name' feature.
NameFeatureValueReader nameReader
 Attribute readers.
double pointReachPixel {0.0}
 Widest icon and symbol extent a point object of this database can draw [pixels].
RefFeatureValueReader refReader
 Value reader for the 'ref' feature.
StyleConfigRef styleConfig
const TypeConfig * typeConfigPtr
 pointer to type config, used just for cache purposes, not owned
VisibilityBounds visibilityBounds
 Conservative visual reach of the styles of this database for the level of the current frame, used for the early rejection of objects that cannot be visible.
double wayReachPixel {0.0}
 Widest line reach a way of this database can draw [pixels].
WidthFeatureValueReader widthReader
 Value reader for the 'width' feature.

Constructor & Destructor Documentation

◆ DatabaseCacheEntry()

osmscout::MapPainter::DatabaseCacheEntry::DatabaseCacheEntry ( const TypeConfig & typeConfig,
const StyleConfigRef & styleConfig,
bool basemap )
explicit

Member Data Documentation

◆ accessReader

AccessFeatureValueReader osmscout::MapPainter::DatabaseCacheEntry::accessReader

Value reader for the 'lanes' feature.

Referenced by DatabaseCacheEntry().

◆ addressReader

AddressFeatureValueReader osmscout::MapPainter::DatabaseCacheEntry::addressReader

Value reader for the 'address' feature.

Referenced by DatabaseCacheEntry().

◆ areaReachPixel

double osmscout::MapPainter::DatabaseCacheEntry::areaReachPixel {0.0}

Widest reach of an area border of this database, as half the width plus the offset it is drawn at [pixels].

◆ basemap

bool osmscout::MapPainter::DatabaseCacheEntry::basemap {false}

Referenced by DatabaseCacheEntry().

◆ colorReader

ColorFeatureValueReader osmscout::MapPainter::DatabaseCacheEntry::colorReader

Value reader for the 'color' feature.

Referenced by DatabaseCacheEntry().

◆ lanesReader

LanesFeatureValueReader osmscout::MapPainter::DatabaseCacheEntry::lanesReader

Value reader for the 'lanes' feature.

Referenced by DatabaseCacheEntry().

◆ layerReader

LayerFeatureValueReader osmscout::MapPainter::DatabaseCacheEntry::layerReader

Value reader for the 'layer' feature.

Referenced by DatabaseCacheEntry().

◆ nameAltReader

NameAltFeatureValueReader osmscout::MapPainter::DatabaseCacheEntry::nameAltReader

Value reader for the 'alternative name' feature.

Referenced by DatabaseCacheEntry().

◆ nameReader

NameFeatureValueReader osmscout::MapPainter::DatabaseCacheEntry::nameReader

Attribute readers.

Value reader for the 'name' feature

Referenced by DatabaseCacheEntry().

◆ pointReachPixel

double osmscout::MapPainter::DatabaseCacheEntry::pointReachPixel {0.0}

Widest icon and symbol extent a point object of this database can draw [pixels].

◆ refReader

RefFeatureValueReader osmscout::MapPainter::DatabaseCacheEntry::refReader

Value reader for the 'ref' feature.

Referenced by DatabaseCacheEntry().

◆ styleConfig

StyleConfigRef osmscout::MapPainter::DatabaseCacheEntry::styleConfig

Referenced by DatabaseCacheEntry().

◆ typeConfigPtr

const TypeConfig* osmscout::MapPainter::DatabaseCacheEntry::typeConfigPtr

pointer to type config, used just for cache purposes, not owned

Referenced by DatabaseCacheEntry().

◆ visibilityBounds

VisibilityBounds osmscout::MapPainter::DatabaseCacheEntry::visibilityBounds

Conservative visual reach of the styles of this database for the level of the current frame, used for the early rejection of objects that cannot be visible.

Style reach of the level of the current frame

◆ wayReachPixel

double osmscout::MapPainter::DatabaseCacheEntry::wayReachPixel {0.0}

Widest line reach a way of this database can draw [pixels].

◆ widthReader

WidthFeatureValueReader osmscout::MapPainter::DatabaseCacheEntry::widthReader

Value reader for the 'width' feature.

Referenced by DatabaseCacheEntry().


The documentation for this class was generated from the following files: