Selector
- class Selector[source]
Bases:
QObject
Selector class manages all selection operations for the viewer.
- Parameters:
- renderer
compas_viewer.components.renderer.Renderer
The renderer instance.
- renderer
References
- Attributes:
- renderer
compas_viewer.components.renderer.Renderer
The renderer instance.
- enable_selectorbool
Enable the selector.
- selectioncolor
compas.colors.Color
The color of the selected items.
- ANTI_ALIASING_FACTORint
The anti-aliasing factor for the drag selection.
- renderer
Methods
Deselect the object under the mouse cursor.
Drag deselect the objects in the rectangle area.
Drag select the objects in the rectangle area.
Multiselect the object under the mouse cursor.
Paint the instance map quickly, and then read the color of the specified area.
Select the object under the mouse cursor.
Inherited Methods