This file is indexed.

/usr/include/mia-2.4/mia/3d/rot.hh is in libmia-2.4-dev 2.4.3-5.

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
/* -*- mia-c++  -*-
 *
 * This file is part of MIA - a toolbox for medical image analysis 
 * Copyright (c) Leipzig, Madrid 1999-2016 Gert Wollny
 *
 * MIA 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 3 of the License, or
 * (at your option) any later version.
 *
 * This program 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with MIA; if not, see <http://www.gnu.org/licenses/>.
 *
 */

#ifndef mia_3d_rot_hh
#define mia_3d_rot_hh

#include <mia/core/attributes.hh>
#include <mia/3d/quaternion.hh>
#include <mia/3d/matrix.hh>

NS_MIA_BEGIN

class EXPORT_3D C3DRotation {
public: 
	C3DRotation(); 
	~C3DRotation();
	
	C3DRotation(const C3DRotation& other); 
	C3DRotation& operator = (const C3DRotation& other); 

	C3DRotation(const C3DDMatrix& m); 
	C3DRotation(const Quaternion& q); 
	C3DRotation(const std::string& s); 

	C3DDMatrix as_matrix_3x3() const;
	Quaternion as_quaternion() const; 
	std::string as_string() const; 

	static const C3DRotation _1; 

private: 
	class C3DRotationImpl *impl;
}; 




template <>
struct attribute_type<C3DRotation>  {
        static const int value = 0x4000;
}; 

template <>
struct dispatch_attr_string<C3DRotation> {
	static std::string val2string(const C3DRotation& value) {
		return value.as_string();
	}
	static C3DRotation string2val(const std::string& str) {
		return C3DRotation(str); 
	}
}; 


EXPORT_3D bool operator == (const C3DRotation& lhs, const C3DRotation& rhs); 
EXPORT_3D bool operator < (const C3DRotation& lhs, const C3DRotation& rhs); 

typedef TAttribute<C3DRotation> C3DRotationAttribute; 
typedef TTranslator<C3DRotation> C3DRotationAttributeTranslate;

NS_MIA_END
#endif