Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

igtlMath.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Open IGT Link Library
00004   Module:    $HeadURL: http://svn.na-mic.org/NAMICSandBox/trunk/OpenIGTLink/Source/igtlMath.h $
00005   Language:  C++
00006   Date:      $Date: 2008-12-22 19:05:42 -0500 (Mon, 22 Dec 2008) $
00007   Version:   $Revision: 3460 $
00008 
00009   Copyright (c) Insight Software Consortium. All rights reserved.
00010 
00011   This software is distributed WITHOUT ANY WARRANTY; without even
00012   the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00013   PURPOSE.  See the above copyright notices for more information.
00014 
00015 =========================================================================*/
00016 
00017 #ifndef __igtlMath_h
00018 #define __igtlMath_h
00019 
00020 #include "igtlWin32Header.h"
00021 
00022 namespace igtl
00023 {
00024 
00025 typedef float  Matrix4x4[4][4];
00026 
00027 void IGTLCommon_EXPORT PrintMatrix(igtl::Matrix4x4 &matrix);
00028 void IGTLCommon_EXPORT QuaternionToMatrix(float* q, Matrix4x4& m);
00029 void IGTLCommon_EXPORT MatrixToQuaternion(Matrix4x4& m, float* q);
00030 void IGTLCommon_EXPORT Cross(float *a, float *b, float *c);
00031 void IGTLCommon_EXPORT IdentityMatrix(igtl::Matrix4x4 &matrix);
00032 
00033 }
00034 
00035 #endif // __igtlMath_h
00036 
00037 
00038 
00039 

Generated at Sat Apr 17 12:12:15 2010 for OpenIGTLink by doxygen 1.6.3 written by Dimitri van Heesch, © 1997-2000