lensfun  0.2.5
Classes | Functions
Structures and functions for cameras

These structures and functions allow to define and examine the properties of a camera model. More...

Classes

struct  lfCamera
 Camera data. More...

Functions

lfCameralf_camera_new ()
 Create a new camera object.
void lf_camera_destroy (lfCamera *camera)
 Destroy a lfCamera object.
void lf_camera_copy (lfCamera *dest, const lfCamera *source)
 Copy the data from one lfCamera structure into another.
cbool lf_camera_check (lfCamera *camera)

Detailed Description

These structures and functions allow to define and examine the properties of a camera model.


Function Documentation

See also:
lfCamera::Check
void lf_camera_copy ( lfCamera dest,
const lfCamera source 
)

Copy the data from one lfCamera structure into another.

Parameters:
destThe destination object
sourceThe source object
See also:
lfCamera::operator = (const lfCamera &)
void lf_camera_destroy ( lfCamera camera)

Destroy a lfCamera object.

This is equivalent to C++ "delete camera".

Parameters:
cameraThe camera object to destroy.
See also:
lfCamera::~lfCamera

Create a new camera object.

Returns:
A new empty camera object.
See also:
lfCamera::lfCamera