Classes | Functions | Variables
PxGeometryHelpers.h File Reference
#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"
This graph shows which files directly or indirectly include this file:

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 PxGeometryany ()
 
PX_FORCE_INLINE PxSphereGeometrysphere ()
 
PX_FORCE_INLINE PxPlaneGeometryplane ()
 
PX_FORCE_INLINE PxCapsuleGeometrycapsule ()
 
PX_FORCE_INLINE PxBoxGeometrybox ()
 
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
 

Function Documentation

PX_FORCE_INLINE const PxGeometry & any ( )
PX_FORCE_INLINE PxBoxGeometry& PX_ALIGN_SUFFIX::box ( )
PX_FORCE_INLINE PxCapsuleGeometry& PX_ALIGN_SUFFIX::capsule ( )
PX_FORCE_INLINE const PxConvexMeshGeometry & convexMesh ( )
template<typename T , PxGeometryType::Enum type>
T & get ( )
private
PX_FORCE_INLINE PxGeometryType::Enum PX_ALIGN_SUFFIX::getType ( ) const

Referenced by PxGeometryHolder::get().

PX_FORCE_INLINE const PxHeightFieldGeometry & heightField ( )
PX_FORCE_INLINE PxPlaneGeometry& PX_ALIGN_SUFFIX::plane ( )
template<typename T >
void PX_ALIGN_SUFFIX::put ( const PxGeometry geometry)
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 ( )

Variable Documentation

union { ... } bytes
PxU8 convex[sizeof(PxConvexMeshGeometry)]
PxU8 geometry[sizeof(PxGeometry)]
PxU8 heightfield[sizeof(PxHeightFieldGeometry)]


Copyright © 2008-2015 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com