Click or drag to resize
SoRayPickAction Methods

The SoRayPickAction type exposes the following members.

Methods
  NameDescription
Public methodAddIntersection

Adds an OIV.Inventor.SoPickedPoint instance representing the given object space point to the current list and returns it.

Public methodAddIntersection_
Public methodApply(SoNode)

Initiates an action on the graph defined by a node.

(Overrides SoActionApply(SoNode).)
Public methodApply(SoPath)

Initiates an action on the graph defined by a path.

(Overrides SoActionApply(SoPath).)
Public methodApply(SoPathList)
Calls Apply(pathList, false).
Public methodApply(SoPathList, Boolean)

Initiates an action on the graph defined by a list of paths.

(Overrides SoActionApply(SoPathList, Boolean).)
Public methodClearApplyResult

Clears the picked point list.

(Overrides SoActionClearApplyResult.)
Public methodClearPickedPointList Obsolete.

Clears the picked point list.

Public methodComputeWorldSpaceRay
Public methodEnableConicPickVolume

Controls the pick volume shape for picking with OIV.Inventor.Actions.SoRayPickAction.SetRay(OIV.Inventor.SbVec3f, OIV.Inventor.SbVec3f, System.Single, System.Single).

Public methodEnableCulling
(Inherited from SoPickAction.)
Public methodStatic memberEnableElement
Public methodEnableElements

(Overrides SoPickActionEnableElements.)
Public methodEnableNormalsGeneration

Enables generation of normal vectors for picked points.

Public methodEnableRadiusForTriangles

Enable radius for triangle-based shape.

Public methodEnableTexCoordsGeneration

Enables generation of texture coordinates for picked points.

Public methodStatic memberEnableTriangleCulling

Enables culling of triangles relative to the ray frustum.

Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodForwardTraversal(SoNode)

Traverse a node that is not part of the current scenegraph.

(Inherited from SoAction.)
Public methodForwardTraversal(SoPath)

Traverse a path that is not part of the current scenegraph.

(Inherited from SoAction.)
Public methodGetContinueActionInBranchFlag

This function indicates if the action must stop in the current branch.

(Inherited from SoAction.)
Public methodGetCurPath

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.

(Inherited from SoAction.)
Public methodGetDistribMode

Returns the distribution mode of this action across a cluster (ScaleViz-Cluster only).

