de.grogra.imp3d
public interface Pickable
Pickable is implemented by shapes which know how to
compute intersections of a ray with themselves.void pick(java.lang.Object object,
boolean asNode,
Point3d origin,
Vector3d direction,
Matrix4d transformation,
PickList list)
object - the object of which this shape is an attributeasNode - true iff object is a nodeorigin - the origin of the ray, in local coordinatesdirection - the direction of the ray, in local coordinatestransformation - the transformation from local coordinates to world coordinateslist - the list to which intersections have to be added