|
| Distortion ()=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::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::Distortion::K1 & | get () const |
|
template<size_t i, typename std::enable_if< i==1, int >::type = 0> |
const CameraIntrinsics::Distortion::K2 & | get () const |
|
template<size_t i, typename std::enable_if< i==2, int >::type = 0> |
const CameraIntrinsics::Distortion::K3 & | get () const |
|
template<size_t i, typename std::enable_if< i==3, int >::type = 0> |
const CameraIntrinsics::Distortion::P1 & | get () const |
|
template<size_t i, typename std::enable_if< i==4, int >::type = 0> |
const CameraIntrinsics::Distortion::P2 & | get () const |
|
| Distortion (const K1 &k1, const K2 &k2, const K3 &k3, const P1 &p1, const P2 &p2) |
| Constructor More...
|
|
Distortion & | set (const K1 &value) |
| Set K1 More...
|
|
const K1 & | k1 () const |
| Get K1 More...
|
|
Distortion & | set (const K2 &value) |
| Set K2 More...
|
|
const K2 & | k2 () const |
| Get K2 More...
|
|
Distortion & | set (const K3 &value) |
| Set K3 More...
|
|
const K3 & | k3 () const |
| Get K3 More...
|
|
Distortion & | set (const P1 &value) |
| Set P1 More...
|
|
const P1 & | p1 () const |
| Get P1 More...
|
|
Distortion & | set (const P2 &value) |
| Set P2 More...
|
|
const P2 & | p2 () const |
| Get 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 Distortion &other) const |
| Equality operator More...
|
|
bool | operator!= (const Distortion &other) const |
| Inequality operator More...
|
|
The radial and tangential distortion parameters