Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

amire::component::SelectionHandler Class Reference

List of all members.

Public Member Functions

virtual ~SelectionHandler ()
virtual int select (const std::vector< osg::ref_ptr< Handler > > &selection, const std::vector< double > &distances) const

Detailed Description

A selection handler is used during the selection process to select a specific handler out of a set of handlers, which have accepted the select pick. The default implementation is to select the handler with the minimal picking distance.

Constructor & Destructor Documentation

virtual amire::component::SelectionHandler::~SelectionHandler  )  [virtual]

Member Function Documentation

virtual int amire::component::SelectionHandler::select const std::vector< osg::ref_ptr< Handler > > &  selection,
const std::vector< double > &  distances
const [virtual]

This method is called during the selection process to select the best matching handler. The index of this handler is returned.

The documentation for this class was generated from the following file:
Generated on Tue May 20 17:23:57 2003 for AMIRE-Framework by doxygen1.3