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

kstars

Public Member Functions | List of all members
PointListComponent Class Reference

#include <pointlistcomponent.h>

Inheritance diagram for PointListComponent:
Inheritance graph
[legend]

Public Member Functions

 PointListComponent (SkyComposite *parent)
 
virtual ~PointListComponent () override=default
 
QList< std::shared_ptr
< SkyPoint > > & 
pointList ()
 
void update (KSNumbers *num=nullptr) override
 
- Public Member Functions inherited from SkyComponent
 SkyComponent (SkyComposite *parent=nullptr)
 
virtual ~SkyComponent ()=default
 
virtual void draw (SkyPainter *skyp)=0
 
virtual void drawTrails (SkyPainter *skyp)
 
virtual void emitProgressText (const QString &message)
 
virtual SkyObject * findByName (const QString &name)
 
QHash< int, QVector< QPair
< QString, const SkyObject * > > > & 
objectLists ()
 
QVector< QPair< QString, const
SkyObject * > > & 
objectLists (int type)
 
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 ()
 
void removeFromLists (const SkyObject *obj)
 
void removeFromNames (const SkyObject *obj)
 
virtual bool selected ()
 
virtual void updateMoons (KSNumbers *)
 
virtual void updateSolarSystemBodies (KSNumbers *)
 

Detailed Description

An abstract parent class, to be inherited by SkyComponents that store a QList of SkyPoints.

Author
Jason Harris
Version
0.1

Definition at line 38 of file pointlistcomponent.h.

Constructor & Destructor Documentation

PointListComponent::PointListComponent ( SkyComposite *  parent)
explicit

Definition at line 23 of file pointlistcomponent.cpp.

virtual PointListComponent::~PointListComponent ( )
overridevirtualdefault

Member Function Documentation

QList<std::shared_ptr<SkyPoint> >& PointListComponent::pointList ( )
inline

Definition at line 59 of file pointlistcomponent.h.

void PointListComponent::update ( KSNumbers *  num = nullptr)
overridevirtual

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 nullptr, indicating that Precession/Nutation computation should be skipped; this computation is only occasionally required.

Reimplemented from SkyComponent.

Definition at line 27 of file pointlistcomponent.cpp.


The documentation for this class was generated from the following files:
  • pointlistcomponent.h
  • pointlistcomponent.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Fri Dec 13 2019 02:57:19 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
  • Modules
  • Related Pages

edu API Reference

Skip menu "edu API Reference"
  •     core
  • kstars

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