libosmscout 1.1.1
Loading...
Searching...
No Matches
osmscout::OverlayArea Class Reference

#include <libosmscout-client-qt/include/osmscoutclientqt/OverlayObject.h>

Inheritance diagram for osmscout::OverlayArea:
Collaboration diagram for osmscout::OverlayArea:

Public Member Functions

 OverlayArea (QObject *parent=Q_NULLPTR)
 OverlayArea (const std::vector< osmscout::Point > &nodes, QString typeName="_route", QObject *parent=Q_NULLPTR)
 ~OverlayArea () override
osmscout::RefType getObjectType () const override
bool toArea (osmscout::AreaRef &area, const osmscout::TypeConfig &typeConfig) const
Public Member Functions inherited from osmscout::OverlayObject
 OverlayObject (QObject *parent=Q_NULLPTR)
 OverlayObject (const std::vector< osmscout::Point > &nodes, QString typeName="_route", QObject *parent=Q_NULLPTR)
 OverlayObject (const OverlayObject &o)
 ~OverlayObject () override
QString getObjectTypeStr () const
QString getTypeName () const
void setTypeName (const QString &name)
size_t getSize ()
qint8 getLayer () const
void setLayer (qint8 l)
QString getName () const
void setName (const QString &n)
QString getColor () const
void setColor (const QString &c)
void setColorValue (Color &c)
LocationEntrygetBBoxAsLocation () const
osmscout::GeoBox boundingBox () const
std::vector< osmscout::GeoCoord > getCoords () const
std::vector< osmscout::Point > getPoints () const

Additional Inherited Members

Public Slots inherited from osmscout::OverlayObject
void clear ()
void addPoint (double lat, double lon)
Signals inherited from osmscout::OverlayObject
void bboxChanged ()
Protected Member Functions inherited from osmscout::OverlayObject
void setupFeatures (const osmscout::TypeInfoRef &type, osmscout::FeatureValueBuffer &features) const
osmscout::GeoBox boundingBoxInternal () const
std::vector< SegmentGeoBoxsegments () const
Protected Attributes inherited from osmscout::OverlayObject
QString typeName
std::vector< osmscout::Point > nodes
std::vector< SegmentGeoBoxsegmentsBoxes
osmscout::GeoBox box
int8_t layer {std::numeric_limits<int8_t>::max()}
QMutex lock
std::optional< osmscout::Color > colorValue
Properties inherited from osmscout::OverlayObject
QString type
int size
QString objectType
qint8 layer
QString name
QString color
LocationEntryboundingBox

Constructor & Destructor Documentation

◆ OverlayArea() [1/2]

osmscout::OverlayArea::OverlayArea ( QObject * parent = Q_NULLPTR)
explicit

◆ OverlayArea() [2/2]

osmscout::OverlayArea::OverlayArea ( const std::vector< osmscout::Point > & nodes,
QString typeName = "_route",
QObject * parent = Q_NULLPTR )
explicit

◆ ~OverlayArea()

osmscout::OverlayArea::~OverlayArea ( )
override

Member Function Documentation

◆ getObjectType()

osmscout::RefType osmscout::OverlayArea::getObjectType ( ) const
inlineoverridevirtual

Reimplemented from osmscout::OverlayObject.

◆ toArea()

bool osmscout::OverlayArea::toArea ( osmscout::AreaRef & area,
const osmscout::TypeConfig & typeConfig ) const

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