Commit 718d1d26 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

Export symbols.

parent d4571ba0
......@@ -21,38 +21,38 @@ namespace fcl
// TraversalTraitsCollision for collision_func_matrix.cpp
template <typename TypeA, typename TypeB>
struct TraversalTraitsCollision
struct HPP_FCL_LOCAL TraversalTraitsCollision
{
};
#ifdef HPP_FCL_HAVE_OCTOMAP
template <typename T_SH>
struct TraversalTraitsCollision <T_SH, OcTree>
struct HPP_FCL_LOCAL TraversalTraitsCollision <T_SH, OcTree>
{
typedef ShapeOcTreeCollisionTraversalNode<T_SH> CollisionTraversal_t;
};
template <typename T_SH>
struct TraversalTraitsCollision <OcTree, T_SH>
struct HPP_FCL_LOCAL TraversalTraitsCollision <OcTree, T_SH>
{
typedef OcTreeShapeCollisionTraversalNode<T_SH> CollisionTraversal_t;
};
template <>
struct TraversalTraitsCollision <OcTree, OcTree>
struct HPP_FCL_LOCAL TraversalTraitsCollision <OcTree, OcTree>
{
typedef OcTreeCollisionTraversalNode CollisionTraversal_t;
};
template <typename T_BVH>
struct TraversalTraitsCollision <OcTree, BVHModel<T_BVH> >
struct HPP_FCL_LOCAL TraversalTraitsCollision <OcTree, BVHModel<T_BVH> >
{
typedef OcTreeMeshCollisionTraversalNode<T_BVH> CollisionTraversal_t;
};
template <typename T_BVH>
struct TraversalTraitsCollision <BVHModel<T_BVH>, OcTree>
struct HPP_FCL_LOCAL TraversalTraitsCollision <BVHModel<T_BVH>, OcTree>
{
typedef MeshOcTreeCollisionTraversalNode<T_BVH> CollisionTraversal_t;
};
......@@ -62,38 +62,38 @@ struct TraversalTraitsCollision <BVHModel<T_BVH>, OcTree>
// TraversalTraitsDistance for distance_func_matrix.cpp
template <typename TypeA, typename TypeB>
struct TraversalTraitsDistance
struct HPP_FCL_LOCAL TraversalTraitsDistance
{
};
#ifdef HPP_FCL_HAVE_OCTOMAP
template <typename T_SH>
struct TraversalTraitsDistance <T_SH, OcTree>
struct HPP_FCL_LOCAL TraversalTraitsDistance <T_SH, OcTree>
{
typedef ShapeOcTreeDistanceTraversalNode<T_SH> CollisionTraversal_t;
};
template <typename T_SH>
struct TraversalTraitsDistance <OcTree, T_SH>
struct HPP_FCL_LOCAL TraversalTraitsDistance <OcTree, T_SH>
{
typedef OcTreeShapeDistanceTraversalNode<T_SH> CollisionTraversal_t;
};
template <>
struct TraversalTraitsDistance <OcTree, OcTree>
struct HPP_FCL_LOCAL TraversalTraitsDistance <OcTree, OcTree>
{
typedef OcTreeDistanceTraversalNode CollisionTraversal_t;
};
template <typename T_BVH>
struct TraversalTraitsDistance <OcTree, BVHModel<T_BVH> >
struct HPP_FCL_LOCAL TraversalTraitsDistance <OcTree, BVHModel<T_BVH> >
{
typedef OcTreeMeshDistanceTraversalNode<T_BVH> CollisionTraversal_t;
};
template <typename T_BVH>
struct TraversalTraitsDistance <BVHModel<T_BVH>, OcTree>
struct HPP_FCL_LOCAL TraversalTraitsDistance <BVHModel<T_BVH>, OcTree>
{
typedef MeshOcTreeDistanceTraversalNode<T_BVH> CollisionTraversal_t;
};
......
......@@ -221,7 +221,7 @@ void distanceRecurse(DistanceTraversalNodeBase* node, int b1, int b2, BVHFrontLi
/** @brief Bounding volume test structure */
struct BVT
struct HPP_FCL_LOCAL BVT
{
/** @brief distance between bvs */
FCL_REAL d;
......@@ -231,7 +231,7 @@ struct BVT
};
/** @brief Comparer between two BVT */
struct BVT_Comparer
struct HPP_FCL_LOCAL BVT_Comparer
{
bool operator() (const BVT& lhs, const BVT& rhs) const
{
......@@ -239,7 +239,7 @@ struct BVT_Comparer
}
};
struct BVTQ
struct HPP_FCL_LOCAL BVTQ
{
BVTQ() : qsize(2) {}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment