Click or drag to resize
ScGetPrimitiveCountAction Class

Defines a distributed primitive count action.

Inheritance Hierarchy

Namespace: OIV.ScaleViz.Actions
Assembly: OIV.ScaleViz (in OIV.ScaleViz.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public class ScGetPrimitiveCountAction : SoGetPrimitiveCountAction

The ScGetPrimitiveCountAction type exposes the following members.

Methods
  NameDescription
Public methodAddNumImage
(Inherited from SoGetPrimitiveCountAction.)
Public methodAddNumLines
(Inherited from SoGetPrimitiveCountAction.)
Public methodAddNumPoints
(Inherited from SoGetPrimitiveCountAction.)
Public methodAddNumText
(Inherited from SoGetPrimitiveCountAction.)
Public methodAddNumTriangles
(Inherited from SoGetPrimitiveCountAction.)
Public methodApply(SoNode)

Applies action to the graph rooted by a node.

(Overrides SoActionApply(SoNode).)
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 methodCanApproximateCount

Returns whether shapes are allowed to approximate their count.

(Inherited from SoGetPrimitiveCountAction.)
Public methodClearApplyResult

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

(Inherited from SoAction.)
Public methodContainsNonTriangleShapes

Returns true if scene contains some primitives that are not triangles.

(Inherited from SoGetPrimitiveCountAction.)
Public methodContainsNoPrimitives

Returns true if scene contains no primitives of any kind.

(Inherited from SoGetPrimitiveCountAction.)
Public methodStatic memberEnableElement
Public methodEnableElements

(Overrides SoGetPrimitiveCountActionEnableElements.)
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 methodGetDecimationPercentage

Gets decimation percentage.

(Inherited from SoGetPrimitiveCountAction.)
Public methodGetDecimationType

Gets decimation type.

(Inherited from SoGetPrimitiveCountAction.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetImageCount

Returns counted number of primitives (images).

(Inherited from SoGetPrimitiveCountAction.)
Public methodGetLineCount

Returns counted number of primitives (lines).

(Inherited from SoGetPrimitiveCountAction.)
Public methodGetNodeAppliedTo
(Inherited from SoAction.)
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 methodGetPointCount

Returns counted number of primitives (points).

(Inherited from SoGetPrimitiveCountAction.)
Public methodGetSceneManager

Return the SoSceneManager associated with this action.

(Inherited from SoAction.)
Public methodGetState
(Inherited from SoAction.)
Public methodGetTextCount

Returns counted number of primitives (text).

(Inherited from SoGetPrimitiveCountAction.)
Public methodGetTriangleCount

Returns counted number of primitives (triangles).

(Inherited from SoGetPrimitiveCountAction.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetWhatAppliedTo
(Inherited from SoAction.)
Public methodHasTerminated
(Inherited from SoAction.)
Public methodIncNumImage
(Inherited from SoGetPrimitiveCountAction.)
Public methodIncNumLines
(Inherited from SoGetPrimitiveCountAction.)
Public methodIncNumPoints
(Inherited from SoGetPrimitiveCountAction.)
Public methodIncNumText
(Inherited from SoGetPrimitiveCountAction.)
Public methodIncNumTriangles
(Inherited from SoGetPrimitiveCountAction.)
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 methodIs3DTextCountedAsTriangles

Returns how SoText3 should be counted: as a triangle-based shape (true) or as a text-based shape (false).

(Inherited from SoGetPrimitiveCountAction.)
Public methodIsBeingApplied

Returns true if this action is currently being applied.

(Inherited from SoAction.)
Public methodIsLastPathListAppliedTo
(Inherited from SoAction.)
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 methodSetCanApproximate

Some shapes may be able to guess an approximate number of triangles without actually counting.

(Inherited from SoGetPrimitiveCountAction.)
Public methodSetCount3DTextAsTriangles

SoText3 can be counted two ways: as a triangle-based shape or as a text-based shape.

(Inherited from SoGetPrimitiveCountAction.)
Public methodSetDecimationValue(SoDecimationTypeElementTypes)
Calls SetDecimationValue(type, 1.0).
(Inherited from SoGetPrimitiveCountAction.)
Public methodSetDecimationValue(SoDecimationTypeElementTypes, Single)

Sets decimation type and percentage.

(Inherited from SoGetPrimitiveCountAction.)
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 methodSetSceneManager

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

(Inherited from SoAction.)
Public methodSetUpState
(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
(Inherited from SoAction.)
Public methodUseAlternateRep

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

(Inherited from SoAction.)
Top
Remarks

The ScGetPrimitiveCountAction class provides a simple way to distribute an SoGetPrimitiveCountAction across a cluster.

Several distribution modes are available:

  • LOCAL_ONLY: action is only applied by the application.

  • CLUSTER_ONLY: action is only applied by the OIRUs.

  • ALL: both the application and the OIRUs apply the given action.

When OIRUs are involved (i.e., in CLUSTER_ONLY and ALL modes), they apply the action on their own part of the scene graph. The application gets back the result via the callback defined by the user.

This class can be used in all compositing modes (flat, tile, depth, and local compositing).

See Also