12#define NULL_FILTER "--"
14struct filterProperties
25 double focusTemperature;
27 double focusTicksPerTemp;
28 double focusTicksPerAlt;
32 int _offset = 0,
double _exposure = 1.0,
bool _useAutoFocus =
false,
QString _lockedFilter = NULL_FILTER,
33 int _absFocusPos = 0,
double _focusTemperature = Ekos::INVALID_VALUE,
double _focusAltitude = Ekos::INVALID_VALUE,
34 double _focusTicksPerTemp = 0.0,
double _focusTicksPerAlt = 0.0,
double _wavelength = 500.0) :
35 vendor(_vendor), model(_model),
type(_type), color(_color),
36 offset(_offset), exposure(_exposure), useAutoFocus(_useAutoFocus), lockedFilter(_lockedFilter),
37 absFocusPos(_absFocusPos), focusTemperature(_focusTemperature), focusAltitude(_focusAltitude),
38 focusTicksPerTemp(_focusTicksPerTemp), focusTicksPerAlt(_focusTicksPerAlt), wavelength(_wavelength) {}
82 void setOffset(
int _offset)
87 double exposure()
const
91 void setExposure(
double _exposure)
93 m_Exposure = _exposure;
98 return m_LockedFilter;
100 void setLockedFilter(
const QString &_filter)
102 m_LockedFilter = _filter;
105 bool useAutoFocus()
const
107 return m_UseAutoFocus;
109 void setUseAutoFocus(
bool enabled)
111 m_UseAutoFocus = enabled;
114 int absoluteFocusPosition()
116 return m_AbsoluteFocusPosition;
118 void setAbsoluteFocusPosition(
int newAbsFocusPos)
120 m_AbsoluteFocusPosition = newAbsFocusPos;
123 double focusTemperature()
125 return m_FocusTemperature;
127 void setFocusTemperature(
double newFocusTemperature)
129 m_FocusTemperature = newFocusTemperature;
132 double focusAltitude()
134 return m_FocusAltitude;
136 void setFocusAltitude(
double newFocusAltitude)
138 m_FocusAltitude = newFocusAltitude;
141 double focusTicksPerTemp()
143 return m_FocusTicksPerTemp;
145 void setFocusTicksPerTemp(
double newFocusTicksPerTemp)
147 m_FocusTicksPerTemp = newFocusTicksPerTemp;
150 double focusTicksPerAlt()
152 return m_FocusTicksPerAlt;
154 void setFocusTicksPerAlt(
double newFocusTicksPerAlt)
156 m_FocusTicksPerAlt = newFocusTicksPerAlt;
163 void setWavelength(
double newWavelength)
165 m_Wavelength = newWavelength;
169 QString m_Id, m_Model, m_Vendor, m_Type, m_Color, m_Name, m_LockedFilter;
171 int m_AbsoluteFocusPosition { 0 };
172 double m_Exposure { 1.0 };
173 bool m_UseAutoFocus {
false };
174 double m_FocusTemperature { 0 };
175 double m_FocusAltitude { 0 };
176 double m_FocusTicksPerTemp { 0 };
177 double m_FocusTicksPerAlt { 0 };
178 double m_Wavelength { 0 };
Information of user filters.
VehicleSection::Type type(QStringView coachNumber, QStringView coachClassification)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:43 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.