Classes | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes

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

#include <mbd_single_group_analysis.h>

List of all members.

Classes

class  constraint_traits
class  edge_traits
class  node_traits

Public Member Functions

 SingleGroupAnalysis ()
const bool post_broad_phase_analysis (edge_ptr_container &edges)
void post_narrow_phase_analysis (edge_ptr_container &edges)
void post_contact_determination_analysis (edge_ptr_container &edges, group_ptr_container &groups)
void clear ()
void add (body_type *)
void remove (body_type *)
void init (configuration_type &configuration)

Protected Types

typedef
types::math_policy::index_type 
size_type
typedef
types::math_policy::real_type 
real_type
typedef
types::math_policy::vector3_type 
vector3_type
typedef
types::math_policy::quaternion_type 
quaternion_type
typedef
types::math_policy::coordsys_type 
coordsys_type
typedef types::configuration_type configuration_type
typedef types::group_container group_container
typedef types::group_ptr_container group_ptr_container
typedef types::group_type group_type
typedef types::edge_ptr_container edge_ptr_container
typedef
types::indirect_edge_iterator 
indirect_edge_iterator
typedef types::body_type body_type
typedef types::contact_type contact_type
typedef types::edge_type edge_type
typedef types::joint_type joint_type

Protected Member Functions

void do_absolute_resting_test ()

Protected Attributes

configuration_typem_configuration
 A pointer to the configuration that holds the current configuration.
group_type m_group
 A body group used to collected isolated bodies.
size_type m_time_stamp
 Time-stamp indicating which iteration the STC analysis i performed in.

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


Member Typedef Documentation

template<typename types >
typedef types::body_type OpenTissue::mbd::SingleGroupAnalysis< types >::body_type [protected]
template<typename types >
typedef types::configuration_type OpenTissue::mbd::SingleGroupAnalysis< types >::configuration_type [protected]
template<typename types >
typedef types::contact_type OpenTissue::mbd::SingleGroupAnalysis< types >::contact_type [protected]
template<typename types >
typedef types::math_policy::coordsys_type OpenTissue::mbd::SingleGroupAnalysis< types >::coordsys_type [protected]
template<typename types >
typedef types::edge_ptr_container OpenTissue::mbd::SingleGroupAnalysis< types >::edge_ptr_container [protected]
template<typename types >
typedef types::edge_type OpenTissue::mbd::SingleGroupAnalysis< types >::edge_type [protected]
template<typename types >
typedef types::group_container OpenTissue::mbd::SingleGroupAnalysis< types >::group_container [protected]
template<typename types >
typedef types::group_ptr_container OpenTissue::mbd::SingleGroupAnalysis< types >::group_ptr_container [protected]
template<typename types >
typedef types::group_type OpenTissue::mbd::SingleGroupAnalysis< types >::group_type [protected]
template<typename types >
typedef types::indirect_edge_iterator OpenTissue::mbd::SingleGroupAnalysis< types >::indirect_edge_iterator [protected]
template<typename types >
typedef types::joint_type OpenTissue::mbd::SingleGroupAnalysis< types >::joint_type [protected]
template<typename types >
typedef types::math_policy::quaternion_type OpenTissue::mbd::SingleGroupAnalysis< types >::quaternion_type [protected]
template<typename types >
typedef types::math_policy::real_type OpenTissue::mbd::SingleGroupAnalysis< types >::real_type [protected]
template<typename types >
typedef types::math_policy::index_type OpenTissue::mbd::SingleGroupAnalysis< types >::size_type [protected]

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename types >
void OpenTissue::mbd::SingleGroupAnalysis< types >::add ( body_type  )  [inline]
template<typename types >
void OpenTissue::mbd::SingleGroupAnalysis< types >::clear (  )  [inline]
template<typename types >
void OpenTissue::mbd::SingleGroupAnalysis< types >::do_absolute_resting_test (  )  [inline, protected]

Absolute Resting Test. This method examines each body in the configuration and tries to determine wheter it has moved since last invocation. If not then the body is said to be in absolute rest.

The term absolute rest, reflects how geometry is percieved it has nothing to do with the dynamic state of a body.

template<typename types >
void OpenTissue::mbd::SingleGroupAnalysis< types >::init ( configuration_type configuration  )  [inline]
template<typename types >
const bool OpenTissue::mbd::SingleGroupAnalysis< types >::post_broad_phase_analysis ( edge_ptr_container edges  )  [inline]

Post Broad Phase Analysis.

Parameters:
edges The overlaps reported from the broad phase collision detection phase.
Returns:
A boolean value indicating wheter a penetration have been detected at this stage in analysis.
template<typename types >
void OpenTissue::mbd::SingleGroupAnalysis< types >::post_contact_determination_analysis ( edge_ptr_container edges,
group_ptr_container groups 
) [inline]
template<typename types >
void OpenTissue::mbd::SingleGroupAnalysis< types >::post_narrow_phase_analysis ( edge_ptr_container edges  )  [inline]

Post Narrow Phase Analysis. In this analysis all body pairs (i.e. overlaps or edges) that were processed by the narrow phase collision detection algorithm are examined.

For each body pair the contact state is determined and all separated body pairs are filtred from the set of processed body pairs. This is because it does not make sense to run contact determination on a separated body pair.

Parameters:
edges 
template<typename types >
void OpenTissue::mbd::SingleGroupAnalysis< types >::remove ( body_type  )  [inline]

Member Data Documentation

A pointer to the configuration that holds the current configuration.

template<typename types >
group_type OpenTissue::mbd::SingleGroupAnalysis< types >::m_group [protected]

A body group used to collected isolated bodies.

template<typename types >
size_type OpenTissue::mbd::SingleGroupAnalysis< types >::m_time_stamp [protected]

Time-stamp indicating which iteration the STC analysis i performed in.


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