![]() |
LuciadCPillar 2024.1.04
|
A selection candidate handler has the responsibility to show candidates for selection and let a user choose which feature(s) they want to select. More...
#include <luciad/controllers/ISelectionCandidateChooser.h>
Public Member Functions | |
virtual | ~ISelectionCandidateChooser ()=default |
virtual void | chooseCandidates (std::vector< LayerFeatureId > selectionCandidates, Coordinate position, std::shared_ptr< ISelectionCandidateCallback > callback)=0 |
This method is called by SelectEventHandler when there are multiple selection candidates. More... | |
A selection candidate handler has the responsibility to show candidates for selection and let a user choose which feature(s) they want to select.
This class can for example be implemented by showing a popup menu that allows you to choose the feature to select.
|
virtualdefault |
|
pure virtual |
This method is called by SelectEventHandler when there are multiple selection candidates.
It allows to determine which subset of the features need to be selected.
selectionCandidates | : a list of features that could be selected. |
position | : the current mouse position. This coordinate is in screen coordinate. |
callback | this callback needs to be called to provide the subset of the selection candidates that should be selected. |