This file is indexed.

/usr/include/choreonoid-1.1/cnoid/src/Base/SceneView.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
64
65
66
67
68
69
70
71
72
/**
   @author Shin'ichiro Nakaoka
*/

#ifndef CNOID_GUIBASE_SCENE_VIEW_H_INCLUDED
#define CNOID_GUIBASE_SCENE_VIEW_H_INCLUDED

#include <cnoid/View>
#include "exportdecl.h"

namespace osg {
    class Camera;
    class Node;
}

namespace cnoid {

    class ExtensionManager;
    class OsgViewer;
    class SceneObject;
    class SceneViewImpl;

    class CNOID_EXPORT SceneView : public View
    {
      public:
        static void initialize(ExtensionManager* ext);
        static SceneView* mainInstance();
        
        SceneView();
        virtual ~SceneView();
        
        OsgViewer* viewer();
        
        void requestRedraw();
        
        void addSceneObject(SceneObject* object);
        void removeSceneObject(SceneObject* object);

        void toggleFloorGrid(bool on);
        void toggleShadow(bool on);

        /**
           \todo Test to provide this flexible event signal
        */
        //SignalProxy<boost::signal<bool(SceneObject* object, SceneViewEvent* event)> > sigEvent;

        osg::Camera* getCameraControl();
        bool releaseCameraControl(osg::Camera* camera);

        void addPreprocessingNode(osg::Node* node);
        bool removePreprocessingNode(osg::Node* node);

        bool saveImage(const std::string& filename);

        void setScreenSize(int width, int height);

        void updateIndicator(const std::string& text);

      protected:

        virtual QWidget* indicatorOnInfoBar();
        virtual bool storeState(Archive& archive);
        virtual bool restoreState(const Archive& archive);

      private:
        friend class SceneViewImpl;
        SceneViewImpl* impl;
    };

}

#endif