#include <BundleCamera.h>
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) |
Definition at line 35 of file BundleCamera.h.
void CameraFile::readFile | ( | const std::string & | filename, |
std::vector< Camera > & | cameras | ||
) | [static] |
Returns the camera information from the given file
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
f | |
N | number of cameras |
returned | cameras |
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
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
f |
Definition at line 240 of file BundleCamera.cpp.