geometric_shapes_traits.h
Go to the documentation of this file.
1 /*
2  * Software License Agreement (BSD License)
3  *
4  * Copyright (c) 2011-2014, Willow Garage, Inc.
5  * Copyright (c) 2014-2015, Open Source Robotics Foundation
6  * Copyright (c) 2015-2022, CNRS, Inria
7  * All rights reserved.
8  *
9  * Redistribution and use in source and binary forms, with or without
10  * modification, are permitted provided that the following conditions
11  * are met:
12  *
13  * * Redistributions of source code must retain the above copyright
14  * notice, this list of conditions and the following disclaimer.
15  * * Redistributions in binary form must reproduce the above
16  * copyright notice, this list of conditions and the following
17  * disclaimer in the documentation and/or other materials provided
18  * with the distribution.
19  * * Neither the name of Open Source Robotics Foundation nor the names of its
20  * contributors may be used to endorse or promote products derived
21  * from this software without specific prior written permission.
22  *
23  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
24  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
25  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
26  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
27  * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
28  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
29  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
30  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
31  * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
33  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
34  * POSSIBILITY OF SUCH DAMAGE.
35  */
36 
37 #ifndef HPP_FCL_GEOMETRIC_SHAPES_TRAITS_H
38 #define HPP_FCL_GEOMETRIC_SHAPES_TRAITS_H
39 
41 
42 namespace hpp {
43 namespace fcl {
44 
46  enum {
49  IsInflatable = false,
51  };
52 };
53 
54 template <typename Shape>
56 
57 template <>
59  enum {
62  IsInflatable = false,
64  };
65 };
66 
67 template <>
69  enum {
72  IsInflatable = true,
74  };
75 };
76 
77 template <>
79  enum {
82  IsInflatable = true,
84  };
85 };
86 
87 template <>
89  enum {
92  IsInflatable = true,
94  };
95 };
96 
97 template <>
99  enum {
102  IsInflatable = true,
104  };
105 };
106 
107 template <>
109  enum {
112  IsInflatable = true,
114  };
115 };
116 
117 template <>
119  enum {
122  IsInflatable = true,
124  };
125 };
126 
127 template <>
129  enum {
132  IsInflatable = false,
134  };
135 };
136 
137 template <>
139  enum {
142  IsInflatable = true,
144  };
145 };
146 
147 } // namespace fcl
148 } // namespace hpp
149 
150 #endif // ifndef HPP_FCL_GEOMETRIC_SHAPES_TRAITS_H
Ellipsoid centered at point zero.
Cylinder along Z axis. The cylinder is defined at its centroid.
Main namespace.
Half Space: this is equivalent to the Plane in ODE. The separation plane is defined as n * x = d; Poi...
Center at zero point, axis aligned box.
Triangle stores the points instead of only indices of points.
Cone The base of the cone is at and the top is at .
Center at zero point sphere.
Capsule It is where is the distance between the point x and the capsule segment AB...
Base for convex polytope.


hpp-fcl
Author(s):
autogenerated on Fri Jun 2 2023 02:39:01