This file is indexed.

/usr/include/openigtlink/igtl_position.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
/*=========================================================================

  Program:   OpenIGTLink Library
  Module:    $HeadURL: http://svn.na-mic.org/NAMICSandBox/trunk/OpenIGTLink/Source/igtlutil/igtl_position.h $
  Language:  C
  Date:      $Date: 2009-11-13 11:37:44 -0500 (Fri, 13 Nov 2009) $
  Version:   $Revision: 5335 $

  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 __IGTL_POSITION_H
#define __IGTL_POSITION_H

#include "igtl_win32header.h"
#include "igtl_util.h"
#include "igtl_types.h"

#define  IGTL_POSITION_MESSAGE_DEFAULT_SIZE           28
          /** NOTE: the size varies if orientation is omitted **/
#define  IGTL_POSITION_MESSAGE_POSITON_ONLY_SIZE      12  /* size w/o quaternion       */
#define  IGTL_POSITION_MESSAGE_WITH_QUATERNION3_SIZE  24  /* size 3-element quaternion */


#ifdef __cplusplus
extern "C" {
#endif

#pragma pack(1)     /* For 1-byte boundary in memroy */
/*
 * Status data header for OpenIGTLinik protocol
 *
 */

typedef struct {
  igtl_float32 position[3];    /* (x, y, z) */
  igtl_float32 quaternion[4];  /* (ox, oy, oz, w) */
} igtl_position;

#pragma pack()

/*
 * Byte order conversion for the position data structure
 *
 * This function converts endianness of each member variable
 * in igtl_status_header from host byte order to network byte order,
 * or vice versa.
 */

void igtl_export igtl_position_convert_byte_order(igtl_position* pos);


/*
 * CRC calculation
 *
 * This function calculates CRC of position message
 *
 */

igtl_uint64 igtl_export igtl_position_get_crc(igtl_position* pos);

#ifdef __cplusplus
}
#endif

#endif /* __IGTL_POSITION_H */