/// Stop the current selection and color the given features to the selection color
/// \param theFeatures a list of features to be disabled
/// \param theToStop the boolean state whether it it stopped or non stopped
- void StopSelection(const std::list<XGUI_ViewerPrs>& theFeatures, const bool isStop);
+ /// \param isUpdateViewer the parameter whether the viewer should be update immediatelly
+ void StopSelection(const std::list<XGUI_ViewerPrs>& theFeatures, const bool isStop,
+ const bool isUpdateViewer);
+
+ /// Set the features are selected
+ /// \param theFeatures a list of features to be selected
+ /// \param isUpdateViewer the parameter whether the viewer should be update immediatelly
+ void SetSelected(const std::list<XGUI_ViewerPrs>& theFeatures, const bool isUpdateViewer);
/// Erase the feature and a shape.
/// \param theFeature a feature instance