public static class Sensor.Reference
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
swigCMemOwn |
| Constructor and Description |
|---|
Reference() |
Reference(long cPtr,
boolean cMemoryOwn) |
Reference(Sensor.Reference reference) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(Sensor.Reference obj) |
Vector3d |
getLocation()
Sensor coordinates, may be null.
|
Vector3d |
getLocationAccuracy()
Sensor location accuracy, may be null.
|
Vector3d |
getRotation()
Sensor rotation angles, may be null.
|
Vector3d |
getRotationAccuracy()
Sensor rotation accuracy, may be null.
|
boolean |
isLocationEnabled()
Location enabled flag.
|
boolean |
isRotationEnabled()
Rotation enabled flag.
|
void |
setLocation(Vector3d location)
Sensor coordinates, may be null.
|
void |
setLocationAccuracy(Vector3d accuracy)
Sensor location accuracy, may be null.
|
void |
setLocationEnabled(boolean state)
Location enabled flag.
|
void |
setRotation(Vector3d rotation)
Sensor rotation angles, may be null.
|
void |
setRotationAccuracy(Vector3d accuracy)
Sensor rotation accuracy, may be null.
|
void |
setRotationEnabled(boolean state)
Rotation enabled flag.
|
public Reference(long cPtr,
boolean cMemoryOwn)
public Reference()
public Reference(Sensor.Reference reference)
public static long getCPtr(Sensor.Reference obj)
protected void finalize()
finalize in class java.lang.Objectpublic void delete()
public void setLocationEnabled(boolean state)
public boolean isLocationEnabled()
public void setRotationEnabled(boolean state)
public boolean isRotationEnabled()
public void setLocation(Vector3d location)
public Vector3d getLocation()
public void setRotation(Vector3d rotation)
public Vector3d getRotation()
public void setLocationAccuracy(Vector3d accuracy)
public Vector3d getLocationAccuracy()
public void setRotationAccuracy(Vector3d accuracy)
public Vector3d getRotationAccuracy()