This file is indexed.

/usr/include/opencollada/COLLADASaxFrameworkLoader/COLLADASaxFWLLibraryCamerasLoader.h is in opencollada-dev 0.1.0~20140703.ddf8f47+dfsg1-2.

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
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
/*
    Copyright (c) 2008-2009 NetAllied Systems GmbH

    This file is part of COLLADASaxFrameworkLoader.

    Licensed under the MIT Open Source License, 
    for details please see LICENSE file or the website
    http://www.opensource.org/licenses/mit-license.php
*/

#ifndef __COLLADASAXFWL_LIBRARYCAMERASLOADER_H__
#define __COLLADASAXFWL_LIBRARYCAMERASLOADER_H__

#include "COLLADASaxFWLPrerequisites.h"
#include "COLLADASaxFWLFilePartLoader.h"
#include "COLLADASaxFWLXmlTypes.h"


namespace COLLADAFW
{
	class Camera;
}

namespace COLLADASaxFWL
{

    /** Loads all the cameras in a library cameras.  */
	class LibraryCamerasLoader : public FilePartLoader
	{
	private:
		/** The current camera.*/
		COLLADAFW::Camera* mCurrentCamera;

		/** The current camera has xfov or xmag ( depending on optics ).*/
		bool mCurrentCameraHasX;

		/** The current camera has yfov or ymag ( depending on optics ).*/
		bool mCurrentCameraHasY;

		/** The current camera has apect ratio.*/
		bool mCurrentCameraHasAspectRatio;

		/** True, if we are inside an optics element, false otherwise. Is used extra tag key generation.*/
		bool mInOptics;

	public:

        /** Constructor. */
		LibraryCamerasLoader( IFilePartLoader* callingFilePartLoader  );

        /** Destructor. */
		virtual ~LibraryCamerasLoader();

		/** Resets all the variables used for the current camera.*/
		void resetCurrentValues();

        /** Returns the unique id of the current parsed object. */
        virtual const COLLADAFW::UniqueId& getUniqueId();

		/** Finishes loading a library cameras.*/
		virtual bool end__library_cameras();


		/** Creates a new camera.*/
		virtual bool begin__camera( const camera__AttributeData& attributeData );

		/** Sends camera to the writer.*/
		virtual bool end__camera();


		/** Store that we are inside an optics element.*/
		virtual bool begin__optics(){mInOptics = true; return true;}

		/** Store that we are NOT inside an optics element.*/
		virtual bool end__optics(){mInOptics = false; return true;}


		/** We don't need to do anything here.*/
		virtual bool begin__optics__technique_common(){return true;}

		/** We don't need to do anything here.*/
		virtual bool end__optics__technique_common(){return true;}


		/** Set camera type to perspective.*/
		virtual bool begin__perspective();

		/** We don't need to do anything here.*/
		virtual bool end__perspective(){return true;}


		/** Set camera type to orthographic.*/
		virtual bool begin__orthographic();

		/** We don't need to do anything here.*/
		virtual bool end__orthographic(){return true;}


		/** Add animatable float to sid tree*/
		virtual bool begin__xfov( const xfov__AttributeData& attributeData );

		/** Move up in sid tree.*/
		virtual bool end__xfov();
		
		/** Stores the xfov of the current camera.*/
		virtual bool data__xfov( float value );


		/** Add animatable float to sid tree*/
		virtual bool begin__yfov( const yfov__AttributeData& attributeData );

		/** Move up in sid tree.*/
		virtual bool end__yfov();

		/** Stores the yfov of the current camera.*/
		virtual bool data__yfov( float value );


		/** Add animatable float to sid tree*/
		virtual bool begin__xmag( const xmag__AttributeData& attributeData );

		/** Move up in sid tree.*/
		virtual bool end__xmag();

		/** Stores the xmag of the current camera.*/
		virtual bool data__xmag( float value );


		/** Add animatable float to sid tree*/
		virtual bool begin__ymag( const ymag__AttributeData& attributeData );

		/** Move up in sid tree.*/
		virtual bool end__ymag();

		/** Stores the ymag of the current camera.*/
		virtual bool data__ymag( float value );


		/** Add animatable float to sid tree*/
		virtual bool begin__aspect_ratio( const aspect_ratio__AttributeData& attributeData );

		/** Move up in sid tree.*/
		virtual bool end__aspect_ratio();

		/** Stores the aspect ratio of the current camera.*/
		virtual bool data__aspect_ratio( float value );


		/** Add animatable float to sid tree*/
		virtual bool begin__znear( const znear__AttributeData& attributeData );

		/** Move up in sid tree.*/
		virtual bool end__znear();

		/** Stores the near clipping plane of the current camera.*/
		virtual bool data__znear( float value );


		/** Add animatable float to sid tree*/
		virtual bool begin__zfar( const zfar__AttributeData& attributeData );

		/** Move up in sid tree.*/
		virtual bool end__zfar();

		/** Stores the far clipping plane of the current camera.*/
		virtual bool data__zfar( float value );


		/** We don't need to do anything here.*/
		virtual bool begin__imager(){return true;}

		/** We don't need to do anything here.*/
		virtual bool end__imager(){return true;}

    private:

        /** Disable default copy ctor. */
		LibraryCamerasLoader( const LibraryCamerasLoader& pre );

        /** Disable default assignment operator. */
		const LibraryCamerasLoader& operator= ( const LibraryCamerasLoader& pre );

	};

} // namespace COLLADASAXFWL

#endif // __COLLADASAXFWL_LIBRARYCAMERASLOADER_H__