Enum Constant and Description |
---|
CLUTTER_ZOOM_MODE
In the CLUTTER_ZOOM_MODE the
DistanceView will auto adjust the
level of zoom based on proximity to objects near by. |
CUSTOM_ZOOM_MODE
In CUSTOM_ZOOM_MODE the
DistanceView allows the user to change the
zoom level via pinch and reverse-pinch gestures. |
VELOCITY_ZOOM_MODE
In the VELOCITY_ZOOM_MODE the
DistanceView will auto adjust the
level of zoom based on the current linear velocity of the robot. |
Modifier and Type | Method and Description |
---|---|
static ZoomMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ZoomMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZoomMode CLUTTER_ZOOM_MODE
DistanceView
will auto adjust the
level of zoom based on proximity to objects near by. The view will zoom in
further when there are objects closer to the robot and vice versa.public static final ZoomMode VELOCITY_ZOOM_MODE
DistanceView
will auto adjust the
level of zoom based on the current linear velocity of the robot. The faster
the robot moves the move zoomed out the view will be.public static final ZoomMode CUSTOM_ZOOM_MODE
DistanceView
allows the user to change the
zoom level via pinch and reverse-pinch gestures.public static ZoomMode[] values()
for (ZoomMode c : ZoomMode.values()) System.out.println(c);
public static ZoomMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null