|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmali.vecmath2.Ray3f
org.xith3d.picking.PickRay
public class PickRay
Implements a pick-ray.
| Constructor Summary | |
|---|---|
PickRay()
Creates a pick-ray |
|
PickRay(RenderPassConfig rpc,
Canvas3D canvas,
int canvasX,
int canvasY)
Creates a pick-ray |
|
PickRay(View.CameraMode cameraMode,
Canvas3D canvas,
int canvasX,
int canvasY)
Creates a pick-ray |
|
PickRay(View.ProjectionPolicy projectionPolicy,
float fieldOfView,
float screenScale,
float centerViewX,
float centerViewY,
org.openmali.vecmath2.Matrix4f viewMatrix,
float canvasWidth,
float canvasHeight,
float canvasX,
float canvasY)
Creates a pick-ray |
|
PickRay(View view,
View.CameraMode cameraMode,
Canvas3D canvas,
int canvasX,
int canvasY)
Creates a pick-ray |
|
| Method Summary | |
|---|---|
void |
recalculate(Canvas3D canvas,
int canvasX,
int canvasY)
Creates a pick-ray |
void |
recalculate(float canvasX,
float canvasY)
Recalculates the PickRay. |
void |
recalculate(int canvasX,
int canvasY)
Creates a pick-ray |
void |
recalculate(org.openmali.vecmath2.Matrix4f viewMatrix)
Recalculates the PickRay. |
void |
recalculate(PickRay template,
View.CameraMode cameraMode)
|
void |
recalculate(RenderPassConfig rpc,
Canvas3D canvas,
int canvasX,
int canvasY)
Creates a pick-ray |
void |
recalculate(View.CameraMode cameraMode,
Canvas3D canvas,
int canvasX,
int canvasY)
Creates a pick-ray |
void |
recalculate(View.ProjectionPolicy projectionPolicy,
float fieldOfView,
float screenScale,
float centerViewX,
float centerViewY,
org.openmali.vecmath2.Matrix4f viewMatrix,
float canvasWidth,
float canvasHeight,
float canvasX,
float canvasY)
Creates a pick-ray |
| Methods inherited from class org.openmali.vecmath2.Ray3f |
|---|
clone, deserialize, equals, equals, fromPool, fromPool, fromPool, fromPool, getDirection, getLength, getLengthSquared, getOrigin, getSerializationBufferSize, isDirty, isReadOnly, length, lengthSquared, newReadOnly, newReadOnly, newReadOnly, newReadOnly, readExternal, serialize, set, set, set, setClean, setDirection, setDirection, setOrigin, setOrigin, setZero, toPool, toString, writeExternal |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PickRay()
public PickRay(View.ProjectionPolicy projectionPolicy,
float fieldOfView,
float screenScale,
float centerViewX,
float centerViewY,
org.openmali.vecmath2.Matrix4f viewMatrix,
float canvasWidth,
float canvasHeight,
float canvasX,
float canvasY)
projectionPolicy - the View's projection policyfieldOfView - the View's field of viewscreenScale - the View's screen scalecenterViewX - the x-coordinate of center-of-viewcenterViewY - the x-coordinate of center-of-viewviewMatrix - the View's transform matrixcanvasWidth - the Canvas3D's widthcanvasHeight - the Canvas3D's heightcanvasX - the x position on the Canvas3DcanvasY - the y position on the Canvas3D
public PickRay(View view,
View.CameraMode cameraMode,
Canvas3D canvas,
int canvasX,
int canvasY)
view - the View to take for calculationcameraMode - canvas - the Canvas3D to take for calculationcanvasX - the x position on the Canvas3DcanvasY - the y position on the Canvas3D
public PickRay(View.CameraMode cameraMode,
Canvas3D canvas,
int canvasX,
int canvasY)
cameraMode - canvas - the Canvas3D to take for calculation (and the Canvas3D's View)canvasX - the x position on the Canvas3DcanvasY - the y position on the Canvas3D
public PickRay(RenderPassConfig rpc,
Canvas3D canvas,
int canvasX,
int canvasY)
rpc - the RenderPassConfig to take calculation values fromcanvas - the Canvas3D to take for calculation (and the Canvas3D's View)canvasX - the x position on the Canvas3DcanvasY - the y position on the Canvas3D| Method Detail |
|---|
public void recalculate(float canvasX,
float canvasY)
canvasX - the x position on the Canvas3DcanvasY - the y position on the Canvas3Dpublic void recalculate(org.openmali.vecmath2.Matrix4f viewMatrix)
viewMatrix - teh model-view-matrix
public void recalculate(View.ProjectionPolicy projectionPolicy,
float fieldOfView,
float screenScale,
float centerViewX,
float centerViewY,
org.openmali.vecmath2.Matrix4f viewMatrix,
float canvasWidth,
float canvasHeight,
float canvasX,
float canvasY)
projectionPolicy - the View's projection policyfieldOfView - the View's field of viewscreenScale - the View's screen scalecenterViewX - the x-coordinate of center-of-viewcenterViewY - the x-coordinate of center-of-viewviewMatrix - the View's transform matrixcanvasWidth - the Canvas3D's widthcanvasHeight - the Canvas3D's heightcanvasX - the x position on the Canvas3DcanvasY - the y position on the Canvas3D
public void recalculate(PickRay template,
View.CameraMode cameraMode)
public void recalculate(Canvas3D canvas,
int canvasX,
int canvasY)
canvas - the Canvas3D to take for calculationcanvasX - the x position on the Canvas3DcanvasY - the y position on the Canvas3D
public void recalculate(int canvasX,
int canvasY)
canvas - the Canvas3D to take for calculationcanvasX - the x position on the Canvas3DcanvasY - the y position on the Canvas3D
public void recalculate(RenderPassConfig rpc,
Canvas3D canvas,
int canvasX,
int canvasY)
rpc - the RenderPassConfig to take calculation values fromcanvas - the Canvas3D to take for calculationcanvasX - the x position on the Canvas3DcanvasY - the y position on the Canvas3D
public void recalculate(View.CameraMode cameraMode,
Canvas3D canvas,
int canvasX,
int canvasY)
canvas - the Canvas3D to take for calculation (and the Canvas3D's
View)canvasX - the x position on the Canvas3DcanvasY - the y position on the Canvas3D
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||