forked from s-nakaoka/openhrp-plugin
-
Notifications
You must be signed in to change notification settings - Fork 4
/
OpenHRPOnlineViewerItem.h
40 lines (30 loc) · 1.01 KB
/
OpenHRPOnlineViewerItem.h
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
/**
@author Shizuko Hattori
*/
#ifndef CNOID_OPENHRP_PLUGIN_ONLINE_VIEWER_ITEM_H
#define CNOID_OPENHRP_PLUGIN_ONLINE_VIEWER_ITEM_H
#include <cnoid/Item>
#include <cnoid/SceneProvider>
namespace cnoid {
class OpenHRPOnlineViewerItemImpl;
class OpenHRPOnlineViewerItem : public Item, public SceneProvider
{
public:
static void initializeClass(ExtensionManager* ext);
OpenHRPOnlineViewerItem();
OpenHRPOnlineViewerItem(const OpenHRPOnlineViewerItem& org);
virtual ~OpenHRPOnlineViewerItem();
protected:
virtual Item* doDuplicate() const override;
virtual void onConnectedToRoot() override;
virtual void onDisconnectedFromRoot() override;
virtual void doPutProperties(PutPropertyFunction& putProperty) override;
virtual bool store(Archive& archive) override;
virtual bool restore(const Archive& archive) override;
virtual SgNode* getScene() override;
private:
OpenHRPOnlineViewerItemImpl* impl;
};
typedef ref_ptr<OpenHRPOnlineViewerItem> OpenHRPOnlineViewerItemPtr;
}
#endif