Kstars

eyepiece.h
1/*
2 SPDX-FileCopyrightText: 2009 Prakash Mohan <prakash.mohan@kdemail.net>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6#pragma once
7
8#include "oal/oal.h"
9
10#include <QString>
11
12/**
13 * @class Eyepiece
14 *
15 * Information on user eye pieces
16 */
17class OAL::Eyepiece
18{
19 public:
20 Eyepiece(const QString &id, const QString &model, const QString &vendor, double fov, const QString &fovUnit,
21 double focalLength)
22 {
23 setEyepiece(id, model, vendor, fov, fovUnit, focalLength);
24 }
25 QString id() const
26 {
27 return m_Id;
28 }
29 QString name() const
30 {
31 return m_Name;
32 }
33 QString model() const
34 {
35 return m_Model;
36 }
37 QString vendor() const
38 {
39 return m_Vendor;
40 }
41 QString fovUnit() const
42 {
43 return m_AppFovUnit;
44 }
45 double appFov() const
46 {
47 return m_AppFOV;
48 }
49 double focalLength() const
50 {
51 return m_FocalLength;
52 }
53 void setEyepiece(const QString &_id, const QString &_model, const QString &_vendor, double _fov,
54 const QString &_fovUnit, double _focalLength);
55
56 private:
57 QString m_Id, m_Model, m_AppFovUnit, m_Vendor, m_Name;
58 double m_AppFOV, m_FocalLength;
59};
Information on user eye pieces.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 24 2024 11:49:23 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.