|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbig.base.NativeObject
org.ogre4j.SphereSceneQuery
public class SphereSceneQuery
| 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 | |
|---|---|
|
SphereSceneQuery(InstancePointer p)
This constructor is public for internal useage only! |
protected |
SphereSceneQuery(InstancePointer p,
boolean remote)
Creates a Java wrapper object for an existing C++ object. |
|
SphereSceneQuery(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)
Executes the query and returns each match through a listener interface. |
void |
finalize()
|
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. |
ISphere |
getSphere()
Gets the sphere which is being used 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 |
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 |
setSphere(ISphere sphere)
Sets the sphere which is to be used for 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 SphereSceneQuery(InstancePointer p)
protected SphereSceneQuery(InstancePointer p,
boolean remote)
public SphereSceneQuery(WithoutNativeObject val)
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()| 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 setSphere(ISphere sphere)
setSphere in interface ISphereSceneQuerypublic ISphere getSphere()
getSphere in interface ISphereSceneQuerypublic ISceneQueryResult execute()
execute in interface IRegionSceneQuerypublic void execute(ISceneQueryListener listener)
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 | |||||||||