Ekos::FocusAlgorithmInterface

Search for usage in LXR

Ekos::FocusAlgorithmInterface Class Referenceabstract

#include <focusalgorithms.h>

Inherited by Ekos::LinearFocusAlgorithm.

Public Member Functions

 FocusAlgorithmInterface (const FocusParams &_params)
 
virtual FocusAlgorithmInterfaceCopy ()=0
 
virtual int currentStep () const =0
 
QString doneReason () const
 
AutofocusFailReason getFailCode () const
 
virtual void getMeasurements (QVector< int > *positions, QVector< double > *values, QVector< double > *scale) const =0
 
const FocusParams & getParams () const
 
virtual void getPass1Measurements (QVector< int > *positions, QVector< double > *values, QVector< double > *scale, QVector< bool > *out) const =0
 
virtual QString getTextStatus (double R2=0) const =0
 
virtual int initialPosition ()=0
 
bool isDone () const
 
virtual bool isInFirstPass () const =0
 
virtual double latestValue () const =0
 
virtual int newMeasurement (int position, double value, const double starWeight, const QList< Edge * > *stars=nullptr)=0
 
int solution () const
 
double solutionValue () const
 
double solutionWeight () const
 

Protected Attributes

bool done = false
 
QString doneString
 
AutofocusFailReason failCode = Ekos::FOCUS_FAIL_NONE
 
int focusSolution = -1
 
double focusValue = -1
 
double focusWeight = -1
 
FocusParams params
 

Detailed Description

Interface intender for autofocus algorithms.

Author
Hy Murveit
Version
1.1

Definition at line 30 of file focusalgorithms.h.

Constructor & Destructor Documentation

◆ FocusAlgorithmInterface()

Ekos::FocusAlgorithmInterface::FocusAlgorithmInterface ( const FocusParams & _params)
inline

Definition at line 106 of file focusalgorithms.h.

◆ ~FocusAlgorithmInterface()

virtual Ekos::FocusAlgorithmInterface::~FocusAlgorithmInterface ( )
inlinevirtual

Definition at line 112 of file focusalgorithms.h.

Member Function Documentation

◆ doneReason()

QString Ekos::FocusAlgorithmInterface::doneReason ( ) const
inline

Definition at line 152 of file focusalgorithms.h.

◆ getFailCode()

AutofocusFailReason Ekos::FocusAlgorithmInterface::getFailCode ( ) const
inline

Definition at line 158 of file focusalgorithms.h.

◆ getParams()

const FocusParams & Ekos::FocusAlgorithmInterface::getParams ( ) const
inline

Definition at line 164 of file focusalgorithms.h.

◆ isDone()

bool Ekos::FocusAlgorithmInterface::isDone ( ) const
inline

Definition at line 125 of file focusalgorithms.h.

◆ solution()

int Ekos::FocusAlgorithmInterface::solution ( ) const
inline

Definition at line 132 of file focusalgorithms.h.

◆ solutionValue()

double Ekos::FocusAlgorithmInterface::solutionValue ( ) const
inline

Definition at line 139 of file focusalgorithms.h.

◆ solutionWeight()

double Ekos::FocusAlgorithmInterface::solutionWeight ( ) const
inline

Definition at line 146 of file focusalgorithms.h.

Member Data Documentation

◆ done

bool Ekos::FocusAlgorithmInterface::done = false
protected

Definition at line 188 of file focusalgorithms.h.

◆ doneString

QString Ekos::FocusAlgorithmInterface::doneString
protected

Definition at line 192 of file focusalgorithms.h.

◆ failCode

AutofocusFailReason Ekos::FocusAlgorithmInterface::failCode = Ekos::FOCUS_FAIL_NONE
protected

Definition at line 193 of file focusalgorithms.h.

◆ focusSolution

int Ekos::FocusAlgorithmInterface::focusSolution = -1
protected

Definition at line 189 of file focusalgorithms.h.

◆ focusValue

double Ekos::FocusAlgorithmInterface::focusValue = -1
protected

Definition at line 190 of file focusalgorithms.h.

◆ focusWeight

double Ekos::FocusAlgorithmInterface::focusWeight = -1
protected

Definition at line 191 of file focusalgorithms.h.

◆ params

FocusParams Ekos::FocusAlgorithmInterface::params
protected

Definition at line 187 of file focusalgorithms.h.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:48:28 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.