|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.physics.collision.CollideableBase
org.xith3d.physics.collision.collideable.RayCollideable
public abstract class RayCollideable
A ray collideable.
| Constructor Summary | |
|---|---|
RayCollideable(CollisionEngine eng,
float originX,
float originY,
float originZ,
float directionX,
float directionY,
float directionZ)
Creates a new Box collideable. |
|
RayCollideable(CollisionEngine eng,
org.openmali.vecmath2.Tuple3f origin,
org.openmali.vecmath2.Tuple3f direction)
Creates a new Box collideable. |
|
| Method Summary | |
|---|---|
Line |
getBaseGFX()
|
Line |
getDebugGFX()
|
static Appearance |
getDefaultAppearance()
|
org.openmali.vecmath2.Vector3f |
getDirection()
|
org.openmali.vecmath2.Point3f |
getEnd()
|
java.lang.String |
getInfo()
|
float |
getLength()
|
org.openmali.vecmath2.Point3f |
getOrigin()
|
java.lang.String |
getType()
|
static void |
setDefaultAppearance(Appearance app)
|
static void |
setDefaultAppearance(org.openmali.vecmath2.Colorf color)
|
void |
setDirection(float x,
float y,
float z)
Changes the direction of this RayCollideable. |
void |
setDirection(org.openmali.vecmath2.Tuple3f direction)
Changes the direction of this RayCollideable. |
void |
setLength(float length)
Sets the ray's length. |
void |
setOrigin(float x,
float y,
float z)
Changes the origin of this RayCollideable. |
void |
setOrigin(org.openmali.vecmath2.Tuple3f origin)
Changes the origin of this RayCollideable. |
| Methods inherited from class org.xith3d.physics.collision.CollideableBase |
|---|
applyWorldPosition, applyWorldRotation, getBody, getEngine, getName, getParent, getPosition, getPosition, getRotation, getRotation, getRotationMatrix, getRotationMatrix, getUserObject, getWorldPos, getWorldPos, getWorldRot, getWorldRot, getWorldRotMat, getWorldRotMat, recomputeChildrenWorldCoords, recomputeWorldCoords, recomputeWorldPos, recomputeWorldRotMat, setBody, setName, setParent, setPosition, setPosition, setPosition, setPositionX, setPositionY, setPositionZ, setRotation, setRotation, setRotation, setRotationMatrix, setRotationMatrix, setRotationX, setRotationY, setRotationZ, setUserObject, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.xith3d.physics.collision.Collideable |
|---|
isEnabled, setEnabled |
| Constructor Detail |
|---|
public RayCollideable(CollisionEngine eng,
float originX,
float originY,
float originZ,
float directionX,
float directionY,
float directionZ)
eng - the collision engine we belong tooriginX - originY - originZ - directionX - directionY - directionZ -
public RayCollideable(CollisionEngine eng,
org.openmali.vecmath2.Tuple3f origin,
org.openmali.vecmath2.Tuple3f direction)
eng - the collision engine we belong toorigin - direction - | Method Detail |
|---|
public static void setDefaultAppearance(Appearance app)
public static void setDefaultAppearance(org.openmali.vecmath2.Colorf color)
public static Appearance getDefaultAppearance()
public final java.lang.String getInfo()
public final java.lang.String getType()
public Line getBaseGFX()
Collideable.getDebugGFX()public Line getDebugGFX()
Collideable.getBaseGFX()
public void setOrigin(float x,
float y,
float z)
x - y - z - public final void setOrigin(org.openmali.vecmath2.Tuple3f origin)
origin - public final org.openmali.vecmath2.Point3f getOrigin()
public void setDirection(float x,
float y,
float z)
x - y - z - public final void setDirection(org.openmali.vecmath2.Tuple3f direction)
direction - public final org.openmali.vecmath2.Vector3f getDirection()
public final org.openmali.vecmath2.Point3f getEnd()
public void setLength(float length)
length - public final float getLength()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||