#include "common/PxPhysXCommonConfig.h"
#include "PxGeometry.h"
#include "PxBoxGeometry.h"
#include "PxSphereGeometry.h"
#include "PxCapsuleGeometry.h"
#include "PxPlaneGeometry.h"
#include "PxConvexMeshGeometry.h"
#include "PxTriangleMeshGeometry.h"
#include "PxHeightFieldGeometry.h"
#include "foundation/PxPlane.h"
#include "foundation/PxTransform.h"
#include "foundation/PxUnionCast.h"
Go to the source code of this file.
Classes | |
class | PxGeometryHolder |
Geometry holder class. More... | |
Functions | |
class PxGeometryHolder | PX_ALIGN_SUFFIX (4) |
PX_FORCE_INLINE PxGeometryType::Enum | getType () const |
PX_FORCE_INLINE PxGeometry & | any () |
PX_FORCE_INLINE PxSphereGeometry & | sphere () |
PX_FORCE_INLINE PxPlaneGeometry & | plane () |
PX_FORCE_INLINE PxCapsuleGeometry & | capsule () |
PX_FORCE_INLINE PxBoxGeometry & | box () |
PX_FORCE_INLINE PxConvexMeshGeometry & | convexMesh () |
PX_FORCE_INLINE PxTriangleMeshGeometry & | triangleMesh () |
PX_FORCE_INLINE PxHeightFieldGeometry & | heightField () |
PX_FORCE_INLINE void | storeAny (const PxGeometry &geometry) |
template<typename T > | |
void | put (const PxGeometry &geometry) |
template<typename T , PxGeometryType::Enum type> | |
T & | get () |
Variables | |
union { | |
PxU8 geometry [sizeof(PxGeometry)] | |
PxU8 box [sizeof(PxBoxGeometry)] | |
PxU8 sphere [sizeof(PxSphereGeometry)] | |
PxU8 capsule [sizeof(PxCapsuleGeometry)] | |
PxU8 plane [sizeof(PxPlaneGeometry)] | |
PxU8 convex [sizeof(PxConvexMeshGeometry)] | |
PxU8 mesh [sizeof(PxTriangleMeshGeometry)] | |
PxU8 heightfield [sizeof(PxHeightFieldGeometry)] | |
} | bytes |
PX_FORCE_INLINE const PxGeometry & any | ( | ) |
Referenced by PxGeometryHolder::get(), PxGeometryHolder::getType(), and PxGeometryHolder::put().
PX_FORCE_INLINE PxBoxGeometry& PX_ALIGN_SUFFIX::box | ( | ) |
PX_FORCE_INLINE PxCapsuleGeometry& PX_ALIGN_SUFFIX::capsule | ( | ) |
PX_FORCE_INLINE const PxConvexMeshGeometry & convexMesh | ( | ) |
Referenced by PxConvexMeshGeometry::isValid().
|
private |
PX_FORCE_INLINE PxGeometryType::Enum PX_ALIGN_SUFFIX::getType | ( | ) | const |
Referenced by PxGeometryHolder::get().
PX_FORCE_INLINE const PxHeightFieldGeometry & heightField | ( | ) |
Referenced by PxHeightFieldGeometry::isValid().
PX_FORCE_INLINE PxPlaneGeometry& PX_ALIGN_SUFFIX::plane | ( | ) |
|
private |
PX_FORCE_INLINE PxSphereGeometry& PX_ALIGN_SUFFIX::sphere | ( | ) |
PX_FORCE_INLINE void PX_ALIGN_SUFFIX::storeAny | ( | const PxGeometry & | geometry | ) |
PX_FORCE_INLINE const PxTriangleMeshGeometry & triangleMesh | ( | ) |
Referenced by PxTriangleMeshGeometry::isValid().
PX_FORCE_INLINE const PxBoxGeometry & box |
union { ... } bytes |
Referenced by PxGeometryHolder::any(), and PxGpuCopyDesc::isValid().
PX_FORCE_INLINE const PxCapsuleGeometry & capsule |
PxU8 convex[sizeof(PxConvexMeshGeometry)] |
PxU8 geometry[sizeof(PxGeometry)] |
Referenced by PxGeometryHolder::storeAny().
PxU8 heightfield[sizeof(PxHeightFieldGeometry)] |
PxU8 mesh[sizeof(PxTriangleMeshGeometry)] |
PX_FORCE_INLINE const PxPlaneGeometry & plane |
PX_FORCE_INLINE const PxSphereGeometry & sphere |