Gui::SoGLSelectAction Class Reference

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

#include <SoFCSelectionAction.h>

List of all members.

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.

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

Definition at line 229 of file SoFCSelectionAction.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

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

Definition at line 250 of file SoFCSelectionAction.h.

Referenced by MeshGui::ViewProviderMesh::getFacetsOfRegion().


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

Generated on Wed Nov 23 19:02:03 2011 for FreeCAD by  doxygen 1.6.1