29 inline a_unwarp() : u0_(0), v0_(0), K1_(0), K2_(0), P1_(0), P2_(0) {}
30 inline void u0(
double v) {u0_ = v;}
31 inline void v0(
double v) {v0_ = v;}
32 inline void K1(
double v) {K1_ = v;}
33 inline void K2(
double v) {K2_ = v;}
34 inline void P1(
double v) {P1_ = v;}
35 inline void P2(
double v) {P2_ = v;}
36 inline double u0()
const {
return u0_;}
37 inline double v0()
const {
return v0_;}
38 inline double K1()
const {
return K1_;}
39 inline double K2()
const {
return K2_;}
40 inline double P1()
const {
return P1_;}
41 inline double P2()
const {
return P2_;}
43 void unwarp(
double u,
double v,
double& un,
double& vn);
friend std::istream & operator>>(std::istream &i, a_unwarp &l)
friend std::ostream & operator<<(std::ostream &o, const a_unwarp &l)
void unwarp(double u, double v, double &un, double &vn)