KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros | Functions
perspective_camera.h File Reference

St_perspective_camera for modeling a perspective camera using the classic Forsyth and Ponce parametrization. More...

#include <gr_cpp/gr_camera.h>
#include <l_cpp/l_readable.h>
#include <l_cpp/l_writeable.h>
#include <l_cpp/l_cloneable.h>
#include <m_cpp/m_vector.h>

Go to the source code of this file.

Classes

class  kjb::Perspective_camera
 

Namespaces

 kjb
 Classes and functions for dealing with trajectory files.
 

Macros

#define FRAME_CAMERA_WORLD_COORDINATES   0
 
#define FRAME_CAMERA_CAMERA_COORDINATES   1
 
#define CAMERA_PITCH_INDEX   0
 
#define CAMERA_YAW_INDEX   1
 
#define CAMERA_ROLL_INDEX   2
 

Functions

void kjb::swap (Perspective_camera &cam1, Perspective_camera &cam2)
 Swap two cameras. More...
 

Detailed Description

St_perspective_camera for modeling a perspective camera using the classic Forsyth and Ponce parametrization.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.

http://creativecommons.org/licenses/by-nc-sa/3.0/us/

You are free:

to Share - to copy, distribute, display, and perform the work to Remix - to make derivative works

Under the following conditions:

Attribution. You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).

Noncommercial. You may not use this work for commercial purposes.

Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

For any reuse or distribution, you must make clear to others the license terms of this work. The best way to do this is with a link to this web page.

Any of the above conditions can be waived if you get permission from the copyright holder.

Apart from the remix rights granted under this license, nothing in this license impairs or restricts the author's moral rights.

Author
Luca Del Pero

The Gl_perspective_camera is defined by a camera centre, three rotation angles (pitch, yaw and roll), focal length, aspect ratio, principal point coordinates in the image plane, skew angle.

Macro Definition Documentation

#define CAMERA_PITCH_INDEX   0
#define CAMERA_ROLL_INDEX   2
#define CAMERA_YAW_INDEX   1
#define FRAME_CAMERA_CAMERA_COORDINATES   1
#define FRAME_CAMERA_WORLD_COORDINATES   0