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

marble

  • Marble
  • GeoDataLookAt
Public Member Functions | List of all members
Marble::GeoDataLookAt Class Reference

#include <GeoDataLookAt.h>

Inheritance diagram for Marble::GeoDataLookAt:
Inheritance graph
[legend]

Public Member Functions

 GeoDataLookAt ()
 
 GeoDataLookAt (const GeoDataLookAt &other)
 
 ~GeoDataLookAt ()
 
qreal altitude () const
 
GeoDataCoordinates coordinates () const
 
GeoDataAbstractView * copy () const
 
void detach ()
 
qreal latitude (GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
 
qreal longitude (GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
 
virtual const char * nodeType () const
 
GeoDataLookAt & operator= (const GeoDataLookAt &other)
 
qreal range () const
 
void setAltitude (qreal altitude)
 
void setCoordinates (const GeoDataCoordinates &coordinates)
 
void setLatitude (qreal latitude, GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian)
 
void setLongitude (qreal longitude, GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian)
 
void setRange (qreal range)
 
- Public Member Functions inherited from Marble::GeoDataAbstractView
 GeoDataAbstractView ()
 
 GeoDataAbstractView (const GeoDataAbstractView &other)
 
 ~GeoDataAbstractView ()
 
GeoDataAbstractView & operator= (const GeoDataAbstractView &other)
 
void setTimeSpan (const GeoDataTimeSpan &timeSpan)
 
void setTimeStamp (const GeoDataTimeStamp &timeStamp)
 
const GeoDataTimeSpan & timeSpan () const
 
GeoDataTimeSpan & timeSpan ()
 
GeoDataTimeStamp & timeStamp ()
 
const GeoDataTimeStamp & timeStamp () const
 
- Public Member Functions inherited from Marble::GeoDataObject
 GeoDataObject ()
 
 GeoDataObject (const GeoDataObject &)
 
virtual ~GeoDataObject ()
 
int id () const
 
GeoDataObject & operator= (const GeoDataObject &)
 
virtual void pack (QDataStream &stream) const
 
virtual GeoDataObject * parent () const
 
QString resolvePath (const QString &relativePath) const
 
void setId (int value)
 
virtual void setParent (GeoDataObject *parent)
 
void setTargetId (int value)
 
int targetId () const
 
virtual void unpack (QDataStream &steam)
 
- Public Member Functions inherited from Marble::GeoNode
 GeoNode ()
 
virtual ~GeoNode ()
 
- Public Member Functions inherited from Marble::Serializable
virtual ~Serializable ()
 

Detailed Description

Definition at line 23 of file GeoDataLookAt.h.

Constructor & Destructor Documentation

Marble::GeoDataLookAt::GeoDataLookAt ( )

Definition at line 23 of file GeoDataLookAt.cpp.

Marble::GeoDataLookAt::GeoDataLookAt ( const GeoDataLookAt &  other)

Definition at line 29 of file GeoDataLookAt.cpp.

Marble::GeoDataLookAt::~GeoDataLookAt ( )

Definition at line 42 of file GeoDataLookAt.cpp.

Member Function Documentation

qreal Marble::GeoDataLookAt::altitude ( ) const

retrieves the altitude of the GeoDataLookAt object

Returns
latitude

Definition at line 69 of file GeoDataLookAt.cpp.

GeoDataCoordinates Marble::GeoDataLookAt::coordinates ( ) const

retrieve the lat/lon/alt triple as a GeoDataCoordinates object

Returns
GeoDataCoordinates
See also
longitude latitude altitude

Definition at line 96 of file GeoDataLookAt.cpp.

GeoDataAbstractView * Marble::GeoDataLookAt::copy ( ) const
virtual

Implements Marble::GeoDataAbstractView.

Definition at line 48 of file GeoDataLookAt.cpp.

void Marble::GeoDataLookAt::detach ( )

Definition at line 112 of file GeoDataLookAt.cpp.

qreal Marble::GeoDataLookAt::latitude ( GeoDataCoordinates::Unit  unit = GeoDataCoordinates::Radian) const

retrieves the latitude of the GeoDataLookAt object use the unit parameter to switch between Radian and DMS

Parameters
unitunits that lon and lat get measured in (default for Radian: north pole at pi/2, southpole at -pi/2)
Returns
latitude

Definition at line 80 of file GeoDataLookAt.cpp.

qreal Marble::GeoDataLookAt::longitude ( GeoDataCoordinates::Unit  unit = GeoDataCoordinates::Radian) const

retrieves the longitude of the GeoDataLookAt object use the unit parameter to switch between Radian and DMS

Parameters
unitunits that lon and lat get measured in (default for Radian: north pole at pi/2, southpole at -pi/2)
Returns
latitude

Definition at line 91 of file GeoDataLookAt.cpp.

const char * Marble::GeoDataLookAt::nodeType ( ) const
virtual

Provides type information for downcasting a GeoNode.

Implements Marble::GeoDataObject.

Definition at line 58 of file GeoDataLookAt.cpp.

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

Definition at line 36 of file GeoDataLookAt.cpp.

qreal Marble::GeoDataLookAt::range ( ) const

Retrieve the distance (in meters) between the camera and the object looked at.

See also
setRange

Definition at line 107 of file GeoDataLookAt.cpp.

void Marble::GeoDataLookAt::setAltitude ( qreal  altitude)

set the altitude in a GeoDataLookAt object

Parameters
altitudelatitude

Definition at line 63 of file GeoDataLookAt.cpp.

void Marble::GeoDataLookAt::setCoordinates ( const GeoDataCoordinates &  coordinates)

set the GeoDataCoordinates object

Parameters
GeoDataCoordinates
See also
GeoDataCoordinates

Definition at line 53 of file GeoDataLookAt.cpp.

void Marble::GeoDataLookAt::setLatitude ( qreal  latitude,
GeoDataCoordinates::Unit  unit = GeoDataCoordinates::Radian 
)

set the latitude in a GeoDataLookAt object

Parameters
latitudelatitude
unitunits that lon and lat get measured in (default for Radian: north pole at pi/2, southpole at -pi/2)

Definition at line 74 of file GeoDataLookAt.cpp.

void Marble::GeoDataLookAt::setLongitude ( qreal  longitude,
GeoDataCoordinates::Unit  unit = GeoDataCoordinates::Radian 
)

set the longitude in a GeoDataLookAt object

Parameters
longitudelongitude
unitunits that lon and lat get measured in (default for Radian: north pole at pi/2, southpole at -pi/2)

Definition at line 85 of file GeoDataLookAt.cpp.

void Marble::GeoDataLookAt::setRange ( qreal  range)

Change the distance (in meters) between the camera and the object looked at.

See also
range

Definition at line 101 of file GeoDataLookAt.cpp.


The documentation for this class was generated from the following files:
  • GeoDataLookAt.h
  • GeoDataLookAt.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:56 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
  • kstars
  • libkdeedu
  •   keduvocdocument
  • 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