All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Public Attributes
fcl::CollisionFunctionMatrix< NarrowPhaseSolver > Struct Template Reference

collision matrix stores the functions for collision between different types of objects and provides a uniform call interface More...

#include <collision_func_matrix.h>

List of all members.

Public Types

typedef std::size_t(* CollisionFunc )(const CollisionGeometry *o1, const Transform3f &tf1, const CollisionGeometry *o2, const Transform3f &tf2, const NarrowPhaseSolver *nsolver, const CollisionRequest &request, CollisionResult &result)
 the uniform call interface for collision: for collision, we need know 1. two objects o1 and o2 and their configuration in world coordinate tf1 and tf2; 2. the solver for narrow phase collision, this is for the collision between geometric shapes; 3. the request setting for collision (e.g., whether need to return normal information, whether need to compute cost); 4. the structure to return collision result

Public Member Functions

 CollisionFunctionMatrix ()

Public Attributes

CollisionFunc collision_matrix [NODE_COUNT][NODE_COUNT]
 each item in the collision matrix is a function to handle collision between objects of type1 and type2

Detailed Description

template<typename NarrowPhaseSolver>
struct fcl::CollisionFunctionMatrix< NarrowPhaseSolver >

collision matrix stores the functions for collision between different types of objects and provides a uniform call interface

Definition at line 50 of file collision_func_matrix.h.


Member Typedef Documentation

template<typename NarrowPhaseSolver>
typedef std::size_t(* fcl::CollisionFunctionMatrix< NarrowPhaseSolver >::CollisionFunc)(const CollisionGeometry *o1, const Transform3f &tf1, const CollisionGeometry *o2, const Transform3f &tf2, const NarrowPhaseSolver *nsolver, const CollisionRequest &request, CollisionResult &result)

the uniform call interface for collision: for collision, we need know 1. two objects o1 and o2 and their configuration in world coordinate tf1 and tf2; 2. the solver for narrow phase collision, this is for the collision between geometric shapes; 3. the request setting for collision (e.g., whether need to return normal information, whether need to compute cost); 4. the structure to return collision result

Definition at line 57 of file collision_func_matrix.h.


Constructor & Destructor Documentation

template<typename NarrowPhaseSolver >
fcl::CollisionFunctionMatrix< NarrowPhaseSolver >::CollisionFunctionMatrix ( )

Definition at line 434 of file collision_func_matrix.cpp.


Member Data Documentation

template<typename NarrowPhaseSolver>
CollisionFunc fcl::CollisionFunctionMatrix< NarrowPhaseSolver >::collision_matrix[NODE_COUNT][NODE_COUNT]

each item in the collision matrix is a function to handle collision between objects of type1 and type2

Definition at line 60 of file collision_func_matrix.h.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


fcl
Author(s): Jia Pan
autogenerated on Tue Jan 15 2013 16:05:31