LiquidFun
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
b2QueryCallback Class Referenceabstract

#include <b2WorldCallbacks.h>

Inherited by b2FixtureParticleQueryCallback.

Public Member Functions

virtual bool ReportFixture (b2Fixture *fixture)=0
 
virtual bool ReportParticle (const b2ParticleSystem *particleSystem, int32 index)
 
virtual bool ShouldQueryParticleSystem (const b2ParticleSystem *particleSystem)
 

Detailed Description

Callback class for AABB queries. See b2World::Query

Member Function Documentation

virtual bool b2QueryCallback::ReportFixture ( b2Fixture fixture)
pure virtual

Called for each fixture found in the query AABB.

Returns
false to terminate the query.
virtual bool b2QueryCallback::ReportParticle ( const b2ParticleSystem particleSystem,
int32  index 
)
inlinevirtual

Called for each particle found in the query AABB.

Returns
false to terminate the query.
virtual bool b2QueryCallback::ShouldQueryParticleSystem ( const b2ParticleSystem particleSystem)
inlinevirtual

Cull an entire particle system from b2World::QueryAABB. Ignored for b2ParticleSystem::QueryAABB.

Returns
true if you want to include particleSystem in the AABB query, or false to cull particleSystem from the AABB query.

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