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
Body
SceneCollision.h
Go to the documentation of this file.
1
5
#ifndef CNOID_BODY_SCENE_COLLISION_H
6
#define CNOID_BODY_SCENE_COLLISION_H
7
8
#include "
CollisionLinkPair.h
"
9
#include <cnoid/SceneDrawables>
10
#include "exportdecl.h"
11
12
namespace
cnoid
{
13
14
class
SceneRenderer;
15
16
class
CNOID_EXPORT
SceneCollision
:
public
SgLineSet
17
{
18
public
:
19
SceneCollision
(std::shared_ptr<std::vector<CollisionLinkPairPtr>> collisionPairs);
20
void
setDirty
() { isDirty =
true
; }
21
void
render(
SceneRenderer
* renderer);
22
23
private
:
24
SceneCollision
(
const
SceneCollision
& org);
25
26
std::shared_ptr<std::vector<CollisionLinkPairPtr>> collisionPairs;
27
SgVertexArrayPtr
vertices_;
28
bool
isDirty;
29
};
30
31
typedef
ref_ptr<SceneCollision>
SceneCollisionPtr
;
32
33
}
34
35
#endif
cnoid::SgLineSet
Definition:
SceneDrawables.h:660
cnoid::SceneCollisionPtr
ref_ptr< SceneCollision > SceneCollisionPtr
Definition:
SceneCollision.h:31
cnoid::SceneCollision
Definition:
SceneCollision.h:16
cnoid::ref_ptr< SgVertexArray >
CollisionLinkPair.h
cnoid
Definition:
AbstractSceneLoader.h:11
cnoid::SceneCollision::setDirty
void setDirty()
Definition:
SceneCollision.h:20
cnoid::SceneRenderer
Definition:
SceneRenderer.h:15
Generated by
1.8.17