moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
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))
45namespace fcl
46{
47class CollisionGeometry;
48using CollisionGeometryd = fcl::CollisionGeometry;
49class CollisionObject;
50using CollisionObjectd = fcl::CollisionObject;
51class BroadPhaseCollisionManager;
52using BroadPhaseCollisionManagerd = fcl::BroadPhaseCollisionManager;
53class Transform3f;
54using Transform3d = fcl::Transform3f;
55class Contact;
56using Contactd = fcl::Contact;
57class CostSource;
58using CostSourced = fcl::CostSource;
59class CollisionRequest;
60using CollisionRequestd = fcl::CollisionRequest;
61class CollisionResult;
62using CollisionResultd = fcl::CollisionResult;
63class DistanceRequest;
64using DistanceRequestd = fcl::DistanceRequest;
65class DistanceResult;
66using DistanceResultd = fcl::DistanceResult;
67class Plane;
68using Planed = fcl::Plane;
69class Sphere;
70using Sphered = fcl::Sphere;
71class Box;
72using Boxd = fcl::Box;
73class Cylinder;
74using Cylinderd = fcl::Cylinder;
75class Cone;
76using Coned = fcl::Cone;
77
78namespace details
79{
80struct sse_meta_f4;
81template <typename T>
82struct Vec3Data;
83} // namespace details
84template <typename T>
85class Vec3fX;
86#if FCL_HAVE_SSE
88#else
90#endif
91
92class OcTree;
93using OcTreed = fcl::OcTree;
94class OBBRSS;
95using OBBRSSd = fcl::OBBRSS;
96class DynamicAABBTreeCollisionManager;
97using DynamicAABBTreeCollisionManagerd = fcl::DynamicAABBTreeCollisionManager;
98} // namespace fcl
99#endif
fcl::DynamicAABBTreeCollisionManager DynamicAABBTreeCollisionManagerd
Definition fcl_compat.h:97
fcl::CollisionObject CollisionObjectd
Definition fcl_compat.h:50
fcl::DistanceResult DistanceResultd
Definition fcl_compat.h:66
fcl::BroadPhaseCollisionManager BroadPhaseCollisionManagerd
Definition fcl_compat.h:52
fcl::Sphere Sphered
Definition fcl_compat.h:70
fcl::DistanceRequest DistanceRequestd
Definition fcl_compat.h:64
fcl::OBBRSS OBBRSSd
Definition fcl_compat.h:95
fcl::CostSource CostSourced
Definition fcl_compat.h:58
fcl::OcTree OcTreed
Definition fcl_compat.h:93
fcl::Box Boxd
Definition fcl_compat.h:72
fcl::CollisionGeometry CollisionGeometryd
Definition fcl_compat.h:48
fcl::Contact Contactd
Definition fcl_compat.h:56
fcl::Transform3f Transform3d
Definition fcl_compat.h:54
fcl::CollisionResult CollisionResultd
Definition fcl_compat.h:62
fcl::Cylinder Cylinderd
Definition fcl_compat.h:74
fcl::CollisionRequest CollisionRequestd
Definition fcl_compat.h:60
fcl::Plane Planed
Definition fcl_compat.h:68
fcl::Cone Coned
Definition fcl_compat.h:76