Public Member Functions | Public Attributes | Protected Member Functions | Friends
DVision::Bundle::CameraFile::Camera Class Reference

#include <BundleCamera.h>

List of all members.

Public Member Functions

 Camera ()
 Camera (const std::string &filename)
void load (const std::string &filename)
void save (const std::string &filename, const std::string &comment="") const

Public Attributes

float f
float k1
float k2
cv::Mat R
cv::Mat t

Protected Member Functions

void load (std::fstream &f)
void save (std::fstream &f) const

Friends

class CameraFile

Detailed Description

A camera from a camera file

Definition at line 42 of file BundleCamera.h.


Constructor & Destructor Documentation

Creates an empty camera

Definition at line 53 of file BundleCamera.h.

DVision::Bundle::CameraFile::Camera::Camera ( const std::string &  filename) [inline]

Loads the camera from a file

Parameters:
filename

Definition at line 59 of file BundleCamera.h.


Member Function Documentation

void CameraFile::Camera::load ( const std::string &  filename)

Reads the first camera of filename

Parameters:
filename

Definition at line 60 of file BundleCamera.cpp.

void CameraFile::Camera::load ( std::fstream &  f) [protected]

Loads the camera info, w/o any other mata information, from the given stream

Parameters:
f

Definition at line 120 of file BundleCamera.cpp.

void CameraFile::Camera::save ( const std::string &  filename,
const std::string &  comment = "" 
) const

Saves the camera in a file with the bund.out format

Parameters:
filename
commentcomment for the first line

Definition at line 37 of file BundleCamera.cpp.

void CameraFile::Camera::save ( std::fstream &  f) const [protected]

Saves the camera info, w/o any other mata information, in the given stream

Parameters:
f

Definition at line 98 of file BundleCamera.cpp.


Friends And Related Function Documentation

friend class CameraFile [friend]

Definition at line 79 of file BundleCamera.h.


Member Data Documentation

Definition at line 45 of file BundleCamera.h.

Definition at line 45 of file BundleCamera.h.

Definition at line 45 of file BundleCamera.h.

Definition at line 46 of file BundleCamera.h.

Definition at line 47 of file BundleCamera.h.


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


re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:34:30