Public Member Functions | Public Attributes | List of all members
PxSweepBufferN< N > Struct Template Reference

Returns touching sweep hits to the user in a fixed size array embedded in the buffer class. More...

#include <PxQueryReport.h>

Inheritance diagram for PxSweepBufferN< N >:
Inheritance graph
[legend]
Collaboration diagram for PxSweepBufferN< N >:
Collaboration graph
[legend]

Public Member Functions

 PxSweepBufferN ()
 
- Public Member Functions inherited from PxHitBuffer< PxSweepHit >
 PxHitBuffer (PxSweepHit *aTouches=NULL, PxU32 aMaxNbTouches=0)
 Initializes the buffer with user memory. More...
 
PX_INLINE PxU32 getNbAnyHits () const
 Computes the number of any hits in this result, blocking or touching. More...
 
PX_INLINE const PxSweepHitgetAnyHit (const PxU32 index) const
 Convenience iterator used to access any hits in this result, blocking or touching. More...
 
PX_INLINE PxU32 getNbTouches () const
 
PX_INLINE const PxSweepHitgetTouches () const
 
PX_INLINE const PxSweepHitgetTouch (const PxU32 index) const
 
PX_INLINE PxU32 getMaxNbTouches () const
 
virtual ~PxHitBuffer ()
 
- Public Member Functions inherited from PxHitCallback< PxSweepHit >
 PxHitCallback (PxSweepHit *aTouches, PxU32 aMaxNbTouches)
 Initializes the class with user provided buffer. More...
 
virtual void finalizeQuery ()
 
virtual ~PxHitCallback ()
 
PX_FORCE_INLINE bool hasAnyHits ()
 Returns true if any blocking or touching hits were encountered during a query. More...
 

Public Attributes

PxSweepHit hits [N]
 

Additional Inherited Members

- Protected Member Functions inherited from PxHitBuffer< PxSweepHit >
virtual PxAgain processTouches (const PxSweepHit *buffer, PxU32 nbHits)
 virtual callback function used to communicate query results to the user. More...
 

Detailed Description

template<int N>
struct PxSweepBufferN< N >

Returns touching sweep hits to the user in a fixed size array embedded in the buffer class.

Constructor & Destructor Documentation

template<int N>
PxSweepBufferN< N >::PxSweepBufferN ( )
inline

Member Data Documentation

template<int N>
PxSweepHit PxSweepBufferN< N >::hits[N]

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