Skip to content
Snippets Groups Projects
Commit ffc7fb42 authored by isucan's avatar isucan
Browse files

adding user data

git-svn-id: https://kforge.ros.org/fcl/fcl_ros@44 253336fb-580f-4252-a368-f3cef5a2a82b
parent a906823f
No related branches found
No related tags found
No related merge requests found
......@@ -74,6 +74,16 @@ public:
aabb.max_ = center + delta;
}
void* getUserData() const
{
return user_data;
}
void setUserData(void *data)
{
user_data = data;
}
inline const Vec3f& getTranslation() const
{
return t.getTranslation();
......@@ -139,6 +149,10 @@ protected:
BVH_REAL aabb_radius;
SimpleTransform t;
/** pointer to user defined data specific to this object */
void *user_data;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment