Search for usage in LXR

Marble::GeoDataBuilding Class Reference

#include <GeoDataBuilding.h>

Inheritance diagram for Marble::GeoDataBuilding:

Public Member Functions

 GeoDataBuilding (const GeoDataBuilding &other)
 GeoDataBuilding (const GeoDataGeometry &other)
 ~GeoDataBuilding () override
GeoDataGeometrycopy () const override
QVector< NamedEntry > entries () const
EnumGeometryId geometryId () const override
double height () const
const GeoDataLatLonAltBoxlatLonAltBox () const override
int maxLevel () const
int minLevel () const
GeoDataMultiGeometrymultiGeometry () const
QString name () const
const char * nodeType () const override
QVector< int > nonExistentLevels () const
GeoDataBuildingoperator= (const GeoDataBuilding &other)
void setEntries (const QVector< NamedEntry > &entries)
void setHeight (double height)
void setMaxLevel (int maxLevel)
void setMinLevel (int minLevel)
void setName (const QString &name)
void setNonExistentLevels (const QVector< 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
GeoDataObjectoperator= (const GeoDataObject &)
void pack (QDataStream &stream) const override
GeoDataObjectparent ()
const GeoDataObjectparent () 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

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
GeoDataGeometryoperator= (const GeoDataGeometry &other)
- 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 28 of file GeoDataBuilding.h.

Constructor & Destructor Documentation

◆ GeoDataBuilding() [1/3]

Marble::GeoDataBuilding::GeoDataBuilding ( )

Definition at line 12 of file GeoDataBuilding.cpp.

◆ GeoDataBuilding() [2/3]

Marble::GeoDataBuilding::GeoDataBuilding ( const GeoDataGeometry & other)

Definition at line 18 of file GeoDataBuilding.cpp.

◆ GeoDataBuilding() [3/3]

Marble::GeoDataBuilding::GeoDataBuilding ( const GeoDataBuilding & other)

Definition at line 24 of file GeoDataBuilding.cpp.

◆ ~GeoDataBuilding()

Marble::GeoDataBuilding::~GeoDataBuilding ( )

Destroys the GeoDataBuilding

Definition at line 30 of file GeoDataBuilding.cpp.

Member Function Documentation

◆ copy()

GeoDataGeometry * Marble::GeoDataBuilding::copy ( ) const

Implements Marble::GeoDataGeometry.

Definition at line 52 of file GeoDataBuilding.cpp.

◆ entries()

QVector< GeoDataBuilding::NamedEntry > Marble::GeoDataBuilding::entries ( ) const

Definition at line 119 of file GeoDataBuilding.cpp.

◆ geometryId()

EnumGeometryId Marble::GeoDataBuilding::geometryId ( ) const

Implements Marble::GeoDataGeometry.

Definition at line 47 of file GeoDataBuilding.cpp.

◆ height()

double Marble::GeoDataBuilding::height ( ) const
the height of the building

Definition at line 57 of file GeoDataBuilding.cpp.

◆ latLonAltBox()

const GeoDataLatLonAltBox & Marble::GeoDataBuilding::latLonAltBox ( ) const
the latlonaltbox for the contained multigeometry

Reimplemented from Marble::GeoDataGeometry.

Definition at line 102 of file GeoDataBuilding.cpp.

◆ maxLevel()

int Marble::GeoDataBuilding::maxLevel ( ) const
the maximum level of the building

Definition at line 77 of file GeoDataBuilding.cpp.

◆ minLevel()

int Marble::GeoDataBuilding::minLevel ( ) const
the minimum level

Definition at line 67 of file GeoDataBuilding.cpp.

◆ multiGeometry()

GeoDataMultiGeometry * Marble::GeoDataBuilding::multiGeometry ( ) const
the multigeometry associated with the building

Definition at line 97 of file GeoDataBuilding.cpp.

◆ name()

QString Marble::GeoDataBuilding::name ( ) const
the name of the building

Definition at line 109 of file GeoDataBuilding.cpp.

◆ nodeType()

const char * Marble::GeoDataBuilding::nodeType ( ) const

Provides type information for downcasting a GeoNode.

Implements Marble::GeoNode.

Definition at line 42 of file GeoDataBuilding.cpp.

◆ nonExistentLevels()

QVector< int > Marble::GeoDataBuilding::nonExistentLevels ( ) const
the non existent levels in the building

Definition at line 87 of file GeoDataBuilding.cpp.

◆ operator=()

GeoDataBuilding & Marble::GeoDataBuilding::operator= ( const GeoDataBuilding & other)

Definition at line 35 of file GeoDataBuilding.cpp.

◆ parseBuildingHeight()

double Marble::GeoDataBuilding::parseBuildingHeight ( const QString & buildingHeight)

Definition at line 129 of file GeoDataBuilding.cpp.

◆ setEntries()

void Marble::GeoDataBuilding::setEntries ( const QVector< NamedEntry > & entries)

Definition at line 124 of file GeoDataBuilding.cpp.

◆ setHeight()

void Marble::GeoDataBuilding::setHeight ( double height)

Sets the height of the building


Definition at line 62 of file GeoDataBuilding.cpp.

◆ setMaxLevel()

void Marble::GeoDataBuilding::setMaxLevel ( int maxLevel)

Sets the maximum level of the building


Definition at line 82 of file GeoDataBuilding.cpp.

◆ setMinLevel()

void Marble::GeoDataBuilding::setMinLevel ( int minLevel)

Sets the minimum level of the building


Definition at line 72 of file GeoDataBuilding.cpp.

◆ setName()

void Marble::GeoDataBuilding::setName ( const QString & name)

Sets the name of the building


Definition at line 114 of file GeoDataBuilding.cpp.

◆ setNonExistentLevels()

void Marble::GeoDataBuilding::setNonExistentLevels ( const QVector< int > & nonExistentLevels)

Sets the non existent levels of the building


Definition at line 92 of file GeoDataBuilding.cpp.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 19 2024 11:52:42 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.