This callback needs to be called to let ISelectionCandidateChooser
know which (subset of) features should be selected.
More...
#include <luciad/controllers/ISelectionCandidateCallback.h>
This callback needs to be called to let ISelectionCandidateChooser
know which (subset of) features should be selected.
- See also
ISelectionCandidateChooser::chooseCandidates
- Since
- 2020.1
◆ ~ISelectionCandidateCallback()
virtual luciad::ISelectionCandidateCallback::~ISelectionCandidateCallback |
( |
| ) |
|
|
virtualdefault |
◆ create()
Creates a default ISelectionCandidateCallback instance that delegates the ISelectionCandidateCallback::handleFeature to the given function.
This is a convenience method that allows to reduce boiler plate code, and use lambdas.
- Parameters
-
function | the function that is called by ISelectionCandidateCallback::handleFeature |
- Returns
- an ISelectionCandidateCallback instance based on the given function.
◆ handleFeatures()
virtual void luciad::ISelectionCandidateCallback::handleFeatures |
( |
const std::vector< LayerFeatureId > & |
layerFeatureIds | ) |
|
|
pure virtual |
This method is called to notify which subset of features should be selected.
- Parameters
-
layerFeatureIds | the subset of features that should be selected. |