Click or drag to resize
SoPickedPoint Class

Represents point on surface of picked object.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.InventorSoPickedPoint

Namespace: OIV.Inventor
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public class SoPickedPoint : SoNetBase

The SoPickedPoint type exposes the following members.

Constructors
  NameDescription
Public methodSoPickedPoint

Default constructor.

Top
Methods
  NameDescription
Public methodCopy
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetDetail
Calls GetDetail((OIV.Inventor.Nodes.SoNode ^)nullptr).
Public methodGetDetail(SoNode)

Returns the detail that corresponds to the specified node in the path returned by OIV.Inventor.SoPickedPoint.GetPath().

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetImageToObject
Calls GetImageToObject((OIV.Inventor.Nodes.SoNode ^)nullptr).
Public methodGetImageToObject(SoNode)

Returns the texture transformation matrix between image space and the object space corresponding to the given node in the path.

Public methodGetMaterialIndex

Returns the index into the current set of materials of the material active at the intersection point.

Public methodGetNormal

Returns the surface normal in world space.

Public methodGetObjectNormal
Calls GetObjectNormal((OIV.Inventor.Nodes.SoNode ^)nullptr).
Public methodGetObjectNormal(SoNode)

Returns the surface normal in the object space corresponding to the given node in the path.

Public methodGetObjectPoint
Calls GetObjectPoint((OIV.Inventor.Nodes.SoNode ^)nullptr).
Public methodGetObjectPoint(SoNode)

Returns the intersection point in the object space corresponding to the given node in the path.

Public methodGetObjectTextureCoords
Calls GetObjectTextureCoords((OIV.Inventor.Nodes.SoNode ^)nullptr).
Public methodGetObjectTextureCoords(SoNode)

Returns the texture coordinates in the object space corresponding to the given node in the path.

Public methodGetObjectToImage
Calls GetObjectToImage((OIV.Inventor.Nodes.SoNode ^)nullptr).
Public methodGetObjectToImage(SoNode)

Returns the texture transformation matrix between the object space and image space corresponding to the given node in the path.

Public methodGetObjectToWorld
Calls GetObjectToWorld((OIV.Inventor.Nodes.SoNode ^)nullptr).
Public methodGetObjectToWorld(SoNode)

Returns the transformation matrix between the object space and world space corresponding to the given node in the path.

Public methodGetPath

Returns the path to the object that was intersected.

Public methodGetPoint

Returns the intersection point in world space.

Public methodGetTextureCoords

Returns the texture coordinates in image space.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetWorldToObject
Calls GetWorldToObject((OIV.Inventor.Nodes.SoNode ^)nullptr).
Public methodGetWorldToObject(SoNode)

Returns the transformation matrix between world space and the object space corresponding to the given node in the path.

Public methodIsOnGeometry

Returns whether the intersection is actually on the geometry of the character that was hit, as opposed to being on the bounding box.

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

An OIV.Inventor.SoPickedPoint represents a point on the surface of an object that was picked by applying an OIV.Inventor.Actions.SoRayPickAction to a scene. It contains a path to the picked shape, the point of intersection, the surface normal and texture coordinates at that point, and other information. Note that it is not always necessary to explicitly apply an OIV.Inventor.Actions.SoRayPickAction to the scene. The getPickedPoint method may also be called on an OIV.Inventor.Actions.SoHandleEventAction or an OIV.Inventor.Nodes.SoEventCallback node.

Each node in the picked path may have a corresponding instance of an OIV.Inventor.Details.SoDetail subclass. These detail instances are stored in the OIV.Inventor.SoPickedPoint.

See Also