|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.media.j3d.PickShape
javax.media.j3d.PickBounds
public final class PickBounds
PickBounds is a finite pick shape defined with a Bounds object. It can be used as an argument to the picking methods in BranchGroup and Locale.
BranchGroup.pickAll(javax.media.j3d.PickShape)
,
Locale.pickAll(javax.media.j3d.PickShape)
Field Summary | |
---|---|
(package private) Bounds |
bounds
|
Fields inherited from class javax.media.j3d.PickShape |
---|
PICKBOUNDINGBOX, PICKBOUNDINGPOLYTOPE, PICKBOUNDINGSPHERE, PICKCONE, PICKCYLINDER, PICKPOINT, PICKRAY, PICKSEGMENT, PICKUNKNOWN |
Constructor Summary | |
---|---|
PickBounds()
Constructs an empty PickBounds. |
|
PickBounds(Bounds boundsObject)
Constructs a PickBounds from the specified bounds object. |
Method Summary | |
---|---|
Bounds |
get()
Gets the bounds object from this PickBounds. |
(package private) int |
getPickType()
|
(package private) Point3d |
getStartPoint()
|
(package private) boolean |
intersect(Bounds bounds,
Point4d pickPos)
Return true if shape intersect with bounds. |
void |
set(Bounds boundsObject)
Sets the bounds object of this PickBounds to the specified object. |
(package private) PickShape |
transform(Transform3D t3d)
|
Methods inherited from class javax.media.j3d.PickShape |
---|
distance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
Bounds bounds
Constructor Detail |
---|
public PickBounds()
public PickBounds(Bounds boundsObject)
boundsObject
- the bounds of this PickBounds.Method Detail |
---|
public void set(Bounds boundsObject)
boundsObject
- the new bounds of this PickBounds.public Bounds get()
final boolean intersect(Bounds bounds, Point4d pickPos)
intersect
in class PickShape
PickShape transform(Transform3D t3d)
transform
in class PickShape
Point3d getStartPoint()
getStartPoint
in class PickShape
int getPickType()
getPickType
in class PickShape
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |