Matrix3.h File Reference

#include <hugin_shared.h>
#include <math.h>
#include <hugin_math/Vector3.h>

Include dependency graph for Matrix3.h:

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

Go to the source code of this file.


class  Matrix3
 general : Matrix3 is a class for handling 3x3 Matrix manipulation. More...


Matrix3 GetRotationAroundU (const Vector3 &U, double Angle)
 return the rotation matrix around vector U : checked
Matrix3 GetRotationAroundU (const Vector3 &da)
std::ostreamoperator<< (std::ostream &s, const Matrix3 &m)

Detailed Description

Alexandre Jenny <>

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 Matrix3.h.

Function Documentation

Matrix3 GetRotationAroundU ( const Vector3 da  )  [inline]

Definition at line 204 of file Matrix3.h.

References GetRotationAroundU(), and Vector3::Norm().

Matrix3 GetRotationAroundU ( const Vector3 U,
double  Angle 
) [inline]

return the rotation matrix around vector U : checked

Definition at line 161 of file Matrix3.h.

References Vector3::GetNormalized(), Matrix3::m, Vector3::Norm(), Matrix3::SetIdentity(), Vector3::x, Vector3::y, and Vector3::z.

Referenced by HuginBase::StraightenPanorama::calcStraighteningRotation(), and GetRotationAroundU().

std::ostream& operator<< ( std::ostream s,
const Matrix3 m 
) [inline]

Definition at line 243 of file Matrix3.h.

References Matrix3::Print().

Generated on 21 Mar 2018 for Hugintrunk by  doxygen 1.4.7