PxFixedJoint.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_FIXEDJOINT_H
15 #define PX_FIXEDJOINT_H
16 
20 #include "extensions/PxJoint.h"
21 
22 #ifndef PX_DOXYGEN
23 namespace physx
24 {
25 #endif
26 
27 class PxFixedJoint;
28 
42  PxRigidActor* actor0, const PxTransform& localFrame0,
43  PxRigidActor* actor1, const PxTransform& localFrame1);
44 
45 
54 class PxFixedJoint : public PxJoint
55 {
56 public:
57 
77  virtual void setProjectionLinearTolerance(PxReal tolerance) = 0;
78 
87  virtual PxReal getProjectionLinearTolerance() const = 0;
88 
108  virtual void setProjectionAngularTolerance(PxReal tolerance) = 0;
109 
118  virtual PxReal getProjectionAngularTolerance() const = 0;
119 
123  virtual const char* getConcreteTypeName() const { return "PxFixedJoint"; }
124 
125 protected:
126 
127  //serialization
128 
132  PX_INLINE PxFixedJoint(PxType concreteType, PxBaseFlags baseFlags) : PxJoint(concreteType, baseFlags) {}
133 
137  PX_INLINE PxFixedJoint(PxBaseFlags baseFlags) : PxJoint(baseFlags) {}
138 
142  virtual bool isKindOf(const char* name) const { return !strcmp("PxFixedJoint", name) || PxJoint::isKindOf(name); }
143 
144  //~serialization
145 };
146 
147 #ifndef PX_DOXYGEN
148 } // namespace physx
149 #endif
150 
152 #endif


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