• 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
  • oal
eyepiece.h
Go to the documentation of this file.
1 /***************************************************************************
2  eyepiece.h - description
3 
4  -------------------
5  begin : Wednesday July 8, 2009
6  copyright : (C) 2009 by Prakash Mohan
7  email : prakash.mohan@kdemail.net
8  ***************************************************************************/
9 
10 /***************************************************************************
11  * *
12  * This program is free software; you can redistribute it and/or modify *
13  * it under the terms of the GNU General Public License as published by *
14  * the Free Software Foundation; either version 2 of the License, or *
15  * (at your option) any later version. *
16  * *
17  ***************************************************************************/
18 #ifndef EYEPIECE_H_
19 #define EYEPIECE_H_
20 
21 #include "oal/oal.h"
22 
23 #include <QString>
24 
25 class OAL::Eyepiece {
26  public:
27  Eyepiece( const QString& id, const QString& model, const QString& vendor, double fov, const QString& fovUnit, double focalLength ) { setEyepiece( id, model, vendor, fov, fovUnit, focalLength ); }
28  QString id() const { return m_Id; }
29  QString name() const { return m_Name; }
30  QString model() const { return m_Model; }
31  QString vendor() const { return m_Vendor; }
32  QString fovUnit() const { return m_AppFovUnit; }
33  double appFov() const { return m_AppFOV; }
34  double focalLength() const { return m_FocalLength; }
35  void setEyepiece( const QString& _id, const QString& _model, const QString& _vendor, double _fov, const QString& _fovUnit, double _focalLength );
36  private:
37  QString m_Id, m_Model, m_AppFovUnit, m_Vendor, m_Name;
38  double m_AppFOV, m_FocalLength;
39 };
40 #endif
OAL::Eyepiece
Definition: eyepiece.h:25
OAL::Eyepiece::id
QString id() const
Definition: eyepiece.h:28
OAL::Eyepiece::name
QString name() const
Definition: eyepiece.h:29
OAL::Eyepiece::model
QString model() const
Definition: eyepiece.h:30
OAL::Eyepiece::Eyepiece
Eyepiece(const QString &id, const QString &model, const QString &vendor, double fov, const QString &fovUnit, double focalLength)
Definition: eyepiece.h:27
oal.h
OAL::Eyepiece::setEyepiece
void setEyepiece(const QString &_id, const QString &_model, const QString &_vendor, double _fov, const QString &_fovUnit, double _focalLength)
Definition: eyepiece.cpp:21
OAL::Eyepiece::appFov
double appFov() const
Definition: eyepiece.h:33
OAL::Eyepiece::focalLength
double focalLength() const
Definition: eyepiece.h:34
OAL::Eyepiece::vendor
QString vendor() const
Definition: eyepiece.h:31
OAL::Eyepiece::fovUnit
QString fovUnit() const
Definition: eyepiece.h:32
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36: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
  • 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