Public Member Functions | Private Attributes | List of all members
PxClothMeshQuadifier Class Reference

#include <PxClothMeshQuadifier.h>

Public Member Functions

 PxClothMeshQuadifier (const PxClothMeshDesc &desc)
 Convert triangles of PxClothMeshDesc to quads. More...
 
 ~PxClothMeshQuadifier ()
 
PxClothMeshDesc getDescriptor () const
 Returns a mesh descriptor with some triangle pairs converted to quads. More...
 

Private Attributes

PxClothMeshQuadifierImpl * mImpl
 

Constructor & Destructor Documentation

PxClothMeshQuadifier::PxClothMeshQuadifier ( const PxClothMeshDesc desc)

Convert triangles of PxClothMeshDesc to quads.

In PxCloth, quad dominant mesh representations are preferable to pre-triangulated versions. In cases where the mesh has been already triangulated, this class provides a meachanism to convert (quadify) some triangles back to quad representations.

See Also
PxClothFabricCooker
Parameters
descThe cloth mesh descriptor prepared for cooking
PxClothMeshQuadifier::~PxClothMeshQuadifier ( )

Member Function Documentation

PxClothMeshDesc PxClothMeshQuadifier::getDescriptor ( ) const

Returns a mesh descriptor with some triangle pairs converted to quads.

Note
The returned descriptor is valid only within the lifespan of PxClothMeshQuadifier class.

Member Data Documentation

PxClothMeshQuadifierImpl* PxClothMeshQuadifier::mImpl
private

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


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