Abstract base class for picking objects in a scene. More...
#include <Inventor/actions/SoPickAction.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
void | setViewportRegion (const SbViewportRegion &newRegion) |
const SbViewportRegion & | getViewportRegion () const |
void | enableCulling (SbBool flag) |
SbBool | isCullingEnabled () const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
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.
void SoPickAction::enableCulling | ( | SbBool | flag | ) | [inline] |
static SoType SoPickAction::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoAction.
Reimplemented in SoRayPickAction.
virtual SoType SoPickAction::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Implements SoTypedObject.
Reimplemented in SoRayPickAction.
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.