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 Member Functions inherited from Marble::GeoDataObject
virtual bool equals (const GeoDataObject &other) const
- 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()

Marble::GeoDataBuilding::~GeoDataBuilding ( )

Destroys the GeoDataBuilding

Definition at line 30 of file GeoDataBuilding.cpp.

Member Function Documentation

◆ 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.

◆ 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-2022 The KDE developers.
Generated on Thu Aug 11 2022 03:54:54 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.