Classes | Static Public Member Functions
DVision::PMVS::CameraFile Class Reference

#include <PMVSCamera.h>

List of all members.

Classes

class  Camera

Static Public Member Functions

static void readFile (const std::string &filename, Camera &camera)
static void readFile (const std::string &filedir, std::vector< Camera > &cameras)
static void saveFile (const std::string &filename, const Camera &cameras)
static void saveFile (const std::string &filedir, const std::vector< Camera > &cameras, const std::string &format="%08d.txt")

Detailed Description

Definition at line 34 of file PMVSCamera.h.


Member Function Documentation

void CameraFile::readFile ( const std::string &  filename,
Camera camera 
) [static]

Returns the camera information from the given file

Parameters:
filename
camera

Definition at line 39 of file PMVSCamera.cpp.

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

Returns the camera information from all the txt files in the given dir

Parameters:
filedirthe directory
cameras

Definition at line 61 of file PMVSCamera.cpp.

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

Saves the camera into the given filename

Parameters:
filename
camera

Definition at line 77 of file PMVSCamera.cpp.

void CameraFile::saveFile ( const std::string &  filedir,
const std::vector< Camera > &  cameras,
const std::string &  format = "%08d.txt" 
) [static]

Saves the camera into the given directory, each in a file with the given format (%08d.txt by default)

Parameters:
filedir
camera

Definition at line 99 of file PMVSCamera.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