File indexing completed on 2025-01-05 03:59:02
0001 // SPDX-License-Identifier: LGPL-2.1-or-later 0002 // 0003 // SPDX-FileCopyrightText: 2011 Konstantin Oblaukhov <oblaukhov.konstantin@gmail.com> 0004 // 0005 0006 #ifndef MARBLE_GEOPOLYGONGRAPHICSITEM_H 0007 #define MARBLE_GEOPOLYGONGRAPHICSITEM_H 0008 0009 #include "AbstractGeoPolygonGraphicsItem.h" 0010 0011 namespace Marble 0012 { 0013 0014 class GeoDataLinearRing; 0015 class GeoDataPolygon; 0016 class GeoDataBuilding; 0017 0018 class DIGIKAM_EXPORT GeoPolygonGraphicsItem : public AbstractGeoPolygonGraphicsItem 0019 { 0020 public: 0021 static AbstractGeoPolygonGraphicsItem *createGraphicsItem(const GeoDataPlacemark *placemark, const GeoDataPolygon *polygon); 0022 static AbstractGeoPolygonGraphicsItem *createGraphicsItem(const GeoDataPlacemark *placemark, const GeoDataLinearRing *ring); 0023 static AbstractGeoPolygonGraphicsItem *createGraphicsItem(const GeoDataPlacemark *placemark, const GeoDataBuilding *building); 0024 0025 explicit GeoPolygonGraphicsItem(const GeoDataPlacemark *placemark, const GeoDataPolygon *polygon); 0026 explicit GeoPolygonGraphicsItem(const GeoDataPlacemark *placemark, const GeoDataLinearRing *ring); 0027 }; 0028 0029 } 0030 0031 #endif