Kstars

optimalexposuredetail.h
1/*
2 SPDX-FileCopyrightText: 2023 Joseph McGee <joseph.mcgee@sbcglobal.net>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#ifndef OPTIMALEXPOSUREDETAIL_H
10#define OPTIMALEXPOSUREDETAIL_H
11#include <QAbstractItemModel>
12#include <QVector>
13#include "optimalexposurestack.h"
14
16namespace OptimalExposure
17{
18class OptimalExposureDetail
19{
20 public:
21 OptimalExposureDetail() {}
22 OptimalExposureDetail(int selectedGain, double subExposureTime, double exposurePollutionElectrons, double exposureShotNoise,
23 double exposureTotalNoise, const QVector<OptimalExposureStack> &stackSummary);
24
25 int getSelectedGain() const;
26 void setSelectedGain(int newSelectedGain);
27 double getSubExposureTime() const;
28 void setSubExposureTime(double newSubExposureTime);
29 double getExposurePollutionElectrons() const;
30 void setExposurePollutionElectrons(double newExposurePollutionElectrons);
31 double getExposureShotNoise() const;
32 void setExposureShotNoise(double newExposureShotNoise);
33 double getExposureTotalNoise() const;
34 void setExposureTotalNoise(double newExposureTotalNoise);
35 const QVector<OptimalExposureStack> &getStackSummary() const;
36 void setStackSummary(const QVector<OptimalExposureStack> &newStackSummary);
37
38
39 private:
40 int selectedGain;
41 double subExposureTime;
42 double exposurePollutionElectrons;
43 double exposureShotNoise;
44 double exposureTotalNoise;
46};
47}
49
50#endif // OPTIMALEXPOSUREDETAIL_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:48:25 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.