Choreonoid
1.8
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
Variables
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
p
q
r
s
t
v
w
z
Enumerations
Enumerator
a
b
c
d
f
g
i
k
l
m
n
p
s
t
u
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
f
g
i
l
n
p
r
s
t
u
v
Enumerations
a
b
c
d
e
f
h
i
j
l
m
n
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Properties
Related Functions
b
c
d
e
f
g
h
i
j
l
m
o
p
r
s
t
v
w
y
Files
File List
File Members
All
Functions
Variables
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
BodyPlugin
BodySuperimposerAddon.h
Go to the documentation of this file.
1
#ifndef CNOID_BODY_PLUGIN_BODY_SUPERIMPOSER_ADDON_H
2
#define CNOID_BODY_PLUGIN_BODY_SUPERIMPOSER_ADDON_H
3
4
#include <cnoid/ItemAddon>
5
#include "exportdecl.h"
6
7
namespace
cnoid
{
8
9
class
Body;
10
11
class
CNOID_EXPORT
BodySuperimposerAddon
:
public
ItemAddon
12
{
13
public
:
14
static
void
initializeClass(
ExtensionManager
* ext);
15
16
BodySuperimposerAddon
();
17
BodySuperimposerAddon
(
const
BodySuperimposerAddon
& org) =
delete
;
18
virtual
~
BodySuperimposerAddon
();
19
20
virtual
bool
setOwnerItem(
Item
* item)
override
;
21
22
int
numSuperimposedBodies()
const
;
23
Body
* superimposedBody(
int
index);
24
void
setTransparency(
float
transparency);
25
void
updateSuperimposition();
26
bool
updateSuperimposition(
27
std::function<
bool
()> setReferenceConfigurationToOrgBodiesTransiently);
28
void
clearSuperimposition();
29
30
31
protected
:
32
virtual
bool
store(
Archive
& archive)
override
;
33
virtual
bool
restore(
const
Archive
& archive)
override
;
34
35
private
:
36
class
Impl;
37
Impl* impl;
38
};
39
40
typedef
ref_ptr<BodySuperimposerAddon>
BodySuperimposerAddonPtr
;
41
42
}
43
44
#endif
cnoid::ExtensionManager
Definition:
ExtensionManager.h:23
cnoid::Archive
Definition:
Archive.h:22
cnoid::ItemAddon
Definition:
ItemAddon.h:13
cnoid::ref_ptr
Definition:
Referenced.h:103
cnoid
Definition:
AbstractSceneLoader.h:11
cnoid::Item
Definition:
Item.h:29
cnoid::BodySuperimposerAddon
Definition:
BodySuperimposerAddon.h:11
cnoid::Body
Definition:
Body.h:28
cnoid::BodySuperimposerAddonPtr
ref_ptr< BodySuperimposerAddon > BodySuperimposerAddonPtr
Definition:
BodySuperimposerAddon.h:40
Generated by
1.8.17