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 #ifndef MOVEIT_COLLISION_DETECTION_FCL_COMPAT_
38 #define MOVEIT_COLLISION_DETECTION_FCL_COMPAT_
39 
40 #include <fcl/config.h>
41 
42 #define FCL_VERSION_CHECK(major, minor, patch) ((major << 16) | (minor << 8) | (patch))
43 #define MOVEIT_FCL_VERSION FCL_VERSION_CHECK(FCL_MAJOR_VERSION, FCL_MINOR_VERSION, FCL_PATCH_VERSION)
44 
45 #if (MOVEIT_FCL_VERSION < FCL_VERSION_CHECK(0, 6, 0))
46 namespace fcl
47 {
48 class CollisionGeometry;
49 using CollisionGeometryd = fcl::CollisionGeometry;
50 class CollisionObject;
51 using CollisionObjectd = fcl::CollisionObject;
52 class BroadPhaseCollisionManager;
53 using BroadPhaseCollisionManagerd = fcl::BroadPhaseCollisionManager;
54 class Transform3f;
55 using Transform3d = fcl::Transform3f;
56 class Contact;
57 using Contactd = fcl::Contact;
58 class CostSource;
59 using CostSourced = fcl::CostSource;
60 class CollisionRequest;
61 using CollisionRequestd = fcl::CollisionRequest;
62 class CollisionResult;
63 using CollisionResultd = fcl::CollisionResult;
64 class DistanceRequest;
65 using DistanceRequestd = fcl::DistanceRequest;
66 class DistanceResult;
67 using DistanceResultd = fcl::DistanceResult;
68 class Plane;
69 using Planed = fcl::Plane;
70 class Sphere;
71 using Sphered = fcl::Sphere;
72 class Box;
73 using Boxd = fcl::Box;
74 class Cylinder;
75 using Cylinderd = fcl::Cylinder;
76 class Cone;
77 using Coned = fcl::Cone;
78 
79 namespace details
80 {
81 struct sse_meta_f4;
82 template <typename T>
83 struct Vec3Data;
84 }
85 template <typename T>
86 class Vec3fX;
87 #if FCL_HAVE_SSE
89 #else
91 #endif
92 
93 class OcTree;
94 using OcTreed = fcl::OcTree;
95 class OBBRSS;
96 using OBBRSSd = fcl::OBBRSS;
97 class DynamicAABBTreeCollisionManager;
98 using DynamicAABBTreeCollisionManagerd = fcl::DynamicAABBTreeCollisionManager;
99 }
100 #endif
101 #endif
fcl::CollisionObject CollisionObjectd
Definition: fcl_compat.h:51
Definition: fcl_compat.h:46
fcl::CollisionResult CollisionResultd
Definition: fcl_compat.h:63
fcl::OcTree OcTreed
Definition: fcl_compat.h:94
fcl::Transform3f Transform3d
Definition: fcl_compat.h:55
fcl::OBBRSS OBBRSSd
Definition: fcl_compat.h:96
fcl::DistanceResult DistanceResultd
Definition: fcl_compat.h:67
fcl::CollisionGeometry CollisionGeometryd
Definition: fcl_compat.h:49
fcl::Sphere Sphered
Definition: fcl_compat.h:71
fcl::Contact Contactd
Definition: fcl_compat.h:57
fcl::DynamicAABBTreeCollisionManager DynamicAABBTreeCollisionManagerd
Definition: fcl_compat.h:98
fcl::Cylinder Cylinderd
Definition: fcl_compat.h:75
fcl::DistanceRequest DistanceRequestd
Definition: fcl_compat.h:65
fcl::Cone Coned
Definition: fcl_compat.h:77
fcl::CollisionRequest CollisionRequestd
Definition: fcl_compat.h:61
fcl::Box Boxd
Definition: fcl_compat.h:73
fcl::CostSource CostSourced
Definition: fcl_compat.h:59
fcl::Plane Planed
Definition: fcl_compat.h:69
fcl::BroadPhaseCollisionManager BroadPhaseCollisionManagerd
Definition: fcl_compat.h:53


moveit_core
Author(s): Ioan Sucan , Sachin Chitta , Acorn Pooley
autogenerated on Mon Dec 2 2019 03:56:58