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

kstars

Public Member Functions | List of all members
HorizonComponent Class Reference

#include <horizoncomponent.h>

Inheritance diagram for HorizonComponent:
Inheritance graph
[legend]

Public Member Functions

 HorizonComponent (SkyComposite *parent)
 
virtual ~HorizonComponent ()
 
virtual void draw (SkyPainter *skyp)
 
bool selected ()
 
virtual void update (KSNumbers *)
 
- Public Member Functions inherited from PointListComponent
 PointListComponent (SkyComposite *parent)
 
virtual ~PointListComponent ()
 
QList< SkyPoint * > & pointList ()
 
- Public Member Functions inherited from SkyComponent
 SkyComponent (SkyComposite *parent)
 
virtual ~SkyComponent ()
 
virtual void drawTrails (SkyPainter *skyp)
 
virtual void emitProgressText (const QString &message)
 
virtual SkyObject * findByName (const QString &name)
 
QHash< int, QStringList > & objectNames ()
 
QStringList & objectNames (int type)
 
virtual SkyObject * objectNearest (SkyPoint *p, double &maxrad)
 
virtual void objectsInArea (QList< SkyObject * > &list, const SkyRegion &region)
 
SkyComposite * parent ()
 
virtual void updateMoons (KSNumbers *)
 
virtual void updatePlanets (KSNumbers *)
 

Additional Inherited Members

- Protected Member Functions inherited from SkyComponent
void removeFromNames (const SkyObject *obj)
 

Detailed Description

Represents the horizon on the sky map.

Author
Thomas Kabelmann
Version
0.1

Definition at line 34 of file horizoncomponent.h.

Constructor & Destructor Documentation

HorizonComponent::HorizonComponent ( SkyComposite *  parent)
explicit

Constructor parent Pointer to the parent SkyComposite object.

Definition at line 36 of file horizoncomponent.cpp.

HorizonComponent::~HorizonComponent ( )
virtual

Destructor.

Definition at line 53 of file horizoncomponent.cpp.

Member Function Documentation

void HorizonComponent::draw ( SkyPainter *  skyp)
virtual

Draw the Horizon on the Sky map map Pointer to the SkyMap object psky Reference to the QPainter on which to paint.

Implements SkyComponent.

Definition at line 75 of file horizoncomponent.cpp.

bool HorizonComponent::selected ( )
virtual
Returns
true if component is to be drawn on the map.

Reimplemented from SkyComponent.

Definition at line 56 of file horizoncomponent.cpp.

void HorizonComponent::update ( KSNumbers *  num)
virtual

Update the sky positions of this component.

This function usually just updates the Horizontal (Azimuth/Altitude) coordinates of the objects in this component. However, the precession and nutation must also be recomputed periodically. Requests to do so are sent through the doPrecess parameter. num Pointer to the KSNumbers object

Note
By default, the num parameter is NULL, indicating that Precession/Nutation computation should be skipped; this computation is only occasionally required.

Reimplemented from PointListComponent.

Definition at line 61 of file horizoncomponent.cpp.


The documentation for this class was generated from the following files:
  • horizoncomponent.h
  • horizoncomponent.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:22 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kstars

Skip menu "kstars"
  • 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