|
| ~CameraIntrinsics () |
| Destructor More...
|
|
| CameraIntrinsics (const CameraIntrinsics &other) |
| Copy constructor More...
|
|
CameraIntrinsics & | operator= (const CameraIntrinsics &other) |
| Assignment operator More...
|
|
| CameraIntrinsics (CameraIntrinsics &&other) noexcept |
| Move constructor More...
|
|
CameraIntrinsics & | operator= (CameraIntrinsics &&other) noexcept |
| Move assignment operator More...
|
|
| CameraIntrinsics ()=default |
| Default constructor More...
|
|
void | set (const std::string &fullPath, const std::string &value) |
| Set a value from string by specifying the path More...
|
|
std::string | getString (const std::string &fullPath) const |
| Get a value as string by specifying the path More...
|
|
template<typename T , typename std::enable_if< std::is_same< T, CameraIntrinsics::CameraMatrix >::value, int >::type = 0> |
const CameraIntrinsics::CameraMatrix & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraIntrinsics::CameraMatrix::CX >::value, int >::type = 0> |
const CameraIntrinsics::CameraMatrix::CX & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraIntrinsics::CameraMatrix::CY >::value, int >::type = 0> |
const CameraIntrinsics::CameraMatrix::CY & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraIntrinsics::CameraMatrix::FX >::value, int >::type = 0> |
const CameraIntrinsics::CameraMatrix::FX & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraIntrinsics::CameraMatrix::FY >::value, int >::type = 0> |
const CameraIntrinsics::CameraMatrix::FY & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraIntrinsics::Distortion >::value, int >::type = 0> |
const CameraIntrinsics::Distortion & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraIntrinsics::Distortion::K1 >::value, int >::type = 0> |
const CameraIntrinsics::Distortion::K1 & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraIntrinsics::Distortion::K2 >::value, int >::type = 0> |
const CameraIntrinsics::Distortion::K2 & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraIntrinsics::Distortion::K3 >::value, int >::type = 0> |
const CameraIntrinsics::Distortion::K3 & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraIntrinsics::Distortion::P1 >::value, int >::type = 0> |
const CameraIntrinsics::Distortion::P1 & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraIntrinsics::Distortion::P2 >::value, int >::type = 0> |
const CameraIntrinsics::Distortion::P2 & | get () const |
|
template<size_t i, typename std::enable_if< i==0, int >::type = 0> |
const CameraIntrinsics::CameraMatrix & | get () const |
|
template<size_t i, typename std::enable_if< i==1, int >::type = 0> |
const CameraIntrinsics::Distortion & | get () const |
|
| CameraIntrinsics (const CameraMatrix &cameraMatrix, const Distortion &distortion) |
| Constructor More...
|
|
CameraIntrinsics & | set (const CameraMatrix &value) |
| Set CameraMatrix More...
|
|
const CameraMatrix & | cameraMatrix () const |
| Get CameraMatrix More...
|
|
CameraIntrinsics & | set (const CameraMatrix::CX &value) |
| Set CameraMatrix::CX More...
|
|
CameraIntrinsics & | set (const CameraMatrix::CY &value) |
| Set CameraMatrix::CY More...
|
|
CameraIntrinsics & | set (const CameraMatrix::FX &value) |
| Set CameraMatrix::FX More...
|
|
CameraIntrinsics & | set (const CameraMatrix::FY &value) |
| Set CameraMatrix::FY More...
|
|
CameraIntrinsics & | set (const Distortion &value) |
| Set Distortion More...
|
|
const Distortion & | distortion () const |
| Get Distortion More...
|
|
CameraIntrinsics & | set (const Distortion::K1 &value) |
| Set Distortion::K1 More...
|
|
CameraIntrinsics & | set (const Distortion::K2 &value) |
| Set Distortion::K2 More...
|
|
CameraIntrinsics & | set (const Distortion::K3 &value) |
| Set Distortion::K3 More...
|
|
CameraIntrinsics & | set (const Distortion::P1 &value) |
| Set Distortion::P1 More...
|
|
CameraIntrinsics & | set (const Distortion::P2 &value) |
| Set Distortion::P2 More...
|
|
template<typename F > |
void | forEach (const F &f) const |
| Run the given function on each direct member with the value of the member as parameter More...
|
|
template<typename F > |
void | forEach (const F &f) |
| Run the given function on each direct member with the value of the member as parameter More...
|
|
template<typename F > |
void | traverseValues (const F &f) const |
| Traverse the entire tree using the given function with the value of the member as parameter More...
|
|
template<typename F > |
void | traverseValues (const F &f) |
| Traverse all members using the given function with the value of the member as parameter More...
|
|
std::string | toString () const |
| Get the value as string More...
|
|
void | setFromString (const std::string &value) |
| Set from the given string More...
|
|
bool | operator== (const CameraIntrinsics &other) const |
| Equality operator More...
|
|
bool | operator!= (const CameraIntrinsics &other) const |
| Inequality operator More...
|
|
| CameraIntrinsics (const std::string &fileName) |
| Construct object by loading from file More...
|
|
void | save (const std::string &fileName) const |
| Save to the given file More...
|
|
void | load (const std::string &fileName) |
| Load from the given file More...
|
|
Information about the intrinsic parameters of the camera (OpenCV model)