Choreonoid
1.8
src
BodyPlugin
MaterialTableItem.h
Go to the documentation of this file.
1
#ifndef CNOID_BODY_PLUGIN_MATERIAL_TABLE_ITEM_H
2
#define CNOID_BODY_PLUGIN_MATERIAL_TABLE_ITEM_H
3
4
#include <cnoid/Item>
5
#include <cnoid/MaterialTable>
6
#include "exportdecl.h"
7
8
namespace
cnoid
{
9
10
class
CNOID_EXPORT
MaterialTableItem
:
public
Item
11
{
12
public
:
13
static
void
initializeClass(
ExtensionManager
* ext);
14
15
MaterialTableItem
();
16
MaterialTableItem
(
const
MaterialTableItem
& org);
17
18
MaterialTable
*
materialTable
() {
return
materialTable_; }
19
20
protected
:
21
virtual
Item
* doDuplicate()
const override
;
22
virtual
void
doPutProperties(
PutPropertyFunction
& putProperty)
override
;
23
virtual
bool
store(
Archive
& archive)
override
;
24
virtual
bool
restore(
const
Archive
& archive)
override
;
25
26
private
:
27
MaterialTablePtr
materialTable_;
28
};
29
30
}
31
32
#endif
cnoid::MaterialTableItem::materialTable
MaterialTable * materialTable()
Definition:
MaterialTableItem.h:18
cnoid::ExtensionManager
Definition:
ExtensionManager.h:23
cnoid::PutPropertyFunction
Definition:
PutPropertyFunction.h:51
cnoid::Archive
Definition:
Archive.h:22
cnoid::ref_ptr< MaterialTable >
cnoid
Definition:
AbstractSceneLoader.h:11
cnoid::Item
Definition:
Item.h:29
cnoid::MaterialTableItem
Definition:
MaterialTableItem.h:10
cnoid::MaterialTable
Definition:
MaterialTable.h:18
Generated by
1.8.17