ScGetBoundingBoxAction Class Reference

ScaleViz Defines a distributed bounding box action. More...

#include <ScaleViz/actions/ScGetBoundingBoxAction.h>

Inheritance diagram for ScGetBoundingBoxAction:
SoGetBoundingBoxAction SoAction SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 ScGetBoundingBoxAction (const SbViewportRegion &viewportRegion, SoAction::DistribMode distribMode=SoAction::LOCAL_ONLY, ScGetBoundingBoxCallback *callback=NULL, void *userData=NULL)
virtual void apply (SoNode *node)

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

ScaleViz Defines a distributed bounding box action.

The ScGetBoundingBoxAction class provides a simple way to distribute an SoGetBoundingBoxAction 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).



Constructor & Destructor Documentation

ScGetBoundingBoxAction::ScGetBoundingBoxAction ( const SbViewportRegion viewportRegion,
SoAction::DistribMode  distribMode = SoAction::LOCAL_ONLY,
ScGetBoundingBoxCallback callback = NULL,
void *  userData = NULL 


viewportRegion viewport region to use for picking
distribMode specifies the way the action should 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 ScGetBoundingBoxAction::apply ( SoNode node  )  [virtual]


Applies action to the graph rooted by a node.

Reimplemented from SoAction.

static SoType ScGetBoundingBoxAction::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoGetBoundingBoxAction.

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

Returns the type identifier for this specific instance.

Reimplemented from SoGetBoundingBoxAction.

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

Open Inventor Toolkit reference manual, generated on 15 May 2022
Copyright © Thermo Fisher Scientific All rights reserved.