The Robot Application Programming Interface Delegate Project
|
Map layer data for data samples reduced to 8 bit values. More...
Public Member Functions | |
OctetMapLayer () | |
OctetMapLayer (OctetMapLayer 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 | |
double | offset |
Data value offset. | |
float | scale |
Data value scale. | |
short | density |
Sampling density. | |
gov.nasa.rapid.idl.dds.rapid.OctetSequence128K | data = (gov.nasa.rapid.idl.dds.rapid.OctetSequence128K) gov.nasa.rapid.idl.dds.rapid.OctetSequence128K.create() |
Vector of 8 bit data samples. |
Data structure holding a vector of data points. To reduce footprint, the data is sent as 8 bit values (octet). The data-structure holds an offset and a scaling factor, to restore the original data samples. e.g. double value = data * scale + offset
The density parameter allows a layer to be of lower resolution than the map itself.
OctetMapLayer | ( | ) |
OctetMapLayer | ( | OctetMapLayer | other | ) |
Object copy_from | ( | Object | src | ) |
This method will perform a deep copy of src
This method could be placed into OctetMapLayerTypeSupport
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 | ( | ) |
gov.nasa.rapid.idl.dds.rapid.OctetSequence128K data = (gov.nasa.rapid.idl.dds.rapid.OctetSequence128K) gov.nasa.rapid.idl.dds.rapid.OctetSequence128K.create() |
short density |
A full resolution layer has a density of 1, a half resolution layer has a density of 2, etc.
double offset |
float scale |