javax.media.j3d
Class PickShape
java.lang.Object
javax.media.j3d.PickShape
- Direct Known Subclasses:
- PickBounds, PickCone, PickCylinder, PickPoint, PickRay, PickSegment
public abstract class PickShape
- extends java.lang.Object
An abstract class for describing a pick shape that can be used with
the BranchGroup and Locale picking methods.
- See Also:
BranchGroup.pickAll(javax.media.j3d.PickShape)
,
Locale.pickAll(javax.media.j3d.PickShape)
Constructor Summary |
PickShape()
Constructs a PickShape object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PICKRAY
static final int PICKRAY
- See Also:
- Constant Field Values
PICKSEGMENT
static final int PICKSEGMENT
- See Also:
- Constant Field Values
PICKPOINT
static final int PICKPOINT
- See Also:
- Constant Field Values
PICKCYLINDER
static final int PICKCYLINDER
- See Also:
- Constant Field Values
PICKCONE
static final int PICKCONE
- See Also:
- Constant Field Values
PICKBOUNDINGBOX
static final int PICKBOUNDINGBOX
- See Also:
- Constant Field Values
PICKBOUNDINGSPHERE
static final int PICKBOUNDINGSPHERE
- See Also:
- Constant Field Values
PICKBOUNDINGPOLYTOPE
static final int PICKBOUNDINGPOLYTOPE
- See Also:
- Constant Field Values
PICKUNKNOWN
static final int PICKUNKNOWN
- See Also:
- Constant Field Values
PickShape
public PickShape()
- Constructs a PickShape object.
intersect
abstract boolean intersect(Bounds bounds,
Point4d pickPos)
- Return true if shape intersect with bounds.
The point of intersection is stored in pickPos.
transform
abstract PickShape transform(Transform3D t3d)
getStartPoint
abstract Point3d getStartPoint()
distance
double distance(Point3d iPnt)
getPickType
abstract int getPickType()
Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.