![]() |
Maria GDK 5.0.0.738
Documentation of native code in develop branch
|
#include <M3DPointSymbolUpdater.h>
Public Member Functions | |
PointSymbolUpdater (std::shared_ptr< Maria3D::StyledPointSymbolStore > pointSymbolStore, std::shared_ptr< Maria3D::PointSymbolRenderer > pointSymbolRenderer, int forceUpdates) | |
const std::string & | GetListId () const |
std::shared_ptr< Maria3D::StyledPointSymbolStore > | GetSymbolStore () const |
void | Update (const STK::Camera &cam, const STK::Viewport &vp) |
int | GetForceUpdates () const |
void | SetForceUpdates (int forceUpdates) |
bool | NeedsRedraw () const |
Protected Attributes | |
std::shared_ptr< Maria3D::StyledPointSymbolStore > | _pointSymbolStore |
std::shared_ptr< Maria3D::PointSymbolRenderer > | _pointSymbolRenderer |
long | _lastUpdateGeneration |
int | _forceUpdates |
PointSymbolUpdater - Short description. Detailed description.
|
inline |
Force update tracks each frame. This parameter indicates a number of tracks to update each frame, regardless of track server updates. This is typically useful for track lists with elevation calculations, but with static objects. This is to ensure that elevations are updated when the camera moves, since the terrain surface changes with camera distance. Also useful for periodically updating styling.
void PointSymbolUpdater::Update | ( | const STK::Camera & | cam, |
const STK::Viewport & | vp | ||
) |
Update point symbols according to viewport and camera parameters.