Changeset View
Changeset View
Standalone View
Standalone View
src/lib/marble/geodata/graphicsitem/GeoPolygonGraphicsItem.h
Show All 12 Lines | |||||
13 | 13 | | |||
14 | #include "AbstractGeoPolygonGraphicsItem.h" | 14 | #include "AbstractGeoPolygonGraphicsItem.h" | ||
15 | 15 | | |||
16 | namespace Marble | 16 | namespace Marble | ||
17 | { | 17 | { | ||
18 | 18 | | |||
19 | class GeoDataLinearRing; | 19 | class GeoDataLinearRing; | ||
20 | class GeoDataPolygon; | 20 | class GeoDataPolygon; | ||
21 | class GeoDataBuilding; | ||||
21 | 22 | | |||
22 | class MARBLE_EXPORT GeoPolygonGraphicsItem : public AbstractGeoPolygonGraphicsItem | 23 | class MARBLE_EXPORT GeoPolygonGraphicsItem : public AbstractGeoPolygonGraphicsItem | ||
23 | { | 24 | { | ||
24 | public: | 25 | public: | ||
25 | static AbstractGeoPolygonGraphicsItem *createGraphicsItem(const GeoDataPlacemark *placemark, const GeoDataPolygon *polygon); | 26 | static AbstractGeoPolygonGraphicsItem *createGraphicsItem(const GeoDataPlacemark *placemark, const GeoDataPolygon *polygon); | ||
26 | static AbstractGeoPolygonGraphicsItem *createGraphicsItem(const GeoDataPlacemark *placemark, const GeoDataLinearRing *ring); | 27 | static AbstractGeoPolygonGraphicsItem *createGraphicsItem(const GeoDataPlacemark *placemark, const GeoDataLinearRing *ring); | ||
28 | static AbstractGeoPolygonGraphicsItem *createGraphicsItem(const GeoDataPlacemark *placemark, const GeoDataBuilding *building); | ||||
27 | 29 | | |||
28 | explicit GeoPolygonGraphicsItem(const GeoDataPlacemark *placemark, const GeoDataPolygon *polygon); | 30 | explicit GeoPolygonGraphicsItem(const GeoDataPlacemark *placemark, const GeoDataPolygon *polygon); | ||
29 | explicit GeoPolygonGraphicsItem(const GeoDataPlacemark *placemark, const GeoDataLinearRing *ring); | 31 | explicit GeoPolygonGraphicsItem(const GeoDataPlacemark *placemark, const GeoDataLinearRing *ring); | ||
30 | }; | 32 | }; | ||
31 | 33 | | |||
32 | } | 34 | } | ||
33 | 35 | | |||
34 | #endif | 36 | #endif |