From: Pablo d'A. <da...@us...> - 2006-08-10 15:01:00
|
Update of /cvsroot/hugin/hugin/src/Panorama In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv1634/src/Panorama Modified Files: PanoImage.cpp Log Message: preview speedup: only remap images if required. Correctly keep selected images when moving or removing images Index: PanoImage.cpp =================================================================== RCS file: /cvsroot/hugin/hugin/src/Panorama/PanoImage.cpp,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- PanoImage.cpp 20 Jul 2006 06:03:09 -0000 1.17 +++ PanoImage.cpp 10 Aug 2006 15:00:55 -0000 1.18 @@ -111,6 +111,36 @@ lensNr(lens) { } +bool SrcPanoImage::operator==(const SrcPanoImage & other) const +{ + // return true; + return ( m_proj == other.m_proj && + m_hfov == other.m_hfov && + m_roll == other.m_roll && + m_pitch == other.m_pitch && + m_yaw == other.m_yaw && + + m_gamma == other.m_gamma && + + m_radialDist == other.m_radialDist && + m_radialDistRed == other.m_radialDistRed && + m_radialDistBlue == other.m_radialDistBlue && + m_centerShift == other.m_centerShift && + m_shear == other.m_shear && + + m_crop == other.m_crop && + + m_vigCorrMode == other.m_vigCorrMode && + m_radialVigCorrCoeff == other.m_radialVigCorrCoeff && + + m_ka == other.m_ka && + m_kb == other.m_kb && + + m_lensNr == other.m_lensNr && + m_featherWidth == other.m_featherWidth && + m_morph == other.m_morph); +} + #if 0 PanoImage::PanoImage(const std::string &filename) |