Click or drag to resize
SoEventCallbackGetPickedPoint Method

Returns pick information during OIV.Inventor.Actions.SoHandleEventAction traversal, or NULL if traversal is not taking place.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.1.0 (10.16.1.0)
Syntax
public SoPickedPoint GetPickedPoint()

Return Value

Type: SoPickedPoint
Remarks

This should be called only from delegate.

When this method is called, an OIV.Inventor.Actions.SoRayPickAction is automatically applied to the scene graph that the OIV.Inventor.Actions.SoHandleEventAction is traversing, using the current event. However this is only done once for each OIV.Inventor.Actions.SoHandleEventAction traversal and the result is cached for subsequent queries during the current traversal.

Note: The handle event action does not enable computation of normal vectors and texture coordinates in the pick action that it creates internally. If you need the normal vector at the point of intersection of the pick ray, then you must create your own pick action and apply it. In this case you can get the node to apply the pick action to by calling the handle event action's getPickRoot() method.

See Also