SoReorganizeAction Class |
Reorganizes the scene graph by grouping shapes with common properties, then groups these shapes in a single shape and runs the simplifier on it.
Namespace: OIV.Inventor.Actions
The SoReorganizeAction type exposes the following members.
Name | Description | |
---|---|---|
![]() | SoReorganizeAction | Calls SoReorganizeAction((OIV.Inventor.Simplifier.SoSimplifier ^)nullptr). |
![]() | SoReorganizeAction(SoSimplifier) | 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(path_list, false). |
![]() | Apply(SoPathList, Boolean) | Initiates an action on the graph defined by a list of paths. |
![]() | AreIndexArraysMatched | Gets whether to try to match index arrays during reorganization. |
![]() | AreNormalGenerated | Gets whether normals should be generated during reorganization. |
![]() | AreTexCoordsGenerated | Gets whether texture coordinates should be generated during reorganization. |
![]() | AreTriangleStripGenerated | Gets whether triangle strips should be generated; if false, IndexedFaceSets are generated. |
![]() | AreVPNodesGenerated | Gets whether vertex property nodes should be generated during reorganization. |
![]() | ClearApplyResult | When applied, an action may reference nodes or create objects (e.g. |
![]() ![]() | EnableElement | |
![]() | EnableElements | (Overrides SoSimplifyActionEnableElements.) |
![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() ![]() | FinishReport | Ends a report. |
![]() | 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. |
![]() | GenerateNormals | Sets whether normals should be generated during reorganization. |
![]() | GenerateTexCoords | Sets whether texture coordinates should be generated during reorganization. |
![]() | GenerateTriangleStrips | Sets whether triangle strips should be generated. |
![]() | GenerateVPNodes | Sets whether vertex property nodes should be generated during reorganization. |
![]() | 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.) |
![]() | GetMinTriangles | Gets the minimum number of triangles for a simplified child. |
![]() | GetNodeAppliedTo | Returns the node the action is being applied to. |
![]() | GetNumRanges | Gets the number of ranges that will be used in the LevelOfSimplification node to decide which level of detail to display. |
![]() | GetNumSimplificationLevels | Gets number of levels of detail to produce. |
![]() | 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. |
![]() | GetPipeId | Gets pipe identifier in the range [1..N] associated to this render action while running a ScaleViz Multipipe configuration. |
![]() | GetRanges | Gets the ranges that will be used in the LevelOfSimplification node to decide which level of detail to display. |
![]() | GetSceneManager | Return the OIV.Inventor.SoSceneManager associated with this action. |
![]() | GetSimplificationLevels | Gets percentages to produce at each level of detail. |
![]() | GetSimplifiedSceneGraph | Returns result of reorganization as new scene graph. |
![]() | GetSimplifier | Returns the simplifier being used, may be NULL. |
![]() | GetSizeFactor | Gets the scale factor to use to decide what values of ranges to use in the LevelOfSimplification node. |
![]() | GetState | Gets the state from the action. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetUrlName | Gets the name used when creating Inline files for each simplified child. |
![]() | GetWhatAppliedTo | Returns code indicating what action is being applied to. |
![]() | HasTerminated | Returns true if the traversal has reached a termination condition. |
![]() | 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. |
![]() | IsInlineLOD | Gets inlineLOD flag. |
![]() | IsLastPathListAppliedTo | Returns true if the current list is the last one from the original. |
![]() | IsRenderCulling | Gets render culling flag. |
![]() | IsUsingAlternateRep | Returns true if current action is using alternate representations. |
![]() | IsVerbose | Gets verbosity flag. |
![]() | MatchIndexArrays | Sets whether to try to match index arrays during reorganization. |
![]() | 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. |
![]() | SetInlineLOD | Sets inlineLOD flag. |
![]() | SetMinTriangles | Sets the minimum number of triangles for a simplified child; if a given percentage would create a simplified version that went below this minimum, no simplified chld is produced for this level. |
![]() | SetPipeId | Sets pipe identifier in the range [1..N] associated to this render action while running a ScaleViz Multipipe configuration. |
![]() | SetRanges | Sets the ranges that will be used in the LevelOfSimplification node to decide which level of detail to display. |
![]() | SetRenderCulling | Sets render culling flag. |
![]() | SetSceneManager | Set the scene manager associated with this action (if any ). |
![]() | SetSimplificationLevels | Sets number of levels of detail to produce and what percentage to produce at each level. |
![]() | SetSizeFactor | Sets the scale factor to use to decide what values of ranges to use in the LevelOfSimplification node. |
![]() | SetUpState | Creates state if it is NULL or it is no longer valid because new elements have been enabled since it was created. |
![]() | SetUrlName | Sets the name used when creating Inline files for each simplified child. |
![]() | SetVerbosity | Sets verbosity flag. |
![]() ![]() | StartReport | Starts a report. |
![]() | 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. |
This class reorganizes the scene graph by grouping shapes with common properties, then groups these shapes in a single shape and runs the simplifier on it. If a simplifier is not provided, it creates an indexed triangle strip set from this shape.
In order for shapes to be grouped together, they must:
Be indexed shapes (e.g., OIV.Inventor.Nodes.SoIndexedFaceSet)
Have the same material properties
Have a material binding of PER_VERTEX_INDEXED.