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

kstars

  • sources
  • kde-4.12
  • kdeedu
  • kstars
  • kstars
  • skycomponents
milkyway.h
Go to the documentation of this file.
1 /***************************************************************************
2  milkyway.h - K Desktop Planetarium
3  -------------------
4  begin : 2005/07/08
5  copyright : (C) 2005 by Jason Harris
6  email : kstars@30doradus.org
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef MILKYWAY_H
19 #define MILKYWAY_H
20 
21 #include "linelistindex.h"
22 
35 class MilkyWay : public LineListIndex
36 {
37 public:
41  explicit MilkyWay( SkyComposite *parent );
42 
44  void loadContours(QString fname, QString greeting);
45 
46  virtual void draw( SkyPainter *skyp );
47  virtual bool selected();
48 
49 protected:
50  // FIXME: Implementation is broken!!
56  const IndexHash& getIndexHash( LineList* skipList );
57 
58  // FIXME: Implementation is broken!!
64  virtual SkipList* skipList(LineList* lineList);
65 
66 };
67 #endif
SkyComponent::parent
SkyComposite * parent()
Definition: skycomponent.h:82
MilkyWay::skipList
virtual SkipList * skipList(LineList *lineList)
Returns a boolean indicating whether to skip the i-th line segment in the SkipList skipList...
Definition: milkyway.cpp:57
MilkyWay::draw
virtual void draw(SkyPainter *skyp)
Draw the object on the SkyMap skyp a pointer to the SkyPainter to use.
Definition: milkyway.cpp:69
MilkyWay::selected
virtual bool selected()
Definition: milkyway.cpp:63
LineList
Definition: linelist.h:35
linelistindex.h
MilkyWay::getIndexHash
const IndexHash & getIndexHash(LineList *skipList)
Returns an IndexHash from the SkyMesh that contains the set of trixels that cover the SkipList lineLi...
Definition: milkyway.cpp:51
SkyComposite
SkyComposite is a kind of container class for SkyComponent objects.
Definition: skycomposite.h:43
LineListIndex
Definition: linelistindex.h:39
MilkyWay::loadContours
void loadContours(QString fname, QString greeting)
Load skiplists from file.
Definition: milkyway.cpp:85
MilkyWay
Definition: milkyway.h:35
IndexHash
QHash< Trixel, bool > IndexHash
Definition: skycomponents/typedef.h:46
MilkyWay::MilkyWay
MilkyWay(SkyComposite *parent)
Constructor parent pointer to the parent SkyComposite.
Definition: milkyway.cpp:39
SkyPainter
Draws things on the sky, without regard to backend.
Definition: skypainter.h:47
SkipList
Definition: SkipList.h:17
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:20 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