SelectedIndicesAction
Qualified name: SelectedIndicesAction
-
class SelectedIndicesAction : public mv::gui::WidgetAction
Selected indices action class.
Action class for selected point indices
- Author
Thomas Kroes
Public Functions
-
SelectedIndicesAction(QObject *parent, const Dataset<Points> &points)
Constructor.
- Parameters:
parent – Pointer to parent object
points – Smart pointer to points dataset
-
Dataset<Points> &getPoints()
Get points.
- Returns:
Smart pointer to points dataset
-
std::vector<std::uint32_t> getSelectedIndices() const
Get selected indices.
- Returns:
Selected indices
Protected Functions
Protected Attributes
-
TriggerAction _updateAction
Points dataset reference.
-
ToggleAction _manualUpdateAction
Update action.
Protected Static Attributes
-
static const std::int32_t MANUAL_UPDATE_THRESHOLD = 1000
Manual update action.
Above this threshold, selected indices need to be updated manually
-
class Widget : public mv::gui::WidgetActionWidget
Widget class for points info action.
Public Functions
-
Widget(QWidget *parent, SelectedIndicesAction *selectedIndicesAction)
Constructor.
- Parameters:
parent – Pointer to parent widget
selectedIndicesAction – Pointer to selected indices action
-
Widget(QWidget *parent, SelectedIndicesAction *selectedIndicesAction)