Classes | Public Member Functions | Protected Types | Protected Attributes

OpenTissue::mbd::ExhaustiveSearch< types > Class Template Reference

#include <mbd_exhaustive_search.h>

List of all members.

Classes

class  constraint_traits
class  edge_traits
class  node_traits

Public Member Functions

 ExhaustiveSearch ()
void clear ()
void init (configuration_type &configuration)
void add (body_type *)
void remove (body_type *)
void run (edge_ptr_container &edges)

Protected Types

typedef types::configuration_type configuration_type
typedef types::body_type body_type
typedef types::edge_type edge_type
typedef types::edge_ptr_container edge_ptr_container
typedef
types::math_policy::real_type 
real_type
typedef
types::math_policy::vector3_type 
vector3_type
typedef
types::math_policy::matrix3x3_type 
matrix3x3_type

Protected Attributes

configuration_typem_configuration

Detailed Description

template<typename types>
class OpenTissue::mbd::ExhaustiveSearch< types >

The Exhaustive Search Broad Phase Collision Detection Algorithm.

The algorithm is intended to be used as a policy in the CollisionDetection class.


Member Typedef Documentation

template<typename types >
typedef types::body_type OpenTissue::mbd::ExhaustiveSearch< types >::body_type [protected]
template<typename types >
typedef types::configuration_type OpenTissue::mbd::ExhaustiveSearch< types >::configuration_type [protected]
template<typename types >
typedef types::edge_ptr_container OpenTissue::mbd::ExhaustiveSearch< types >::edge_ptr_container [protected]
template<typename types >
typedef types::edge_type OpenTissue::mbd::ExhaustiveSearch< types >::edge_type [protected]
template<typename types >
typedef types::math_policy::matrix3x3_type OpenTissue::mbd::ExhaustiveSearch< types >::matrix3x3_type [protected]
template<typename types >
typedef types::math_policy::real_type OpenTissue::mbd::ExhaustiveSearch< types >::real_type [protected]
template<typename types >
typedef types::math_policy::vector3_type OpenTissue::mbd::ExhaustiveSearch< types >::vector3_type [protected]

Constructor & Destructor Documentation

template<typename types >
OpenTissue::mbd::ExhaustiveSearch< types >::ExhaustiveSearch (  )  [inline]

Member Function Documentation

template<typename types >
void OpenTissue::mbd::ExhaustiveSearch< types >::add ( body_type  )  [inline]
template<typename types >
void OpenTissue::mbd::ExhaustiveSearch< types >::clear (  )  [inline]
template<typename types >
void OpenTissue::mbd::ExhaustiveSearch< types >::init ( configuration_type configuration  )  [inline]
template<typename types >
void OpenTissue::mbd::ExhaustiveSearch< types >::remove ( body_type  )  [inline]
template<typename types >
void OpenTissue::mbd::ExhaustiveSearch< types >::run ( edge_ptr_container edges  )  [inline]

Run Exhaustive Search.

Parameters:
edges Upon return this argument holds all the reported overlaps.

Member Data Documentation

template<typename types >
configuration_type* OpenTissue::mbd::ExhaustiveSearch< types >::m_configuration [protected]

A pointer to the configuration that holds the configuration that the broad phase collision detection algorithm is intended to work on.


The documentation for this class was generated from the following file: