kstars
#include <catalogcomponent.h>

Public Member Functions | |
| CatalogComponent (SkyComposite *, const QString &fname, bool showerrs, int index) | |
| virtual | ~CatalogComponent () | 
| virtual void | draw (SkyPainter *skyp) | 
| QString | fluxFrequency () const | 
| QString | fluxUnit () const | 
| bool | getVisibility () | 
| QString | name () const | 
| virtual void | update (KSNumbers *num) | 
  Public Member Functions inherited from ListComponent | |
| ListComponent (SkyComposite *parent) | |
| virtual | ~ListComponent () | 
| void | clear () | 
| virtual SkyObject * | findByName (const QString &name) | 
| const QList< SkyObject * > & | objectList () const | 
| virtual SkyObject * | objectNearest (SkyPoint *p, double &maxrad) | 
  Public Member Functions inherited from SkyComponent | |
| SkyComponent (SkyComposite *parent) | |
| virtual | ~SkyComponent () | 
| virtual void | drawTrails (SkyPainter *skyp) | 
| virtual void | emitProgressText (const QString &message) | 
| QHash< int, QStringList > & | objectNames () | 
| QStringList & | objectNames (int type) | 
| virtual void | objectsInArea (QList< SkyObject * > &list, const SkyRegion ®ion) | 
| SkyComposite * | parent () | 
| virtual void | updateMoons (KSNumbers *) | 
| virtual void | updatePlanets (KSNumbers *) | 
Additional Inherited Members | |
  Protected Member Functions inherited from SkyComponent | |
| void | removeFromNames (const SkyObject *obj) | 
  Protected Attributes inherited from ListComponent | |
| QList< SkyObject * > | m_ObjectList | 
Detailed Description
Represents a custom user-defined catalog.
Code adapted from CustomCatalogComponent.cpp originally authored by Thomas Kabelmann –spacetime
- Version
 - 0.2
 
Definition at line 39 of file catalogcomponent.h.
Constructor & Destructor Documentation
| CatalogComponent::CatalogComponent | ( | SkyComposite * | parent, | 
| const QString & | fname, | ||
| bool | showerrs, | ||
| int | index | ||
| ) | 
Constructor parent Pointer to the parent SkyComposite object. 
Definition at line 38 of file catalogcomponent.cpp.
      
  | 
  virtual | 
Member Function Documentation
      
  | 
  virtual | 
Draw custom catalog objects on the sky map.
psky Reference to the QPainter on which to paint 
Implements SkyComponent.
Definition at line 107 of file catalogcomponent.cpp.
      
  | 
  inline | 
- Returns
 - the frequency of the flux readings in the catalog, if any
 
Definition at line 66 of file catalogcomponent.h.
      
  | 
  inline | 
- Returns
 - the unit of the flux measurements in the catalog, if any
 
Definition at line 69 of file catalogcomponent.h.
      
  | 
  inline | 
- Returns
 - true if visibility Option is set for this catalog
 
- Note
 - this is complicated for custom catalogs, because Option::showCatalog() returns a QList<int>, not a bool. This function extracts the correct visibility value and returns the appropriate bool value
 
Definition at line 78 of file catalogcomponent.h.
      
  | 
  inline | 
- Returns
 - the name of the catalog
 
Definition at line 63 of file catalogcomponent.h.
      
  | 
  virtual | 
Update the sky positions of this component.
This function usually just updates the Horizontal (Azimuth/Altitude) coordinates of the objects in this component. If the KSNumbers* argument is not NULL, this function also recomputes precession and nutation for the date in KSNumbers. 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 ListComponent.
Definition at line 74 of file catalogcomponent.cpp.
The documentation for this class was generated from the following files:
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.
    KDE API Reference
 Public Member Functions inherited from