marble
#include <BillboardGraphicsItem.h>
Additional Inherited Members | |
Public Types inherited from Marble::MarbleGraphicsItem | |
enum | CacheMode { NoCache, ItemCoordinateCache, DeviceCoordinateCache } |
Protected Member Functions inherited from Marble::MarbleGraphicsItem | |
MarbleGraphicsItem (MarbleGraphicsItemPrivate *d_ptr) | |
virtual bool | eventFilter (QObject *object, QEvent *e) |
virtual void | paint (QPainter *painter) |
void | update () |
Protected Attributes inherited from Marble::MarbleGraphicsItem | |
MarbleGraphicsItemPrivate *const | d |
Detailed Description
Base class for all 2D labels (a.k.a.
billboards) in 3D space.
A BillboardGraphicsItem represents a point of interest on a planet with a geo location. As a result, it may appear more than once on the map, depending on the projection and the zoom level.
Definition at line 32 of file BillboardGraphicsItem.h.
Constructor & Destructor Documentation
Marble::BillboardGraphicsItem::BillboardGraphicsItem | ( | ) |
Definition at line 88 of file BillboardGraphicsItem.cpp.
Member Function Documentation
Qt::Alignment Marble::BillboardGraphicsItem::alignment | ( | ) | const |
Definition at line 128 of file BillboardGraphicsItem.cpp.
Returns the absolute screen bounding boxes of the item.
Definition at line 108 of file BillboardGraphicsItem.cpp.
Returns the rect of one representation of the object that is at the given position.
Definition at line 118 of file BillboardGraphicsItem.cpp.
GeoDataCoordinates Marble::BillboardGraphicsItem::coordinate | ( | ) | const |
Definition at line 93 of file BillboardGraphicsItem.cpp.
Returns the absolute screen positions of the item.
All elements indicate the position of the topleft corner in screen coordinates and are based on the viewport of the last paintEvent(). Note that the result list may contain an unbound number of elements, including zero, depending on the item's visibility, the projection and zoom level.
Definition at line 103 of file BillboardGraphicsItem.cpp.
void Marble::BillboardGraphicsItem::setAlignment | ( | Qt::Alignment | alignment | ) |
Definition at line 133 of file BillboardGraphicsItem.cpp.
void Marble::BillboardGraphicsItem::setCoordinate | ( | const GeoDataCoordinates & | coordinates | ) |
Definition at line 98 of file BillboardGraphicsItem.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:44 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.