PxClothTetherCooker.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_CLOTH_TETHER_COOKER_H
15 #define PX_PHYSICS_EXTENSIONS_CLOTH_TETHER_COOKER_H
16 
18 #include "PxClothMeshDesc.h"
19 
20 #ifndef PX_DOXYGEN
21 namespace physx
22 {
23 #endif
24 
25 struct PxClothSimpleTetherCookerImpl;
26 
28 {
29 public:
41 
47  PxU32 getCookerStatus() const;
48 
54  void getTetherData(PxU32* userTetherAnchors, PxReal* userTetherLengths) const;
55 
56 private:
57  PxClothSimpleTetherCookerImpl* mImpl;
58 
59 };
60 
61 
62 struct PxClothGeodesicTetherCookerImpl;
63 
65 {
66 public:
82 
88  PxU32 getCookerStatus() const;
89 
96  PxU32 getNbTethersPerParticle() const;
97 
104  void getTetherData(PxU32* userTetherAnchors, PxReal* userTetherLengths) const;
105 
106 private:
107  PxClothGeodesicTetherCookerImpl* mImpl;
108 
109 };
110 
111 
112 #ifndef PX_DOXYGEN
113 } // namespace physx
114 #endif
115 
116 #endif // PX_PHYSICS_EXTENSIONS_CLOTH_TETHER_COOKER_H


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