From 3dfe2108cfab31ba3ee5527e217d0d8e99a51162 Mon Sep 17 00:00:00 2001 From: git perforce import user Date: Tue, 25 Oct 2016 12:29:14 -0600 Subject: Initial commit: PhysX 3.4.0 Update @ 21294896 APEX 1.4.0 Update @ 21275617 [CL 21300167] --- .../PhysXAPI/files/classPxGeometryHolder.html | 721 +++++++++++++++++++++ 1 file changed, 721 insertions(+) create mode 100644 PhysX_3.4/Documentation/PhysXAPI/files/classPxGeometryHolder.html (limited to 'PhysX_3.4/Documentation/PhysXAPI/files/classPxGeometryHolder.html') diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/classPxGeometryHolder.html b/PhysX_3.4/Documentation/PhysXAPI/files/classPxGeometryHolder.html new file mode 100644 index 00000000..3e45e62c --- /dev/null +++ b/PhysX_3.4/Documentation/PhysXAPI/files/classPxGeometryHolder.html @@ -0,0 +1,721 @@ + + + NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxGeometryHolder Class Reference + + + + + + + +
+

PxGeometryHolder Class Reference
+ +[Geomutils] +

Geometry holder class. +More... +

+#include <PxGeometryHelpers.h> +

+ +

+List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

PX_FORCE_INLINE
+PxGeometryType::Enum 
getType () const
PX_FORCE_INLINE PxGeometryany ()
PX_FORCE_INLINE const PxGeometryany () const
PX_FORCE_INLINE PxSphereGeometrysphere ()
PX_FORCE_INLINE const
+PxSphereGeometry
sphere () const
PX_FORCE_INLINE PxPlaneGeometryplane ()
PX_FORCE_INLINE const
+PxPlaneGeometry
plane () const
PX_FORCE_INLINE PxCapsuleGeometrycapsule ()
PX_FORCE_INLINE const
+PxCapsuleGeometry
capsule () const
PX_FORCE_INLINE PxBoxGeometrybox ()
PX_FORCE_INLINE const
+PxBoxGeometry
box () const
PX_FORCE_INLINE
+PxConvexMeshGeometry
convexMesh ()
PX_FORCE_INLINE const
+PxConvexMeshGeometry
convexMesh () const
PX_FORCE_INLINE
+PxTriangleMeshGeometry
triangleMesh ()
PX_FORCE_INLINE const
+PxTriangleMeshGeometry
triangleMesh () const
PX_FORCE_INLINE
+PxHeightFieldGeometry
heightField ()
PX_FORCE_INLINE const
+PxHeightFieldGeometry
heightField () const
PX_FORCE_INLINE void storeAny (const PxGeometry &geometry)
PX_FORCE_INLINE PxGeometryHolder ()
PX_FORCE_INLINE PxGeometryHolder (const PxGeometry &geometry)

Private Member Functions

template<typename T >
void put (const PxGeometry &geometry)
template<typename T , PxGeometryType::Enum type>
T & get ()
template<typename T , PxGeometryType::Enum type>
T & get () const

Private Attributes

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
+


Detailed Description

+Geometry holder class. +

+This class contains enough space to hold a value of any PxGeometry subtype.

+Its principal use is as a convenience class to allow geometries to be returned polymorphically from functions. See PxShape::getGeometry();


Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
PX_FORCE_INLINE PxGeometryHolder::PxGeometryHolder (  )  [inline]
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
PX_FORCE_INLINE PxGeometryHolder::PxGeometryHolder (const PxGeometry geometry  )  [inline]
+
+
+ +

+ +

+

+


Member Function Documentation

+ +
+
+ + + + + + + + +
PX_FORCE_INLINE const PxGeometry& PxGeometryHolder::any (  )  const [inline]
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + +
PX_FORCE_INLINE PxGeometry& PxGeometryHolder::any (  )  [inline]
+
+ +

+ +

