1 package com.intel.realsense.librealsense;
3 import java.util.HashMap;
7 private Map<Option,OptionRange>
mOptionRange =
new HashMap<>();
17 if(!mOptionRange.containsKey(option)) {
20 mOptionRange.put(option, optionRange);
22 return mOptionRange.get(option);
76 private static native
float nGetValue(
long handle,
int option);
77 private static native
void nSetValue(
long handle,
int option,
float value);
79 private static native
boolean nIsReadOnly(
long handle,
int option);
static native boolean nSupports(long handle, int option)
String getDescription(Option option)
GLuint64 GLenum void * handle
void setValue(Option option, float value)
float getDefault(Option option)
::std_msgs::String_< std::allocator< void > > String
float getStep(Option option)
float getMaxRange(Option option)
float getValue(Option option)
static native String nGetDescription(long handle, int option)
Map< Option, OptionRange > mOptionRange
synchronized OptionRange getRange(Option option)
float getMinRange(Option option)
static native void nSetValue(long handle, int option, float value)
boolean supports(Option option)
static native String nGetValueDescription(long handle, int option, float value)
boolean isReadOnly(Option option)
static native float nGetValue(long handle, int option)
static native void nGetRange(long handle, int option, OptionRange outParams)
static native boolean nIsReadOnly(long handle, int option)
String valueDescription(Option option, float value)