#include <mbd_collision_detection.h>
List of all members.
Detailed Description
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
class OpenTissue::mbd::CollisionDetection< types, BroadPhasePolicy, NarrowPhasePolicy, AnalyzerPolicy >
Collision Detection Engine. This class implements the basic behavior of a traditional collision detection engine, there are some subtelty to it, which is not seen in most others collsion detection engines. The different thing is that there is an explicit contact determination phase and a spatical-temporal analysis phase (see DIKU technical report no. 04-06 for more details).
Member Typedef Documentation
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
Constructor & Destructor Documentation
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
Member Function Documentation
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
Notify Add body_type. Used by the configuration to tell the collision detection engine that the configuration has changed.
- Parameters:
-
- Returns:
- A boolean value indicating whether the notification was succesfull or not.
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
Get Analyzer Module.
- Returns:
- A pointer to the analyzer collision detection module.
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
Get Broad Phase Module.
- Returns:
- A pointer to the broad phase collision detection module.
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
Get Narrow Phase Module.
- Returns:
- A pointer to the narrow phase collision detection module.
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
Get Time-Stamp.
- Returns:
- The value of the time-stamp of the last invocation of the collision detection engine.
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
Initialization Routine.
- Parameters:
-
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
Retrive Short Circuiting State.
- Returns:
- A boolean value indicating whether short circuiting is on.
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
Notify Remove body_type. Used by the configuration to tell the collision detection engine that the configuration has changed.
- Parameters:
-
- Returns:
- A boolean value indicating whether the notification was succesfull or not.
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
Run Collision Detection Query.
- Parameters:
-
| groups | Upon return this container contains all the contact groups that have been detected. |
- Returns:
- If a penetration have been discovered then the return value is true otherwise it is false.
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
Set Short Circuiting.
- Parameters:
-
| value | The new short circuiting value, if on collision detection engine will terminate the query first time a penetration is encountered. |
Member Data Documentation
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
Spatial Temporal Analyzer.
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
Broad phase collision detection algorithm.
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
A pointer to the configuration.
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
Narrow phase collision detection algorithm.
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
Boolean flag indicating whether the collision detection engine should short-circuit on first penetration it finds.
template<typename types, template< typename types > class BroadPhasePolicy, template< typename types > class NarrowPhasePolicy, template< typename types > class AnalyzerPolicy>
Time-stamp of last invocation of the collision detection engine.
The documentation for this class was generated from the following file:
- /home/hauberg/Dokumenter/Capture/humim-tracker-0.1/src/OpenTissue/OpenTissue/dynamics/mbd/collision_detection/mbd_collision_detection.h