Click or drag to resize
SoRayPickActionPickingModes Enumeration

Namespace: OIV.Inventor.Actions
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public enum PickingModes
Members
  Member nameValueDescription
DEFAULT0

In the default mode, Inventor computes the intersection of the pick ray with geometry nodes (face, line, point, volume, mesh, etc).

SoPickedPoint.getPoint() returns the coordinate of the intersection and SoPickedPoint.getDetail() returns (usually) an SoDetail class specific to the picked geometry.

POINT_PICKING1

In this mode, Inventor finds all the vertices inside the pick radius.

However this is only supported for SoBufferedShape and classes derived from SoIndexedShape. This mode can be much faster because, for example, it does not need to check for intersection with the triangles of an SoIndexedFaceSet. For pick radius see setRadius(). Specific different behaviors include:

  • If no vertex is inside the pick radius, no picked point is returned.

  • If a vertex is inside the pick radius, SoPickedPoint->getPoint() returns the coordinate of the vertex, not the intersection with the geometry.

  • SoPickedPoint->getNormal() returns 0,0,0

  • SoPickedPoint->getTextureCoords() returns 0,0,0,0

  • SoPickedPoint->getDetail normally returns an SoPointDetail instead of an SoFaceDetail (or whatever would normally be returned for that geometry).

Remarks