SoPickAction Class Reference
[Actions]

Abstract base class for picking objects in a scene. More...

#include <Inventor/actions/SoPickAction.h>

Inheritance diagram for SoPickAction:
SoAction SoTypedObject SoRayPickAction ScRayPickAction

List of all members.

Public Member Functions

virtual SoType getTypeId () const
void setViewportRegion (const SbViewportRegion &newRegion)
const SbViewportRegiongetViewportRegion () const
void enableCulling (SbBool flag)
SbBool isCullingEnabled () const

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

Abstract base class for picking objects in a scene.

This is an abstract base class for all picking actions. Currently, the only supported subclass is the SoRayPickAction.

SEE ALSO

SoRayPickAction


Member Function Documentation

void SoPickAction::enableCulling ( SbBool  flag  )  [inline]
static SoType SoPickAction::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoAction.

Reimplemented in SoRayPickAction, and ScRayPickAction.

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

Returns the type identifier for this specific instance.

Implements SoTypedObject.

Reimplemented in SoRayPickAction, and ScRayPickAction.

const SbViewportRegion& SoPickAction::getViewportRegion (  )  const [inline]

Returns current viewport region to use for action.

SbBool SoPickAction::isCullingEnabled (  )  const [inline]
void SoPickAction::setViewportRegion ( const SbViewportRegion newRegion  ) 

Sets current viewport region to use for action.

Even though the picking operation may not involve a window per se, some nodes need this information to determine their size and placement.


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/