Marble::GeoDataBuilding
#include <GeoDataBuilding.h>
Public Member Functions | |
GeoDataBuilding (const GeoDataBuilding &other) | |
GeoDataBuilding (const GeoDataGeometry &other) | |
~GeoDataBuilding () override | |
GeoDataGeometry * | copy () const override |
QList< NamedEntry > | entries () const |
EnumGeometryId | geometryId () const override |
double | height () const |
const GeoDataLatLonAltBox & | latLonAltBox () const override |
int | maxLevel () const |
int | minLevel () const |
GeoDataMultiGeometry * | multiGeometry () const |
QString | name () const |
const char * | nodeType () const override |
QList< int > | nonExistentLevels () const |
GeoDataBuilding & | operator= (const GeoDataBuilding &other) |
void | setEntries (const QList< NamedEntry > &entries) |
void | setHeight (double height) |
void | setMaxLevel (int maxLevel) |
void | setMinLevel (int minLevel) |
void | setName (const QString &name) |
void | setNonExistentLevels (const QList< int > &nonExistentLevels) |
Public Member Functions inherited from Marble::GeoDataGeometry | |
AltitudeMode | altitudeMode () const |
void | detach () |
bool | extrude () const |
bool | operator!= (const GeoDataGeometry &other) const |
bool | operator== (const GeoDataGeometry &other) const |
void | pack (QDataStream &stream) const override |
void | setAltitudeMode (const AltitudeMode altitudeMode) |
void | setExtrude (bool extrude) |
void | unpack (QDataStream &stream) override |
Public Member Functions inherited from Marble::GeoDataObject | |
GeoDataObject (const GeoDataObject &) | |
QString | id () const |
GeoDataObject & | operator= (const GeoDataObject &) |
void | pack (QDataStream &stream) const override |
GeoDataObject * | parent () |
const GeoDataObject * | parent () const |
QString | resolvePath (const QString &relativePath) const |
void | setId (const QString &value) |
void | setParent (GeoDataObject *parent) |
void | setTargetId (const QString &value) |
QString | targetId () const |
void | unpack (QDataStream &steam) override |
Public Member Functions inherited from Marble::GeoNode |
Static Public Member Functions | |
static double | parseBuildingHeight (const QString &buildingHeight) |
Additional Inherited Members | |
Protected Member Functions inherited from Marble::GeoDataGeometry | |
GeoDataGeometry (const GeoDataGeometry &other) | |
GeoDataGeometry (GeoDataGeometryPrivate *priv) | |
bool | equals (const GeoDataGeometry &other) const |
virtual bool | equals (const GeoDataObject &other) const |
GeoDataGeometry & | operator= (const GeoDataGeometry &other) |
Protected Member Functions inherited from Marble::GeoDataObject | |
Protected Attributes inherited from Marble::GeoDataGeometry | |
GeoDataGeometryPrivate * | d_ptr |
Detailed Description
Contains important information about a building and its floors (levels)
GeoDataBuilding holds information such as minimum floor, maximum floor, floor data and their respective MultiGeometry and other possible metadata such as the total height of the building, type etc.
Definition at line 29 of file GeoDataBuilding.h.
Constructor & Destructor Documentation
◆ GeoDataBuilding() [1/3]
|
explicit |
Definition at line 13 of file GeoDataBuilding.cpp.
◆ GeoDataBuilding() [2/3]
|
explicit |
Definition at line 19 of file GeoDataBuilding.cpp.
◆ GeoDataBuilding() [3/3]
|
explicit |
Definition at line 25 of file GeoDataBuilding.cpp.
◆ ~GeoDataBuilding()
|
override |
Destroys the GeoDataBuilding
Definition at line 31 of file GeoDataBuilding.cpp.
Member Function Documentation
◆ copy()
|
overridevirtual |
Implements Marble::GeoDataGeometry.
Definition at line 53 of file GeoDataBuilding.cpp.
◆ entries()
QList< GeoDataBuilding::NamedEntry > Marble::GeoDataBuilding::entries | ( | ) | const |
Definition at line 120 of file GeoDataBuilding.cpp.
◆ geometryId()
|
overridevirtual |
Implements Marble::GeoDataGeometry.
Definition at line 48 of file GeoDataBuilding.cpp.
◆ height()
double Marble::GeoDataBuilding::height | ( | ) | const |
- Returns
- the height of the building
Definition at line 58 of file GeoDataBuilding.cpp.
◆ latLonAltBox()
|
overridevirtual |
- Returns
- the latlonaltbox for the contained multigeometry
Reimplemented from Marble::GeoDataGeometry.
Definition at line 103 of file GeoDataBuilding.cpp.
◆ maxLevel()
int Marble::GeoDataBuilding::maxLevel | ( | ) | const |
- Returns
- the maximum level of the building
Definition at line 78 of file GeoDataBuilding.cpp.
◆ minLevel()
int Marble::GeoDataBuilding::minLevel | ( | ) | const |
- Returns
- the minimum level
Definition at line 68 of file GeoDataBuilding.cpp.
◆ multiGeometry()
GeoDataMultiGeometry * Marble::GeoDataBuilding::multiGeometry | ( | ) | const |
- Returns
- the multigeometry associated with the building
Definition at line 98 of file GeoDataBuilding.cpp.
◆ name()
QString Marble::GeoDataBuilding::name | ( | ) | const |
- Returns
- the name of the building
Definition at line 110 of file GeoDataBuilding.cpp.
◆ nodeType()
|
overridevirtual |
Provides type information for downcasting a GeoNode.
Implements Marble::GeoNode.
Definition at line 43 of file GeoDataBuilding.cpp.
◆ nonExistentLevels()
QList< int > Marble::GeoDataBuilding::nonExistentLevels | ( | ) | const |
- Returns
- the non existent levels in the building
Definition at line 88 of file GeoDataBuilding.cpp.
◆ operator=()
GeoDataBuilding & Marble::GeoDataBuilding::operator= | ( | const GeoDataBuilding & | other | ) |
Definition at line 36 of file GeoDataBuilding.cpp.
◆ parseBuildingHeight()
|
static |
Definition at line 130 of file GeoDataBuilding.cpp.
◆ setEntries()
void Marble::GeoDataBuilding::setEntries | ( | const QList< NamedEntry > & | entries | ) |
Definition at line 125 of file GeoDataBuilding.cpp.
◆ setHeight()
void Marble::GeoDataBuilding::setHeight | ( | double | height | ) |
Sets the height of the building
- Parameters
-
height
Definition at line 63 of file GeoDataBuilding.cpp.
◆ setMaxLevel()
void Marble::GeoDataBuilding::setMaxLevel | ( | int | maxLevel | ) |
Sets the maximum level of the building
- Parameters
-
maxLevel
Definition at line 83 of file GeoDataBuilding.cpp.
◆ setMinLevel()
void Marble::GeoDataBuilding::setMinLevel | ( | int | minLevel | ) |
Sets the minimum level of the building
- Parameters
-
minLevel
Definition at line 73 of file GeoDataBuilding.cpp.
◆ setName()
void Marble::GeoDataBuilding::setName | ( | const QString & | name | ) |
◆ setNonExistentLevels()
void Marble::GeoDataBuilding::setNonExistentLevels | ( | const QList< int > & | nonExistentLevels | ) |
Sets the non existent levels of the building
- Parameters
-
nonExistentLevels
Definition at line 93 of file GeoDataBuilding.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 12:02:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.