/usr/include/openigtlink/igtlTransformMessage.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 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | /*=========================================================================
Program: Open IGT Link Library
Module: $HeadURL: http://svn.na-mic.org/NAMICSandBox/trunk/OpenIGTLink/Source/igtlTransformMessage.h $
Language: C++
Date: $Date: 2008-12-22 19:05:42 -0500 (Mon, 22 Dec 2008) $
Version: $Revision: 3460 $
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 __igtlTransformMessage_h
#define __igtlTransformMessage_h
#include "igtlObject.h"
//#include "igtlMacros.h"
#include "igtlMath.h"
#include "igtlMessageBase.h"
namespace igtl
{
class IGTLCommon_EXPORT TransformMessage: public MessageBase
{
public:
typedef TransformMessage Self;
typedef MessageBase Superclass;
typedef SmartPointer<Self> Pointer;
typedef SmartPointer<const Self> ConstPointer;
igtlTypeMacro(igtl::TransformMessage, igtl::MessageBase);
igtlNewMacro(igtl::TransformMessage);
public:
void SetPosition(float p[3]);
void GetPosition(float p[3]);
void SetPosition(float px, float py, float pz);
void GetPosition(float* px, float* py, float* pz);
void SetNormals(float o[3][3]);
void GetNormals(float o[3][3]);
void SetNormals(float t[3], float s[3], float n[3]);
void GetNormals(float t[3], float s[3], float n[3]);
void SetMatrix(Matrix4x4& mat);
void GetMatrix(Matrix4x4& mat);
protected:
TransformMessage();
~TransformMessage();
protected:
virtual int GetBodyPackSize();
virtual int PackBody();
virtual int UnpackBody();
Matrix4x4 matrix;
unsigned char* m_Transform;
};
} // namespace igtl
#endif // _igtlTransformMessage_h
|