|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbig.base.NativeObject
org.ogre4j.DefaultAxisAlignedBoxSceneQuery
public class DefaultAxisAlignedBoxSceneQuery
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.ogre4j.ISceneQuery |
|---|
ISceneQuery.IWorldFragment |
| Field Summary |
|---|
| Fields inherited from class org.xbig.base.NativeObject |
|---|
deleted, object, remote |
| Constructor Summary | |
|---|---|
|
DefaultAxisAlignedBoxSceneQuery(InstancePointer p)
This constructor is public for internal useage only! |
protected |
DefaultAxisAlignedBoxSceneQuery(InstancePointer p,
boolean remote)
Creates a Java wrapper object for an existing C++ object. |
|
DefaultAxisAlignedBoxSceneQuery(ISceneManager creator)
|
|
DefaultAxisAlignedBoxSceneQuery(WithoutNativeObject val)
Allows creation of Java objects without C++ objects. |
| Method Summary | |
|---|---|
void |
clearResults()
Clears the results of the last query execution. |
void |
delete()
Deletes the corresponding C++ object. |
ISceneQueryResult |
execute()
Executes the query, returning the results back in one list. |
void |
execute(ISceneQueryListener listener)
See RayScenQuery. |
void |
finalize()
|
IAxisAlignedBox |
getBox()
Gets the box which is being used for this query. |
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. |
long |
getQueryMask()
Returns the current mask for this query. |
long |
getQueryTypeMask()
Returns the current mask for this query. |
void |
getSupportedWorldFragmentTypes(Iset<SceneQuery.WorldFragmentType> returnValue)
Returns the types of world fragments this query supports. |
SceneQuery.WorldFragmentType |
getWorldFragmentType()
Gets the current world fragment types to be returned from the query. |
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. |
void |
setBox(IAxisAlignedBox box)
Sets the size of the box you wish to query. |
void |
setQueryMask(long mask)
Sets the mask for results of this query. |
void |
setQueryTypeMask(long mask)
Sets the type mask for results of this query. |
void |
setWorldFragmentType(SceneQuery.WorldFragmentType wft)
Tells the query what kind of world geometry to return from queries; often the full renderable geometry is not what is needed. |
| Methods inherited from class org.xbig.base.NativeObject |
|---|
disconnectFromNativeObject, equals, getInstancePointer, hashCode, setInstancePointer, setInstancePointer, setInstancePointer, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Constructor Detail |
|---|
public DefaultAxisAlignedBoxSceneQuery(InstancePointer p)
protected DefaultAxisAlignedBoxSceneQuery(InstancePointer p,
boolean remote)
public DefaultAxisAlignedBoxSceneQuery(WithoutNativeObject val)
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()public DefaultAxisAlignedBoxSceneQuery(ISceneManager creator)
| Method Detail |
|---|
public void delete()
INativeObjectSubclasses must implement this but if the native instance was created by the underlying library the native call to dispose must not happen!
delete in interface INativeObjectdelete in class NativeObject#remotepublic void finalize()
finalize in class NativeObjectpublic void execute(ISceneQueryListener listener)
execute in interface IRegionSceneQuerypublic void setBox(IAxisAlignedBox box)
setBox in interface IAxisAlignedBoxSceneQuerypublic IAxisAlignedBox getBox()
getBox in interface IAxisAlignedBoxSceneQuerypublic ISceneQueryResult execute()
execute in interface IRegionSceneQuerypublic ISceneQueryResult getLastResults()
getLastResults in interface IRegionSceneQuerypublic void clearResults()
clearResults in interface IRegionSceneQuerypublic boolean queryResult(IMovableObject first)
queryResult in interface IRegionSceneQueryqueryResult in interface ISceneQueryListenerpublic boolean queryResult(ISceneQuery.IWorldFragment fragment)
queryResult in interface IRegionSceneQueryqueryResult in interface ISceneQueryListenerpublic void setQueryMask(long mask)
setQueryMask in interface ISceneQuerypublic long getQueryMask()
getQueryMask in interface ISceneQuerypublic void setQueryTypeMask(long mask)
setQueryTypeMask in interface ISceneQuerypublic long getQueryTypeMask()
getQueryTypeMask in interface ISceneQuerypublic void setWorldFragmentType(SceneQuery.WorldFragmentType wft)
setWorldFragmentType in interface ISceneQuerypublic SceneQuery.WorldFragmentType getWorldFragmentType()
getWorldFragmentType in interface ISceneQuerypublic void getSupportedWorldFragmentTypes(Iset<SceneQuery.WorldFragmentType> returnValue)
getSupportedWorldFragmentTypes in interface ISceneQuery
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||