Public Member Functions | Public Attributes | Static Public Attributes | Static Protected Attributes | Package Functions | Private Member Functions | Private Attributes
com.generalrobotix.ui.item.GrxSensorItem Class Reference

sensor More...

Inheritance diagram for com.generalrobotix.ui.item.GrxSensorItem:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

sensor

Definition at line 41 of file GrxSensorItem.java.


Constructor & Destructor Documentation

com.generalrobotix.ui.item.GrxSensorItem.GrxSensorItem ( String  name,
GrxPluginManager  manager,
GrxModelItem  model,
SensorInfo  info 
) [inline]

constructor

Parameters:
infoSensorInfo retrieved through ModelLoader
parentLinklink to which this sensor is attached

Definition at line 60 of file GrxSensorItem.java.


Member Function Documentation

create shape of visible area

Returns:
shape

Definition at line 423 of file GrxSensorItem.java.

Point3f [] com.generalrobotix.ui.item.GrxSensorItem._distances2points ( double[]  distances) [inline, private]

convert array of distance into array of 3D point

Parameters:
distancesarray of distance
Returns:
array of 3D point

Definition at line 376 of file GrxSensorItem.java.

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.

Returns:
GrxSensorItem

Reimplemented from com.generalrobotix.ui.GrxBaseItem.

Definition at line 362 of file GrxSensorItem.java.

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

Parameters:
typesensor type
Returns:

Definition at line 183 of file GrxSensorItem.java.

Return editing type of the key item.

Returns:
ValueEditType

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]

set id from string

Parameters:
valuestring

Definition at line 203 of file GrxSensorItem.java.

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

Parameters:
propertyname of property
valuevalue of property
Returns:
true if checked(even if value is not used), false otherwise

Reimplemented from com.generalrobotix.ui.GrxBasePlugin.

Definition at line 218 of file GrxSensorItem.java.

set/unset fucus on this item

When this item is focused, some geometries are displayed

Parameters:
btrue 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

Parameters:
btrue to make visible, false otherwise

Definition at line 505 of file GrxSensorItem.java.

Definition at line 248 of file GrxSensorItem.java.

update shape of visible area(only used for RangeSensor)

Parameters:
distancesarray of distances

Definition at line 407 of file GrxSensorItem.java.


Member Data Documentation

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.

Definition at line 52 of file GrxSensorItem.java.

Definition at line 45 of file GrxSensorItem.java.

Definition at line 44 of file GrxSensorItem.java.

Definition at line 49 of file GrxSensorItem.java.

Definition at line 42 of file GrxSensorItem.java.


The documentation for this class was generated from the following file:


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Apr 11 2019 03:30:21