1 | // |
2 | // Redistribution and use in source and binary forms, with or without |
3 | // modification, are permitted provided that the following conditions |
4 | // are met: |
5 | // * Redistributions of source code must retain the above copyright |
6 | // notice, this list of conditions and the following disclaimer. |
7 | // * Redistributions in binary form must reproduce the above copyright |
8 | // notice, this list of conditions and the following disclaimer in the |
9 | // documentation and/or other materials provided with the distribution. |
10 | // * Neither the name of NVIDIA CORPORATION nor the names of its |
11 | // contributors may be used to endorse or promote products derived |
12 | // from this software without specific prior written permission. |
13 | // |
14 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY |
15 | // EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
16 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
17 | // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR |
18 | // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
19 | // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
20 | // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
21 | // PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
22 | // OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
23 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
24 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
25 | // |
26 | // Copyright (c) 2008-2021 NVIDIA Corporation. All rights reserved. |
27 | // Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved. |
28 | // Copyright (c) 2001-2004 NovodeX AG. All rights reserved. |
29 | |
30 | |
31 | #ifndef PX_PHYSICS_NXPHYSICS_API |
32 | #define PX_PHYSICS_NXPHYSICS_API |
33 | /** \addtogroup physics |
34 | @{ |
35 | */ |
36 | |
37 | /** |
38 | This is the main include header for the Physics SDK, for users who |
39 | want to use a single #include file. |
40 | |
41 | Alternatively, one can instead directly #include a subset of the below files. |
42 | */ |
43 | |
44 | // Foundation SDK |
45 | #include "foundation/Px.h" |
46 | #include "foundation/PxAllocatorCallback.h" |
47 | #include "foundation/PxAssert.h" |
48 | #include "foundation/PxBitAndData.h" |
49 | #include "foundation/PxBounds3.h" |
50 | #include "foundation/PxErrorCallback.h" |
51 | #include "foundation/PxErrors.h" |
52 | #include "foundation/PxFlags.h" |
53 | #include "foundation/PxIntrinsics.h" |
54 | #include "foundation/PxIO.h" |
55 | #include "foundation/PxMat33.h" |
56 | #include "foundation/PxMat44.h" |
57 | #include "foundation/PxMath.h" |
58 | #include "foundation/PxMathUtils.h" |
59 | #include "foundation/PxPlane.h" |
60 | #include "foundation/PxPreprocessor.h" |
61 | #include "foundation/PxQuat.h" |
62 | #include "foundation/PxSimpleTypes.h" |
63 | #include "foundation/PxStrideIterator.h" |
64 | #include "foundation/PxTransform.h" |
65 | #include "foundation/PxUnionCast.h" |
66 | #include "foundation/PxVec2.h" |
67 | #include "foundation/PxVec3.h" |
68 | #include "foundation/PxVec4.h" |
69 | |
70 | //Not physics specific utilities and common code |
71 | #include "common/PxCoreUtilityTypes.h" |
72 | #include "common/PxPhysXCommonConfig.h" |
73 | #include "common/PxRenderBuffer.h" |
74 | #include "common/PxBase.h" |
75 | #include "common/PxTolerancesScale.h" |
76 | #include "common/PxTypeInfo.h" |
77 | #include "common/PxStringTable.h" |
78 | #include "common/PxSerializer.h" |
79 | #include "common/PxMetaData.h" |
80 | #include "common/PxMetaDataFlags.h" |
81 | #include "common/PxSerialFramework.h" |
82 | #include "common/PxPhysicsInsertionCallback.h" |
83 | |
84 | //Task Manager |
85 | #include "task/PxTask.h" |
86 | |
87 | // Cuda Mananger |
88 | #if PX_SUPPORT_GPU_PHYSX |
89 | #include "gpu/PxGpu.h" |
90 | #endif |
91 | |
92 | //Geometry Library |
93 | #include "geometry/PxBoxGeometry.h" |
94 | #include "geometry/PxBVHStructure.h" |
95 | #include "geometry/PxCapsuleGeometry.h" |
96 | #include "geometry/PxConvexMesh.h" |
97 | #include "geometry/PxConvexMeshGeometry.h" |
98 | #include "geometry/PxGeometry.h" |
99 | #include "geometry/PxGeometryHelpers.h" |
100 | #include "geometry/PxGeometryQuery.h" |
101 | #include "geometry/PxHeightField.h" |
102 | #include "geometry/PxHeightFieldDesc.h" |
103 | #include "geometry/PxHeightFieldFlag.h" |
104 | #include "geometry/PxHeightFieldGeometry.h" |
105 | #include "geometry/PxHeightFieldSample.h" |
106 | #include "geometry/PxMeshQuery.h" |
107 | #include "geometry/PxMeshScale.h" |
108 | #include "geometry/PxPlaneGeometry.h" |
109 | #include "geometry/PxSimpleTriangleMesh.h" |
110 | #include "geometry/PxSphereGeometry.h" |
111 | #include "geometry/PxTriangle.h" |
112 | #include "geometry/PxTriangleMesh.h" |
113 | #include "geometry/PxTriangleMeshGeometry.h" |
114 | |
115 | |
116 | // PhysX Core SDK |
117 | #include "PxActor.h" |
118 | #include "PxAggregate.h" |
119 | #include "PxArticulation.h" |
120 | #include "PxArticulationReducedCoordinate.h" |
121 | #include "PxArticulationJoint.h" |
122 | #include "PxArticulationJointReducedCoordinate.h" |
123 | #include "PxArticulationLink.h" |
124 | #include "PxBatchQuery.h" |
125 | #include "PxBatchQueryDesc.h" |
126 | #include "PxClient.h" |
127 | #include "PxConstraint.h" |
128 | #include "PxConstraintDesc.h" |
129 | #include "PxContact.h" |
130 | #include "PxContactModifyCallback.h" |
131 | #include "PxDeletionListener.h" |
132 | #include "PxFiltering.h" |
133 | #include "PxForceMode.h" |
134 | #include "PxFoundation.h" |
135 | #include "PxLockedData.h" |
136 | #include "PxMaterial.h" |
137 | #include "PxPhysics.h" |
138 | #include "PxPhysicsVersion.h" |
139 | #include "PxPhysXConfig.h" |
140 | #include "PxQueryFiltering.h" |
141 | #include "PxQueryReport.h" |
142 | #include "PxRigidActor.h" |
143 | #include "PxRigidBody.h" |
144 | #include "PxRigidDynamic.h" |
145 | #include "PxRigidStatic.h" |
146 | #include "PxScene.h" |
147 | #include "PxSceneDesc.h" |
148 | #include "PxSceneLock.h" |
149 | #include "PxShape.h" |
150 | #include "PxSimulationEventCallback.h" |
151 | #include "PxSimulationStatistics.h" |
152 | #include "PxVisualizationParameter.h" |
153 | #include "PxPruningStructure.h" |
154 | |
155 | //Character Controller |
156 | #include "characterkinematic/PxBoxController.h" |
157 | #include "characterkinematic/PxCapsuleController.h" |
158 | #include "characterkinematic/PxController.h" |
159 | #include "characterkinematic/PxControllerBehavior.h" |
160 | #include "characterkinematic/PxControllerManager.h" |
161 | #include "characterkinematic/PxControllerObstacles.h" |
162 | #include "characterkinematic/PxExtended.h" |
163 | |
164 | //Cooking (data preprocessing) |
165 | #include "cooking/Pxc.h" |
166 | #include "cooking/PxConvexMeshDesc.h" |
167 | #include "cooking/PxCooking.h" |
168 | #include "cooking/PxTriangleMeshDesc.h" |
169 | #include "cooking/PxBVH33MidphaseDesc.h" |
170 | #include "cooking/PxBVH34MidphaseDesc.h" |
171 | #include "cooking/PxMidphaseDesc.h" |
172 | |
173 | //Extensions to the SDK |
174 | #include "extensions/PxDefaultStreams.h" |
175 | #include "extensions/PxDistanceJoint.h" |
176 | #include "extensions/PxExtensionsAPI.h" |
177 | #include "extensions/PxFixedJoint.h" |
178 | #include "extensions/PxJoint.h" |
179 | #include "extensions/PxJointLimit.h" |
180 | #include "extensions/PxPrismaticJoint.h" |
181 | #include "extensions/PxRevoluteJoint.h" |
182 | #include "extensions/PxRigidBodyExt.h" |
183 | #include "extensions/PxShapeExt.h" |
184 | #include "extensions/PxSimpleFactory.h" |
185 | #include "extensions/PxSmoothNormals.h" |
186 | #include "extensions/PxSphericalJoint.h" |
187 | #include "extensions/PxStringTableExt.h" |
188 | #include "extensions/PxTriangleMeshExt.h" |
189 | #include "extensions/PxConvexMeshExt.h" |
190 | |
191 | //Serialization |
192 | #include "extensions/PxSerialization.h" |
193 | #include "extensions/PxBinaryConverter.h" |
194 | #include "extensions/PxRepXSerializer.h" |
195 | |
196 | //Vehicle Simulation |
197 | #include "vehicle/PxVehicleComponents.h" |
198 | #include "vehicle/PxVehicleDrive.h" |
199 | #include "vehicle/PxVehicleDrive4W.h" |
200 | #include "vehicle/PxVehicleDriveTank.h" |
201 | #include "vehicle/PxVehicleSDK.h" |
202 | #include "vehicle/PxVehicleShaders.h" |
203 | #include "vehicle/PxVehicleTireFriction.h" |
204 | #include "vehicle/PxVehicleUpdate.h" |
205 | #include "vehicle/PxVehicleUtil.h" |
206 | #include "vehicle/PxVehicleUtilControl.h" |
207 | #include "vehicle/PxVehicleUtilSetup.h" |
208 | #include "vehicle/PxVehicleUtilTelemetry.h" |
209 | #include "vehicle/PxVehicleWheels.h" |
210 | #include "vehicle/PxVehicleNoDrive.h" |
211 | #include "vehicle/PxVehicleDriveNW.h" |
212 | |
213 | //Connecting the SDK to Visual Debugger |
214 | #include "pvd/PxPvdSceneClient.h" |
215 | #include "pvd/PxPvd.h" |
216 | #include "pvd/PxPvdTransport.h" |
217 | /** @} */ |
218 | #endif |
219 | |