The Robot Application Programming Interface Delegate Project
|
Map layer data for data samples reduced to 8 bit values. More...
Public Member Functions | |
ShortMapLayer () | |
ShortMapLayer (ShortMapLayer 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.ShortSequence128K | data = (gov.nasa.rapid.idl.dds.rapid.ShortSequence128K) gov.nasa.rapid.idl.dds.rapid.ShortSequence128K.create() |
Vector of 16 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. Map layer data for data samples reduced to 16 bit values. Data structure holding a vector of data points. To reduce footprint, the data is sent as 16 bit values (short). 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.
ShortMapLayer | ( | ) |
ShortMapLayer | ( | ShortMapLayer | other | ) |
Object copy_from | ( | Object | src | ) |
This method will perform a deep copy of src
This method could be placed into ShortMapLayerTypeSupport
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.ShortSequence128K data = (gov.nasa.rapid.idl.dds.rapid.ShortSequence128K) gov.nasa.rapid.idl.dds.rapid.ShortSequence128K.create() |
short density |
A full resolution layer has a density of 1, a half resolution (in both dimensions) layer has a density of 2, etc.
double offset |
float scale |