From 3dfe2108cfab31ba3ee5527e217d0d8e99a51162 Mon Sep 17 00:00:00 2001 From: git perforce import user Date: Tue, 25 Oct 2016 12:29:14 -0600 Subject: Initial commit: PhysX 3.4.0 Update @ 21294896 APEX 1.4.0 Update @ 21275617 [CL 21300167] --- .../PhysXAPI/files/classPxClothFabricCooker.html | 188 +++++++++++++++++++++ 1 file changed, 188 insertions(+) create mode 100644 PhysX_3.4/Documentation/PhysXAPI/files/classPxClothFabricCooker.html (limited to 'PhysX_3.4/Documentation/PhysXAPI/files/classPxClothFabricCooker.html') diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/classPxClothFabricCooker.html b/PhysX_3.4/Documentation/PhysXAPI/files/classPxClothFabricCooker.html new file mode 100644 index 00000000..ab1658ba --- /dev/null +++ b/PhysX_3.4/Documentation/PhysXAPI/files/classPxClothFabricCooker.html @@ -0,0 +1,188 @@ + + + NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxClothFabricCooker Class Reference + + + + + + + +
+

PxClothFabricCooker Class Reference
+ +[Extensions] +

#include <PxClothFabricCooker.h> +

+ +

+List of all members. + + + + + + + + + + + + + + + + +

Public Member Functions

 PxClothFabricCooker (const PxClothMeshDesc &desc, const PxVec3 &gravity, bool useGeodesicTether=true)
 Cooks a triangle mesh to a PxClothFabricDesc.
 ~PxClothFabricCooker ()
PxClothFabricDesc getDescriptor () const
 Returns the fabric descriptor to create the fabric.
void save (PxOutputStream &stream, bool platformMismatch) const
 Saves the fabric data to a platform and version dependent stream.

Private Attributes

PxFabricCookerImpl * mImpl
+


Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
PxClothFabricCooker::PxClothFabricCooker (const PxClothMeshDesc desc,
const PxVec3 gravity,
bool  useGeodesicTether = true 
)
+
+
+ +

+Cooks a triangle mesh to a PxClothFabricDesc. +

+

Parameters:
+ + + + +
desc The cloth mesh descriptor on which the generation of the cooked mesh depends.
gravity A normalized vector which specifies the direction of gravity. This information allows the cooker to generate a fabric with higher quality simulation behavior.
useGeodesicTether A flag to indicate whether to compute geodesic distance for tether constraints.
+
+
Note:
The geodesic option for tether only works for manifold input. For non-manifold input, a simple Euclidean distance will be used. For more detailed cooker status for such cases, try running PxClothGeodesicTetherCooker directly.
+ +
+

+ +

+
+ + + + + + + + +
PxClothFabricCooker::~PxClothFabricCooker (  ) 
+
+
+ +

+ +

+

+


Member Function Documentation

+ +
+
+ + + + + + + + +
PxClothFabricDesc PxClothFabricCooker::getDescriptor (  )  const
+
+
+ +

+Returns the fabric descriptor to create the fabric. +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
void PxClothFabricCooker::save (PxOutputStream stream,
bool  platformMismatch 
) const
+
+
+ +

+Saves the fabric data to a platform and version dependent stream. +

+ +

+

+


Member Data Documentation

+ +
+
+ + + + +
PxFabricCookerImpl* PxClothFabricCooker::mImpl [private]
+
+
+ +

+ +

+

+


The documentation for this class was generated from the following file: +
+ +

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