Skip to content

Commit 350c399

Browse files
committed
core: fix BVSplitter for Windows v142
1 parent 9cbfbed commit 350c399

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

include/hpp/fcl/internal/BV_splitter.h

+17-17
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ enum SplitMethodType {
5757

5858
/// @brief A class describing the split rule that splits each BV node
5959
template <typename BV>
60-
class HPP_FCL_DLLAPI BVSplitter {
60+
class BVSplitter {
6161
public:
6262
BVSplitter(SplitMethodType method)
6363
: split_vector(0, 0, 0), split_method(method) {}
@@ -209,74 +209,74 @@ class HPP_FCL_DLLAPI BVSplitter {
209209
};
210210

211211
template <>
212-
bool BVSplitter<OBB>::apply(const Vec3f& q) const;
212+
bool HPP_FCL_DLLAPI BVSplitter<OBB>::apply(const Vec3f& q) const;
213213

214214
template <>
215-
bool BVSplitter<RSS>::apply(const Vec3f& q) const;
215+
bool HPP_FCL_DLLAPI BVSplitter<RSS>::apply(const Vec3f& q) const;
216216

217217
template <>
218-
bool BVSplitter<kIOS>::apply(const Vec3f& q) const;
218+
bool HPP_FCL_DLLAPI BVSplitter<kIOS>::apply(const Vec3f& q) const;
219219

220220
template <>
221-
bool BVSplitter<OBBRSS>::apply(const Vec3f& q) const;
221+
bool HPP_FCL_DLLAPI BVSplitter<OBBRSS>::apply(const Vec3f& q) const;
222222

223223
template <>
224-
void BVSplitter<OBB>::computeRule_bvcenter(const OBB& bv,
224+
void HPP_FCL_DLLAPI BVSplitter<OBB>::computeRule_bvcenter(const OBB& bv,
225225
unsigned int* primitive_indices,
226226
unsigned int num_primitives);
227227

228228
template <>
229-
void BVSplitter<OBB>::computeRule_mean(const OBB& bv,
229+
void HPP_FCL_DLLAPI BVSplitter<OBB>::computeRule_mean(const OBB& bv,
230230
unsigned int* primitive_indices,
231231
unsigned int num_primitives);
232232

233233
template <>
234-
void BVSplitter<OBB>::computeRule_median(const OBB& bv,
234+
void HPP_FCL_DLLAPI BVSplitter<OBB>::computeRule_median(const OBB& bv,
235235
unsigned int* primitive_indices,
236236
unsigned int num_primitives);
237237

238238
template <>
239-
void BVSplitter<RSS>::computeRule_bvcenter(const RSS& bv,
239+
void HPP_FCL_DLLAPI BVSplitter<RSS>::computeRule_bvcenter(const RSS& bv,
240240
unsigned int* primitive_indices,
241241
unsigned int num_primitives);
242242

243243
template <>
244-
void BVSplitter<RSS>::computeRule_mean(const RSS& bv,
244+
void HPP_FCL_DLLAPI BVSplitter<RSS>::computeRule_mean(const RSS& bv,
245245
unsigned int* primitive_indices,
246246
unsigned int num_primitives);
247247

248248
template <>
249-
void BVSplitter<RSS>::computeRule_median(const RSS& bv,
249+
void HPP_FCL_DLLAPI BVSplitter<RSS>::computeRule_median(const RSS& bv,
250250
unsigned int* primitive_indices,
251251
unsigned int num_primitives);
252252

253253
template <>
254-
void BVSplitter<kIOS>::computeRule_bvcenter(const kIOS& bv,
254+
void HPP_FCL_DLLAPI BVSplitter<kIOS>::computeRule_bvcenter(const kIOS& bv,
255255
unsigned int* primitive_indices,
256256
unsigned int num_primitives);
257257

258258
template <>
259-
void BVSplitter<kIOS>::computeRule_mean(const kIOS& bv,
259+
void HPP_FCL_DLLAPI BVSplitter<kIOS>::computeRule_mean(const kIOS& bv,
260260
unsigned int* primitive_indices,
261261
unsigned int num_primitives);
262262

263263
template <>
264-
void BVSplitter<kIOS>::computeRule_median(const kIOS& bv,
264+
void HPP_FCL_DLLAPI BVSplitter<kIOS>::computeRule_median(const kIOS& bv,
265265
unsigned int* primitive_indices,
266266
unsigned int num_primitives);
267267

268268
template <>
269-
void BVSplitter<OBBRSS>::computeRule_bvcenter(const OBBRSS& bv,
269+
void HPP_FCL_DLLAPI BVSplitter<OBBRSS>::computeRule_bvcenter(const OBBRSS& bv,
270270
unsigned int* primitive_indices,
271271
unsigned int num_primitives);
272272

273273
template <>
274-
void BVSplitter<OBBRSS>::computeRule_mean(const OBBRSS& bv,
274+
void HPP_FCL_DLLAPI BVSplitter<OBBRSS>::computeRule_mean(const OBBRSS& bv,
275275
unsigned int* primitive_indices,
276276
unsigned int num_primitives);
277277

278278
template <>
279-
void BVSplitter<OBBRSS>::computeRule_median(const OBBRSS& bv,
279+
void HPP_FCL_DLLAPI BVSplitter<OBBRSS>::computeRule_median(const OBBRSS& bv,
280280
unsigned int* primitive_indices,
281281
unsigned int num_primitives);
282282

0 commit comments

Comments
 (0)