|
| | 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.
|
| |
| | ~OpenGLProjection () override=default |
| |
| bool | CanBatch () const override |
| |
| bool | GeoToPixel (const GeoCoord &coord, Vertex2D &pixel) const override |
| | Converts a geo coordinate to a pixel coordinate.
|
| |
| bool | IsLinearInterpolationEnabled () const |
| |
| bool | IsValid () const override |
| |
| bool | IsValidFor (const GeoCoord &coord) const override |
| | Return true if given coordinate is valid for this projection.
|
| |
| | 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.
|
| |
| 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.
|
| |
| 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.
|
| |
| | ~MercatorProjection () override=default |
| |
| bool | BoundingBoxToPixel (const GeoBox &boundingBox, ScreenBox &screenBox) const |
| | Converts a valid GeoBox to its on screen pixel coordinates.
|
| |
| double | ConvertPixelToWidth (double pixel) const |
| | Convert a width in pixel into the equivalent mm size based on the given DPI.
|
| |
| double | ConvertWidthToPixel (double width) const |
| | Convert a width in mm into the equivalent pixel size based on the given DPI.
|
| |
| double | GetAngle () const |
| | Returns the angle in radians ([0..2*PI[) of the display in relation to the north.
|
| |
| GeoCoord | GetCenter () const |
| |
| GeoBox | GetDimensions () const |
| |
| double | GetDPI () const |
| | Return the DPI as part of the projection.
|
| |
| size_t | GetHeight () const |
| | Returns the height of the screen.
|
| |
| Magnification | GetMagnification () const |
| | Return the magnification as part of the projection.
|
| |
| double | GetMeterInMM () const |
| | Returns the number of on screen millimeters for one meter on the ground.
|
| |
| double | GetMeterInPixel () const |
| | Returns the number of on screen pixel for one meter on the ground.
|
| |
| double | GetPixelSize () const |
| | Returns the size of a pixel in meter.
|
| |
| ScreenBox | GetScreenBox () const |
| | Return a ScreenBox instance for the screen.
|
| |
| size_t | GetWidth () const |
| | Returns the width of the screen.
|
| |
| Projection & | operator= (const Projection &)=default |
| |
| Projection & | operator= (Projection &&)=default |
| |
| | Projection ()=default |
| |
| | Projection (const Projection &)=default |
| |
| | Projection (Projection &&)=default |
| |
| virtual | ~Projection ()=default |
| |