#include <MViewportCollisionGrid.h>
|
|
bool | viewportDirty (const RasterProjector &rp) |
| |
|
bool | needsUpdate (const RasterProjector &rp) |
| |
|
void | setCurrentViewport (const RasterProjector &rp) |
| |
|
void | internalUpdate () |
| | Worker thread, only one at a time, calculates visibility of items in current viewport and updates visibility items in collision layers. This will be called from update() when an update is needed, and will run in a separate thread. It will check the _cancelUpdate flag regularly to stop if needed.
|
| |
|
void | cancelCurrentUpdate () |
| |
|
|
std::vector< std::shared_ptr< CollisionLayer > > | _collisionLayers |
| |
|
std::atomic< bool > | _started = false |
| |
|
BasicGeoTypes::GeoPos | _currCenterGeo |
| |
|
double | _currPixelSize = 1.0 |
| |
|
std::atomic< bool > | _needsUpdate = false |
| |
|
std::atomic< bool > | _cancelUpdate = false |
| |
|
std::shared_ptr< std::thread > | _updateThread |
| |
|
std::shared_ptr< RasterProjector > | _currentViewport |
| |
|
std::mutex | _dbgMutex |
| |
|
std::vector< STK::Box2< float > > | _dbgVisibleBoxes |
| |
|
std::vector< STK::Box2< float > > | _dbgHiddenBoxes |
| |
The documentation for this class was generated from the following files:
- Native/MariaNative/MGeoLayers/MViewportCollisionGrid.h
- Native/MariaNative/MGeoLayers/MViewportCollisionGrid.cpp