The Robot Application Programming Interface Delegate Project
|
PointSample describes the position and attributes of a point in the cloud. More...
Public Member Functions | |
PointSample () | |
PointSample (PointSample other) | |
boolean | equals (Object o) |
int | hashCode () |
Object | copy_from (Object src) |
This is the implementation of the Copyable interface. | |
String | toString () |
String | toString (String desc, int indent) |
Static Public Member Functions | |
static Object | create () |
Public Attributes | |
short[] | xyz = new short[3] |
Position relative to the cloud origin, in arbitrary point units. | |
byte[] | attributes = new byte[2] |
Particle attributes (e.g., intensity). |
Note: Attributes are included in this struct because we get them for free on the wire due to word alignment.
PointSample | ( | ) |
PointSample | ( | PointSample | other | ) |
Object copy_from | ( | Object | src | ) |
This method will perform a deep copy of src
This method could be placed into PointSampleTypeSupport
rather than here by using the -noCopyable
option to rtiddsgen.
src | The Object which contains the data to be copied. |
this
. NullPointerException | If src is null. |
ClassCastException | If src is not the same type as this . |
static Object create | ( | ) | [static] |
boolean equals | ( | Object | o | ) |
int hashCode | ( | ) |
String toString | ( | String | desc, |
int | indent | ||
) |
String toString | ( | ) |
byte [] attributes = new byte[2] |
short [] xyz = new short[3] |
Reference PointSampleConfig to determine the meaning of the elements in this vector. These are signed short values so in order to exploit the full 16 bits of resolution, data should be scaled to a range of -32768 to 32767. If 15 bits of resolution is adequate, data can be scaled to a range of 0 to 32767 for computational efficiency on the sending side.