Kstars

optimalexposurestack.cpp
1/*
2 SPDX-FileCopyrightText: 2023 Joseph McGee <joseph.mcgee@sbcglobal.net>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7
8#include "optimalexposurestack.h"
9
10namespace OptimalExposure
11{
12
13
14OptimalExposureStack::OptimalExposureStack()
15{
16
17}
18
19int OptimalExposureStack::getPlannedTime() const
20{
21 return plannedTime;
22}
23
24void OptimalExposureStack::setPlannedTime(int newPlannedTime)
25{
26 plannedTime = newPlannedTime;
27}
28
29int OptimalExposureStack::getExposureCount() const
30{
31 return exposureCount;
32}
33
34void OptimalExposureStack::setExposureCount(int newExposureCount)
35{
36 exposureCount = newExposureCount;
37}
38
39int OptimalExposureStack::getStackTime() const
40{
41 return stackTime;
42}
43
44void OptimalExposureStack::setStackTime(int newStackTime)
45{
46 stackTime = newStackTime;
47}
48
49double OptimalExposureStack::getStackTotalNoise() const
50{
51 return stackTotalNoise;
52}
53
54void OptimalExposureStack::setStackTotalNoise(double newStackTotalNoise)
55{
56 stackTotalNoise = newStackTotalNoise;
57}
58
59OptimalExposureStack::OptimalExposureStack(int plannedTime, int exposureCount, int stackTime,
60 double stackTotalNoise) : plannedTime(plannedTime),
61 exposureCount(exposureCount),
62 stackTime(stackTime),
63 stackTotalNoise(stackTotalNoise)
64{}
65}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.