Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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 Sat May 8 2021 02:42:37