SoBevelAction Class |
Creates a scene graph containing beveled shapes.
Namespace: OIV.Inventor.Actions
The SoBevelAction type exposes the following members.
Name | Description | |
---|---|---|
![]() | SoBevelAction | Constructor. |
Name | Description | |
---|---|---|
![]() | 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 | When applied, an action may reference nodes or create objects (e.g. |
![]() | EnableAbsoluteRadius | Calls EnableAbsoluteRadius(true). |
![]() | EnableAbsoluteRadius(Boolean) | Sets the absolute radius flag. |
![]() | EnableCoplanarTest | Calls EnableCoplanarTest(true). |
![]() | EnableCoplanarTest(Boolean) | If true, a coplanar test is performed on each shape before beveling it. |
![]() | EnableDuplicateTest | Calls EnableDuplicateTest(true). |
![]() | EnableDuplicateTest(Boolean) | If true, examine each shape to bevel, removing duplicate faces if found. |
![]() ![]() | EnableElement | |
![]() | EnableElements | (Overrides SoActionEnableElements.) |
![]() | EnableOrderingTest | Calls EnableOrderingTest(true). |
![]() | EnableOrderingTest(Boolean) | If true, each shape to bevel is re-ordered so that each face is oriented like the first face of the shape. |
![]() | Equals | (Inherited from Object.) |
![]() | ForwardTraversal | Traverse a node that is not part of the current scenegraph. |
![]() | GetAngle | Returns the minimum angle (in radians) between two adjacent face normals required to bevel the edge common to these two faces. |
![]() | GetContinueActionInBranchFlag | This function indicates if the action must stop in the current branch. |
![]() | GetCurPath | (Inherited from SoAction.) |
![]() | GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) |
![]() | GetNodeAppliedTo | (Inherited from SoAction.) |
![]() | GetOriginalPathListAppliedTo | (Inherited from SoAction.) |
![]() | GetPathAppliedTo | (Inherited from SoAction.) |
![]() | GetPathCode(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. |
![]() | GetPathCode(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. |
![]() | GetPathListAppliedTo | (Inherited from SoAction.) |
![]() | GetPipeId | Gets pipe identifier in the range [1..N] associated to this render action while running a ScaleViz Multipipe configuration. |
![]() | GetRadius | Returns the bevel radius. |
![]() | GetSceneGraph | This method returns the scene graph containing the beveled shapes created by the action. |
![]() | GetSceneManager | Return the SoSceneManager associated with this action. |
![]() | GetState | (Inherited from SoAction.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetWhatAppliedTo | (Inherited from SoAction.) |
![]() | HasTerminated | (Inherited from SoAction.) |
![]() | InvalidateState | Invalidates the current traversal state in the action, forcing it to be recreated when the action is next applied. |
![]() | IsAbsoluteRadiusEnabled | Returns true if the radius is absolute, false if it is relative to the shape. |
![]() | IsBeingApplied | Returns true if this action is currently being applied. |
![]() | IsCoplanarTestEnabled | |
![]() | IsDuplicateTestEnabled | If true, a test is performed to remove duplicate faces in the shapes being beveled. |
![]() | IsLastPathListAppliedTo | (Inherited from SoAction.) |
![]() | IsOrderingTestEnabled | Returns true if the shapes are re-ordered before being beveled. |
![]() | IsOutputVRML | Obsolete. Returns true if the shapes created by the bevel action are VRML shapes. |
![]() | 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. |
![]() | SetAngle | Sets the minimum angle (in radians) between two adjacent face normals required to bevel the edge common to these two faces. |
![]() | SetOutputVRML | Obsolete. Calls SetOutputVRML(true). |
![]() | SetOutputVRML(Boolean) | Obsolete. If true, each beveled shape is generated as a VRML indexed face set. |
![]() | SetPipeId | Sets pipe identifier in the range [1..N] associated to this render action while running a ScaleViz Multipipe configuration. |
![]() | SetRadius | Sets the bevel radius. |
![]() | SetSceneManager | Set the scene manager associated with this action (if any ). |
![]() | SetUpState | (Inherited from SoAction.) |
![]() | 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 | (Inherited from SoAction.) |
![]() | UseAlternateRep | Tell the action to use alternate representations during traversal when available. |
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 SoCoordinate3 and SoIndexedFaceSet nodes). Typically it is applied to a subgraph that contains only a single shape.
SoBevelAction does not take into consideration PER_FACE or PER_VERTEX materials. Therefore, the shapes to be beveled should have a uniform material (SoMaterialBinding.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 getSceneGraph() after applying the action.
The methods setAngle(), setRadius(), and enableAbsoluteRadius() 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 SoBevelProperty node, they are used. Otherwise, the values set by these methods are used.