All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class javax.media.j3d.PickRay

java.lang.Object
   |
   +----javax.media.j3d.PickShape
           |
           +----javax.media.j3d.PickRay

public final class PickRay
extends PickShape
PickRay is an encapsulation of ray for passing to the pick methods in BranchGroup and Locale

See Also:
pickAll, pickAll

Constructor Index

 o PickRay()
Create a PickRay.
 o PickRay(Point3d, Vector3d)
Create a ray cast from origin in direction direction

Method Index

 o get(Point3d, Vector3d)
Get the ray
 o set(Point3d, Vector3d)
Set the ray to point from origin in direction direction

Constructors

 o PickRay
 public PickRay()
Create a PickRay. The origin and direction of the ray are initialised to (0,0,0)

 o PickRay
 public PickRay(Point3d origin,
                Vector3d direction)
Create a ray cast from origin in direction direction

Methods

 o set
 public void set(Point3d origin,
                 Vector3d direction)
Set the ray to point from origin in direction direction

 o get
 public void get(Point3d origin,
                 Vector3d direction)
Get the ray


All Packages  Class Hierarchy  This Package  Previous  Next  Index