+
+ + + + + + + + +
PX_FORCE_INLINE const PxBoxGeometry& PxGeometryHolder::box (  )  const [inline]
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + +
PX_FORCE_INLINE PxBoxGeometry& PxGeometryHolder::box (  )  [inline]
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + +
PX_FORCE_INLINE const PxCapsuleGeometry& PxGeometryHolder::capsule (  )  const [inline]
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + +
PX_FORCE_INLINE PxCapsuleGeometry& PxGeometryHolder::capsule (  )  [inline]
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + +
PX_FORCE_INLINE const PxConvexMeshGeometry& PxGeometryHolder::convexMesh (  )  const [inline]
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + +
PX_FORCE_INLINE PxConvexMeshGeometry& PxGeometryHolder::convexMesh (  )  [inline]
+
+
+ +

+ +

+

+ +

+
+
+template<typename T , PxGeometryType::Enum type>
+ + + + + + + + +
T& PxGeometryHolder::get (  )  const [inline, private]
+
+
+ +

+ +

References PX_ASSERT.

+ +
+

+ +

+
+
+template<typename T , PxGeometryType::Enum type>
+ + + + + + + + +
T& PxGeometryHolder::get (  )  [inline, private]
+
+
+ +

+ +

References PX_ASSERT.

+ +
+

+ +

+
+ + + + + + + + +
PX_FORCE_INLINE PxGeometryType::Enum PxGeometryHolder::getType (  )  const [inline]
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + +
PX_FORCE_INLINE const PxHeightFieldGeometry& PxGeometryHolder::heightField (  )  const [inline]
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + +
PX_FORCE_INLINE PxHeightFieldGeometry& PxGeometryHolder::heightField (  )  [inline]
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + +
PX_FORCE_INLINE const PxPlaneGeometry& PxGeometryHolder::plane (  )  const [inline]
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + +
PX_FORCE_INLINE PxPlaneGeometry& PxGeometryHolder::plane (  )  [inline]
+
+
+ +

+ +

+

+ +

+
+
+template<typename T >
+ + + + + + + + + +
void PxGeometryHolder::put (const PxGeometry geometry  )  [inline, private]
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + +
PX_FORCE_INLINE const PxSphereGeometry& PxGeometryHolder::sphere (  )  const [inline]
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + +
PX_FORCE_INLINE PxSphereGeometry& PxGeometryHolder::sphere (  )  [inline]
+
+
+ +

+ +

+

+ +

+ +

+
+ + + + + + + + +
PX_FORCE_INLINE const PxTriangleMeshGeometry& PxGeometryHolder::triangleMesh (  )  const [inline]
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + +
PX_FORCE_INLINE PxTriangleMeshGeometry& PxGeometryHolder::triangleMesh (  )  [inline]
+
+
+ +

+ +

+

+


Member Data Documentation

+ +
+
+ + + + +
PxU8 PxGeometryHolder::box[sizeof(PxBoxGeometry)]
+
+
+ +

+ +

+

+ +

+
+ + + + +
union { ... } PxGeometryHolder::bytes [private]
+
+
+ +

+ +

+

+ +

+
+ + + + +
PxU8 PxGeometryHolder::capsule[sizeof(PxCapsuleGeometry)]
+
+
+ +

+ +

+

+ +

+ +
+ +

+ +

+

+ +

+
+ + + + +
PxU8 PxGeometryHolder::geometry[sizeof(PxGeometry)]
+
+
+ +

+ +

+

+ +

+ +
+ +

+ +

+

+ +

+ +
+ +

+ +

+

+ +

+
+ + + + +
PxU8 PxGeometryHolder::plane[sizeof(PxPlaneGeometry)]
+
+
+ +

+ +

+

+ +

+
+ + + + +
PxU8 PxGeometryHolder::sphere[sizeof(PxSphereGeometry)]
+
+
+ +

+ +

+

+


The documentation for this class was generated from the following file: +
+ +

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