Gui::SoGLSelectAction Class Reference

The SoGLSelectAction class is used to get all data under a selected area. More...

#include <SoFCSelectionAction.h>

Public Member Functions

const SbViewportRegion & getViewportRegion () const
 
SbBool isHandled () const
 
void setHandled ()
 
 SoGLSelectAction (const SbViewportRegion &region, const SbViewportRegion &select)
 
 ~SoGLSelectAction ()
 

Static Public Member Functions

static void initClass ()
 The order of the defined SO_ACTION_ADD_METHOD statements is very important. More...
 

Public Attributes

std::vector< unsigned long > indices
 

Protected Member Functions

virtual void beginTraversal (SoNode *node)
 

Detailed Description

The SoGLSelectAction class is used to get all data under a selected area.

Author
Werner Mayer

Constructor & Destructor Documentation

◆ SoGLSelectAction()

SoGLSelectAction::SoGLSelectAction ( const SbViewportRegion &  region,
const SbViewportRegion &  select 
)

◆ ~SoGLSelectAction()

SoGLSelectAction::~SoGLSelectAction ( )

Member Function Documentation

◆ beginTraversal()

void SoGLSelectAction::beginTraversal ( SoNode node)
protectedvirtual

◆ getViewportRegion()

const SbViewportRegion & SoGLSelectAction::getViewportRegion ( void  ) const

◆ initClass()

void SoGLSelectAction::initClass ( void  )
static

The order of the defined SO_ACTION_ADD_METHOD statements is very important.

First the base classes and afterwards subclasses of them must be listed, otherwise the registered methods of subclasses will be overridden. For more details see the thread in the Coin3d forum https://www.coin3d.org/pipermail/coin-discuss/2004-May/004346.html. This means that SoSwitch must be listed after SoGroup and SoFCSelection after SoSeparator because both classes inherits the others.

Referenced by Gui::SoFCDB::init().

◆ isHandled()

SbBool SoGLSelectAction::isHandled ( ) const

◆ setHandled()

void SoGLSelectAction::setHandled ( )

Member Data Documentation

◆ indices

std::vector<unsigned long> Gui::SoGLSelectAction::indices

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