Kstars
9#ifndef IMAGINGCAMERADATA_H
10#define IMAGINGCAMERADATA_H
12#include <QAbstractItemModel>
14#include "cameragainreadmode.h"
15#include "cameragainreadnoise.h"
18namespace OptimalExposure
21typedef enum { SENSORTYPE_MONOCHROME, SENSORTYPE_COLOR } SensorType;
23typedef enum { GAIN_SELECTION_TYPE_NORMAL, GAIN_SELECTION_TYPE_ISO_DISCRETE, GAIN_SELECTION_TYPE_FIXED } GainSelectionType;
26class ImagingCameraData
30 ImagingCameraData() {}
31 ImagingCameraData(
const QString &cameraId, OptimalExposure::SensorType sensorType,
32 OptimalExposure::GainSelectionType gainSelectionType,
const QVector<int> &gainSelectionRange,
33 const QVector<OptimalExposure::CameraGainReadMode> &CameraGainReadModeVector);
35 int getDataClassVersion();
36 void setDataClassVersion(
int newDataClassVersion);
38 QString getCameraId();
39 void setCameraId(
const QString newCameraId);
41 SensorType getSensorType()
const;
42 void setSensorType(SensorType newSensorType);
44 OptimalExposure::GainSelectionType getGainSelectionType()
const;
45 void setGainSelectionType(OptimalExposure::GainSelectionType newGainSelectionType);
50 QVector<CameraGainReadMode> getCameraGainReadModeVector();
51 void setCameraGainReadModeVector(QVector<CameraGainReadMode> newCameraGainReadModeVector);
53 QVector<int> getGainSelectionRange();
54 void setGainSelectionRange(QVector<int> newGainSelectionRange);
62 OptimalExposure::SensorType sensorType;
63 OptimalExposure::GainSelectionType gainSelectionType;
68 QVector<int> gainSelectionRange;
69 QVector<OptimalExposure::CameraGainReadMode> CameraGainReadModeVector;
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:53:01 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.