Choreonoid
1.8
src
Base
LightingItem.h
Go to the documentation of this file.
1
6
#ifndef CNOID_BASE_LIGHTING_ITEM_H
7
#define CNOID_BASE_LIGHTING_ITEM_H
8
9
#include "
Item.h
"
10
#include "
RenderableItem.h
"
11
#include "exportdecl.h"
12
13
namespace
cnoid
{
14
15
class
LightingItemImpl;
16
17
class
CNOID_EXPORT
LightingItem
:
public
Item
,
public
RenderableItem
18
{
19
public
:
20
static
void
initializeClass(
ExtensionManager
* ext);
21
22
LightingItem
();
23
LightingItem
(
const
LightingItem
& org);
24
virtual
~
LightingItem
();
25
26
protected
:
27
virtual
Item
* doDuplicate()
const override
;
28
virtual
void
doPutProperties(
PutPropertyFunction
& putProperty)
override
;
29
virtual
bool
store(
Archive
& archive)
override
;
30
virtual
bool
restore(
const
Archive
& archive)
override
;
31
32
// RenderableItem
33
virtual
SgNode
* getScene()
override
;
34
35
private
:
36
LightingItemImpl* impl;
37
};
38
39
typedef
ref_ptr<LightingItem>
LightingItemPtr
;
40
41
}
42
43
#endif
Item.h
cnoid::ExtensionManager
Definition:
ExtensionManager.h:23
cnoid::PutPropertyFunction
Definition:
PutPropertyFunction.h:51
cnoid::Archive
Definition:
Archive.h:22
cnoid::ref_ptr
Definition:
Referenced.h:103
RenderableItem.h
cnoid
Definition:
AbstractSceneLoader.h:11
cnoid::Item
Definition:
Item.h:29
cnoid::RenderableItem
Definition:
RenderableItem.h:11
cnoid::LightingItem
Definition:
LightingItem.h:17
cnoid::SgNode
Definition:
SceneGraph.h:157
cnoid::LightingItemPtr
ref_ptr< LightingItem > LightingItemPtr
Definition:
LightingItem.h:39
Generated by
1.8.17