collision_detection_fcl
include
moveit
collision_detection_fcl
fcl_compat.h
Go to the documentation of this file.
1
/*********************************************************************
2
* Software License Agreement (BSD License)
3
*
4
* Copyright (c) 2018, Hamburg University.
5
* All rights reserved.
6
*
7
* Redistribution and use in source and binary forms, with or without
8
* modification, are permitted provided that the following conditions
9
* are met:
10
*
11
* * Redistributions of source code must retain the above copyright
12
* notice, this list of conditions and the following disclaimer.
13
* * Redistributions in binary form must reproduce the above
14
* copyright notice, this list of conditions and the following
15
* disclaimer in the documentation and/or other materials provided
16
* with the distribution.
17
* * Neither the name of Willow Garage nor the names of its
18
* contributors may be used to endorse or promote products derived
19
* from this software without specific prior written permission.
20
*
21
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
24
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
25
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
26
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
27
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
28
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
29
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
31
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32
* POSSIBILITY OF SUCH DAMAGE.
33
*********************************************************************/
34
35
/* Author: Benjamin Scholz */
36
37
#pragma once
38
39
#include <fcl/config.h>
40
41
#define FCL_VERSION_CHECK(major, minor, patch) ((major << 16) | (minor << 8) | (patch))
42
#define MOVEIT_FCL_VERSION FCL_VERSION_CHECK(FCL_MAJOR_VERSION, FCL_MINOR_VERSION, FCL_PATCH_VERSION)
43
44
#if (MOVEIT_FCL_VERSION < FCL_VERSION_CHECK(0, 6, 0))
45
namespace
fcl
46
{
47
class
CollisionGeometry;
48
using
CollisionGeometryd
=
fcl::CollisionGeometry
;
49
class
CollisionObject
;
50
using
CollisionObjectd
=
fcl::CollisionObject
;
51
class
BroadPhaseCollisionManager
;
52
using
BroadPhaseCollisionManagerd
=
fcl::BroadPhaseCollisionManager
;
53
class
Transform3f
;
54
using
Transform3d
=
fcl::Transform3f
;
55
class
Contact
;
56
using
Contactd
=
fcl::Contact
;
57
class
CostSource
;
58
using
CostSourced
=
fcl::CostSource
;
59
class
CollisionRequest
;
60
using
CollisionRequestd
=
fcl::CollisionRequest
;
61
class
CollisionResult
;
62
using
CollisionResultd
=
fcl::CollisionResult
;
63
class
DistanceRequest
;
64
using
DistanceRequestd
=
fcl::DistanceRequest
;
65
class
DistanceResult
;
66
using
DistanceResultd
=
fcl::DistanceResult
;
67
class
Plane
;
68
using
Planed
=
fcl::Plane
;
69
class
Sphere
;
70
using
Sphered
=
fcl::Sphere
;
71
class
Box
;
72
using
Boxd
=
fcl::Box
;
73
class
Cylinder
;
74
using
Cylinderd
=
fcl::Cylinder
;
75
class
Cone
;
76
using
Coned
=
fcl::Cone
;
77
78
namespace
details
79
{
80
struct
sse_meta_f4;
81
template
<
typename
T>
82
struct
Vec3Data
;
83
}
// namespace details
84
template
<
typename
T>
85
class
Vec3fX
;
86
#if FCL_HAVE_SSE
87
using
Vector3d
=
Vec3fX<details::sse_meta_f4>
;
88
#else
89
using
Vector3d
=
Vec3fX<details::Vec3Data<double>
>;
90
#endif
91
92
class
OcTree;
93
using
OcTreed
= fcl::OcTree;
94
class
OBBRSS
;
95
using
OBBRSSd
=
fcl::OBBRSS
;
96
class
DynamicAABBTreeCollisionManager
;
97
using
DynamicAABBTreeCollisionManagerd
=
fcl::DynamicAABBTreeCollisionManager
;
98
}
// namespace fcl
99
#endif
fcl::DistanceRequest
fcl::details::Vec3Data
Definition:
fcl_compat.h:82
fcl::DynamicAABBTreeCollisionManager
fcl::Contact
fcl::OcTreed
fcl::OcTree OcTreed
Definition:
fcl_compat.h:93
fcl::CostSource
fcl::Transform3d
Transform3< double > Transform3d
fcl::CollisionResult
fcl::Vector3d
Vector3< double > Vector3d
fcl::DistanceResult
fcl::Vec3fX
Definition:
fcl_compat.h:85
fcl::CollisionGeometry
fcl::Transform3f
Transform3< float > Transform3f
fcl::CollisionRequest
fcl::OBBRSS
fcl::Cylinder
fcl::Box
fcl::Sphere
fcl::Plane
fcl::Cone
fcl::CollisionObject
fcl
fcl::BroadPhaseCollisionManager
moveit_core
Author(s): Ioan Sucan
, Sachin Chitta
, Acorn Pooley
autogenerated on Sun Nov 3 2024 03:26:14