Click or drag to resize
SoPickRayElement Class

Stores the current ray to use for picking.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.ElementsSoElement
      OIV.Inventor.ElementsSoPickRayElement

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public class SoPickRayElement : SoElement

The SoPickRayElement type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberGet

Returns the current picking ray view volume from the state.

Public methodStatic memberGetClassStackIndex Obsolete.

Returns the stack id for this element.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodPop

Pops element.

(Inherited from SoElement.)
Public methodPush

Pushes element.

(Inherited from SoElement.)
Public methodStatic memberSet

Sets the picking ray.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

This element stores the current ray to use for picking. It contains the world space ray information in terms of an OIV.Inventor.SbViewVolume. The projection point and view direction of the volume represent the ray itself. The width (which equals the height) represents the diameter of the picking circle in the near plane. The near and far planes represent the distances to the near and far planes between which valid intersections must lie.

See Also