geometry/shape/utility.cpp
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-2016, Open Source Robotics Foundation
6  * All rights reserved.
7  *
8  * Redistribution and use in source and binary forms, with or without
9  * modification, are permitted provided that the following conditions
10  * are met:
11  *
12  * * Redistributions of source code must retain the above copyright
13  * notice, this list of conditions and the following disclaimer.
14  * * Redistributions in binary form must reproduce the above
15  * copyright notice, this list of conditions and the following
16  * disclaimer in the documentation and/or other materials provided
17  * with the distribution.
18  * * Neither the name of Open Source Robotics Foundation nor the names of its
19  * contributors may be used to endorse or promote products derived
20  * from this software without specific prior written permission.
21  *
22  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
25  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
26  * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
27  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
28  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
30  * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
32  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33  * POSSIBILITY OF SUCH DAMAGE.
34  */
35 
39 
40 namespace fcl {
41 
42 //==============================================================================
43 template
44 void constructBox(const AABB<double>& bv, Box<double>& box, Transform3<double>& tf);
45 
46 //==============================================================================
47 template
48 void constructBox(const OBB<double>& bv, Box<double>& box, Transform3<double>& tf);
49 
50 //==============================================================================
51 template
52 void constructBox(const OBBRSS<double>& bv, Box<double>& box, Transform3<double>& tf);
53 
54 //==============================================================================
55 template
56 void constructBox(const kIOS<double>& bv, Box<double>& box, Transform3<double>& tf);
57 
58 //==============================================================================
59 template
60 void constructBox(const RSS<double>& bv, Box<double>& box, Transform3<double>& tf);
61 
62 //==============================================================================
63 template
64 void constructBox(const KDOP<double, 16>& bv, Box<double>& box, Transform3<double>& tf);
65 
66 //==============================================================================
67 template
68 void constructBox(const KDOP<double, 18>& bv, Box<double>& box, Transform3<double>& tf);
69 
70 //==============================================================================
71 template
72 void constructBox(const KDOP<double, 24>& bv, Box<double>& box, Transform3<double>& tf);
73 
74 //==============================================================================
75 template
76 void constructBox(const AABB<double>& bv, const Transform3<double>& tf_bv, Box<double>& box, Transform3<double>& tf);
77 
78 //==============================================================================
79 template
80 void constructBox(const OBB<double>& bv, const Transform3<double>& tf_bv, Box<double>& box, Transform3<double>& tf);
81 
82 //==============================================================================
83 template
84 void constructBox(const OBBRSS<double>& bv, const Transform3<double>& tf_bv, Box<double>& box, Transform3<double>& tf);
85 
86 //==============================================================================
87 template
88 void constructBox(const kIOS<double>& bv, const Transform3<double>& tf_bv, Box<double>& box, Transform3<double>& tf);
89 
90 //==============================================================================
91 template
92 void constructBox(const RSS<double>& bv, const Transform3<double>& tf_bv, Box<double>& box, Transform3<double>& tf);
93 
94 //==============================================================================
95 template
96 void constructBox(const KDOP<double, 16>& bv, const Transform3<double>& tf_bv, Box<double>& box, Transform3<double>& tf);
97 
98 //==============================================================================
99 template
100 void constructBox(const KDOP<double, 18>& bv, const Transform3<double>& tf_bv, Box<double>& box, Transform3<double>& tf);
101 
102 //==============================================================================
103 template
104 void constructBox(const KDOP<double, 24>& bv, const Transform3<double>& tf_bv, Box<double>& box, Transform3<double>& tf);
105 
106 //==============================================================================
107 namespace detail {
108 //==============================================================================
109 
110 //==============================================================================
111 template
112 struct ComputeBVImpl<double, AABB<double>, Box<double>>;
113 
114 //==============================================================================
115 template
116 struct ComputeBVImpl<double, OBB<double>, Box<double>>;
117 
118 //==============================================================================
119 template
120 struct ComputeBVImpl<double, AABB<double>, Capsule<double>>;
121 
122 //==============================================================================
123 template
124 struct ComputeBVImpl<double, OBB<double>, Capsule<double>>;
125 
126 //==============================================================================
127 template
128 struct ComputeBVImpl<double, AABB<double>, Cone<double>>;
129 
130 //==============================================================================
131 template
132 struct ComputeBVImpl<double, OBB<double>, Cone<double>>;
133 
134 //==============================================================================
135 template
136 struct ComputeBVImpl<double, AABB<double>, Cylinder<double>>;
137 
138 //==============================================================================
139 template
140 struct ComputeBVImpl<double, OBB<double>, Cylinder<double>>;
141 
142 //==============================================================================
143 template
144 struct ComputeBVImpl<double, AABB<double>, Ellipsoid<double>>;
145 
146 //==============================================================================
147 template
148 struct ComputeBVImpl<double, OBB<double>, Ellipsoid<double>>;
149 
150 //==============================================================================
151 template
152 struct ComputeBVImpl<double, AABB<double>, Halfspace<double>>;
153 
154 //==============================================================================
155 template
156 struct ComputeBVImpl<double, OBB<double>, Halfspace<double>>;
157 
158 //==============================================================================
159 template
160 struct ComputeBVImpl<double, RSS<double>, Halfspace<double>>;
161 
162 //==============================================================================
163 template
164 struct ComputeBVImpl<double, OBBRSS<double>, Halfspace<double>>;
165 
166 //==============================================================================
167 template
168 struct ComputeBVImpl<double, kIOS<double>, Halfspace<double>>;
169 
170 //==============================================================================
171 template
172 struct ComputeBVImpl<double, KDOP<double, 16>, Halfspace<double>>;
173 
174 //==============================================================================
175 template
176 struct ComputeBVImpl<double, KDOP<double, 18>, Halfspace<double>>;
177 
178 //==============================================================================
179 template
180 struct ComputeBVImpl<double, KDOP<double, 24>, Halfspace<double>>;
181 
182 //==============================================================================
183 template
184 struct ComputeBVImpl<double, AABB<double>, Plane<double>>;
185 
186 //==============================================================================
187 template
188 struct ComputeBVImpl<double, OBB<double>, Plane<double>>;
189 
190 //==============================================================================
191 template
192 struct ComputeBVImpl<double, RSS<double>, Plane<double>>;
193 
194 //==============================================================================
195 template
196 struct ComputeBVImpl<double, OBBRSS<double>, Plane<double>>;
197 
198 //==============================================================================
199 template
200 struct ComputeBVImpl<double, kIOS<double>, Plane<double>>;
201 
202 //==============================================================================
203 template
204 struct ComputeBVImpl<double, KDOP<double, 16>, Plane<double>>;
205 
206 //==============================================================================
207 template
208 struct ComputeBVImpl<double, KDOP<double, 18>, Plane<double>>;
209 
210 //==============================================================================
211 template
212 struct ComputeBVImpl<double, KDOP<double, 24>, Plane<double>>;
213 
214 //==============================================================================
215 template
216 struct ComputeBVImpl<double, AABB<double>, Sphere<double>>;
217 
218 //==============================================================================
219 template
220 struct ComputeBVImpl<double, OBB<double>, Sphere<double>>;
221 
222 //==============================================================================
223 template
224 struct ComputeBVImpl<double, AABB<double>, TriangleP<double>>;
225 
226 //==============================================================================
227 } // namespace detail
228 //==============================================================================
229 
230 } // namespace fcl
fcl::Sphere< double >
template class FCL_EXPORT Sphere< double >
fcl::RSS< double >
template class FCL_EXPORT RSS< double >
utility-inl.h
fcl::KDOP< double, 16 >
template class FCL_EXPORT KDOP< double, 16 >
fcl::KDOP< double, 24 >
template class FCL_EXPORT KDOP< double, 24 >
fcl::Plane< double >
template class FCL_EXPORT Plane< double >
fcl::kIOS< double >
template class FCL_EXPORT kIOS< double >
fcl::Halfspace< double >
template class FCL_EXPORT Halfspace< double >
fcl::KDOP< double, 18 >
template class FCL_EXPORT KDOP< double, 18 >
fcl::OBB< double >
template class FCL_EXPORT OBB< double >
fcl::constructBox
template void constructBox(const OBB< double > &bv, Box< double > &box, Transform3< double > &tf)
fcl::Ellipsoid< double >
template class FCL_EXPORT Ellipsoid< double >
fcl::OBBRSS< double >
template class FCL_EXPORT OBBRSS< double >
fcl::Cylinder< double >
template class FCL_EXPORT Cylinder< double >
fcl::Capsule< double >
template class FCL_EXPORT Capsule< double >
fcl::AABB< double >
template class FCL_EXPORT AABB< double >
fcl::Box< double >
template class FCL_EXPORT Box< double >
fcl::TriangleP< double >
template class FCL_EXPORT TriangleP< double >
fcl
Main namespace.
Definition: broadphase_bruteforce-inl.h:45
fcl::Cone< double >
template class FCL_EXPORT Cone< double >


fcl
Author(s):
autogenerated on Tue Dec 5 2023 03:40:49