SphericMirrorCalculator.hpp   SphericMirrorCalculator.hpp 
skipping to change at line 31 skipping to change at line 31
#ifndef _SPHERICMIRRORCALCULATOR_HPP_ #ifndef _SPHERICMIRRORCALCULATOR_HPP_
#define _SPHERICMIRRORCALCULATOR_HPP_ #define _SPHERICMIRRORCALCULATOR_HPP_
#include "VecMath.hpp" #include "VecMath.hpp"
class QSettings; class QSettings;
class SphericMirrorCalculator { class SphericMirrorCalculator {
public: public:
SphericMirrorCalculator(const QSettings& conf); SphericMirrorCalculator(const QSettings& conf);
double getHorzZoomFactor(void) const {return horzZoomFactor;} float getHorzZoomFactor() const {return horzZoomFactor;}
double getVertZoomFactor(void) const {return vertZoomFactor;} float getVertZoomFactor() const {return vertZoomFactor;}
bool transform(const Vec3d &v,double &x,double &y) const; bool transform(const Vec3f &v,float &x,float &y) const;
bool retransform(double x,double y,Vec3d &v) const; bool retransform(float x,float y,Vec3f &v) const;
// for calculating partial derivatives: // for calculating partial derivatives:
bool retransform(double x,double y,Vec3d &v,Vec3d &vX,Vec3d &vY) const; bool retransform(float x,float y, Vec3f& v, Vec3f& vX, Vec3f& vY) const;
private: private:
void initRotMatrix(double alpha,double delta,double phi); void initRotMatrix(float alpha,float delta,float phi);
private: private:
Vec3d P; // projector Vec3f P; // projector
Vec3d DomeCenter; Vec3f DomeCenter;
double DomeRadius; float DomeRadius;
double PP; float PP;
double lP; float lP;
Vec3d p; Vec3f p;
double horzZoomFactor; float horzZoomFactor;
double vertZoomFactor; float vertZoomFactor;
double alphaDeltaPhi[9]; float alphaDeltaPhi[9];
}; };
#endif // _SPHERICMIRRORCALCULATOR_HPP_ #endif // _SPHERICMIRRORCALCULATOR_HPP_
 End of changes. 4 change blocks. 
15 lines changed or deleted 15 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/