Maria GDK 5.0.0.738
Documentation of native code in develop branch
Loading...
Searching...
No Matches
Maria3D::PointSymbolUpdater Class Reference

#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::StyledPointSymbolStoreGetSymbolStore () 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
 

Detailed Description

PointSymbolUpdater - Short description. Detailed description.

Member Function Documentation

◆ SetForceUpdates()

void Maria3D::PointSymbolUpdater::SetForceUpdates ( int  forceUpdates)
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.

◆ Update()

void PointSymbolUpdater::Update ( const STK::Camera cam,
const STK::Viewport vp 
)

Update point symbols according to viewport and camera parameters.


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