Maria GDK 5.0.0.759
Documentation of native code in develop branch
Loading...
Searching...
No Matches
Maria::ViewportCollisionGrid Class Reference

#include <MViewportCollisionGrid.h>

Classes

struct  CollisionLayer
 

Public Member Functions

void update (const std::shared_ptr< RasterProjector > &rp)
 
void addItemCollection (const std::shared_ptr< ICollisionItemCollection > &items)
 
void updateDebugRender (STK::GraphicsRender2D &gfx)
 
bool needsUpdate () const
 

Protected Member Functions

bool viewportDirty (const RasterProjector &rp)
 
bool needsUpdate (const RasterProjector &rp)
 
void setCurrentViewport (const RasterProjector &rp)
 
void internalUpdate ()
 
void cancelCurrentUpdate ()
 

Protected Attributes

std::shared_ptr< STK::GridIndex< CollisionItem > > _gridIndex
 
std::vector< CollisionLayer_collisionLayers
 
BasicGeoTypes::GeoPos _currCenterGeo
 
double _currPixelSize = 1.0
 
std::atomic< bool > _needsUpdate = false
 
std::mutex _mutex
 
std::atomic< bool > _cancelUpdate
 
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
 

Detailed Description

ViewportCollisionGrid - Short description


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