PxVolumeCache::PxVolumeCache::Iterator Struct Reference

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

#include <PxVolumeCache.h>

List of all members.

Public Member Functions

virtual void processShapes (PxU32 count, const PxActorShape *actorShapePairs)=0
 Reports cache contents to the user.
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::PxVolumeCache::Iterator::~Iterator (  )  [inline, protected, virtual]


Member Function Documentation

virtual void PxVolumeCache::PxVolumeCache::Iterator::finalizeQuery (  )  [inline, virtual]

/brief Called after the last processShapes was called.

See also:
PxVolumeCache::Iterator::processShapes

virtual void PxVolumeCache::PxVolumeCache::Iterator::processShapes ( PxU32  count,
const PxActorShape actorShapePairs 
) [pure virtual]

Reports cache contents to the user.

Parameters:
[in] count The number of shapes returned with this call.
[in] actorShapePairs Array of PxActorShape pairs.
See also:
PxVolumeCache::forEach


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