This file is indexed.

/usr/include/choreonoid-1.1/cnoid/src/BodyPlugin/SceneBody.h is in libcnoid-dev 1.1.0+dfsg-6.1+b4.

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
/**
   @author Shin'ichiro Nakaoka
*/

#ifndef CNOID_BODYPLUGIN_SCENE_BODY_H_INCLUDED
#define CNOID_BODYPLUGIN_SCENE_BODY_H_INCLUDED

#include <boost/dynamic_bitset.hpp>
#include <cnoid/SceneObject>
#include "BodyItem.h"
#include "exportdecl.h"

namespace cnoid {

    class SceneBodyImpl;

    class CNOID_EXPORT SceneBody : public SceneObject
    {
      public:
        SceneBody(BodyItemPtr bodyItem);

        void setLinkVisibilities(const boost::dynamic_bitset<>& visibilities);

        void showCenterOfMass(bool on);
        bool isCenterOfMassVisible() const;

        void showZmp(bool on);
        bool isZmpVisible() const;
		  
        Link* getPointedSceneLink();
        osg::ref_ptr<osg::Node> getPointedShapeNode();
		  
      protected:

        virtual ~SceneBody();
        bool createSceneLinks();

        virtual void onAttachedToScene();
        virtual void onDetachedFromScene();

        virtual bool onKeyPressEvent(const SceneViewEvent& event);
        virtual bool onKeyReleaseEvent(const SceneViewEvent& event);
        virtual bool onButtonPressEvent(const SceneViewEvent& event);
        virtual bool onButtonReleaseEvent(const SceneViewEvent& event);
        virtual bool onDoubleClickEvent(const SceneViewEvent& event);
        virtual bool onPointerMoveEvent(const SceneViewEvent& event);
        virtual void onPointerLeaveEvent(const SceneViewEvent& event);
        virtual void onContextMenuRequest(const SceneViewEvent& event, MenuManager& menuManager);
        virtual void onSceneModeChanged();
        virtual bool onUndoRequest();
        virtual bool onRedoRequest();
            
      private:

        SceneBodyImpl* impl;

        friend class SceneBodyImpl;
    };
            
    typedef osg::ref_ptr<SceneBody> SceneBodyPtr;
}
    
#endif