impact
ImpactEntity
#
Bases: QEntity
QEntity
used to visualize to points detected by sensors.
It is represented with QSphereMesh
,
its radius and color are configurable in the constructor.
Source code in cogip/entities/impact.py
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
|
__init__(radius=50, color=QtCore.Qt.red)
#
Class constructor.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
radius |
float
|
Radius of the sphere |
50
|
color |
GlobalColor
|
Color of the sphere |
red
|
Source code in cogip/entities/impact.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
|