org.ogre4j
Interface IRegionSceneQuery

All Superinterfaces:
IAllocatedObject<ISceneCtlAllocPolicy>, INativeObject, ISceneCtlAllocatedObject, ISceneQuery, ISceneQueryListener
All Known Subinterfaces:
IAxisAlignedBoxSceneQuery, IDefaultAxisAlignedBoxSceneQuery, IDefaultPlaneBoundedVolumeListSceneQuery, IDefaultSphereSceneQuery, IPlaneBoundedVolumeListSceneQuery, ISphereSceneQuery
All Known Implementing Classes:
AxisAlignedBoxSceneQuery, DefaultAxisAlignedBoxSceneQuery, DefaultPlaneBoundedVolumeListSceneQuery, DefaultSphereSceneQuery, PlaneBoundedVolumeListSceneQuery, RegionSceneQuery, SphereSceneQuery

public interface IRegionSceneQuery
extends INativeObject, ISceneQuery, ISceneQueryListener


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ogre4j.ISceneQuery
ISceneQuery.IWorldFragment
 
Method Summary
 void clearResults()
          Clears the results of the last query execution.
 ISceneQueryResult execute()
          Executes the query, returning the results back in one list.
 void execute(ISceneQueryListener listener)
          Executes the query and returns each match through a listener interface.
 ISceneQueryResult getLastResults()
          Gets the results of the last query that was run using this object, provided the query was executed using the collection-returning version of execute.
 boolean queryResult(IMovableObject first)
          Self-callback in order to deal with execute which returns collection.
 boolean queryResult(ISceneQuery.IWorldFragment fragment)
          Self-callback in order to deal with execute which returns collection.
 
Methods inherited from interface org.ogre4j.ISceneQuery
getQueryMask, getQueryTypeMask, getSupportedWorldFragmentTypes, getWorldFragmentType, setQueryMask, setQueryTypeMask, setWorldFragmentType
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

execute

ISceneQueryResult execute()
Executes the query, returning the results back in one list.


execute

void execute(ISceneQueryListener listener)
Executes the query and returns each match through a listener interface.


getLastResults

ISceneQueryResult getLastResults()
Gets the results of the last query that was run using this object, provided the query was executed using the collection-returning version of execute.


clearResults

void clearResults()
Clears the results of the last query execution.


queryResult

boolean queryResult(IMovableObject first)
Self-callback in order to deal with execute which returns collection.

Specified by:
queryResult in interface ISceneQueryListener

queryResult

boolean queryResult(ISceneQuery.IWorldFragment fragment)
Self-callback in order to deal with execute which returns collection.

Specified by:
queryResult in interface ISceneQueryListener


Copyright © 2007 netAllied GmbH. All Rights Reserved.