PxContactSet Class Reference
[Physics]
An array of contact points, as passed to contact modification.
More...
#include <PxContactModifyCallback.h>
Collaboration diagram for PxContactSet:

Public Member Functions | |
PX_FORCE_INLINE const PxVec3 & | getPoint (PxU32 i) const |
PX_FORCE_INLINE void | setPoint (PxU32 i, const PxVec3 &p) |
PX_FORCE_INLINE const PxVec3 & | getNormal (PxU32 i) const |
PX_FORCE_INLINE void | setNormal (PxU32 i, const PxVec3 &n) |
PX_FORCE_INLINE PxReal | getSeparation (PxU32 i) const |
PX_FORCE_INLINE void | setSeparation (PxU32 i, PxReal s) |
PX_FORCE_INLINE const PxVec3 & | getTargetVelocity (PxU32 i) const |
PX_FORCE_INLINE void | setTargetVelocity (PxU32 i, const PxVec3 &v) |
PX_FORCE_INLINE PxU32 | getInternalFaceIndex0 (PxU32 i) |
PX_FORCE_INLINE PxU32 | getInternalFaceIndex1 (PxU32 i) |
PX_FORCE_INLINE PxReal | getMaxImpulse (PxU32 i) const |
PX_FORCE_INLINE void | setMaxImpulse (PxU32 i, PxReal s) |
PX_FORCE_INLINE void | ignore (PxU32 i) |
PX_FORCE_INLINE PxU32 | size () const |
Protected Attributes | |
PxU32 | mCount |
PxContactPoint * | mContacts |
PxContactPointAux * | mAux |
Detailed Description
An array of contact points, as passed to contact modification.The word 'set' in the name does not imply that duplicates are filtered in any way. This initial set of contacts does potentially get reduced to a smaller set before being passed to the solver.
You can use the accessors to read and write contact properties. The number of contacts is immutable, other than being able to disable contacts using ignore().
Member Function Documentation
PX_FORCE_INLINE void PxContactSet::ignore | ( | PxU32 | i | ) | [inline] |
PX_FORCE_INLINE PxU32 PxContactSet::size | ( | ) | const [inline] |
Member Data Documentation
PxContactPointAux* PxContactSet::mAux [protected] |
PxContactPoint* PxContactSet::mContacts [protected] |
PxU32 PxContactSet::mCount [protected] |
The documentation for this class was generated from the following file:
Copyright © 2008-2012 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com