ScGetPrimitiveCountAction Class Reference
[Actions]

ScaleViz Defines a distributed primitive count action. More...

#include <ScaleViz/actions/ScGetPrimitiveCountAction.h>

Inheritance diagram for ScGetPrimitiveCountAction:
SoGetPrimitiveCountAction SoAction SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 ScGetPrimitiveCountAction (SoAction::DistribMode distribMode=SoAction::LOCAL_ONLY, ScGetPrimitiveCountCallback *callback=NULL, void *userData=NULL)
virtual void apply (SoNode *node)

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

ScaleViz Defines a distributed primitive count action.

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

Several distribution modes are available:

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

SoGetPrimitiveCountAction


Constructor & Destructor Documentation

ScGetPrimitiveCountAction::ScGetPrimitiveCountAction ( SoAction::DistribMode  distribMode = SoAction::LOCAL_ONLY,
ScGetPrimitiveCountCallback callback = NULL,
void *  userData = NULL 
)

Constructor.

Parameters:
distribMode specify the way the action may be distributed
callback pointer to the function used to get the result of the action
userData pointer to user data

Member Function Documentation

virtual void ScGetPrimitiveCountAction::apply ( SoNode node  )  [virtual]

Destructor.

Applies action to the graph rooted by a node.

Reimplemented from SoAction.

static SoType ScGetPrimitiveCountAction::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoGetPrimitiveCountAction.

virtual SoType ScGetPrimitiveCountAction::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from SoGetPrimitiveCountAction.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/