sensor More...
Public Member Functions | |
GrxSensorItem | clone () |
Override clone method. | |
int | compareTo (Object o) |
Camera_impl | getCamera () |
ValueEditType | GetValueEditType (String key) |
Return editing type of the key item. | |
GrxSensorItem (String name, GrxPluginManager manager, GrxModelItem model, SensorInfo info) | |
constructor | |
boolean | isCamera () |
boolean | isVisible () |
boolean | propertyChanged (String property, String value) |
check validity of new value of property and update if valid | |
void | setFocused (boolean b) |
set/unset fucus on this item | |
void | setVisibleArea (boolean b) |
make visible area visible/invisible | |
void | type (String type) |
void | updateShapeOfVisibleArea (double[] distances) |
update shape of visible area(only used for RangeSensor) | |
Public Attributes | |
int | id_ |
String | type_ |
Static Public Attributes | |
static final String[] | sensorType = { "Vision", "RateGyro" , "Acceleration" , "Force" , "Range" } |
Static Protected Attributes | |
static final String[] | cameraTypeComboItem_ = new String[] { "NONE", "COLOR" , "MONO" , "DEPTH" , "COLOR_DEPTH" , "MONO_DEPTH" } |
static final String[] | sensorTypeComboItem_ = sensorType |
Package Functions | |
void | id (String value) |
Private Member Functions | |
Shape3D | _createShapeOfVisibleArea () |
create shape of visible area | |
Point3f[] | _distances2points (double[] distances) |
convert array of distance into array of 3D point | |
void | _removeSensorSpecificProperties () |
void | cameraType (String cameraType) |
int | getOrder (String type) |
get sensor type as integer value | |
Private Attributes | |
Camera_impl | camera_ = null |
String | specFile_ |
float[] | specValues_ |
Switch | switchVisibleArea_ = null |
sensor
Definition at line 41 of file GrxSensorItem.java.
com.generalrobotix.ui.item.GrxSensorItem.GrxSensorItem | ( | String | name, |
GrxPluginManager | manager, | ||
GrxModelItem | model, | ||
SensorInfo | info | ||
) | [inline] |
constructor
info | SensorInfo retrieved through ModelLoader |
parentLink | link to which this sensor is attached |
Definition at line 60 of file GrxSensorItem.java.
Shape3D com.generalrobotix.ui.item.GrxSensorItem._createShapeOfVisibleArea | ( | ) | [inline, private] |
Point3f [] com.generalrobotix.ui.item.GrxSensorItem._distances2points | ( | double[] | distances | ) | [inline, private] |
convert array of distance into array of 3D point
distances | array of distance |
Definition at line 376 of file GrxSensorItem.java.
void com.generalrobotix.ui.item.GrxSensorItem._removeSensorSpecificProperties | ( | ) | [inline, private] |
Definition at line 335 of file GrxSensorItem.java.
void com.generalrobotix.ui.item.GrxSensorItem.cameraType | ( | String | cameraType | ) | [inline, private] |
Definition at line 542 of file GrxSensorItem.java.
Override clone method.
Reimplemented from com.generalrobotix.ui.GrxBaseItem.
Definition at line 362 of file GrxSensorItem.java.
int com.generalrobotix.ui.item.GrxSensorItem.compareTo | ( | Object | o | ) | [inline] |
Definition at line 165 of file GrxSensorItem.java.
Definition at line 535 of file GrxSensorItem.java.
int com.generalrobotix.ui.item.GrxSensorItem.getOrder | ( | String | type | ) | [inline, private] |
get sensor type as integer value
type | sensor type |
Definition at line 183 of file GrxSensorItem.java.
ValueEditType com.generalrobotix.ui.item.GrxSensorItem.GetValueEditType | ( | String | key | ) | [inline] |
Return editing type of the key item.
Reimplemented from com.generalrobotix.ui.GrxBasePlugin.
Definition at line 567 of file GrxSensorItem.java.
void com.generalrobotix.ui.item.GrxSensorItem.id | ( | String | value | ) | [inline, package] |
boolean com.generalrobotix.ui.item.GrxSensorItem.isCamera | ( | ) | [inline] |
Definition at line 528 of file GrxSensorItem.java.
Definition at line 511 of file GrxSensorItem.java.
boolean com.generalrobotix.ui.item.GrxSensorItem.propertyChanged | ( | String | property, |
String | value | ||
) | [inline] |
check validity of new value of property and update if valid
property | name of property |
value | value of property |
Reimplemented from com.generalrobotix.ui.GrxBasePlugin.
Definition at line 218 of file GrxSensorItem.java.
void com.generalrobotix.ui.item.GrxSensorItem.setFocused | ( | boolean | b | ) | [inline] |
set/unset fucus on this item
When this item is focused, some geometries are displayed
b | true to fucus, false to unfocus |
Reimplemented from com.generalrobotix.ui.item.GrxTransformItem.
Definition at line 521 of file GrxSensorItem.java.
make visible area visible/invisible
b | true to make visible, false otherwise |
Definition at line 505 of file GrxSensorItem.java.
void com.generalrobotix.ui.item.GrxSensorItem.type | ( | String | type | ) | [inline] |
Definition at line 248 of file GrxSensorItem.java.
void com.generalrobotix.ui.item.GrxSensorItem.updateShapeOfVisibleArea | ( | double[] | distances | ) | [inline] |
update shape of visible area(only used for RangeSensor)
distances | array of distances |
Definition at line 407 of file GrxSensorItem.java.
Definition at line 48 of file GrxSensorItem.java.
final String [] com.generalrobotix.ui.item.GrxSensorItem.cameraTypeComboItem_ = new String[] { "NONE", "COLOR" , "MONO" , "DEPTH" , "COLOR_DEPTH" , "MONO_DEPTH" } [static, protected] |
Definition at line 53 of file GrxSensorItem.java.
Definition at line 43 of file GrxSensorItem.java.
final String [] com.generalrobotix.ui.item.GrxSensorItem.sensorType = { "Vision", "RateGyro" , "Acceleration" , "Force" , "Range" } [static] |
Definition at line 51 of file GrxSensorItem.java.
final String [] com.generalrobotix.ui.item.GrxSensorItem.sensorTypeComboItem_ = sensorType [static, protected] |
Definition at line 52 of file GrxSensorItem.java.
String com.generalrobotix.ui.item.GrxSensorItem.specFile_ [private] |
Definition at line 45 of file GrxSensorItem.java.
float [] com.generalrobotix.ui.item.GrxSensorItem.specValues_ [private] |
Definition at line 44 of file GrxSensorItem.java.
Switch com.generalrobotix.ui.item.GrxSensorItem.switchVisibleArea_ = null [private] |
Definition at line 49 of file GrxSensorItem.java.
Definition at line 42 of file GrxSensorItem.java.