#include <Extrinsics.h>
Public Types | |
enum | StdFlags { ESTIMATED = 0, N_STD_FLAGS } |
enum | StdMats { R = 0, T, W, N_STD_MATS } |
enum | StdVals { LATITUDE = 0, LONGITUDE, GPS_ACCURACY, CONFIDENCE, GPS_TIME, N_STD_VALS } |
Public Member Functions | |
virtual void | deserialize (const cv::FileNode &fn) |
Extrinsics () | |
Extrinsics (const Extrinsics &rhs) | |
Extrinsics (const std::vector< cv::Mat > &mats, const std::vector< double > &vals, const std::vector< int > &flags) | |
Extrinsics (const cv::Mat &R, const cv::Mat &T, double latitude, double longitude, double gps_accuracy, double confidence, double gps_time, bool estimated) | |
Extrinsics (const cv::Mat &R, double confidence) | |
bool | flag (int idx) const |
int & | flag (int idx) |
const cv::Mat & | mat (int idx) const |
cv::Mat & | mat (int idx) |
Extrinsics & | operator= (const Extrinsics &rhs) |
cv::Mat | relativeToOther (const Extrinsics &ext, int idx) const |
virtual void | serialize (cv::FileStorage &fs) const |
double | val (int idx) const |
double & | val (int idx) |
virtual int | version () const |
~Extrinsics () | |
Private Member Functions | |
void | copyData (const Extrinsics &rhs) |
Private Attributes | |
std::vector< int > | flags_ |
std::vector< cv::Mat > | mats_ |
std::vector< double > | vals_ |
Definition at line 18 of file Extrinsics.h.
Definition at line 79 of file Extrinsics.h.
Definition at line 70 of file Extrinsics.h.
Definition at line 74 of file Extrinsics.h.
Definition at line 15 of file Extrinsics.cpp.
pano::Extrinsics::Extrinsics | ( | const Extrinsics & | rhs | ) |
Definition at line 56 of file Extrinsics.cpp.
pano::Extrinsics::Extrinsics | ( | const std::vector< cv::Mat > & | mats, |
const std::vector< double > & | vals, | ||
const std::vector< int > & | flags | ||
) |
pano::Extrinsics::Extrinsics | ( | const cv::Mat & | R, |
const cv::Mat & | T, | ||
double | latitude, | ||
double | longitude, | ||
double | gps_accuracy, | ||
double | confidence, | ||
double | gps_time, | ||
bool | estimated | ||
) |
Definition at line 30 of file Extrinsics.cpp.
pano::Extrinsics::Extrinsics | ( | const cv::Mat & | R, |
double | confidence | ||
) |
Definition at line 43 of file Extrinsics.cpp.
Definition at line 21 of file Extrinsics.cpp.
void pano::Extrinsics::copyData | ( | const Extrinsics & | rhs | ) | [private] |
Definition at line 72 of file Extrinsics.cpp.
void pano::Extrinsics::deserialize | ( | const cv::FileNode & | fn | ) | [virtual] |
Implements pano::serializable.
Definition at line 117 of file Extrinsics.cpp.
bool pano::Extrinsics::flag | ( | int | idx | ) | const [inline] |
Definition at line 51 of file Extrinsics.h.
int& pano::Extrinsics::flag | ( | int | idx | ) | [inline] |
Definition at line 65 of file Extrinsics.h.
const cv::Mat& pano::Extrinsics::mat | ( | int | idx | ) | const [inline] |
Definition at line 37 of file Extrinsics.h.
cv::Mat& pano::Extrinsics::mat | ( | int | idx | ) | [inline] |
Definition at line 56 of file Extrinsics.h.
Extrinsics & pano::Extrinsics::operator= | ( | const Extrinsics & | rhs | ) |
Definition at line 61 of file Extrinsics.cpp.
cv::Mat pano::Extrinsics::relativeToOther | ( | const Extrinsics & | ext, |
int | idx | ||
) | const [inline] |
Definition at line 42 of file Extrinsics.h.
void pano::Extrinsics::serialize | ( | cv::FileStorage & | fs | ) | const [virtual] |
Implements pano::serializable.
Definition at line 85 of file Extrinsics.cpp.
double pano::Extrinsics::val | ( | int | idx | ) | const [inline] |
Definition at line 47 of file Extrinsics.h.
double& pano::Extrinsics::val | ( | int | idx | ) | [inline] |
Definition at line 61 of file Extrinsics.h.
virtual int pano::Extrinsics::version | ( | ) | const [inline, virtual] |
Implements pano::serializable.
Definition at line 30 of file Extrinsics.h.
std::vector<int> pano::Extrinsics::flags_ [private] |
Definition at line 88 of file Extrinsics.h.
std::vector<cv::Mat> pano::Extrinsics::mats_ [private] |
Definition at line 86 of file Extrinsics.h.
std::vector<double> pano::Extrinsics::vals_ [private] |
Definition at line 87 of file Extrinsics.h.