![]() |
Maria GDK 5.0.0.915
Documentation of native code in develop branch
|
#include <MLineOfSightObserver.h>
Public Member Functions | |
| LineOfSightObserver (const std::string &id) | |
| void | setHiddenColor (const STK::Color4i &col) |
| const STK::Color4i & | getHiddenColor () const |
| void | setVisibleColor (const STK::Color4i &col) |
| const STK::Color4i & | getVisibleColor () const |
| void | setNumThreads (int num) |
| Set number of threads to use for parallel LoS calculations. | |
| int | getNumThreads () const |
| Get number of threads to use for parallel LoS calculations. | |
| void | setFillHoles (bool f) |
| Fill out sampling artifact holes (moirè-pattern) by simple neighbor counting. | |
| bool | getFillHoles () const |
| Fill out sampling artifact holes (moirè-pattern) by simple neighbor counting. | |
| void | setEarthCurvatureCorrection (bool e) |
| Include earth curvature in LoS calculations. | |
| bool | getEarthCurvatureCorrection () const |
| Include earth curvature in LoS calculations. | |
Public Member Functions inherited from Maria::ElevationAnalysisObserver | |
| ElevationAnalysisObserver (const std::string &id) | |
| bool | update (const std::shared_ptr< RasterProjector > &vp, std::shared_ptr< Maria::ElevationData > elevation) |
| void | redraw (const STK::Matrix4x4f &mv, STK::ShaderProgram &shader, float opacity) |
| const std::string & | getId () const |
| bool | isBusy () const |
| void | setPosition (const BasicGeoTypes::GeoPos &gp) |
| const BasicGeoTypes::GeoPos & | getPosition () const |
| void | setRadius (double radius) |
| double | getRadius () const |
| void | setInnerRadius (double innerRadius) |
| double | getInnerRadius () const |
| void | setBearing (double bearing) |
| double | getBearing () const |
| void | setSectorSize (int sectorSize) |
| int | getSectorSize () const |
| double | getHeightAboveGround () const |
| void | setHeightAboveGround (double heightAboveGround) |
| double | getTargetHeightAboveGround () const |
| void | setTargetHeightAboveGround (double targetHeightAboveGround) |
| double | getFovTilt () const |
| void | setFovTilt (double tilt) |
| double | getFovHeight () const |
| void | setFovHeight (double height) |
| bool | needsUpdate () const |
| void | forceUpdate () |
| int | getMaxRasterSize () const |
| void | setMaxRasterSize (int maxRasterSize) |
Additional Inherited Members | |
Protected Member Functions inherited from Maria::ElevationAnalysisObserver | |
| bool | calcExtents (const std::shared_ptr< Maria::IProjector > &pj, const BasicGeoTypes::GeoPos &pos, double radius, BasicGeoTypes::Extents &ext) |
| virtual void | updateTexture (std::shared_ptr< RasterProjector > pj, const BasicGeoTypes::Extents &ext, const std::shared_ptr< Maria::ElevationData > &elevation)=0 |
| void | asyncUpdate (std::shared_ptr< RasterProjector > vp, const BasicGeoTypes::GeoPos &gp, double radius, BasicGeoTypes::Extents ext, std::shared_ptr< Maria::ElevationData > elevation) |
| void | setTextureImage (const std::shared_ptr< STK::Image > &img) |
| bool | insideEllipse (double px, double py, double cx, double cy, double rx, double ry, double rx0, double ry0) |
| void | cancelUpdate () |
| void | cancelProcessingThread () |
Protected Attributes inherited from Maria::ElevationAnalysisObserver | |
| std::string | _id |
| BasicGeoTypes::GeoPos | _position |
| BasicGeoTypes::PointDXY | _offset |
| double | _width = 0.0 |
| double | _height = 0.0 |
| double | _radius = 0.0 |
| double | _innerRadius = 0.0 |
| double | _heightAboveGround = 0.0 |
| double | _targetHeightAboveGround = 0.0 |
| double | _bearing = 0.0 |
| int | _sectorSize = 360 |
| double | _fovTilt = 0.0 |
| double | _fovHeight = 0.0 |
| bool | _dirty = false |
| Maria::InterpolationMethod | _interpolationMethod = InterpolationMethod::Bilinear |
| std::mutex | _mutex |
| std::mutex | _texMutex |
| std::shared_ptr< STK::Image > | _texImage |
| std::shared_ptr< STK::Texture > | _texture |
| int | _texWidth = 0 |
| int | _texHeight = 0 |
| std::atomic< bool > | _busy = false |
| std::atomic< bool > | _cancelProcess = false |
| std::shared_ptr< std::thread > | _updateThread |
| uint32_t | _generatedTextureGeneration = 0 |
| uint32_t | _renderedTextureGeneration = 0 |
| BasicGeoTypes::GeoPos | _bmPos |
| double | _bmRadius = 0.0 |
| int | _maxRasterSize = 2048 |
| int | _reqWidth = 0 |
| int | _reqHeight = 0 |
LineOfSightObserver - Short description.