Blender V2.61 - r43446
Public Member Functions | Public Attributes

GIM_CONTACT Class Reference

#include <btContactProcessing.h>

List of all members.

Public Member Functions

 GIM_CONTACT ()
 GIM_CONTACT (const GIM_CONTACT &contact)
 GIM_CONTACT (const btVector3 &point, const btVector3 &normal, btScalar depth, int feature1, int feature2)
SIMD_FORCE_INLINE unsigned int calc_key_contact () const
 Calcs key for coord classification.
SIMD_FORCE_INLINE void interpolate_normals (btVector3 *normals, int normal_count)
 GIM_CONTACT ()
 GIM_CONTACT (const GIM_CONTACT &contact)
 GIM_CONTACT (const btVector3 &point, const btVector3 &normal, GREAL depth, GUINT feature1, GUINT feature2)
SIMD_FORCE_INLINE GUINT calc_key_contact () const
 Calcs key for coord classification.
SIMD_FORCE_INLINE void interpolate_normals (btVector3 *normals, GUINT normal_count)

Public Attributes

btVector3 m_point
btVector3 m_normal
btScalar m_depth
btScalar m_distance
int m_feature1
int m_feature2
GREAL m_depth
GREAL m_distance
GUINT m_feature1
GUINT m_feature2

Detailed Description

The GIM_CONTACT is an internal GIMPACT structure, similar to btManifoldPoint.

Todo:
: remove and replace GIM_CONTACT by btManifoldPoint.

Structure for collision results Functions for managing and sorting contacts resulting from a collision query. Contact lists must be create by calling GIM_CREATE_CONTACT_LIST After querys, contact lists must be destroy by calling GIM_DYNARRAY_DESTROY Contacts can be merge for avoid duplicate results by calling gim_merge_contacts

Definition at line 42 of file btContactProcessing.h.


Constructor & Destructor Documentation

GIM_CONTACT::GIM_CONTACT ( ) [inline]

Definition at line 52 of file btContactProcessing.h.

GIM_CONTACT::GIM_CONTACT ( const GIM_CONTACT contact) [inline]

Definition at line 56 of file btContactProcessing.h.

GIM_CONTACT::GIM_CONTACT ( const btVector3 &  point,
const btVector3 &  normal,
btScalar  depth,
int  feature1,
int  feature2 
) [inline]

Definition at line 65 of file btContactProcessing.h.

GIM_CONTACT::GIM_CONTACT ( ) [inline]

Definition at line 61 of file gim_contact.h.

GIM_CONTACT::GIM_CONTACT ( const GIM_CONTACT contact) [inline]

Definition at line 65 of file gim_contact.h.

References m_depth, m_feature1, m_feature2, m_normal, and m_point.

GIM_CONTACT::GIM_CONTACT ( const btVector3 &  point,
const btVector3 &  normal,
GREAL  depth,
GUINT  feature1,
GUINT  feature2 
) [inline]

Definition at line 79 of file gim_contact.h.


Member Function Documentation

SIMD_FORCE_INLINE unsigned int GIM_CONTACT::calc_key_contact ( ) const [inline]

Calcs key for coord classification.

Definition at line 76 of file btContactProcessing.h.

References m_point.

SIMD_FORCE_INLINE GUINT GIM_CONTACT::calc_key_contact ( ) const [inline]

Calcs key for coord classification.

Definition at line 90 of file gim_contact.h.

References GINT, GUINT, and m_point.

SIMD_FORCE_INLINE void GIM_CONTACT::interpolate_normals ( btVector3 *  normals,
GUINT  normal_count 
) [inline]

Definition at line 106 of file gim_contact.h.

References CONTACT_DIFF_EPSILON, GIM_INV_SQRT, GREAL, GUINT, i, and m_normal.

SIMD_FORCE_INLINE void GIM_CONTACT::interpolate_normals ( btVector3 *  normals,
int  normal_count 
) [inline]

Member Data Documentation

Definition at line 56 of file gim_contact.h.

Definition at line 48 of file btContactProcessing.h.

Definition at line 57 of file gim_contact.h.

Definition at line 58 of file gim_contact.h.

Definition at line 59 of file gim_contact.h.


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