Public Types | Public Member Functions | Private Attributes | List of all members
fcl::detail::SpatialHash< S_ > Struct Template Reference

Spatial hash function: hash an AABB to a set of integer values. More...

#include <spatial_hash.h>

Public Types

using S = S_
 

Public Member Functions

std::vector< unsigned int > operator() (const AABB< S > &aabb) const
 
 SpatialHash (const AABB< S > &scene_limit_, S cell_size_)
 

Private Attributes

S cell_size
 
AABB< Sscene_limit
 
unsigned int width [3]
 

Detailed Description

template<typename S_>
struct fcl::detail::SpatialHash< S_ >

Spatial hash function: hash an AABB to a set of integer values.

Definition at line 51 of file spatial_hash.h.

Member Typedef Documentation

◆ S

template<typename S_ >
using fcl::detail::SpatialHash< S_ >::S = S_

Definition at line 53 of file spatial_hash.h.

Constructor & Destructor Documentation

◆ SpatialHash()

template<typename S >
fcl::detail::SpatialHash< S >::SpatialHash ( const AABB< S > &  scene_limit_,
S  cell_size_ 
)

Definition at line 52 of file spatial_hash-inl.h.

Member Function Documentation

◆ operator()()

template<typename S >
std::vector< unsigned int > fcl::detail::SpatialHash< S >::operator() ( const AABB< S > &  aabb) const

Definition at line 62 of file spatial_hash-inl.h.

Member Data Documentation

◆ cell_size

template<typename S_ >
S fcl::detail::SpatialHash< S_ >::cell_size
private

Definition at line 61 of file spatial_hash.h.

◆ scene_limit

template<typename S_ >
AABB<S> fcl::detail::SpatialHash< S_ >::scene_limit
private

Definition at line 62 of file spatial_hash.h.

◆ width

template<typename S_ >
unsigned int fcl::detail::SpatialHash< S_ >::width[3]
private

Definition at line 63 of file spatial_hash.h.


The documentation for this struct was generated from the following files:


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