org.ogre4j
Class RaySceneQueryResultEntry

java.lang.Object
  extended by org.xbig.base.NativeObject
      extended by org.ogre4j.RaySceneQueryResultEntry
All Implemented Interfaces:
IRaySceneQueryResultEntry, INativeObject

public class RaySceneQueryResultEntry
extends NativeObject
implements IRaySceneQueryResultEntry


Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  RaySceneQueryResultEntry()
           
  RaySceneQueryResultEntry(InstancePointer p)
          This constructor is public for internal useage only!
protected RaySceneQueryResultEntry(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  RaySceneQueryResultEntry(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 void delete()
          Deletes the corresponding C++ object.
 void finalize()
           
 float getdistance()
           
 IMovableObject getmovable()
           
 ISceneQuery.IWorldFragment getworldFragment()
           
 boolean operatorLessThan(IRaySceneQueryResultEntry rhs)
           
 void setdistance(float _jni_value_)
           
 void setmovable(IMovableObject _jni_value_)
           
 void setworldFragment(ISceneQuery.IWorldFragment _jni_value_)
           
 
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

RaySceneQueryResultEntry

public RaySceneQueryResultEntry(InstancePointer p)
This constructor is public for internal useage only! Do not use it!


RaySceneQueryResultEntry

protected RaySceneQueryResultEntry(InstancePointer p,
                                   boolean remote)
Creates a Java wrapper object for an existing C++ object. If remote is set to 'true' this object cannot be deleted in Java.


RaySceneQueryResultEntry

public RaySceneQueryResultEntry(WithoutNativeObject val)
Allows creation of Java objects without C++ objects.

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()

RaySceneQueryResultEntry

public RaySceneQueryResultEntry()
Method Detail

delete

public void delete()
Description copied from interface: INativeObject
Deletes the corresponding C++ object.

Subclasses must implement this but if the native instance was created by the underlying library the native call to dispose must not happen!

Specified by:
delete in interface INativeObject
Specified by:
delete in class NativeObject
See Also:
#remote

finalize

public void finalize()
Overrides:
finalize in class NativeObject

operatorLessThan

public boolean operatorLessThan(IRaySceneQueryResultEntry rhs)
Specified by:
operatorLessThan in interface IRaySceneQueryResultEntry

getdistance

public float getdistance()
Specified by:
getdistance in interface IRaySceneQueryResultEntry

setdistance

public void setdistance(float _jni_value_)
Specified by:
setdistance in interface IRaySceneQueryResultEntry

getmovable

public IMovableObject getmovable()
Specified by:
getmovable in interface IRaySceneQueryResultEntry

setmovable

public void setmovable(IMovableObject _jni_value_)
Specified by:
setmovable in interface IRaySceneQueryResultEntry

getworldFragment

public ISceneQuery.IWorldFragment getworldFragment()
Specified by:
getworldFragment in interface IRaySceneQueryResultEntry

setworldFragment

public void setworldFragment(ISceneQuery.IWorldFragment _jni_value_)
Specified by:
setworldFragment in interface IRaySceneQueryResultEntry


Copyright © 2007 netAllied GmbH. All Rights Reserved.