org.ogre4j
Interface IIntersectionSceneQuery

All Superinterfaces:
IAllocatedObject<ISceneCtlAllocPolicy>, IIntersectionSceneQueryListener, INativeObject, ISceneCtlAllocatedObject, ISceneQuery
All Known Subinterfaces:
IDefaultIntersectionSceneQuery
All Known Implementing Classes:
DefaultIntersectionSceneQuery, IntersectionSceneQuery

public interface IIntersectionSceneQuery
extends INativeObject, ISceneQuery, IIntersectionSceneQueryListener


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.
 IIntersectionSceneQueryResult execute()
          Executes the query, returning the results back in one list.
 void execute(IIntersectionSceneQueryListener listener)
          Executes the query and returns each match through a listener interface.
 IIntersectionSceneQueryResult 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, IMovableObject second)
          Self-callback in order to deal with execute which returns collection.
 boolean queryResult(IMovableObject movable, 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

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


execute

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


getLastResults

IIntersectionSceneQueryResult 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,
                    IMovableObject second)
Self-callback in order to deal with execute which returns collection.

Specified by:
queryResult in interface IIntersectionSceneQueryListener

queryResult

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

Specified by:
queryResult in interface IIntersectionSceneQueryListener


Copyright © 2007 netAllied GmbH. All Rights Reserved.