(Inherited from SoAction.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetLine
Public methodGetNodeAppliedTo

Returns the node the action is being applied to.

(Inherited from SoAction.)
Public methodGetNormalizedPoint

Gets the viewport point in normalized coordinates [0..1] (returns the last value passed to OIV.Inventor.Actions.SoRayPickAction.SetNormalizedPoint(OIV.Inventor.SbVec2f)).

Public methodGetOriginalPathListAppliedTo

Returns the original path list the action is being applied to.

(Inherited from SoAction.)
Public methodGetPathAppliedTo

Returns the path the action is being applied to.

(Inherited from SoAction.)
Public methodGetPathCode

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.

(Inherited from SoAction.)
Public methodGetPathListAppliedTo

Returns the path list the action is being applied to.

(Inherited from SoAction.)
Public methodGetPickedPoint
Calls GetPickedPoint(System.Int32(0)).
Public methodGetPickedPoint(Int32)

Returns the indexed picked point from the list.

Public methodGetPickedPointList

Returns list of picked points.

Public methodGetPickedPointsListLength
Public methodGetPickingMode

Returns the OIV.Inventor.Actions.SoRayPickAction.PickingModes used for the ray pick action.

Public methodGetPipeId

Gets pipe identifier in the range [1..N] associated to this render action while running a ScaleViz Multipipe configuration.

(Inherited from SoAction.)
Public methodGetPoint

Gets the viewport point in pixels (returns the last value passed to OIV.Inventor.Actions.SoRayPickAction.SetPoint(OIV.Inventor.SbVec2s)).

Public methodGetPointFloat
Public methodGetRadius

Gets the radius (in pixels) around the point.

Public methodGetSceneManager

Return the OIV.Inventor.SoSceneManager associated with this action.

(Inherited from SoAction.)
Public methodGetState

Gets the state from the action.

(Inherited from SoAction.)
Public methodStatic memberGetStereoMode

Returns the view used to perform pick when stereo is active.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUnsortedPickedPoint
Public methodGetViewportRegion

Returns current viewport region to use for action.

(Inherited from SoPickAction.)
Public methodGetViewVolume
Public methodGetWhatAppliedTo

Returns code indicating what action is being applied to.

(Inherited from SoAction.)
Public methodHasTerminated

Returns true if the traversal has reached a termination condition.

(Inherited from SoAction.)
Public methodHasWorldSpaceRay
Public methodIntersect(SbBox3f)
Calls Intersect(box, true).
Public methodIntersect(SbVec3f)
Public methodIntersect(SbXfBox3f)
Calls Intersect(box, true).
Public methodIntersect(SbBox3f, Boolean)

Bounding box: just return whether the ray intersects it.

Public methodIntersect(SbXfBox3f, Boolean)

Bounding box: just return whether the ray intersects it.

Public methodIntersect(SbVec3f, SbVec3f, SbVec3f)
Public methodIntersect(SbVec3f, SbVec3f, SbVec3f, SbVec3f, SbVec3f, Boolean)
Public methodInvalidateState

Invalidates the current traversal state in the action, forcing it to be recreated when the action is next applied.

(Inherited from SoAction.)
Public methodIsBeingApplied

Returns true if this action is currently being applied.

(Inherited from SoAction.)
Public methodIsBetweenPlanes
Public methodIsConicPickVolume

Returns true if the picking volume is a conic shape (not a frustum).

Public methodIsCullingEnabled
(Inherited from SoPickAction.)
Public methodIsLastPathListAppliedTo

Returns true if the current list is the last one from the original.

(Inherited from SoAction.)
Public methodIsNormalsGenerationEnabled

Returns whether generation of normal vectors is enabled for picked points.

Public methodIsPickAll

Returns whether the action will return all objects intersected or just the closest one.

Public methodIsRadiusEnableForTriangles

Returns whether the pick radius specified by OIV.Inventor.Actions.SoRayPickAction.SetRadius(System.Single) is taken into account for picking on triangle-based shapes.

Public methodIsTexCoordsGenerationEnabled

Returns whether texture coordinate generation is enabled for picked points.

Public methodStatic memberIsTriangleCulling

Returns whether triangle culling is enabled.

Public methodIsUsingAlternateRep

Returns true if current action is using alternate representations.

(Inherited from SoAction.)
Public methodPostDelayedTraversal

Method called by SoMultiPassManager after delayed pass traversals.

(Inherited from SoAction.)
Public methodPreDelayedTraversal

Method called by SoMultiPassManager before delayed pass traversals.

(Inherited from SoAction.)
Public methodResetContinueActionInBranchFlag

This function resets the continue action flag.

(Inherited from SoAction.)
Public methodSetNormalizedPoint

Sets the viewport point in normalized coordinates, which range from (0,0) at the lower left to (1,1) at the upper right.

Public methodSetObjectSpace
Public methodSetObjectSpace(SbMatrix)
Public methodSetPickAll

Sets whether the action will return all objects intersected or just the closest one.

Public methodSetPickingMode

Sets the picking mode.

Public methodSetPipeId

Sets pipe identifier in the range [1..N] associated to this render action while running a ScaleViz Multipipe configuration.

(Inherited from SoAction.)
Public methodSetPoint(SbVec2f)
Public methodSetPoint(SbVec2s)

Sets the viewport point through which the ray passes, starting at the camera position.

Public methodSetRadius

Sets the radius around the point.

Public methodSetRay(SbVec3f, SbVec3f)
Calls SetRay(start, direction, -1.0, -1.0).
Public methodSetRay(Single, SbVec3f, SbVec3f)
Calls SetRay(fovy, start, direction, -1.0, -1.0).
Public methodSetRay(SbVec3f, SbVec3f, Single)
Calls SetRay(start, direction, nearDistance, -1.0).
Public methodSetRay(Single, SbVec3f, SbVec3f, Single)
Calls SetRay(fovy, start, direction, nearDistance, -1.0).
Public methodSetRay(SbVec3f, SbVec3f, Single, Single)

Sets a world-space ray along which to pick.

Public methodSetRay(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.

Public methodSetSceneManager

Set the scene manager associated with this action (if any ).

(Inherited from SoAction.)
Public methodStatic memberSetStereoMode

Tells ray pick action in which view the pick occurs.

Public methodSetUpState

Creates state if it is NULL or it is no longer valid because new elements have been enabled since it was created.

(Inherited from SoAction.)
Public methodSetViewportRegion

Sets current viewport region to use for action.

(Inherited from SoPickAction.)
Public methodStopActionInBranch

This function stops the action in the current Scene Graph branch.

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

Does traversal of a graph rooted by a node.

(Inherited from SoAction.)
Public methodUseAlternateRep

Tell the action to use alternate representations during traversal when available.

(Inherited from SoAction.)
Top
See Also