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

#include <MSymbolLabelGenerator.h>

Inheritance diagram for Maria::SymbolLabelGenerator:
Maria::DrawObjectRenderGenerator

Public Member Functions

 SymbolLabelGenerator (const MariaProtobuf::ParameterCollection &params)
 
virtual std::shared_ptr< GeoRenderItemcreateRenderItem (const DrawObjectData &drawObject, const GeneratorArguments &args) override
 
- Public Member Functions inherited from Maria::DrawObjectRenderGenerator
 DrawObjectRenderGenerator (const MariaProtobuf::ParameterCollection &parameters)
 
virtual std::shared_ptr< GeoRenderItemcreateRenderItem (const DrawObjectData &drawObject, const GeneratorArguments &args)=0
 
virtual BasicGeoTypes::GeoRect calculateGeoBounds (const DrawObjectData &drawObject) const
 
void setValue (const std::string &paramPath, const std::string &value)
 
bool hasValue (const std::string &paramPath) const
 
bool getValue (const std::string &paramPath, bool defaultValue) const
 
int getValue (const std::string &paramPath, int defaultValue) const
 
double getValue (const std::string &paramPath, double defaultValue) const
 
std::string getValue (const std::string &paramPath, const std::string &defaultValue) const
 
std::string getValue (const std::string &paramPath, const char *defaultValue) const
 

Static Public Attributes

static constexpr const char * GeneratorName = "SymbolLabels"
 

Detailed Description

SymbolLabelGenerator - This generator is simply an interface to the type definitiion renderer parameters. No actual GeoRenderItem is made, since the point labels are rendered in one operation by the SymbolLabelRenderer class.

Member Function Documentation

◆ createRenderItem()

std::shared_ptr< GeoRenderItem > Maria::SymbolLabelGenerator::createRenderItem ( const DrawObjectData drawObject,
const GeneratorArguments args 
)
overridevirtual

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