Click or drag to resize
SoRayPickAction Methods

The SoRayPickAction type exposes the following members.

Methods
  NameDescription
Public methodAddIntersection

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

Public methodApply(SoNode)

Initiates an action on the graph defined by a node.

(Inherited from SoAction.)
Public methodApply(SoPath)

Initiates an action on the graph defined by a path.

(Inherited from SoAction.)
Public methodApply(SoPathList)
Calls Apply(pathList, false).
(Inherited from SoAction.)
Public methodApply(SoPathList, Boolean)

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

(Inherited from SoAction.)
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 setRay().

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

Traverse a node 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
(Inherited from SoAction.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetLine
Public methodGetNodeAppliedTo
(Inherited from SoAction.)
Public methodGetNormalizedPoint

Gets the viewport point in normalized coordinates 0..1.

Public methodGetOriginalPathListAppliedTo
(Inherited from SoAction.)
Public methodGetPathAppliedTo
(Inherited from SoAction.)
Public methodGetPathCode(SbNativeArrayInt32)

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 methodGetPathCode(SbNativeInt32Array) Obsolete.

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
(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 PickingMode 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 setPoint).

Public methodGetPointFloat

Float version of getPoint().

Public methodGetRadius

Gets the radius (in pixels) around the point.

Public methodGetSceneManager

Return the SoSceneManager associated with this action.

(Inherited from SoAction.)
Public methodGetState
(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
(Inherited from SoAction.)
Public methodHasTerminated
(Inherited from SoAction.)
Public methodHasWorldSpaceRay
Public methodInitSetRayData(SbVec3f, SbVec3f, Single) Obsolete.
Calls InitSetRayData(start, direction, fovy, 1.0f, -1.0f, -1.0f).
Public methodInitSetRayData(SbVec3f, SbVec3f, Single, Single) Obsolete.
Calls InitSetRayData(start, direction, fovy, aspectRatio, -1.0f, -1.0f).
Public methodInitSetRayData(SbVec3f, SbVec3f, Single, Single, Single) Obsolete.
Calls InitSetRayData(start, direction, fovy, aspectRatio, nearDistance, -1.0f).
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
(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 setRadius 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)

Float version of setPoint.

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 setRay(), but allows you to set a view angle value.

Public methodSetRayCommonProperties(SbVec3f, SbVec3f, Single) Obsolete.
Calls SetRayCommonProperties(start, direction, fovy, 1.0f, -1.0f, -1.0f).
Public methodSetRayCommonProperties(SbVec3f, SbVec3f, Single, Single) Obsolete.
Calls SetRayCommonProperties(start, direction, fovy, aspectRatio, -1.0f, -1.0f).
Public methodSetRayCommonProperties(SbVec3f, SbVec3f, Single, Single, Single) Obsolete.
Calls SetRayCommonProperties(start, direction, fovy, aspectRatio, nearDistance, -1.0f).
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
(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
(Inherited from SoAction.)
Public methodUseAlternateRep

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

(Inherited from SoAction.)
Top
See Also