|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbig.base.NativeObject
org.ogre4j.Ray
public class Ray
| Field Summary |
|---|
| Fields inherited from class org.xbig.base.NativeObject |
|---|
deleted, object, remote |
| Constructor Summary | |
|---|---|
|
Ray()
|
|
Ray(InstancePointer p)
This constructor is public for internal useage only! |
protected |
Ray(InstancePointer p,
boolean remote)
Creates a Java wrapper object for an existing C++ object. |
|
Ray(IVector3 origin,
IVector3 direction)
|
|
Ray(WithoutNativeObject val)
Allows creation of Java objects without C++ objects. |
| Method Summary | |
|---|---|
void |
delete()
Deletes the corresponding C++ object. |
void |
finalize()
|
IVector3 |
getDirection()
Gets the direction of the ray. |
IVector3 |
getOrigin()
Gets the origin of the ray. |
void |
getPoint(IVector3 returnValue,
float t)
Gets the position of a point t units along the ray. |
void |
intersects(Ipair<java.lang.Boolean,java.lang.Float> returnValue,
IAxisAlignedBox box)
Tests whether this ray intersects the given box. |
void |
intersects(Ipair<java.lang.Boolean,java.lang.Float> returnValue,
IPlane p)
Tests whether this ray intersects the given plane. |
void |
intersects(Ipair<java.lang.Boolean,java.lang.Float> returnValue,
IPlaneBoundedVolume p)
Tests whether this ray intersects the given plane bounded volume. |
void |
intersects(Ipair<java.lang.Boolean,java.lang.Float> returnValue,
ISphere s)
Tests whether this ray intersects the given sphere. |
void |
operatorMultiplication(IVector3 returnValue,
float t)
Gets the position of a point t units along the ray. |
void |
setDirection(IVector3 dir)
Sets the direction of the ray. |
void |
setOrigin(IVector3 origin)
Sets the origin of the ray. |
| 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 Ray(InstancePointer p)
protected Ray(InstancePointer p,
boolean remote)
public Ray(WithoutNativeObject val)
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()public Ray()
public Ray(IVector3 origin,
IVector3 direction)
| 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 setOrigin(IVector3 origin)
setOrigin in interface IRaypublic IVector3 getOrigin()
getOrigin in interface IRaypublic void setDirection(IVector3 dir)
setDirection in interface IRaypublic IVector3 getDirection()
getDirection in interface IRay
public void getPoint(IVector3 returnValue,
float t)
getPoint in interface IRay
public void operatorMultiplication(IVector3 returnValue,
float t)
operatorMultiplication in interface IRay
public void intersects(Ipair<java.lang.Boolean,java.lang.Float> returnValue,
IPlane p)
intersects in interface IRay
public void intersects(Ipair<java.lang.Boolean,java.lang.Float> returnValue,
IPlaneBoundedVolume p)
intersects in interface IRay
public void intersects(Ipair<java.lang.Boolean,java.lang.Float> returnValue,
ISphere s)
intersects in interface IRay
public void intersects(Ipair<java.lang.Boolean,java.lang.Float> returnValue,
IAxisAlignedBox box)
intersects in interface IRay
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||