Choreonoid  1.8
RenderableItem.h
Go to the documentation of this file.
1 #ifndef CNOID_BASE_RENDERABLE_ITEM_H
2 #define CNOID_BASE_RENDERABLE_ITEM_H
3 
4 #include <cnoid/Signal>
5 #include "exportdecl.h"
6 
7 namespace cnoid {
8 
9 class SgNode;
10 
11 class CNOID_EXPORT RenderableItem
12 {
13 public:
15  virtual ~RenderableItem();
16  virtual SgNode* getScene() = 0;
17  virtual bool isSceneSensitive();
18  virtual void setSceneSensitive(bool on);
19  virtual SignalProxy<void(bool on)> sigSceneSensitiveChanged();
20 
21 private:
22  Signal<void(bool on)> sigSceneSensitiveChanged_;
23  bool isSceneSensitive_;
24 };
25 
27 
28 }
29 
30 #endif
cnoid
Definition: AbstractSceneLoader.h:11
cnoid::RenderableItem
Definition: RenderableItem.h:11
cnoid::Signal
Definition: Signal.h:165
cnoid::SignalProxy
Definition: Signal.h:470
cnoid::SgNode
Definition: SceneGraph.h:157
cnoid::SceneProvider
RenderableItem SceneProvider
Definition: RenderableItem.h:26