PxClothMeshQuadifier Class Reference

#include <PxClothMeshQuadifier.h>

List of all members.

Public Member Functions

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

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:
desc The 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-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com