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

kstars

Public Member Functions | Protected Member Functions | List of all members
MilkyWay Class Reference

#include <milkyway.h>

Inheritance diagram for MilkyWay:
Inheritance graph
[legend]

Public Member Functions

 MilkyWay (SkyComposite *parent)
 
virtual void draw (SkyPainter *skyp)
 
void loadContours (QString fname, QString greeting)
 
virtual bool selected ()
 
- Public Member Functions inherited from LineListIndex
 LineListIndex (SkyComposite *parent, const QString &name="")
 
 ~LineListIndex ()
 
- 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 update (KSNumbers *)
 
virtual void updateMoons (KSNumbers *)
 
virtual void updatePlanets (KSNumbers *)
 

Protected Member Functions

const IndexHash & getIndexHash (LineList *skipList)
 
virtual SkipList * skipList (LineList *lineList)
 
- Protected Member Functions inherited from LineListIndex
void appendBoth (LineList *lineList, int debug=0)
 
void appendLine (LineList *lineList, int debug=0)
 
void appendPoly (LineList *lineList, int debug=0)
 
virtual MeshBufNum_t drawBuffer ()
 
void drawFilled (SkyPainter *skyp)
 
void drawLines (SkyPainter *skyp)
 
void intro ()
 
virtual void JITupdate (LineList *lineList)
 
virtual LineListLabel * label ()
 
LineListList listList ()
 
QString name () const
 
virtual void preDraw (SkyPainter *skyp)
 
void reindexLines ()
 
SkyMesh * skyMesh ()
 
void summary ()
 
- Protected Member Functions inherited from SkyComponent
void removeFromNames (const SkyObject *obj)
 

Detailed Description

Definition at line 35 of file milkyway.h.

Constructor & Destructor Documentation

MilkyWay::MilkyWay ( SkyComposite *  parent)
explicit

Constructor parent pointer to the parent SkyComposite.

Definition at line 39 of file milkyway.cpp.

Member Function Documentation

void MilkyWay::draw ( SkyPainter *  skyp)
virtual

Draw the object on the SkyMap skyp a pointer to the SkyPainter to use.

Reimplemented from LineListIndex.

Definition at line 69 of file milkyway.cpp.

const IndexHash & MilkyWay::getIndexHash ( LineList *  skipList)
protectedvirtual

Returns an IndexHash from the SkyMesh that contains the set of trixels that cover the SkipList lineList excluding skipped lines as specified in the SkipList.

SkipList is a subclass of LineList.

Reimplemented from LineListIndex.

Definition at line 51 of file milkyway.cpp.

void MilkyWay::loadContours ( QString  fname,
QString  greeting 
)

Load skiplists from file.

Definition at line 85 of file milkyway.cpp.

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

Reimplemented from SkyComponent.

Definition at line 63 of file milkyway.cpp.

SkipList * MilkyWay::skipList ( LineList *  lineList)
protectedvirtual

Returns a boolean indicating whether to skip the i-th line segment in the SkipList skipList.

Note that SkipList is a subclass of LineList. This routine allows us to use the drawing code in LineListIndex instead of repeating it all here.

Reimplemented from LineListIndex.

Definition at line 57 of file milkyway.cpp.


The documentation for this class was generated from the following files:
  • milkyway.h
  • milkyway.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