File indexing completed on 2024-05-12 03:44:33

0001 /*
0002     SPDX-FileCopyrightText: 2023 Joseph McGee <joseph.mcgee@sbcglobal.net>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #ifndef OPTIMALEXPOSURESTACK_H
0010 #define OPTIMALEXPOSURESTACK_H
0011 #include <QAbstractItemModel>
0012 
0013 QT_BEGIN_NAMESPACE
0014 namespace OptimalExposure
0015 {
0016 class OptimalExposureStack
0017 {
0018     public:
0019         OptimalExposureStack();
0020         OptimalExposureStack(int plannedTime, int exposureCount, int stackTime, double stackTotalNoise);
0021 
0022         int getPlannedTime() const;
0023         void setPlannedTime(int newPlannedTime);
0024         int getExposureCount() const;
0025         void setExposureCount(int newExposureCount);
0026         int getStackTime() const;
0027         void setStackTime(int newStackTime);
0028         double getStackTotalNoise() const;
0029         void setStackTotalNoise(double newStackTotalNoise);
0030 
0031     private:
0032         int plannedTime;
0033         int exposureCount;
0034         int stackTime;
0035         double stackTotalNoise;
0036 };
0037 }
0038 QT_END_NAMESPACE
0039 
0040 
0041 
0042 #endif // OPTIMALEXPOSURESTACK_H