|
| OpenGLProjection ()=default |
|
| OpenGLProjection (const OpenGLProjection &)=default |
|
| OpenGLProjection (OpenGLProjection &&)=default |
|
OpenGLProjection & | operator= (const OpenGLProjection &)=default |
|
OpenGLProjection & | operator= (OpenGLProjection &&)=default |
|
void | SetShaderUniforms (GLuint shaderProgram) const |
| Setup projection shader uniforms. More...
|
|
| ~OpenGLProjection () override=default |
|
bool | CanBatch () const override |
|
bool | GeoToPixel (const GeoCoord &coord, Vertex2D &pixel) const override |
| Converts a geo coordinate to a pixel coordinate. More...
|
|
bool | IsLinearInterpolationEnabled () const |
|
bool | IsValid () const override |
|
bool | IsValidFor (const GeoCoord &coord) const override |
| Return true if given coordinate is valid for this projection. More...
|
|
| MercatorProjection ()=default |
|
| MercatorProjection (const MercatorProjection &)=default |
|
| MercatorProjection (MercatorProjection &&)=default |
|
bool | Move (double horizPixel, double vertPixel) |
|
bool | MoveDown (double pixel) |
|
bool | MoveLeft (double pixel) |
|
bool | MoveRight (double pixel) |
|
bool | MoveUp (double pixel) |
|
MercatorProjection & | operator= (const MercatorProjection &)=default |
|
MercatorProjection & | operator= (MercatorProjection &&)=default |
|
bool | PixelToGeo (double x, double y, GeoCoord &coord) const override |
| Converts a pixel coordinate to a geo coordinate. More...
|
|
bool | Set (const GeoCoord &coord, const Magnification &magnification, double dpi, size_t width, size_t height) |
|
bool | Set (const GeoCoord &coord, const Magnification &magnification, size_t width, size_t height) |
|
bool | Set (const GeoCoord &coord, double angle, const Magnification &magnification, double dpi, size_t width, size_t height) |
| Setup projection parameters. More...
|
|
bool | Set (const GeoCoord &coord, double angle, const Magnification &magnification, size_t width, size_t height) |
|
void | SetLinearInterpolationUsage (bool useLinearInterpolation) |
| Switch to enable/disable linear interpolation of latitude to pixel computation. More...
|
|
| ~MercatorProjection () override=default |
|
bool | BoundingBoxToPixel (const GeoBox &boundingBox, ScreenBox &screenBox) const |
| Converts a valid GeoBox to its on screen pixel coordinates. More...
|
|
double | ConvertPixelToWidth (double pixel) const |
| Convert a width in pixel into the equivalent mm size based on the given DPI. More...
|
|
double | ConvertWidthToPixel (double width) const |
| Convert a width in mm into the equivalent pixel size based on the given DPI. More...
|
|
double | GetAngle () const |
| Returns the angle in radians ([0..2*PI[) of the display in relation to the north. More...
|
|
GeoCoord | GetCenter () const |
|
GeoBox | GetDimensions () const |
|
double | GetDPI () const |
| Return the DPI as part of the projection. More...
|
|
size_t | GetHeight () const |
| Returns the height of the screen. More...
|
|
Magnification | GetMagnification () const |
| Return the magnification as part of the projection. More...
|
|
double | GetMeterInMM () const |
| Returns the number of on screen millimeters for one meter on the ground. More...
|
|
double | GetMeterInPixel () const |
| Returns the number of on screen pixel for one meter on the ground. More...
|
|
double | GetPixelSize () const |
| Returns the size of a pixel in meter. More...
|
|
ScreenBox | GetScreenBox () const |
| Return a ScreenBox instance for the screen. More...
|
|
size_t | GetWidth () const |
| Returns the width of the screen. More...
|
|
Projection & | operator= (const Projection &)=default |
|
Projection & | operator= (Projection &&)=default |
|
| Projection ()=default |
|
| Projection (const Projection &)=default |
|
| Projection (Projection &&)=default |
|
virtual | ~Projection ()=default |
|