Transforms.h File Reference

Contains varius transformation functions. More...

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

Include dependency graph for Transforms.h:

Include dependency graph

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

Included by dependency graph

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 calcRectFocalLength (double hfov, double width)
void 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, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Definition in file Transforms.h.

Function Documentation

double calcRectFocalLength double  hfov,
double  width

Definition at line 49 of file Transforms.h.

void rotatePoint FDiff2D dest,
FDiff2D  src,
double  angle

Definition at line 54 of file Transforms.h.

References hugin_utils::FDiff2D, hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y.

Generated on Thu Sep 18 01:25:40 2014 for Hugintrunk by  doxygen