/usr/include/openigtlink/igtlMath.h is in libopenigtlink1-dev 1.9.2~svn7468-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | /*=========================================================================
Program: Open IGT Link Library
Module: $HeadURL: http://svn.na-mic.org/NAMICSandBox/trunk/OpenIGTLink/Source/igtlMath.h $
Language: C++
Date: $Date: 2011-03-24 00:08:23 -0400 (Thu, 24 Mar 2011) $
Version: $Revision: 7354 $
Copyright (c) Insight Software Consortium. All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#ifndef __igtlMath_h
#define __igtlMath_h
#include "igtlWin32Header.h"
namespace igtl
{
typedef float Matrix4x4[4][4];
void IGTLCommon_EXPORT PrintMatrix(igtl::Matrix4x4 &matrix);
void IGTLCommon_EXPORT PrintVector3(float v[3]);
void IGTLCommon_EXPORT PrintVector3(float x, float y, float z);
void IGTLCommon_EXPORT PrintVector4(float v[4]);
void IGTLCommon_EXPORT PrintVector4(float x, float y, float z, float w);
void IGTLCommon_EXPORT QuaternionToMatrix(float* q, Matrix4x4& m);
void IGTLCommon_EXPORT MatrixToQuaternion(Matrix4x4& m, float* q);
void IGTLCommon_EXPORT Cross(float *a, float *b, float *c);
void IGTLCommon_EXPORT IdentityMatrix(igtl::Matrix4x4 &matrix);
}
#endif // __igtlMath_h
|