All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fcl::morton_functor< FCL_UINT32 > Struct Template Reference

Functor to compute 30 bit morton code for a given AABB. More...

#include <hpp/fcl/broadphase/morton.h>

Collaboration diagram for fcl::morton_functor< FCL_UINT32 >:

Public Member Functions

 morton_functor (const AABB &bbox)
 
FCL_UINT32 operator() (const Vec3f &point) const
 
size_t bits () const
 

Public Attributes

const Vec3f base
 
const Vec3f inv
 

Detailed Description

template<>
struct fcl::morton_functor< FCL_UINT32 >

Functor to compute 30 bit morton code for a given AABB.

Constructor & Destructor Documentation

fcl::morton_functor< FCL_UINT32 >::morton_functor ( const AABB bbox)
inline

Member Function Documentation

size_t fcl::morton_functor< FCL_UINT32 >::bits ( ) const
inline
FCL_UINT32 fcl::morton_functor< FCL_UINT32 >::operator() ( const Vec3f point) const
inline

Member Data Documentation