RavEngine
Loading...
Searching...
No Matches
PxPhysicsAPI.h
1// Redistribution and use in source and binary forms, with or without
2// modification, are permitted provided that the following conditions
3// are met:
4// * Redistributions of source code must retain the above copyright
5// notice, this list of conditions and the following disclaimer.
6// * Redistributions in binary form must reproduce the above copyright
7// notice, this list of conditions and the following disclaimer in the
8// documentation and/or other materials provided with the distribution.
9// * Neither the name of NVIDIA CORPORATION nor the names of its
10// contributors may be used to endorse or promote products derived
11// from this software without specific prior written permission.
12//
13// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY
14// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
17// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
18// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
20// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
21// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24//
25// Copyright (c) 2008-2022 NVIDIA Corporation. All rights reserved.
26// Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.
27// Copyright (c) 2001-2004 NovodeX AG. All rights reserved.
28
29#ifndef PX_PHYSICS_API_H
30#define PX_PHYSICS_API_H
42// Foundation SDK
43#include "foundation/Px.h"
44#include "foundation/PxAlignedMalloc.h"
45#include "foundation/PxAlloca.h"
46#include "foundation/PxAllocatorCallback.h"
47#include "foundation/PxArray.h"
48#include "foundation/PxAssert.h"
49#include "foundation/PxAtomic.h"
50#include "foundation/PxBasicTemplates.h"
51#include "foundation/PxBitAndData.h"
52#include "foundation/PxBitMap.h"
53#include "foundation/PxBitUtils.h"
54#include "foundation/PxBounds3.h"
55#include "foundation/PxBroadcast.h"
56#include "foundation/PxErrorCallback.h"
57#include "foundation/PxErrors.h"
58#include "foundation/PxFlags.h"
59#include "foundation/PxFoundation.h"
60#include "foundation/PxFoundationConfig.h"
61#include "foundation/PxFPU.h"
62#include "foundation/PxHash.h"
63#include "foundation/PxHashMap.h"
64#include "foundation/PxHashSet.h"
65#include "foundation/PxInlineAllocator.h"
66#include "foundation/PxInlineArray.h"
67#include "foundation/PxIntrinsics.h"
68#include "foundation/PxIO.h"
69#include "foundation/PxMat33.h"
70#include "foundation/PxMat44.h"
71#include "foundation/PxMath.h"
72#include "foundation/PxMathIntrinsics.h"
73#include "foundation/PxMathUtils.h"
74#include "foundation/PxMemory.h"
75#include "foundation/PxMutex.h"
76#include "foundation/PxPhysicsVersion.h"
77#include "foundation/PxPlane.h"
78#include "foundation/PxPool.h"
79#include "foundation/PxPreprocessor.h"
80#include "foundation/PxProfiler.h"
81#include "foundation/PxQuat.h"
82#include "foundation/PxSimpleTypes.h"
83#include "foundation/PxSList.h"
84#include "foundation/PxSocket.h"
85#include "foundation/PxSort.h"
86#include "foundation/PxStrideIterator.h"
87#include "foundation/PxString.h"
88#include "foundation/PxSync.h"
89#include "foundation/PxTempAllocator.h"
90#include "foundation/PxThread.h"
91#include "foundation/PxTime.h"
92#include "foundation/PxTransform.h"
93#include "foundation/PxUnionCast.h"
94#include "foundation/PxUserAllocated.h"
95#include "foundation/PxUtilities.h"
96#include "foundation/PxVec2.h"
97#include "foundation/PxVec3.h"
98#include "foundation/PxVec4.h"
99#include "foundation/PxVecMath.h"
100#include "foundation/PxVecQuat.h"
101#include "foundation/PxVecTransform.h"
102
103
104//Not physics specific utilities and common code
105#include "common/PxCoreUtilityTypes.h"
106#include "common/PxPhysXCommonConfig.h"
107#include "common/PxRenderBuffer.h"
108#include "common/PxBase.h"
109#include "common/PxTolerancesScale.h"
110#include "common/PxTypeInfo.h"
111#include "common/PxStringTable.h"
112#include "common/PxSerializer.h"
113#include "common/PxMetaData.h"
114#include "common/PxMetaDataFlags.h"
115#include "common/PxSerialFramework.h"
116#include "common/PxInsertionCallback.h"
117
118//Task Manager
119#include "task/PxTask.h"
120
121// Cuda Mananger
122#if PX_SUPPORT_GPU_PHYSX
123#include "gpu/PxGpu.h"
124#endif
125
126//Geometry Library
127#include "geometry/PxBoxGeometry.h"
128#include "geometry/PxBVH.h"
129#include "geometry/PxBVHBuildStrategy.h"
130#include "geometry/PxCapsuleGeometry.h"
131#include "geometry/PxConvexMesh.h"
132#include "geometry/PxConvexMeshGeometry.h"
133#include "geometry/PxGeometry.h"
134#include "geometry/PxGeometryHelpers.h"
135#include "geometry/PxGeometryQuery.h"
136#include "geometry/PxHeightField.h"
137#include "geometry/PxHeightFieldDesc.h"
138#include "geometry/PxHeightFieldFlag.h"
139#include "geometry/PxHeightFieldGeometry.h"
140#include "geometry/PxHeightFieldSample.h"
141#include "geometry/PxMeshQuery.h"
142#include "geometry/PxMeshScale.h"
143#include "geometry/PxPlaneGeometry.h"
144#include "geometry/PxSimpleTriangleMesh.h"
145#include "geometry/PxSphereGeometry.h"
146#include "geometry/PxTriangle.h"
147#include "geometry/PxTriangleMesh.h"
148#include "geometry/PxTriangleMeshGeometry.h"
149#include "geometry/PxTetrahedron.h"
150#include "geometry/PxTetrahedronMesh.h"
151#include "geometry/PxTetrahedronMeshGeometry.h"
152
153// PhysX Core SDK
154#include "PxActor.h"
155#include "PxAggregate.h"
156#include "PxArticulationReducedCoordinate.h"
157#include "PxArticulationJointReducedCoordinate.h"
158#include "PxArticulationLink.h"
159#include "PxClient.h"
160#include "PxConeLimitedConstraint.h"
161#include "PxConstraint.h"
162#include "PxConstraintDesc.h"
163#include "PxContact.h"
164#include "PxContactModifyCallback.h"
165#include "PxDeletionListener.h"
166#include "PxFEMSoftBodyMaterial.h"
167#include "PxFiltering.h"
168#include "PxForceMode.h"
169#include "PxLockedData.h"
170#include "PxMaterial.h"
171#include "PxParticleBuffer.h"
172#include "PxParticleSystem.h"
173#include "PxPBDParticleSystem.h"
174#include "PxPBDMaterial.h"
175#include "PxPhysics.h"
176#include "PxPhysXConfig.h"
177#include "PxQueryFiltering.h"
178#include "PxQueryReport.h"
179#include "PxRigidActor.h"
180#include "PxRigidBody.h"
181#include "PxRigidDynamic.h"
182#include "PxRigidStatic.h"
183#include "PxScene.h"
184#include "PxSceneDesc.h"
185#include "PxSceneLock.h"
186#include "PxShape.h"
187#include "PxSimulationEventCallback.h"
188#include "PxSimulationStatistics.h"
189#include "PxSoftBody.h"
190#include "PxVisualizationParameter.h"
191#include "PxPruningStructure.h"
192#if PX_ENABLE_FEATURES_UNDER_CONSTRUCTION
193#include "PxCustomParticleSystem.h"
194#include "PxFEMCloth.h"
195#include "PxFEMClothMaterial.h"
196#include "PxFLIPParticleSystem.h"
197#include "PxFLIPMaterial.h"
198#include "PxHairSystem.h"
199#include "PxMPMMaterial.h"
200#include "PxMPMParticleSystem.h"
201#endif
202
203//Character Controller
204#include "characterkinematic/PxBoxController.h"
205#include "characterkinematic/PxCapsuleController.h"
206#include "characterkinematic/PxController.h"
207#include "characterkinematic/PxControllerBehavior.h"
208#include "characterkinematic/PxControllerManager.h"
209#include "characterkinematic/PxControllerObstacles.h"
210#include "characterkinematic/PxExtended.h"
211
212//Cooking (data preprocessing)
213#include "cooking/Pxc.h"
214#include "cooking/PxConvexMeshDesc.h"
215#include "cooking/PxCooking.h"
216#include "cooking/PxTriangleMeshDesc.h"
217#include "cooking/PxBVH33MidphaseDesc.h"
218#include "cooking/PxBVH34MidphaseDesc.h"
219#include "cooking/PxMidphaseDesc.h"
220
221//Extensions to the SDK
222#include "extensions/PxDefaultStreams.h"
223#include "extensions/PxExtensionsAPI.h"
224
225//Serialization
226#include "extensions/PxSerialization.h"
227#include "extensions/PxBinaryConverter.h"
228#include "extensions/PxRepXSerializer.h"
229
230//Vehicle Simulation
231#include "vehicle2/PxVehicleAPI.h"
232#include "vehicle/PxVehicleComponents.h"
233#include "vehicle/PxVehicleDrive.h"
234#include "vehicle/PxVehicleDrive4W.h"
235#include "vehicle/PxVehicleDriveTank.h"
236#include "vehicle/PxVehicleSDK.h"
237#include "vehicle/PxVehicleShaders.h"
238#include "vehicle/PxVehicleTireFriction.h"
239#include "vehicle/PxVehicleUpdate.h"
240#include "vehicle/PxVehicleUtil.h"
241#include "vehicle/PxVehicleUtilControl.h"
242#include "vehicle/PxVehicleUtilSetup.h"
243#include "vehicle/PxVehicleUtilTelemetry.h"
244#include "vehicle/PxVehicleWheels.h"
245#include "vehicle/PxVehicleNoDrive.h"
246#include "vehicle/PxVehicleDriveNW.h"
247
248//Connecting the SDK to Visual Debugger
249#include "pvd/PxPvdSceneClient.h"
250#include "pvd/PxPvd.h"
251#include "pvd/PxPvdTransport.h"
253#endif