SoPickedPoint Class |
Represents point on surface of picked object.
Namespace: OIV.Inventor
The SoPickedPoint type exposes the following members.
Name | Description | |
---|---|---|
SoPickedPoint | Default constructor. |
Name | Description | |
---|---|---|
Copy | ||
Equals | (Inherited from Object.) | |
GetDetail | Calls GetDetail((OIV.Inventor.Nodes.SoNode ^)nullptr). | |
GetDetail(SoNode) | Returns the detail that corresponds to the specified node in the path returned by OIV.Inventor.SoPickedPoint.GetPath(). | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetImageToObject | Calls GetImageToObject((OIV.Inventor.Nodes.SoNode ^)nullptr). | |
GetImageToObject(SoNode) | Returns the texture transformation matrix between image space and the object space corresponding to the given node in the path. | |
GetMaterialIndex | Returns the index into the current set of materials of the material active at the intersection point. | |
GetNormal | Returns the surface normal in world space. | |
GetObjectNormal | Calls GetObjectNormal((OIV.Inventor.Nodes.SoNode ^)nullptr). | |
GetObjectNormal(SoNode) | Returns the surface normal in the object space corresponding to the given node in the path. | |
GetObjectPoint | Calls GetObjectPoint((OIV.Inventor.Nodes.SoNode ^)nullptr). | |
GetObjectPoint(SoNode) | Returns the intersection point in the object space corresponding to the given node in the path. | |
GetObjectTextureCoords | Calls GetObjectTextureCoords((OIV.Inventor.Nodes.SoNode ^)nullptr). | |
GetObjectTextureCoords(SoNode) | Returns the texture coordinates in the object space corresponding to the given node in the path. | |
GetObjectToImage | Calls GetObjectToImage((OIV.Inventor.Nodes.SoNode ^)nullptr). | |
GetObjectToImage(SoNode) | Returns the texture transformation matrix between the object space and image space corresponding to the given node in the path. | |
GetObjectToWorld | Calls GetObjectToWorld((OIV.Inventor.Nodes.SoNode ^)nullptr). | |
GetObjectToWorld(SoNode) | Returns the transformation matrix between the object space and world space corresponding to the given node in the path. | |
GetPath | Returns the path to the object that was intersected. | |
GetPoint | Returns the intersection point in world space. | |
GetTextureCoords | Returns the texture coordinates in image space. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetWorldToObject | Calls GetWorldToObject((OIV.Inventor.Nodes.SoNode ^)nullptr). | |
GetWorldToObject(SoNode) | Returns the transformation matrix between world space and the object space corresponding to the given node in the path. | |
IsOnGeometry | Returns whether the intersection is actually on the geometry of the character that was hit, as opposed to being on the bounding box. | |
SetDetail | ||
SetMaterialIndex | ||
SetObjectNormal | ||
SetObjectTextureCoords | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.