![]() |
#include "foundation/PxPlane.h"#include "foundation/PxTransform.h"#include "foundation/PxUnionCast.h"#include "common/PxPhysXCommonConfig.h"#include "geometry/PxGeometry.h"#include "geometry/PxBoxGeometry.h"#include "geometry/PxSphereGeometry.h"#include "geometry/PxCapsuleGeometry.h"#include "geometry/PxPlaneGeometry.h"#include "geometry/PxConvexMeshGeometry.h"#include "geometry/PxHeightFieldGeometry.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) |
| PX_FORCE_INLINE | PxGeometryHolder () |
| PX_FORCE_INLINE | PxGeometryHolder (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 PX_ALIGN_SUFFIX::PxGeometryHolder | ( | ) |
| PX_FORCE_INLINE PX_ALIGN_SUFFIX::PxGeometryHolder | ( | const PxGeometry & | geometry | ) |
| PX_FORCE_INLINE PxSphereGeometry& PX_ALIGN_SUFFIX::sphere | ( | ) |
| PX_FORCE_INLINE void PX_ALIGN_SUFFIX::storeAny | ( | const PxGeometry & | geometry | ) |
References geometry.
| PX_FORCE_INLINE const PxTriangleMeshGeometry & triangleMesh | ( | ) |
References PxGeometryType::eCAPSULE, PxGeometryType::eGEOMETRY_COUNT, PxGeometryType::ePLANE, PxGeometryType::eSPHERE, geometry, and PX_ASSERT_WITH_MESSAGE.
Referenced by PxTriangleMeshGeometry::isValid().
| PX_FORCE_INLINE const PxBoxGeometry & box |
Referenced by PxBounds3::isInside().
| union { ... } bytes |
Referenced by PxGeometryHolder::any(), PxStrideIterator< T >::byteAdd(), and PxStrideIterator< T >::byteSub().
| PX_FORCE_INLINE const PxCapsuleGeometry & capsule |
| PxU8 convex[sizeof(PxConvexMeshGeometry)] |
| PxU8 geometry[sizeof(PxGeometry)] |
| PxU8 heightfield[sizeof(PxHeightFieldGeometry)] |
| PxU8 mesh[sizeof(PxTriangleMeshGeometry)] |
| PX_FORCE_INLINE const PxPlaneGeometry & plane |
Referenced by PxTransform::inverseTransform(), and PxTransform::transform().
| PX_FORCE_INLINE const PxSphereGeometry & sphere |