Classes | Static Public Member Functions | Static Protected Member Functions
DVision::Bundle::CameraFile Class Reference

#include <BundleCamera.h>

List of all members.

Classes

class  Camera

Static Public Member Functions

static void readFile (const std::string &filename, std::vector< Camera > &cameras)
static void saveFile (const std::string &filename, const std::vector< Camera > &cameras)

Static Protected Member Functions

static void readFromStream (std::fstream &f, int N, std::vector< Camera > &cameras)
static void saveToStream (std::fstream &f, const std::vector< Camera > &cameras)

Detailed Description

Definition at line 35 of file BundleCamera.h.


Member Function Documentation

void CameraFile::readFile ( const std::string &  filename,
std::vector< Camera > &  cameras 
) [static]

Returns the camera information from the given file

Parameters:
filename
cameras

Definition at line 171 of file BundleCamera.cpp.

void CameraFile::readFromStream ( std::fstream &  f,
int  N,
std::vector< Camera > &  cameras 
) [static, protected]

Returns the camera information from the given stream

Parameters:
f
Nnumber of cameras
returnedcameras

Definition at line 212 of file BundleCamera.cpp.

void CameraFile::saveFile ( const std::string &  filename,
const std::vector< Camera > &  cameras 
) [static]

Saves the camera into the given filename

Parameters:
filename
cameras

Definition at line 224 of file BundleCamera.cpp.

void CameraFile::saveToStream ( std::fstream &  f,
const std::vector< Camera > &  cameras 
) [static, protected]

Writes the camera info to the stream

Parameters:
f
Note:
it does not write the number of cameras

Definition at line 240 of file BundleCamera.cpp.


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