Click or drag to resize
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.

Inheritance Hierarchy

Namespace: OIV.Inventor.Actions
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public class SoReorganizeAction : SoSimplifyAction

The SoReorganizeAction type exposes the following members.

Constructors
  NameDescription
Public methodSoReorganizeAction
Calls SoReorganizeAction((OIV.Inventor.Simplifier.SoSimplifier ^)nullptr).
Public methodSoReorganizeAction(SoSimplifier)

Constructor.

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

Gets whether to try to match index arrays during reorganization.

Public methodAreNormalGenerated

Gets whether normals should be generated during reorganization.

Public methodAreTexCoordsGenerated

Gets whether texture coordinates should be generated during reorganization.

Public methodAreTriangleStripGenerated

Gets whether triangle strips should be generated; if false, IndexedFaceSets are generated.

Public methodAreVPNodesGenerated

Gets whether vertex property nodes should be generated during reorganization.

Public methodClearApplyResult

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

(Inherited from SoAction.)
Public methodStatic memberEnableElement
Public methodEnableElements

(Overrides SoSimplifyActionEnableElements.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberFinishReport

Ends a report.

Public methodForwardTraversal

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

(Inherited from SoAction.)
Public methodGenerateNormals

Sets whether normals should be generated during reorganization.

Public methodGenerateTexCoords

Sets whether texture coordinates should be generated during reorganization.

Public methodGenerateTriangleStrips

Sets whether triangle strips should be generated.

Public methodGenerateVPNodes

Sets whether vertex property nodes should be generated during reorganization.

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 methodGetMinTriangles

Gets the minimum number of triangles for a simplified child.

(Inherited from SoSimplifyAction.)
Public methodGetNodeAppliedTo
(Inherited from SoAction.)
Public methodGetNumRanges

Gets the number of ranges that will be used in the LevelOfSimplification node to decide which level of detail to display.

(Inherited from SoSimplifyAction.)
Public methodGetNumSimplificationLevels

Gets number of levels of detail to produce.

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

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

(Inherited from SoAction.)
Public methodGetRanges

Gets the ranges that will be used in the LevelOfSimplification node to decide which level of detail to display.

(Inherited from SoSimplifyAction.)
Public methodGetSceneManager

Return the SoSceneManager associated with this action.

(Inherited from SoAction.)
Public methodGetSimplificationLevels

Gets percentages to produce at each level of detail.

(Inherited from SoSimplifyAction.)
Public methodGetSimplifiedSceneGraph

Returns result of reorganization as new scene graph.

Public methodGetSimplifier

Returns the simplifier being used, may be NULL.

Public methodGetSizeFactor

Gets the scale factor to use to decide what values of ranges to use in the LevelOfSimplification node.

(Inherited from SoSimplifyAction.)
Public methodGetState
(Inherited from SoAction.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUrlName

Gets the name used when creating Inline files for each simplified child.

(Inherited from SoSimplifyAction.)
Public methodGetWhatAppliedTo
(Inherited from SoAction.)
Public methodHasTerminated
(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 methodIsBeingApplied

Returns true if this action is currently being applied.

(Inherited from SoAction.)
Public methodIsInlineLOD

Gets inlineLOD flag.

(Inherited from SoSimplifyAction.)
Public methodIsLastPathListAppliedTo
(Inherited from SoAction.)
Public methodIsRenderCulling

Gets render culling flag.

(Inherited from SoSimplifyAction.)
Public methodIsUsingAlternateRep

Returns true if current action is using alternate representations.

(Inherited from SoAction.)
Public methodIsVerbose

Gets verbosity flag.

(Inherited from SoSimplifyAction.)
Public methodMatchIndexArrays

Sets whether to try to match index arrays during reorganization.

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 methodSetInlineLOD

Sets inlineLOD flag.

(Inherited from SoSimplifyAction.)
Public methodSetMinTriangles

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.

(Inherited from SoSimplifyAction.)
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 methodSetRanges

Sets the ranges that will be used in the LevelOfSimplification node to decide which level of detail to display.

(Inherited from SoSimplifyAction.)
Public methodSetRenderCulling

Sets render culling flag.

(Inherited from SoSimplifyAction.)
Public methodSetSceneManager

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

(Inherited from SoAction.)
Public methodSetSimplificationLevels

Sets number of levels of detail to produce and what percentage to produce at each level.

(Inherited from SoSimplifyAction.)
Public methodSetSizeFactor

Sets the scale factor to use to decide what values of ranges to use in the LevelOfSimplification node.

(Inherited from SoSimplifyAction.)
Public methodSetUpState
(Inherited from SoAction.)
Public methodSetUrlName

Sets the name used when creating Inline files for each simplified child.

(Inherited from SoSimplifyAction.)
Public methodSetVerbosity

Sets verbosity flag.

(Inherited from SoSimplifyAction.)
Public methodStatic memberStartReport

Starts a report.

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
Remarks

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., SoIndexedFaceSet)

  • Have the same material properties

  • Have a material binding of PER_VERTEX_INDEXED.

See Also