Cogs.Core
Public Member Functions | Private Attributes | List of all members
Cogs::RasterLevel Class Reference

Public Member Functions

 RasterLevel (RasterSource *source, int level, GeodeticExtent extent, float noData, int longitudePosts, int latitudePosts, int longitudePostsPerTile, int latitudePostsPerTile, double postDeltaLongitude, double postDeltaLatitude)
 
 RasterLevel (const RasterLevel &rasterLevel)=default
 
RasterSourcegetSource (void) const
 
int getLevel (void) const
 
const GeodeticExtentgetGeoExtent (void) const
 
float getNoData () const
 
int getLongitudePosts (void) const
 
int getLatitudePosts (void) const
 
int getLongitudePostsPerTile (void) const
 
int getLatitudePostsPerTile (void) const
 
double getPostDeltaLongitude (void) const
 
double getPostDeltaLatitude (void) const
 
double longitudeToIndex (double longitude) const
 
double latitudeToIndex (double latitude) const
 
double indexToLongitude (int longitudeIndex) const
 
double indexToLatitude (int latitudeIndex) const
 
void getTilesInExtent (const Extent &extent, std::vector< RasterTileIdentifier > &ids, std::vector< Extent > &extents) const
 
void getTilesInExtent (const Extent &extent, std::vector< RasterTileRegion > &results) const
 
bool isTileIndexValid (int x, int y) const
 
const ExtentgetIndexExtent () const
 

Private Attributes

RasterSourcesource
 
int level
 
GeodeticExtent extent
 
Extent indexExtent
 
float noData
 
int longitudePosts
 
int latitudePosts
 
int longitudePostsPerTile
 
int latitudePostsPerTile
 
double postDeltaLongitude
 
double postDeltaLatitude
 

Detailed Description

Definition at line 14 of file RasterLevel.h.

Constructor & Destructor Documentation

◆ RasterLevel()

Cogs::RasterLevel::RasterLevel ( RasterSource source,
int  level,
GeodeticExtent  extent,
float  noData,
int  longitudePosts,
int  latitudePosts,
int  longitudePostsPerTile,
int  latitudePostsPerTile,
double  postDeltaLongitude,
double  postDeltaLatitude 
)

Definition at line 7 of file RasterLevel.cpp.

Member Function Documentation

◆ getGeoExtent()

const GeodeticExtent & Cogs::RasterLevel::getGeoExtent ( void  ) const
inline

Definition at line 33 of file RasterLevel.h.

◆ getIndexExtent()

const Extent & Cogs::RasterLevel::getIndexExtent ( ) const
inline

Definition at line 61 of file RasterLevel.h.

◆ getLatitudePosts()

int Cogs::RasterLevel::getLatitudePosts ( void  ) const
inline

Definition at line 38 of file RasterLevel.h.

◆ getLatitudePostsPerTile()

int Cogs::RasterLevel::getLatitudePostsPerTile ( void  ) const
inline

Definition at line 40 of file RasterLevel.h.

◆ getLevel()

int Cogs::RasterLevel::getLevel ( void  ) const
inline

Definition at line 31 of file RasterLevel.h.

◆ getLongitudePosts()

int Cogs::RasterLevel::getLongitudePosts ( void  ) const
inline

Definition at line 37 of file RasterLevel.h.

◆ getLongitudePostsPerTile()

int Cogs::RasterLevel::getLongitudePostsPerTile ( void  ) const
inline

Definition at line 39 of file RasterLevel.h.

◆ getNoData()

float Cogs::RasterLevel::getNoData ( ) const
inline

Definition at line 35 of file RasterLevel.h.

◆ getPostDeltaLatitude()

double Cogs::RasterLevel::getPostDeltaLatitude ( void  ) const
inline

Definition at line 43 of file RasterLevel.h.

◆ getPostDeltaLongitude()

double Cogs::RasterLevel::getPostDeltaLongitude ( void  ) const
inline

Definition at line 42 of file RasterLevel.h.

◆ getSource()

RasterSource * Cogs::RasterLevel::getSource ( void  ) const
inline

Definition at line 30 of file RasterLevel.h.

◆ getTilesInExtent() [1/2]

void Cogs::RasterLevel::getTilesInExtent ( const Extent extent,
std::vector< RasterTileIdentifier > &  ids,
std::vector< Extent > &  extents 
) const

Definition at line 72 of file RasterLevel.cpp.

◆ getTilesInExtent() [2/2]

void Cogs::RasterLevel::getTilesInExtent ( const Extent extent,
std::vector< RasterTileRegion > &  results 
) const

Definition at line 51 of file RasterLevel.cpp.

◆ indexToLatitude()

double Cogs::RasterLevel::indexToLatitude ( int  latitudeIndex) const

Definition at line 46 of file RasterLevel.cpp.

◆ indexToLongitude()

double Cogs::RasterLevel::indexToLongitude ( int  longitudeIndex) const

Definition at line 41 of file RasterLevel.cpp.

◆ isTileIndexValid()

bool Cogs::RasterLevel::isTileIndexValid ( int  x,
int  y 
) const
inline

Definition at line 53 of file RasterLevel.h.

◆ latitudeToIndex()

double Cogs::RasterLevel::latitudeToIndex ( double  latitude) const

Definition at line 36 of file RasterLevel.cpp.

◆ longitudeToIndex()

double Cogs::RasterLevel::longitudeToIndex ( double  longitude) const

Definition at line 31 of file RasterLevel.cpp.

Member Data Documentation

◆ extent

GeodeticExtent Cogs::RasterLevel::extent
private

Definition at line 66 of file RasterLevel.h.

◆ indexExtent

Extent Cogs::RasterLevel::indexExtent
private

Definition at line 67 of file RasterLevel.h.

◆ latitudePosts

int Cogs::RasterLevel::latitudePosts
private

Definition at line 71 of file RasterLevel.h.

◆ latitudePostsPerTile

int Cogs::RasterLevel::latitudePostsPerTile
private

Definition at line 74 of file RasterLevel.h.

◆ level

int Cogs::RasterLevel::level
private

Definition at line 65 of file RasterLevel.h.

◆ longitudePosts

int Cogs::RasterLevel::longitudePosts
private

Definition at line 70 of file RasterLevel.h.

◆ longitudePostsPerTile

int Cogs::RasterLevel::longitudePostsPerTile
private

Definition at line 73 of file RasterLevel.h.

◆ noData

float Cogs::RasterLevel::noData
private

Definition at line 68 of file RasterLevel.h.

◆ postDeltaLatitude

double Cogs::RasterLevel::postDeltaLatitude
private

Definition at line 77 of file RasterLevel.h.

◆ postDeltaLongitude

double Cogs::RasterLevel::postDeltaLongitude
private

Definition at line 76 of file RasterLevel.h.

◆ source

RasterSource* Cogs::RasterLevel::source
private

Definition at line 64 of file RasterLevel.h.


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