|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PickSystem
Method Summary | |
---|---|
java.util.List<PickResult> |
computePick(double[] from,
double[] to)
The parameters need to be homogeneous coordinates. |
void |
setSceneRoot(SceneGraphComponent root)
|
Method Detail |
---|
void setSceneRoot(SceneGraphComponent root)
java.util.List<PickResult> computePick(double[] from, double[] to)
from
- foot point of ray in world coordinates (x,y,z,1)to
- end point of ray in world coordinates (x,y,z,1) (can be at infinity)
Valid pick points are of the form p = a*from+b*to where a*b >= 0
That is, the affine coordinate (b/a) of p on the line with basis (from,to) is non-negative
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |