This file is indexed.

/usr/include/opencollada/COLLADAStreamWriter/COLLADASWTexture.h is in opencollada-dev 0.1.0~20160714.0ec5063+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
/*
    Copyright (c) 2008-2009 NetAllied Systems GmbH

    This file is part of COLLADAStreamWriter.

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

#include "COLLADASWPrerequisites.h"
#include "COLLADASWElementWriter.h"
#include "COLLADASWExtraTechnique.h"
#include "COLLADASWColor.h"
#include "COLLADASWSampler.h"
#include <vector>
#include <map>


namespace COLLADASW
{

    class Texture : public BaseExtraTechnique
    {

    private:

        String mSid;

        /** the ID of the image element assigned to the texture. Required. */
        String mImageID;

        /** The surface. For possible type values see domFx_surface_type_enum in domTypes.h. Required. */
//        Surface mSurface;

        /** Declares the storage for the graphical representation of an object. */
        Sampler mSampler;

        /** texcoord.*/
        String mTexcoord;

        /** The name of the profile, if we want to add the texture as an extra technique tag. */
        String mProfileName;

        /** The name of the child element, if we have set a profile name and we want
        to add the texture as an extra technique tag under a child element.*/
        String mChildElementName;

    public:

        /**Constructor that sets all required attributes and the default values for optional attributes.*/
        Texture ( const String &imageID, const String &sid="" );

        /**Constructor that creates an invalid texture.*/
        Texture();

        /** Destructor */
        ~Texture() {};

        /** Chick, if the Texture is valid*/
        bool isValid() const;

        /** Sets the texcoord. */
        void setTexcoord ( const String texcoord );

        /** Returns the texcoord*/
        const String& getTexcoord() const;

        /** Returns the image ID*/
        const String& getImageID() const;

        /** Returns the image ID*/
        const String& getImageId() const;

        void setImageId ( String imageId );

        /** Returns the surface. */
//        const Surface& getSurface() const;

        /** Returns the surface. */
//        void setSurface ( const Surface& surface );

        /** Declares the storage for the graphical representation of an object. */
        const Sampler& getSampler () const;

        /** Declares the storage for the graphical representation of an object. */
        void setSampler ( const Sampler& val );

        /** Returns the sid of the sampler used by this texture*/
        String getSamplerSid() const;

        /** Returns the sid of the surface used by this texture*/
        String getSurfaceSid() const;

        /** comparison operator*/
        bool operator== ( const Texture& other ) const;

        /**
        * Set the name of the profile, if we want to add the texture as an extra technique tag.
        * @param profileName Name of the extra technique profile.
        */
        void setProfileName(const String& profileName)  { mProfileName = profileName; }
        /**
        * Get the name of the profile, if we want to add the texture as an extra technique tag.
        * @return mProfileName Name of the extra technique profile.
        */
        const String& getProfileName() const { return mProfileName; }

        /**
        * Set the name of the child element, if we have set a profile name and we want
        * to add the texture as an extra technique tag under a child element.
        * @param childElementName Name of the child element.
        */
        void setChildElementName(const String& childElementName)  { mChildElementName = childElementName; }
        /**
        * Get the name of the child element, if we have set a profile name and we want
        * to add the texture as an extra technique tag under a child element.
        * @return childElementName Name of the child element.
        */
        const String& getChildElementName() const { return mChildElementName; }

    };

} //namespace COLLADASW


#endif //__COLLADASTREAMWRITER_TEXTURE_H__