PxSimpleFactory.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved.
3  *
4  * NVIDIA CORPORATION and its licensors retain all intellectual property
5  * and proprietary rights in and to this software, related documentation
6  * and any modifications thereto. Any use, reproduction, disclosure or
7  * distribution of this software and related documentation without an express
8  * license agreement from NVIDIA CORPORATION is strictly prohibited.
9  */
10 // Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.
11 // Copyright (c) 2001-2004 NovodeX AG. All rights reserved.
12 
13 
14 #ifndef PX_PHYSICS_EXTENSIONS_SIMPLE_FACTORY_H
15 #define PX_PHYSICS_EXTENSIONS_SIMPLE_FACTORY_H
16 
21 #include "foundation/PxTransform.h"
22 #include "foundation/PxPlane.h"
23 
24 #ifndef PX_DOXYGEN
25 namespace physx
26 {
27 #endif
28 
29  class PxPhysics;
30  class PxMaterial;
31  class PxRigidActor;
32  class PxRigidDynamic;
33  class PxRigidStatic;
34  class PxGeometry;
35  class PxShape;
36 
37 
54  const PxTransform& transform,
55  const PxGeometry& geometry,
56  PxMaterial& material,
57  PxReal density,
58  const PxTransform& shapeOffset = PxTransform(PxIdentity));
59 
60 
75  const PxTransform& transform,
76  PxShape& shape,
77  PxReal density);
78 
79 
101  const PxTransform& transform,
102  const PxGeometry& geometry,
103  PxMaterial& material,
104  PxReal density,
105  const PxTransform& shapeOffset = PxTransform(PxIdentity));
106 
107 
127  const PxTransform& transform,
128  PxShape& shape,
129  PxReal density);
130 
131 
146  const PxTransform& transform,
147  const PxGeometry& geometry,
148  PxMaterial& material,
149  const PxTransform& shapeOffset = PxTransform(PxIdentity));
150 
151 
164  const PxTransform& transform,
165  PxShape& shape);
166 
167 
193  const PxTransform& transform,
194  const PxRigidActor& actor);
195 
196 
231  const PxTransform& transform,
232  const PxRigidDynamic& body);
233 
234 
247  const PxPlane& plane,
248  PxMaterial& material);
249 
250 
263 void PxScaleRigidActor(PxRigidActor& actor, PxReal scale, bool scaleMassProps = true);
264 
265 
266 #ifndef PX_DOXYGEN
267 } // namespace physx
268 #endif
269 
271 #endif


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