• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • sources
  • kde-4.14
  • kdeedu
  • marble
  • src
  • lib
  • marble
  • graphicsview
BillboardGraphicsItem.h
Go to the documentation of this file.
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2012 Bernhard Beschow <bbeschow@cs.tu-berlin.de>
9 //
10 
11 #ifndef MARBLE_BILLBOARDGRAPHICSITEM_H
12 #define MARBLE_BILLBOARDGRAPHICSITEM_H
13 
14 #include "MarbleGraphicsItem.h"
15 #include "marble_export.h"
16 
17 #include <QList>
18 #include <QPointF>
19 
20 #include "GeoDataCoordinates.h"
21 
22 namespace Marble
23 {
24 
32 class MARBLE_EXPORT BillboardGraphicsItem : public MarbleGraphicsItem
33 {
34  public:
35  BillboardGraphicsItem();
36 
37  GeoDataCoordinates coordinate() const;
38  void setCoordinate( const GeoDataCoordinates &coordinates );
39 
40  Qt::Alignment alignment() const;
41  void setAlignment( Qt::Alignment alignment );
42 
51  QList<QPointF> positions() const;
52 
56  QList<QRectF> boundingRects() const;
57 
61  QRectF containsRect( const QPointF &point ) const;
62 
63  private:
64  class Private;
65  Private *p();
66  const Private *p() const;
67 };
68 
69 } // Marble namespace
70 
71 #endif
GeoDataCoordinates.h
Marble::GeoDataCoordinates
A 3d point representation.
Definition: GeoDataCoordinates.h:52
Marble::BillboardGraphicsItem
Base class for all 2D labels (a.k.a.
Definition: BillboardGraphicsItem.h:32
Qt::Alignment
typedef Alignment
QPointF
MarbleGraphicsItem.h
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
Marble::MarbleGraphicsItem
Definition: MarbleGraphicsItem.h:34
QList< QPointF >
marble_export.h
QRectF
coordinate
Coordinate coordinate
Definition: tools/osm-addresses/OsmParser.cpp:39
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal