|
Cogs.Core
|
Public Member Functions | |
| FloatRasterSource (Context *context) | |
| bool | init (const FloatConfig &conf, std::unique_ptr< ICache > &&icache) |
| void | getConfig (FloatConfig &conf) const |
Public Member Functions inherited from Cogs::Core::TerrainProvider::BaseRasterSource | |
| BaseRasterSource (Context *context) | |
| Cogs::RasterSourceParameters | getParameters () const override |
| const CoordSys & | getCoordSys () const |
| ErrorCode | getErrorCode () const final |
| void | setErrorCode (ErrorCode newErrorCode) |
Public Member Functions inherited from Cogs::Core::TerrainProvider::IRasterSource | |
| virtual Cogs::RasterSourceParameters | getParameters () const =0 |
| virtual ErrorCode | getErrorCode () const =0 |
| uint64_t | id () const |
Protected Member Functions | |
| void | requestTile (Request *req) final |
Protected Member Functions inherited from Cogs::Core::TerrainProvider::BaseRasterSource | |
| bool | init (const BaseConfig &conf, std::unique_ptr< ICache > &&icache) |
| void | getConfig (BaseConfig &conf) const |
| void | addTile (const Cogs::Memory::MemoryBuffer &contents, MimeType kind, Request *req, StringView debugLog) |
| void | addTileFailure (Request *req, StringView debugLog) |
| virtual void | requestTile (Request *req)=0 |
Protected Attributes | |
| float | value = 0.f |
Protected Attributes inherited from Cogs::Core::TerrainProvider::BaseRasterSource | |
| Context * | context = nullptr |
| Extent | extent |
| Tiling | tiling |
| CoordSys | coordsys |
| TextureFormat | textureFormat = TextureFormat::Unknown |
| StringRef | name = NoString |
| float | noDataValue = std::numeric_limits<float>::quiet_NaN() |
| bool | emitDebugLog = true |
Additional Inherited Members | |
Public Types inherited from Cogs::Core::TerrainProvider::IRasterSource | |
| enum struct | ErrorCode { NoError , Done , FailedToOpenDiskCache , FailedToCreateDiskCache , MismatchedDiskCache , NoHTTPService } |
Definition at line 14 of file FloatRasterSource.h.
|
inline |
Definition at line 17 of file FloatRasterSource.h.
| Cogs::Core::TerrainProvider::FloatRasterSource::~FloatRasterSource | ( | ) |
Definition at line 10 of file FloatRasterSource.cpp.
| void Cogs::Core::TerrainProvider::FloatRasterSource::getConfig | ( | FloatConfig & | conf | ) | const |
Definition at line 30 of file FloatRasterSource.cpp.
| bool Cogs::Core::TerrainProvider::FloatRasterSource::init | ( | const FloatConfig & | conf, |
| std::unique_ptr< ICache > && | icache | ||
| ) |
Definition at line 15 of file FloatRasterSource.cpp.
|
finalprotectedvirtual |
Implements Cogs::Core::TerrainProvider::BaseRasterSource.
Definition at line 36 of file FloatRasterSource.cpp.
|
protected |
Definition at line 26 of file FloatRasterSource.h.