![]() |
Maria GDK 5.0.0.738
Documentation of native code in develop branch
|
#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::OrientedBoundingBox2f & | getOrientedBoundingBox () const |
void | addToGraphicsRender (STK::GraphicsRender2D &render) |
void | removeFromGraphicsRender (STK::GraphicsRender2D &render) |
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.
|
inline |
Add a renderitem to the GeoRender.
renderItem | item to add |
declutter | if the object should be decluttered |