math/bv/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 formdouble, 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 WARRANTIEdouble, 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 namespace detail {
42 
43 //==============================================================================
44 namespace OBB_fit_functions {
45 //==============================================================================
46 
47 //==============================================================================
48 template
49 void fit1(const Vector3d* const ps, OBB<double>& bv);
50 
51 //==============================================================================
52 template
53 void fit2(const Vector3d* const ps, OBB<double>& bv);
54 
55 //==============================================================================
56 template
57 void fit3(const Vector3d* const ps, OBB<double>& bv);
58 
59 //==============================================================================
60 template
61 void fit6(const Vector3d* const ps, OBB<double>& bv);
62 
63 //==============================================================================
64 template
65 void fitn(const Vector3d* const ps, int n, OBB<double>& bv);
66 
67 //==============================================================================
68 } // namespace OBB_fit_functions
69 //==============================================================================
70 
71 //==============================================================================
72 namespace RSS_fit_functions {
73 //==============================================================================
74 
75 //==============================================================================
76 template
77 void fit1(const Vector3d* const ps, RSS<double>& bv);
78 
79 //==============================================================================
80 template
81 void fit2(const Vector3d* const ps, RSS<double>& bv);
82 
83 //==============================================================================
84 template
85 void fit3(const Vector3d* const ps, RSS<double>& bv);
86 
87 //==============================================================================
88 template
89 void fit6(const Vector3d* const ps, RSS<double>& bv);
90 
91 //==============================================================================
92 template
93 void fitn(const Vector3d* const ps, int n, RSS<double>& bv);
94 
95 //==============================================================================
96 } // namespace RSS_fit_functions
97 //==============================================================================
98 
99 //==============================================================================
100 namespace kIOS_fit_functions {
101 //==============================================================================
102 
103 //==============================================================================
104 template
105 void fit1(const Vector3d* const ps, kIOS<double>& bv);
106 
107 //==============================================================================
108 template
109 void fit2(const Vector3d* const ps, kIOS<double>& bv);
110 
111 //==============================================================================
112 template
113 void fit3(const Vector3d* const ps, kIOS<double>& bv);
114 
115 //==============================================================================
116 template
117 void fitn(const Vector3d* const ps, int n, kIOS<double>& bv);
118 
119 //==============================================================================
120 } // namespace kIOS_fit_functions
121 //==============================================================================
122 
123 //==============================================================================
124 namespace OBBRSS_fit_functions {
125 //==============================================================================
126 
127 //==============================================================================
128 template
129 void fit1(const Vector3d* const ps, OBBRSS<double>& bv);
130 
131 //==============================================================================
132 template
133 void fit2(const Vector3d* const ps, OBBRSS<double>& bv);
134 
135 //==============================================================================
136 template
137 void fit3(const Vector3d* const ps, OBBRSS<double>& bv);
138 
139 //==============================================================================
140 template
141 void fitn(const Vector3d* const ps, int n, OBBRSS<double>& bv);
142 
143 //==============================================================================
144 } // namespace OBBRSS_fit_functions
145 //==============================================================================
146 
147 //==============================================================================
148 template
149 struct Fitter<double, OBB<double>>;
150 
151 //==============================================================================
152 template
153 struct Fitter<double, RSS<double>>;
154 
155 //==============================================================================
156 template
157 struct Fitter<double, kIOS<double>>;
158 
159 //==============================================================================
160 template
161 struct Fitter<double, OBBRSS<double>>;
162 
163 //==============================================================================
164 template
165 class ConvertBVImpl<double, AABB<double>, AABB<double>>;
166 
167 //==============================================================================
168 template
169 class ConvertBVImpl<double, AABB<double>, OBB<double>>;
170 
171 //==============================================================================
172 template
173 class ConvertBVImpl<double, OBB<double>, OBB<double>>;
174 
175 //==============================================================================
176 template
177 class ConvertBVImpl<double, OBBRSS<double>, OBB<double>>;
178 
179 //==============================================================================
180 template
181 class ConvertBVImpl<double, RSS<double>, OBB<double>>;
182 
183 //==============================================================================
184 template
185 class ConvertBVImpl<double, OBB<double>, RSS<double>>;
186 
187 //==============================================================================
188 template
189 class ConvertBVImpl<double, RSS<double>, RSS<double>>;
190 
191 //==============================================================================
192 template
193 class ConvertBVImpl<double, OBBRSS<double>, RSS<double>>;
194 
195 //==============================================================================
196 template
197 class ConvertBVImpl<double, AABB<double>, RSS<double>>;
198 
199 } // namespace detail
200 } // namespace fcl
fcl::RSS< double >
template class FCL_EXPORT RSS< double >
fcl::detail::OBB_fit_functions::fit6
FCL_EXPORT void fit6(const Vector3< S > *const ps, OBB< S > &bv)
Definition: math/bv/utility-inl.h:122
utility-inl.h
fcl::detail::OBB_fit_functions::fit2
FCL_EXPORT void fit2(const Vector3< S > *const ps, OBB< S > &bv)
Definition: math/bv/utility-inl.h:76
fcl::kIOS< double >
template class FCL_EXPORT kIOS< double >
fcl::detail::OBB_fit_functions::fitn
FCL_EXPORT void fitn(const Vector3< S > *const ps, int n, OBB< S > &bv)
Definition: math/bv/utility-inl.h:133
fcl::detail::OBB_fit_functions::fit3
FCL_EXPORT void fit3(const Vector3< S > *const ps, OBB< S > &bv)
Definition: math/bv/utility-inl.h:92
Vector3d
fcl::Vector3d Vector3d
Definition: test_broadphase_dynamic_AABB_tree.cpp:48
fcl::OBB< double >
template class FCL_EXPORT OBB< double >
fcl::OBBRSS< double >
template class FCL_EXPORT OBBRSS< double >
fcl::detail::OBB_fit_functions::fit1
FCL_EXPORT void fit1(const Vector3< S > *const ps, OBB< S > &bv)
Definition: math/bv/utility-inl.h:66
fcl::AABB< double >
template class FCL_EXPORT AABB< double >
fcl
Main namespace.
Definition: broadphase_bruteforce-inl.h:45


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