Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
z
+
Variables
a
b
c
d
e
f
g
i
l
n
o
p
r
s
t
u
v
x
y
+
Typedefs
a
b
c
d
e
f
g
h
i
j
m
o
r
s
t
v
w
Enumerations
+
Enumerator
_
a
b
c
f
g
i
l
m
n
o
p
r
s
t
u
+
Classes
Class List
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
z
~
+
Variables
_
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
+
Typedefs
a
b
c
e
i
j
l
m
n
o
p
r
s
t
u
v
Enumerations
+
Enumerator
a
c
d
e
f
h
i
l
m
n
p
r
s
t
v
+
Related Functions
a
b
c
d
e
f
i
j
l
m
o
p
s
t
u
v
w
+
Files
File List
+
File 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
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
b
c
d
e
f
g
h
i
j
k
l
m
o
p
r
s
t
u
v
w
y
z
Enumerations
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
x
y
z
+
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
hrplib
hrpCollision
CollisionData.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2008, AIST, the University of Tokyo and General Robotix Inc.
3
* All rights reserved. This program is made available under the terms of the
4
* Eclipse Public License v1.0 which accompanies this distribution, and is
5
* available at http://www.eclipse.org/legal/epl-v10.html
6
* Contributors:
7
* National Institute of Advanced Industrial Science and Technology (AIST)
8
*/
9
10
#ifndef HRPCOLLISION_COLLISION_DATA_H_INCLUDED
11
#define HRPCOLLISION_COLLISION_DATA_H_INCLUDED
12
13
#include <
hrpUtil/Eigen3d.h
>
14
#include "
config.h
"
15
16
namespace
hrp
{
17
18
// this is for the client
19
20
class
collision_data
21
{
22
public
:
23
int
id1
;
24
int
id2
;
25
26
int
num_of_i_points
;
27
Vector3
i_points
[4];
28
int
i_point_new
[4];
29
30
Vector3
n_vector
;
31
double
depth
;
32
33
Vector3
n
;
// normal vector of triangle id1
34
Vector3
m
;
// normal vector of triangle id2
35
int
c_type
;
// c_type=1 for vertex-face contact, c_type=2 for edge-edge contact
36
};
37
}
38
39
40
#endif
hrp::collision_data::id2
int id2
Definition:
CollisionData.h:24
hrp::collision_data
Definition:
CollisionData.h:20
hrp::collision_data::num_of_i_points
int num_of_i_points
Definition:
CollisionData.h:26
hrp::collision_data::c_type
int c_type
Definition:
CollisionData.h:35
hrp::collision_data::n_vector
Vector3 n_vector
Definition:
CollisionData.h:30
hrp::collision_data::depth
double depth
Definition:
CollisionData.h:31
hrp::Vector3
Eigen::Vector3d Vector3
Definition:
EigenTypes.h:11
hrp::collision_data::m
Vector3 m
Definition:
CollisionData.h:34
Eigen3d.h
config.h
hrp
Definition:
ColdetModel.h:28
hrp::collision_data::n
Vector3 n
Definition:
CollisionData.h:33
hrp::collision_data::i_point_new
int i_point_new[4]
Definition:
CollisionData.h:28
hrp::collision_data::i_points
Vector3 i_points[4]
Definition:
CollisionData.h:27
hrp::collision_data::id1
int id1
Definition:
CollisionData.h:23
openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Sep 8 2022 02:24:02