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

#include <MGeoRenderItem.h>

Public Member Functions

void addRenderItem (const std::shared_ptr< STK::RenderItem2D > &renderItem, bool declutter=false)
 Add a renderitem to the GeoRender.
 
int getRenderItems (std::vector< std::shared_ptr< STK::RenderItem2D > > &renderItems) const
 
int getDeclutterItems (std::vector< std::shared_ptr< STK::RenderItem2D > > &renderItems) const
 
void setOrientedBoundingBox (const STK::OrientedBoundingBox2f &obb)
 
const STK::OrientedBoundingBox2fgetOrientedBoundingBox () const
 
void addToGraphicsRender (STK::GraphicsRender2D &render)
 
void removeFromGraphicsRender (STK::GraphicsRender2D &render)
 

Detailed Description

GeoRenderItem - Geographically placed render item corresponding to a draw object.

This item contains viewport oriented graphics items for all the graphics relevant for one draw object. This may include both STK graphics primitives for text and vector graphics, as well as point symbol entries in the point symbol renderer.

The render items are created in pixel coordinates for the current viewport and a local affine transform is created during rendering to transform the item from the creation viewport to the current rendering viewport.

Member Function Documentation

◆ addRenderItem()

void Maria::GeoRenderItem::addRenderItem ( const std::shared_ptr< STK::RenderItem2D > &  renderItem,
bool  declutter = false 
)
inline

Add a renderitem to the GeoRender.

Parameters
renderItemitem to add
declutterif the object should be decluttered

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