Public Member Functions | Protected Member Functions | List of all members
PxVolumeCache::Iterator Struct Referenceabstract

A callback wrapper class for use with PxVolumeCache::forEach function. More...

#include <PxVolumeCache.h>

Public Member Functions

virtual void processShapes (PxU32 count, const PxActorShape *actorShapePairs)=0
 Reports cache contents to the user. More...
 
virtual void finalizeQuery ()
 

Protected Member Functions

virtual ~Iterator ()
 

Detailed Description

A callback wrapper class for use with PxVolumeCache::forEach function.

Works in tandem with forEach(). Used to return shapes overlapping with the cache volume (set using the last fill() call) to the user.

See Also
PxVolumeCache::forEach

Constructor & Destructor Documentation

virtual PxVolumeCache::Iterator::~Iterator ( )
inlineprotectedvirtual

Member Function Documentation

virtual void PxVolumeCache::Iterator::finalizeQuery ( )
inlinevirtual

/brief Called after the last processShapes was called.

See Also
PxVolumeCache::Iterator::processShapes
virtual void PxVolumeCache::Iterator::processShapes ( PxU32  count,
const PxActorShape actorShapePairs 
)
pure virtual

Reports cache contents to the user.

Parameters
[in]countThe number of shapes returned with this call.
[in]actorShapePairsArray of PxActorShape pairs.
See Also
PxVolumeCache::forEach

The documentation for this struct 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