digiKam
Digikam::LensFunIface Class Reference

Public Types

typedef const lfCamera * DevicePtr
 
typedef QList< LensPtrLensList
 
typedef const lfLens * LensPtr
 
enum  MetadataMatch { MetadataUnavailable = -2 , MetadataNoMatch = -1 , MetadataPartialMatch = 0 , MetadataExactMatch = 1 }
 

Public Member Functions

DevicePtr findCamera (const QString &make, const QString &model) const
 
MetadataMatch findFromMetadata (DMetadata *const meta)
 
LensPtr findLens (const QString &model) const
 
QString lensDescription () const
 
const lfCamera *const * lensFunCameras () const
 
lfDatabase * lensFunDataBase () const
 
 LensFunIface ()
 
QString makeDescription () const
 
QString modelDescription () const
 
void setFilterSettings (const LensFunContainer &other)
 
void setSettings (const LensFunContainer &other)
 
LensFunContainer settings () const
 
void setUsedCamera (DevicePtr cam)
 
void setUsedLens (LensPtr lens)
 
bool supportsCCA () const
 
bool supportsDistortion () const
 
bool supportsGeometry () const
 
bool supportsVig () const
 
DevicePtr usedCamera () const
 
LensPtr usedLens () const
 
 ~LensFunIface ()
 

Static Public Member Functions

static QString lensFunVersion ()
 

Member Typedef Documentation

◆ DevicePtr

typedef const lfCamera* Digikam::LensFunIface::DevicePtr

◆ LensList

◆ LensPtr

typedef const lfLens* Digikam::LensFunIface::LensPtr

Member Enumeration Documentation

◆ MetadataMatch

Enumerator
MetadataUnavailable 
MetadataNoMatch 
MetadataPartialMatch 
MetadataExactMatch 

Constructor & Destructor Documentation

◆ LensFunIface()

Digikam::LensFunIface::LensFunIface ( )
explicit

◆ ~LensFunIface()

Digikam::LensFunIface::~LensFunIface ( )

Member Function Documentation

◆ findCamera()

LensFunIface::DevicePtr Digikam::LensFunIface::findCamera ( const QString &  make,
const QString &  model 
) const

Referenced by findFromMetadata(), and setSettings().

◆ findFromMetadata()

◆ findLens()

LensFunIface::LensPtr Digikam::LensFunIface::findLens ( const QString &  model) const

Referenced by setSettings().

◆ lensDescription()

QString Digikam::LensFunIface::lensDescription ( ) const

Return Lens string description found in metadata

◆ lensFunCameras()

const lfCamera *const * Digikam::LensFunIface::lensFunCameras ( ) const

◆ lensFunDataBase()

lfDatabase * Digikam::LensFunIface::lensFunDataBase ( ) const

◆ lensFunVersion()

QString Digikam::LensFunIface::lensFunVersion ( )
static

◆ makeDescription()

QString Digikam::LensFunIface::makeDescription ( ) const

Return Camera maker string description found in metadata

◆ modelDescription()

QString Digikam::LensFunIface::modelDescription ( ) const

Return Camera model string description found in metadata

◆ setFilterSettings()

◆ setSettings()

void Digikam::LensFunIface::setSettings ( const LensFunContainer other)

References findCamera(), and findLens().

◆ settings()

LensFunContainer Digikam::LensFunIface::settings ( ) const

◆ setUsedCamera()

void Digikam::LensFunIface::setUsedCamera ( DevicePtr  cam)

Referenced by findFromMetadata().

◆ setUsedLens()

void Digikam::LensFunIface::setUsedLens ( LensPtr  lens)

Referenced by findFromMetadata().

◆ supportsCCA()

bool Digikam::LensFunIface::supportsCCA ( ) const

◆ supportsDistortion()

bool Digikam::LensFunIface::supportsDistortion ( ) const

Referenced by supportsGeometry().

◆ supportsGeometry()

bool Digikam::LensFunIface::supportsGeometry ( ) const

References supportsDistortion().

◆ supportsVig()

bool Digikam::LensFunIface::supportsVig ( ) const

◆ usedCamera()

LensFunIface::DevicePtr Digikam::LensFunIface::usedCamera ( ) const

◆ usedLens()

LensFunIface::LensPtr Digikam::LensFunIface::usedLens ( ) const

The documentation for this class was generated from the following files: