Transforms.h File Reference

Contains varius transformation functions. More...

#include <cmath>
#include <hugin_math/hugin_math.h>

Include dependency graph for Transforms.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


namespace  hugin_utils
namespace  hugin_utils::TRANSFORM


struct  hugin_utils::TRANSFORM::DegToRad
struct  hugin_utils::TRANSFORM::RadToDeg
struct  hugin_utils::TRANSFORM::ERectToRect
 transform for equirectangular to rectangular. More...
struct  hugin_utils::TRANSFORM::RectToERect
 transform for rectangular to equirectangular. More...
struct  hugin_utils::TRANSFORM::CartToImg
 convert cartesian coordinates to image coordinates More...
struct  hugin_utils::TRANSFORM::ImgToCart
 convert image coordinates to mathematical rectangular coordinates. More...
struct  hugin_utils::TRANSFORM::RotERect
 rotate and move equirectangular orientation. More...
struct  hugin_utils::TRANSFORM::Translate
 translation: dest = src - [x y] More...
struct  hugin_utils::TRANSFORM::InvRotERect
 inverse rotate and move equirectangular orientation. More...


double hugin_utils::TRANSFORM::calcRectFocalLength (double hfov, double width)
void hugin_utils::TRANSFORM::rotatePoint (FDiff2D &dest, FDiff2D src, double angle)

Detailed Description

Contains varius transformation functions.

Pablo d'Angelo <>

This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU General Public License along with this software. If not, see <>.

Definition in file Transforms.h.

Generated on 17 Dec 2016 for Hugintrunk by  doxygen 1.4.7