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 ®ion, const SbViewportRegion &select) | |
~SoGLSelectAction () | |
Static Public Member Functions | |
static void | initClass () |
The order of the defined SO_ACTION_ADD_METHOD statements is very important. | |
Public Attributes | |
std::vector< unsigned long > | indices |
Protected Member Functions | |
virtual void | beginTraversal (SoNode *node) |
The SoGLSelectAction class is used to get all data under a selected area.
Definition at line 229 of file SoFCSelectionAction.h.
SoGLSelectAction::SoGLSelectAction | ( | const SbViewportRegion & | region, | |
const SbViewportRegion & | select | |||
) |
Definition at line 716 of file SoFCSelectionAction.cpp.
SoGLSelectAction::~SoGLSelectAction | ( | ) |
Definition at line 723 of file SoFCSelectionAction.cpp.
void SoGLSelectAction::beginTraversal | ( | SoNode * | node | ) | [protected, virtual] |
Definition at line 732 of file SoFCSelectionAction.cpp.
References boost::numeric::bindings::atlas::set().
const SbViewportRegion & SoGLSelectAction::getViewportRegion | ( | ) | const |
Definition at line 727 of file SoFCSelectionAction.cpp.
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.
Definition at line 689 of file SoFCSelectionAction.cpp.
Referenced by Gui::SoFCDB::init().
SbBool SoGLSelectAction::isHandled | ( | ) | const |
Definition at line 748 of file SoFCSelectionAction.cpp.
void SoGLSelectAction::setHandled | ( | ) |
Definition at line 743 of file SoFCSelectionAction.cpp.
std::vector<unsigned long> Gui::SoGLSelectAction::indices |
Definition at line 250 of file SoFCSelectionAction.h.
Referenced by MeshGui::ViewProviderMesh::getFacetsOfRegion().