Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
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.

Classes

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

Functions

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

Detailed Description

Author
Alexandre Jenny alexa.nosp@m.ndre.nosp@m..jenn.nosp@m.y@le.nosp@m.-geo..nosp@m.com

$Id$

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 http://www.gnu.org/licenses/.

Definition in file Matrix3.h.

Function Documentation

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().

Matrix3 GetRotationAroundU ( const Vector3 da)
inline

Definition at line 204 of file Matrix3.h.

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

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

Definition at line 243 of file Matrix3.h.

References Matrix3::Print().