de.grogra.imp3d
Interface Pickable
- All Known Implementing Classes:
- Arrange, Box, Cone, Cylinder, Frustum, FrustumBase, GRSVertex, Horn, Hydra, LightNode, Line, Mark, MeshNode, NullWithShaderNode, NumericLabel, NURBSSurface, Parallelogram, Patch, PhiBall, Plane, Point, PointCloud, Polygon, SensorNode, Sky, Sphere, Supershape, TextLabel, TextLabelBase, Tree, Vertex
public interface Pickable
Pickable
is implemented by shapes which know how to
compute intersections of a ray with themselves.
- Author:
- Ole Kniemeyer
Method Summary |
void |
pick(java.lang.Object object,
boolean asNode,
Point3d origin,
Vector3d direction,
Matrix4d transformation,
PickList list)
Computes intersections of a given ray with this shape. |
pick
void pick(java.lang.Object object,
boolean asNode,
Point3d origin,
Vector3d direction,
Matrix4d transformation,
PickList list)
- Computes intersections of a given ray with this shape.
- Parameters:
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