Click or drag to resize
SoBevelAction Class

Creates a scene graph containing beveled shapes.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.ActionsSoAction
      OIV.Inventor.ActionsSoBevelAction

Namespace: OIV.Inventor.Actions
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.0.0 (2024.1.0)
Syntax
public class SoBevelAction : SoAction

The SoBevelAction type exposes the following members.

Constructors
  NameDescription
Public methodSoBevelAction

Constructor.

Top
Methods
  NameDescription
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

When applied, an action may reference nodes or create objects (e.g.

(Inherited from SoAction.)
Public methodEnableAbsoluteRadius
Calls EnableAbsoluteRadius(true).
Public methodEnableAbsoluteRadius(Boolean)

Sets the absolute radius flag.

Public methodEnableCoplanarTest
Calls EnableCoplanarTest(true).
Public methodEnableCoplanarTest(Boolean)

If true, a coplanar test is performed on each shape before beveling it.

Public methodEnableDuplicateTest
Calls EnableDuplicateTest(true).
Public methodEnableDuplicateTest(Boolean)

If true, examine each shape to bevel, removing duplicate faces if found.

Public methodStatic memberEnableElement
Public methodEnableElements Obsolete.
Returns the list of enabled elements for a given action subclass.
(Inherited from SoAction.)
Public methodEnableOrderingTest
Calls EnableOrderingTest(true).
Public methodEnableOrderingTest(Boolean)

If true, each shape to bevel is re-ordered so that each face is oriented like the first face of the shape.

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 methodGetAngle

Returns the minimum angle (in radians) between two adjacent face normals required to bevel the edge common to these two faces.

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 methodGetNodeAppliedTo

Returns the node the action is being applied to.

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

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

(Inherited from SoAction.)
Public methodGetRadius

Returns the bevel radius.

Public methodGetSceneGraph

This method returns the scene graph containing the beveled shapes created by the action.

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 methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
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 methodInvalidateState

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

(Inherited from SoAction.)
Public methodIsAbsoluteRadiusEnabled

Returns true if the radius is absolute, false if it is relative to the shape.

Public methodIsBeingApplied

Returns true if this action is currently being applied.

(Inherited from SoAction.)
Public methodIsCoplanarTestEnabled

Returns true if a coplanar test is performed before the beveling.

Public methodIsDuplicateTestEnabled

If true, a test is performed to remove duplicate faces in the shapes being beveled.

Public methodIsLastPathListAppliedTo

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

(Inherited from SoAction.)
Public methodIsOrderingTestEnabled

Returns true if the shapes are re-ordered before being beveled.

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 methodSetAngle

Sets the minimum angle (in radians) between two adjacent face normals required to bevel the edge common to these two faces.

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 methodSetRadius

Sets the bevel radius.

Public methodSetSceneManager

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

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

This action traverses a scene graph or paths, looking for shapes to bevel, then creating another scene graph containing the beveled shapes (in the form of OIV.Inventor.Nodes.SoCoordinate3 and OIV.Inventor.Nodes.SoIndexedFaceSet nodes). Typically it is applied to a subgraph that contains only a single shape.

OIV.Inventor.Actions.SoBevelAction does not take into consideration PER_FACE or PER_VERTEX materials. Therefore, the shapes to be beveled should have a uniform material (OIV.Inventor.Nodes.SoMaterialBinding.Bindings.OVERALL).

It works like other actions, but does not modify the source scene graph. The scene graph containing beveled shapes can be accessed by calling OIV.Inventor.Actions.SoBevelAction.GetSceneGraph() after applying the action.

The methods OIV.Inventor.Actions.SoBevelAction.SetAngle(System.Single), OIV.Inventor.Actions.SoBevelAction.SetRadius(System.Single), and OIV.Inventor.Actions.SoBevelAction.EnableAbsoluteRadius(System.Boolean) set the default behavior of the beveling of the shapes this action will be applied to. If bevel property values have been set by the OIV.Inventor.Nodes.SoBevelProperty node, they are used. Otherwise, the values set by these methods are used.

See Also