Camera
[Parametrable Object]

The basis class for camera models. More...

Classes

class  Camera
 The basis class for camera models. More...
class  Camera
 The basis class for camera models. More...

Functions

virtual bool Camera::initialize (vec3 &position, vec3 &target, vec3 &vertical, float iar)=0
virtual void Camera::eval (vec2 &uv, ray &r)=0
virtual void Camera::evaln (int n, vec2 *uvs, ray *rays)=0

Detailed Description

The basis class for camera models.

Camera describes the projection type of the view. Usual projection are planar, perspective and fish-eye. If you want to render an image taken with an EOS 100, you have to create a corresponding Camera.


Function Documentation

virtual void Camera::eval ( vec2 &  uv,
ray &  r 
) [pure virtual, inherited]

Creates a ray from uv coordinates.

Parameters:
uv the parameter for ray parametrization
r the resulting ray

virtual void Camera::evaln ( int  n,
vec2 *  uvs,
ray *  rays 
) [pure virtual, inherited]

Creates n rays from uv coordinates.

Parameters:
n the number of elements
uvs the parameter array for ray parametrization
rays the resulting rays array

virtual bool Camera::initialize ( vec3 &  position,
vec3 &  target,
vec3 &  vertical,
float  iar 
) [pure virtual, inherited]

Intilialize the Camera given the view point informations.

Parameters:
pos the view position
tri the trihedron of the view


Generated on Tue Nov 14 15:40:08 2006 for libcrbn by  doxygen 1.5.0