| SoRayPickAction Methods |
The SoRayPickAction type exposes the following members.
| Name | Description | |
|---|---|---|
| AddIntersection | Adds an OIV.Inventor.SoPickedPoint instance representing the given object space point to the current list and returns it. | |
| AddIntersection_ | ||
| Apply(SoNode) | Initiates an action on the graph defined by a node. | |
| Apply(SoPath) | Initiates an action on the graph defined by a path. | |
| Apply(SoPathList) | Calls Apply(pathList, false). | |
| Apply(SoPathList, Boolean) | Initiates an action on the graph defined by a list of paths. | |
| ClearApplyResult | Clears the picked point list. | |
| ClearPickedPointList | Obsolete. Clears the picked point list. | |
| ComputeWorldSpaceRay | ||
| EnableConicPickVolume | Controls the pick volume shape for picking with OIV.Inventor.Actions.SoRayPickAction.SetRay(OIV.Inventor.SbVec3f, OIV.Inventor.SbVec3f, System.Single, System.Single). | |
| EnableCulling | (Inherited from SoPickAction.) | |
| EnableElement | ||
| EnableElements | Obsolete.
Returns the list of enabled elements for a given action subclass.
(Inherited from SoAction.) | |
| EnableNormalsGeneration | Enables generation of normal vectors for picked points. | |
| EnableRadiusForTriangles | Enable radius for triangle-based shape. | |
| EnableTexCoordsGeneration | Enables generation of texture coordinates for picked points. | |
| EnableTriangleCulling | Enables culling of triangles relative to the ray frustum. | |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| ForwardTraversal(SoNode) | Traverse a node that is not part of the current scenegraph. | |
| ForwardTraversal(SoPath) | Traverse a path that is not part of the current scenegraph. | |
| GetContinueActionInBranchFlag | This function indicates if the action must stop in the current branch. | |
| GetCurPath | Returns the path accumulated during traversal, i.e., the chain of nodes from the root of the traversed graph to the current node being traversed. | |
| GetDistribMode | Returns the distribution mode of this action across a cluster (ScaleViz-Cluster only). | |
| GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
| GetLine | ||
| GetNodeAppliedTo | Returns the node the action is being applied to. | |
| GetNormalizedPoint | Gets the viewport point in normalized coordinates [0..1] (returns the last value passed to OIV.Inventor.Actions.SoRayPickAction.SetNormalizedPoint(OIV.Inventor.SbVec2f)). | |
| GetOriginalPathListAppliedTo | Returns the original path list the action is being applied to. | |
| GetPathAppliedTo | Returns the path the action is being applied to. | |
| GetPathCode | Returns path code based on where current node (the node at the end of the current path) lies with respect to the path(s) the action is being applied to. | |
| GetPathListAppliedTo | Returns the path list the action is being applied to. | |
| GetPickedPoint | Calls GetPickedPoint(System.Int32(0)). | |
| GetPickedPoint(Int32) | Returns the indexed picked point from the list. | |
| GetPickedPointList | Returns list of picked points. | |
| GetPickedPointsListLength | ||
| GetPickingMode | Returns the OIV.Inventor.Actions.SoRayPickAction.PickingModes used for the ray pick action. | |
| GetPipeId | Gets pipe identifier in the range [1..N] associated to this render action while running a ScaleViz Multipipe configuration. | |
| GetPoint | Gets the viewport point in pixels (returns the last value passed to OIV.Inventor.Actions.SoRayPickAction.SetPoint(OIV.Inventor.SbVec2s)). | |
| GetPointFloat | Float version of OIV.Inventor.Actions.SoRayPickAction.GetPoint(). | |
| GetRadius | Gets the radius (in pixels) around the point. | |
| GetSceneManager | Return the OIV.Inventor.SoSceneManager associated with this action. | |
| GetState | Gets the state from the action. | |
| GetStereoMode | Returns the view used to perform pick when stereo is active. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetUnsortedPickedPoint | ||
| GetViewportRegion | Returns current viewport region to use for action. | |
| GetViewVolume | ||
| GetWhatAppliedTo | Returns code indicating what action is being applied to. | |
| HasTerminated | Returns true if the traversal has reached a termination condition. | |
| HasWorldSpaceRay | ||
| Intersect(SbBox3f) | Calls Intersect(box, true). | |
| Intersect(SbVec3f) | ||
| Intersect(SbXfBox3f) | Calls Intersect(box, true). | |
| Intersect(SbBox3f, Boolean) | Bounding box: just return whether the ray intersects it. | |
| Intersect(SbXfBox3f, Boolean) | Bounding box: just return whether the ray intersects it. | |
| Intersect(SbVec3f, SbVec3f, SbVec3f) | ||
| Intersect(SbVec3f, SbVec3f, SbVec3f, SbVec3f, SbVec3f, Boolean) | ||
| InvalidateState | Invalidates the current traversal state in the action, forcing it to be recreated when the action is next applied. | |
| IsBeingApplied | Returns true if this action is currently being applied. | |
| IsBetweenPlanes | ||
| IsConicPickVolume | Returns true if the picking volume is a conic shape (not a frustum). | |
| IsCullingEnabled | (Inherited from SoPickAction.) | |
| IsLastPathListAppliedTo | Returns true if the current list is the last one from the original. | |
| IsNormalsGenerationEnabled | Returns whether generation of normal vectors is enabled for picked points. | |
| IsPickAll | Returns whether the action will return all objects intersected or just the closest one. | |
| IsRadiusEnableForTriangles | Returns whether the pick radius specified by OIV.Inventor.Actions.SoRayPickAction.SetRadius(System.Single) is taken into account for picking on triangle-based shapes. | |
| IsTexCoordsGenerationEnabled | Returns whether texture coordinate generation is enabled for picked points. | |
| IsTriangleCulling | Returns whether triangle culling is enabled. | |
| IsUsingAlternateRep | Returns true if current action is using alternate representations. | |
| PostDelayedTraversal | Method called by SoMultiPassManager after delayed pass traversals. | |
| PreDelayedTraversal | Method called by SoMultiPassManager before delayed pass traversals. | |
| ResetContinueActionInBranchFlag | This function resets the continue action flag. | |
| SetNormalizedPoint | Sets the viewport point in normalized coordinates, which range from (0,0) at the lower left to (1,1) at the upper right. | |
| SetObjectSpace | ||
| SetObjectSpace(SbMatrix) | ||
| SetPickAll | Sets whether the action will return all objects intersected or just the closest one. | |
| SetPickingMode | Sets the picking mode. | |
| SetPipeId | Sets pipe identifier in the range [1..N] associated to this render action while running a ScaleViz Multipipe configuration. | |
| SetPoint(SbVec2f) | Float version of OIV.Inventor.Actions.SoRayPickAction.SetPoint(OIV.Inventor.SbVec2s). | |
| SetPoint(SbVec2s) | Sets the viewport point through which the ray passes, starting at the camera position. | |
| SetRadius | Sets the radius around the point. | |
| SetRay(SbVec3f, SbVec3f) | Calls SetRay(start, direction, -1.0, -1.0). | |
| SetRay(Single, SbVec3f, SbVec3f) | Calls SetRay(fovy, start, direction, -1.0, -1.0). | |
| SetRay(SbVec3f, SbVec3f, Single) | Calls SetRay(start, direction, nearDistance, -1.0). | |
| SetRay(Single, SbVec3f, SbVec3f, Single) | Calls SetRay(fovy, start, direction, nearDistance, -1.0). | |
| SetRay(SbVec3f, SbVec3f, Single, Single) | Sets a world-space ray along which to pick. | |
| SetRay(Single, SbVec3f, SbVec3f, Single, Single) | Sets a world-space ray along which to pick in the the same way as the other version of OIV.Inventor.Actions.SoRayPickAction.SetRay(OIV.Inventor.SbVec3f, OIV.Inventor.SbVec3f, System.Single, System.Single), but allows you to set a view angle value. | |
| SetSceneManager | Set the scene manager associated with this action (if any ). | |
| SetStereoMode | Tells ray pick action in which view the pick occurs. | |
| SetUpState | Creates state if it is NULL or it is no longer valid because new elements have been enabled since it was created. | |
| SetViewportRegion | Sets current viewport region to use for action. | |
| StopActionInBranch | This function stops the action in the current Scene Graph branch. | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Traverse | Does traversal of a graph rooted by a node. | |
| UseAlternateRep | Tell the action to use alternate representations during traversal when available. |