#include <PMVSCamera.h>
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") |
Definition at line 34 of file PMVSCamera.h.
void CameraFile::readFile | ( | const std::string & | filename, |
Camera & | camera | ||
) | [static] |
Returns the camera information from the given file
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
filedir | the 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
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)
filedir | |
camera |
Definition at line 99 of file PMVSCamera.cpp.