public class realsense2 extends realsense2
Modifier and Type | Field and Description |
---|---|
static int |
RS2_AMBIENT_LIGHT_LOW_AMBIENT
enum rs2_ambient_light
|
static int |
RS2_AMBIENT_LIGHT_NO_AMBIENT
enum rs2_ambient_light
|
static int |
RS2_API_BUILD_VERSION |
static String |
RS2_API_FULL_VERSION_STR |
static int |
RS2_API_MAJOR_VERSION
\file rs.h
\brief
Exposes librealsense functionality for C compilers
|
static int |
RS2_API_MINOR_VERSION |
static int |
RS2_API_PATCH_VERSION |
static int |
RS2_API_VERSION |
static String |
RS2_API_VERSION_STR |
static int |
RS2_CALIB_TARGET_COUNT
enum rs2_calib_target_type
|
static int |
RS2_CALIB_TARGET_POS_GAUSSIAN_DOT_VERTICES
enum rs2_calib_target_type
|
static int |
RS2_CALIB_TARGET_RECT_GAUSSIAN_DOT_VERTICES
enum rs2_calib_target_type
|
static int |
RS2_CALIB_TARGET_ROI_RECT_GAUSSIAN_DOT_VERTICES
enum rs2_calib_target_type
|
static int |
RS2_CALIBRATION_AUTO_DEPTH_TO_RGB
enum rs2_calibration_type
|
static int |
RS2_CALIBRATION_BAD_CONDITIONS
enum rs2_calibration_status
|
static int |
RS2_CALIBRATION_BAD_RESULT
enum rs2_calibration_status
|
static int |
RS2_CALIBRATION_FAILED
enum rs2_calibration_status
|
static int |
RS2_CALIBRATION_MANUAL_DEPTH_TO_RGB
enum rs2_calibration_type
|
static int |
RS2_CALIBRATION_NOT_NEEDED
enum rs2_calibration_status
|
static int |
RS2_CALIBRATION_RETRY
enum rs2_calibration_status
|
static int |
RS2_CALIBRATION_SCENE_INVALID
enum rs2_calibration_status
|
static int |
RS2_CALIBRATION_SPECIAL_FRAME
enum rs2_calibration_status
|
static int |
RS2_CALIBRATION_STARTED
enum rs2_calibration_status
|
static int |
RS2_CALIBRATION_STATUS_COUNT
enum rs2_calibration_status
|
static int |
RS2_CALIBRATION_STATUS_FIRST
enum rs2_calibration_status
|
static int |
RS2_CALIBRATION_STATUS_LAST
enum rs2_calibration_status
|
static int |
RS2_CALIBRATION_SUCCESSFUL
enum rs2_calibration_status
|
static int |
RS2_CALIBRATION_THERMAL
enum rs2_calibration_type
|
static int |
RS2_CALIBRATION_TRIGGERED
enum rs2_calibration_status
|
static int |
RS2_CALIBRATION_TYPE_COUNT
enum rs2_calibration_type
|
static int |
RS2_CAMERA_INFO_ADVANCED_MODE
enum rs2_camera_info
|
static int |
RS2_CAMERA_INFO_ASIC_SERIAL_NUMBER
enum rs2_camera_info
|
static int |
RS2_CAMERA_INFO_CAMERA_LOCKED
enum rs2_camera_info
|
static int |
RS2_CAMERA_INFO_COUNT
enum rs2_camera_info
|
static int |
RS2_CAMERA_INFO_DEBUG_OP_CODE
enum rs2_camera_info
|
static int |
RS2_CAMERA_INFO_FIRMWARE_UPDATE_ID
enum rs2_camera_info
|
static int |
RS2_CAMERA_INFO_FIRMWARE_VERSION
enum rs2_camera_info
|
static int |
RS2_CAMERA_INFO_IP_ADDRESS
enum rs2_camera_info
|
static int |
RS2_CAMERA_INFO_NAME
enum rs2_camera_info
|
static int |
RS2_CAMERA_INFO_PHYSICAL_PORT
enum rs2_camera_info
|
static int |
RS2_CAMERA_INFO_PRODUCT_ID
enum rs2_camera_info
|
static int |
RS2_CAMERA_INFO_PRODUCT_LINE
enum rs2_camera_info
|
static int |
RS2_CAMERA_INFO_RECOMMENDED_FIRMWARE_VERSION
enum rs2_camera_info
|
static int |
RS2_CAMERA_INFO_SERIAL_NUMBER
enum rs2_camera_info
|
static int |
RS2_CAMERA_INFO_USB_TYPE_DESCRIPTOR
enum rs2_camera_info
|
static int |
RS2_DEFAULT_TIMEOUT
\file rs_pipeline.h
\brief
Exposes RealSense processing-block functionality for C compilers
|
static int |
RS2_DIGITAL_GAIN_AUTO
enum rs2_digital_gain
|
static int |
RS2_DIGITAL_GAIN_HIGH
enum rs2_digital_gain
|
static int |
RS2_DIGITAL_GAIN_LOW
enum rs2_digital_gain
|
static int |
RS2_DISTORTION_BROWN_CONRADY
enum rs2_distortion
|
static int |
RS2_DISTORTION_COUNT
enum rs2_distortion
|
static int |
RS2_DISTORTION_FTHETA
enum rs2_distortion
|
static int |
RS2_DISTORTION_INVERSE_BROWN_CONRADY
enum rs2_distortion
|
static int |
RS2_DISTORTION_KANNALA_BRANDT4
enum rs2_distortion
|
static int |
RS2_DISTORTION_MODIFIED_BROWN_CONRADY
enum rs2_distortion
|
static int |
RS2_DISTORTION_NONE
enum rs2_distortion
|
static int |
RS2_DSM_CORRECTION_AOT
enum rs2_dsm_correction_model
|
static int |
RS2_DSM_CORRECTION_COUNT
enum rs2_dsm_correction_model
|
static int |
RS2_DSM_CORRECTION_NONE
enum rs2_dsm_correction_model
|
static int |
RS2_DSM_CORRECTION_TOA
enum rs2_dsm_correction_model
|
static int |
RS2_EMITTER_FREQUENCY_57_KHZ
enum rs2_emitter_frequency_mode
|
static int |
RS2_EMITTER_FREQUENCY_91_KHZ
enum rs2_emitter_frequency_mode
|
static int |
RS2_EMITTER_FREQUENCY_COUNT
enum rs2_emitter_frequency_mode
|
static int |
RS2_EXCEPTION_TYPE_BACKEND
enum rs2_exception_type
|
static int |
RS2_EXCEPTION_TYPE_CAMERA_DISCONNECTED
enum rs2_exception_type
|
static int |
RS2_EXCEPTION_TYPE_COUNT
enum rs2_exception_type
|
static int |
RS2_EXCEPTION_TYPE_DEVICE_IN_RECOVERY_MODE
enum rs2_exception_type
|
static int |
RS2_EXCEPTION_TYPE_INVALID_VALUE
enum rs2_exception_type
|
static int |
RS2_EXCEPTION_TYPE_IO
enum rs2_exception_type
|
static int |
RS2_EXCEPTION_TYPE_NOT_IMPLEMENTED
enum rs2_exception_type
|
static int |
RS2_EXCEPTION_TYPE_UNKNOWN
enum rs2_exception_type
|
static int |
RS2_EXCEPTION_TYPE_WRONG_API_CALL_SEQUENCE
enum rs2_exception_type
|
static int |
RS2_EXTENSION_ADVANCED_MODE
enum rs2_extension
|
static int |
RS2_EXTENSION_AUTO_CALIBRATED_DEVICE
enum rs2_extension
|
static int |
RS2_EXTENSION_AUTO_CALIBRATION_FILTER
enum rs2_extension
|
static int |
RS2_EXTENSION_CALIBRATED_SENSOR
enum rs2_extension
|
static int |
RS2_EXTENSION_CALIBRATION_CHANGE_DEVICE
enum rs2_extension
|
static int |
RS2_EXTENSION_COLOR_SENSOR
enum rs2_extension
|
static int |
RS2_EXTENSION_COMPOSITE_FRAME
enum rs2_extension
|
static int |
RS2_EXTENSION_COUNT
enum rs2_extension
|
static int |
RS2_EXTENSION_DEBUG
enum rs2_extension
|
static int |
RS2_EXTENSION_DEBUG_STREAM_SENSOR
enum rs2_extension
|
static int |
RS2_EXTENSION_DECIMATION_FILTER
enum rs2_extension
|
static int |
RS2_EXTENSION_DEPTH_FRAME
enum rs2_extension
|
static int |
RS2_EXTENSION_DEPTH_HUFFMAN_DECODER
enum rs2_extension
|
static int |
RS2_EXTENSION_DEPTH_SENSOR
enum rs2_extension
|
static int |
RS2_EXTENSION_DEPTH_STEREO_SENSOR
enum rs2_extension
|
static int |
RS2_EXTENSION_DEVICE_CALIBRATION
enum rs2_extension
|
static int |
RS2_EXTENSION_DISPARITY_FILTER
enum rs2_extension
|
static int |
RS2_EXTENSION_DISPARITY_FRAME
enum rs2_extension
|
static int |
RS2_EXTENSION_FISHEYE_SENSOR
enum rs2_extension
|
static int |
RS2_EXTENSION_FW_LOGGER
enum rs2_extension
|
static int |
RS2_EXTENSION_GLOBAL_TIMER
enum rs2_extension
|
static int |
RS2_EXTENSION_HDR_MERGE
enum rs2_extension
|
static int |
RS2_EXTENSION_HOLE_FILLING_FILTER
enum rs2_extension
|
static int |
RS2_EXTENSION_INFO
enum rs2_extension
|
static int |
RS2_EXTENSION_L500_DEPTH_SENSOR
enum rs2_extension
|
static int |
RS2_EXTENSION_MAX_USABLE_RANGE_SENSOR
enum rs2_extension
|
static int |
RS2_EXTENSION_MOTION
enum rs2_extension
|
static int |
RS2_EXTENSION_MOTION_FRAME
enum rs2_extension
|
static int |
RS2_EXTENSION_MOTION_PROFILE
enum rs2_extension
|
static int |
RS2_EXTENSION_MOTION_SENSOR
enum rs2_extension
|
static int |
RS2_EXTENSION_OPTIONS
enum rs2_extension
|
static int |
RS2_EXTENSION_PLAYBACK
enum rs2_extension
|
static int |
RS2_EXTENSION_POINTS
enum rs2_extension
|
static int |
RS2_EXTENSION_POSE
enum rs2_extension
|
static int |
RS2_EXTENSION_POSE_FRAME
enum rs2_extension
|
static int |
RS2_EXTENSION_POSE_PROFILE
enum rs2_extension
|
static int |
RS2_EXTENSION_POSE_SENSOR
enum rs2_extension
|
static int |
RS2_EXTENSION_RECOMMENDED_FILTERS
enum rs2_extension
|
static int |
RS2_EXTENSION_RECORD
enum rs2_extension
|
static int |
RS2_EXTENSION_ROI
enum rs2_extension
|
static int |
RS2_EXTENSION_SEQUENCE_ID_FILTER
enum rs2_extension
|
static int |
RS2_EXTENSION_SERIALIZABLE
enum rs2_extension
|
static int |
RS2_EXTENSION_SOFTWARE_DEVICE
enum rs2_extension
|
static int |
RS2_EXTENSION_SOFTWARE_SENSOR
enum rs2_extension
|
static int |
RS2_EXTENSION_SPATIAL_FILTER
enum rs2_extension
|
static int |
RS2_EXTENSION_TEMPORAL_FILTER
enum rs2_extension
|
static int |
RS2_EXTENSION_THRESHOLD_FILTER
enum rs2_extension
|
static int |
RS2_EXTENSION_TM2
enum rs2_extension
|
static int |
RS2_EXTENSION_TM2_SENSOR
enum rs2_extension
|
static int |
RS2_EXTENSION_UNKNOWN
enum rs2_extension
|
static int |
RS2_EXTENSION_UPDATABLE
enum rs2_extension
|
static int |
RS2_EXTENSION_UPDATE_DEVICE
enum rs2_extension
|
static int |
RS2_EXTENSION_VIDEO
enum rs2_extension
|
static int |
RS2_EXTENSION_VIDEO_FRAME
enum rs2_extension
|
static int |
RS2_EXTENSION_VIDEO_PROFILE
enum rs2_extension
|
static int |
RS2_EXTENSION_WHEEL_ODOMETER
enum rs2_extension
|
static int |
RS2_EXTENSION_ZERO_ORDER_FILTER
enum rs2_extension
|
static int |
RS2_FORMAT_6DOF
enum rs2_format
|
static int |
RS2_FORMAT_ANY
enum rs2_format
|
static int |
RS2_FORMAT_BGR8
enum rs2_format
|
static int |
RS2_FORMAT_BGRA8
enum rs2_format
|
static int |
RS2_FORMAT_COUNT
enum rs2_format
|
static int |
RS2_FORMAT_DISPARITY16
enum rs2_format
|
static int |
RS2_FORMAT_DISPARITY32
enum rs2_format
|
static int |
RS2_FORMAT_DISTANCE
enum rs2_format
|
static int |
RS2_FORMAT_FG
enum rs2_format
|
static int |
RS2_FORMAT_GPIO_RAW
enum rs2_format
|
static int |
RS2_FORMAT_INVI
enum rs2_format
|
static int |
RS2_FORMAT_INZI
enum rs2_format
|
static int |
RS2_FORMAT_MJPEG
enum rs2_format
|
static int |
RS2_FORMAT_MOTION_RAW
enum rs2_format
|
static int |
RS2_FORMAT_MOTION_XYZ32F
enum rs2_format
|
static int |
RS2_FORMAT_RAW10
enum rs2_format
|
static int |
RS2_FORMAT_RAW16
enum rs2_format
|
static int |
RS2_FORMAT_RAW8
enum rs2_format
|
static int |
RS2_FORMAT_RGB8
enum rs2_format
|
static int |
RS2_FORMAT_RGBA8
enum rs2_format
|
static int |
RS2_FORMAT_UYVY
enum rs2_format
|
static int |
RS2_FORMAT_W10
enum rs2_format
|
static int |
RS2_FORMAT_XYZ32F
enum rs2_format
|
static int |
RS2_FORMAT_Y10BPACK
enum rs2_format
|
static int |
RS2_FORMAT_Y12I
enum rs2_format
|
static int |
RS2_FORMAT_Y16
enum rs2_format
|
static int |
RS2_FORMAT_Y16I
enum rs2_format
|
static int |
RS2_FORMAT_Y411
enum rs2_format
|
static int |
RS2_FORMAT_Y8
enum rs2_format
|
static int |
RS2_FORMAT_Y8I
enum rs2_format
|
static int |
RS2_FORMAT_YUYV
enum rs2_format
|
static int |
RS2_FORMAT_Z16
enum rs2_format
|
static int |
RS2_FORMAT_Z16H
enum rs2_format
|
static int |
RS2_FRAME_METADATA_ACTUAL_EXPOSURE
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_ACTUAL_FPS
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_AUTO_EXPOSURE
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_AUTO_WHITE_BALANCE_TEMPERATURE
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_BACKEND_TIMESTAMP
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_BACKLIGHT_COMPENSATION
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_BRIGHTNESS
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_CALIB_INFO
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_CONTRAST
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_COUNT
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_CRC
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_EXPOSURE_PRIORITY
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_EXPOSURE_ROI_BOTTOM
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_EXPOSURE_ROI_LEFT
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_EXPOSURE_ROI_RIGHT
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_EXPOSURE_ROI_TOP
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_FRAME_COUNTER
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_FRAME_EMITTER_MODE
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_FRAME_LASER_POWER
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_FRAME_LASER_POWER_MODE
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_FRAME_LED_POWER
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_FRAME_TIMESTAMP
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_GAIN_LEVEL
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_GAMMA
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_GPIO_INPUT_DATA
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_HUE
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_INPUT_HEIGHT
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_INPUT_WIDTH
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_LOW_LIGHT_COMPENSATION
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_MANUAL_WHITE_BALANCE
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_POWER_LINE_FREQUENCY
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_PRESET
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_RAW_FRAME_SIZE
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_SATURATION
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_SENSOR_TIMESTAMP
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_SEQUENCE_ID
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_SEQUENCE_NAME
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_SEQUENCE_SIZE
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_SHARPNESS
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_SUB_PRESET_INFO
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_TEMPERATURE
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_TIME_OF_ARRIVAL
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_TRIGGER
enum rs2_frame_metadata_value
|
static int |
RS2_FRAME_METADATA_WHITE_BALANCE
enum rs2_frame_metadata_value
|
static int |
RS2_HOST_PERF_COUNT
enum rs2_host_perf_mode
|
static int |
RS2_HOST_PERF_DEFAULT
enum rs2_host_perf_mode
|
static int |
RS2_HOST_PERF_HIGH
enum rs2_host_perf_mode
|
static int |
RS2_HOST_PERF_LOW
enum rs2_host_perf_mode
|
static int |
RS2_L500_VISUAL_PRESET_AUTOMATIC
enum rs2_l500_visual_preset
|
static int |
RS2_L500_VISUAL_PRESET_COUNT
enum rs2_l500_visual_preset
|
static int |
RS2_L500_VISUAL_PRESET_CUSTOM
enum rs2_l500_visual_preset
|
static int |
RS2_L500_VISUAL_PRESET_DEFAULT
enum rs2_l500_visual_preset
|
static int |
RS2_L500_VISUAL_PRESET_LOW_AMBIENT
enum rs2_l500_visual_preset
|
static int |
RS2_L500_VISUAL_PRESET_MAX_RANGE
enum rs2_l500_visual_preset
|
static int |
RS2_L500_VISUAL_PRESET_NO_AMBIENT
enum rs2_l500_visual_preset
|
static int |
RS2_L500_VISUAL_PRESET_SHORT_RANGE
enum rs2_l500_visual_preset
|
static int |
RS2_LOG_SEVERITY_ALL
enum rs2_log_severity
|
static int |
RS2_LOG_SEVERITY_COUNT
enum rs2_log_severity
|
static int |
RS2_LOG_SEVERITY_DEBUG
enum rs2_log_severity
|
static int |
RS2_LOG_SEVERITY_ERROR
enum rs2_log_severity
|
static int |
RS2_LOG_SEVERITY_FATAL
enum rs2_log_severity
|
static int |
RS2_LOG_SEVERITY_INFO
enum rs2_log_severity
|
static int |
RS2_LOG_SEVERITY_NONE
enum rs2_log_severity
|
static int |
RS2_LOG_SEVERITY_WARN
enum rs2_log_severity
|
static int |
RS2_MATCHER_COUNT
enum rs2_matchers
|
static int |
RS2_MATCHER_DEFAULT
enum rs2_matchers
|
static int |
RS2_MATCHER_DI
enum rs2_matchers
|
static int |
RS2_MATCHER_DI_C
enum rs2_matchers
|
static int |
RS2_MATCHER_DIC
enum rs2_matchers
|
static int |
RS2_MATCHER_DIC_C
enum rs2_matchers
|
static int |
RS2_MATCHER_DLR
enum rs2_matchers
|
static int |
RS2_MATCHER_DLR_C
enum rs2_matchers
|
static int |
RS2_NOTIFICATION_CATEGORY_COUNT
enum rs2_notification_category
|
static int |
RS2_NOTIFICATION_CATEGORY_FIRMWARE_UPDATE_RECOMMENDED
enum rs2_notification_category
|
static int |
RS2_NOTIFICATION_CATEGORY_FRAME_CORRUPTED
enum rs2_notification_category
|
static int |
RS2_NOTIFICATION_CATEGORY_FRAMES_TIMEOUT
enum rs2_notification_category
|
static int |
RS2_NOTIFICATION_CATEGORY_HARDWARE_ERROR
enum rs2_notification_category
|
static int |
RS2_NOTIFICATION_CATEGORY_HARDWARE_EVENT
enum rs2_notification_category
|
static int |
RS2_NOTIFICATION_CATEGORY_POSE_RELOCALIZATION
enum rs2_notification_category
|
static int |
RS2_NOTIFICATION_CATEGORY_UNKNOWN_ERROR
enum rs2_notification_category
|
static int |
RS2_OPTION_ACCURACY
enum rs2_option
|
static int |
RS2_OPTION_ALTERNATE_IR
enum rs2_option
|
static int |
RS2_OPTION_AMBIENT_LIGHT
enum rs2_option
|
static int |
RS2_OPTION_APD_TEMPERATURE
enum rs2_option
|
static int |
RS2_OPTION_ASIC_TEMPERATURE
enum rs2_option
|
static int |
RS2_OPTION_AUTO_EXPOSURE_CONVERGE_STEP
enum rs2_option
|
static int |
RS2_OPTION_AUTO_EXPOSURE_LIMIT
enum rs2_option
|
static int |
RS2_OPTION_AUTO_EXPOSURE_LIMIT_TOGGLE
enum rs2_option
|
static int |
RS2_OPTION_AUTO_EXPOSURE_MODE
enum rs2_option
|
static int |
RS2_OPTION_AUTO_EXPOSURE_PRIORITY
enum rs2_option
|
static int |
RS2_OPTION_AUTO_GAIN_LIMIT
enum rs2_option
|
static int |
RS2_OPTION_AUTO_GAIN_LIMIT_TOGGLE
enum rs2_option
|
static int |
RS2_OPTION_AUTO_RX_SENSITIVITY
enum rs2_option
|
static int |
RS2_OPTION_AVALANCHE_PHOTO_DIODE
enum rs2_option
|
static int |
RS2_OPTION_BACKLIGHT_COMPENSATION
enum rs2_option
|
static int |
RS2_OPTION_BRIGHTNESS
enum rs2_option
|
static int |
RS2_OPTION_COLOR_SCHEME
enum rs2_option
|
static int |
RS2_OPTION_CONFIDENCE_THRESHOLD
enum rs2_option
|
static int |
RS2_OPTION_CONTRAST
enum rs2_option
|
static int |
RS2_OPTION_COUNT
enum rs2_option
|
static int |
RS2_OPTION_DEPTH_OFFSET
enum rs2_option
|
static int |
RS2_OPTION_DEPTH_UNITS
enum rs2_option
|
static int |
RS2_OPTION_DIGITAL_GAIN
enum rs2_option
|
static int |
RS2_OPTION_EMITTER_ALWAYS_ON
enum rs2_option
|
static int |
RS2_OPTION_EMITTER_ENABLED
enum rs2_option
|
static int |
RS2_OPTION_EMITTER_FREQUENCY
enum rs2_option
|
static int |
RS2_OPTION_EMITTER_ON_OFF
enum rs2_option
|
static int |
RS2_OPTION_ENABLE_AUTO_EXPOSURE
enum rs2_option
|
static int |
RS2_OPTION_ENABLE_AUTO_WHITE_BALANCE
enum rs2_option
|
static int |
RS2_OPTION_ENABLE_DYNAMIC_CALIBRATION
enum rs2_option
|
static int |
RS2_OPTION_ENABLE_IR_REFLECTIVITY
enum rs2_option
|
static int |
RS2_OPTION_ENABLE_MAP_PRESERVATION
enum rs2_option
|
static int |
RS2_OPTION_ENABLE_MAPPING
enum rs2_option
|
static int |
RS2_OPTION_ENABLE_MAX_USABLE_RANGE
enum rs2_option
|
static int |
RS2_OPTION_ENABLE_MOTION_CORRECTION
enum rs2_option
|
static int |
RS2_OPTION_ENABLE_POSE_JUMPING
enum rs2_option
|
static int |
RS2_OPTION_ENABLE_RELOCALIZATION
enum rs2_option
|
static int |
RS2_OPTION_ERROR_POLLING_ENABLED
enum rs2_option
|
static int |
RS2_OPTION_EXPOSURE
enum rs2_option
|
static int |
RS2_OPTION_FILTER_MAGNITUDE
enum rs2_option
|
static int |
RS2_OPTION_FILTER_OPTION
enum rs2_option
|
static int |
RS2_OPTION_FILTER_SMOOTH_ALPHA
enum rs2_option
|
static int |
RS2_OPTION_FILTER_SMOOTH_DELTA
enum rs2_option
|
static int |
RS2_OPTION_FRAMES_QUEUE_SIZE
enum rs2_option
|
static int |
RS2_OPTION_FREEFALL_DETECTION_ENABLED
enum rs2_option
|
static int |
RS2_OPTION_GAIN
enum rs2_option
|
static int |
RS2_OPTION_GAMMA
enum rs2_option
|
static int |
RS2_OPTION_GLOBAL_TIME_ENABLED
enum rs2_option
|
static int |
RS2_OPTION_HARDWARE_PRESET
enum rs2_option
|
static int |
RS2_OPTION_HDR_ENABLED
enum rs2_option
|
static int |
RS2_OPTION_HISTOGRAM_EQUALIZATION_ENABLED
enum rs2_option
|
static int |
RS2_OPTION_HOLES_FILL
enum rs2_option
|
static int |
RS2_OPTION_HOST_PERFORMANCE
enum rs2_option
|
static int |
RS2_OPTION_HUE
enum rs2_option
|
static int |
RS2_OPTION_HUMIDITY_TEMPERATURE
enum rs2_option
|
static int |
RS2_OPTION_INTER_CAM_SYNC_MODE
enum rs2_option
|
static int |
RS2_OPTION_INVALIDATION_BYPASS
enum rs2_option
|
static int |
RS2_OPTION_LASER_POWER
enum rs2_option
|
static int |
RS2_OPTION_LED_POWER
enum rs2_option
|
static int |
RS2_OPTION_LLD_TEMPERATURE
enum rs2_option
|
static int |
RS2_OPTION_MA_TEMPERATURE
enum rs2_option
|
static int |
RS2_OPTION_MAX_DISTANCE
enum rs2_option
|
static int |
RS2_OPTION_MC_TEMPERATURE
enum rs2_option
|
static int |
RS2_OPTION_MIN_DISTANCE
enum rs2_option
|
static int |
RS2_OPTION_MOTION_MODULE_TEMPERATURE
enum rs2_option
|
static int |
RS2_OPTION_MOTION_RANGE
enum rs2_option
|
static int |
RS2_OPTION_NOISE_ESTIMATION
enum rs2_option
|
static int |
RS2_OPTION_NOISE_FILTERING
enum rs2_option
|
static int |
RS2_OPTION_OUTPUT_TRIGGER_ENABLED
enum rs2_option
|
static int |
RS2_OPTION_POST_PROCESSING_SHARPENING
enum rs2_option
|
static int |
RS2_OPTION_POWER_LINE_FREQUENCY
enum rs2_option
|
static int |
RS2_OPTION_PRE_PROCESSING_SHARPENING
enum rs2_option
|
static int |
RS2_OPTION_PROJECTOR_TEMPERATURE
enum rs2_option
|
static int |
RS2_OPTION_RECEIVER_SENSITIVITY
enum rs2_option
|
static int |
RS2_OPTION_RESET_CAMERA_ACCURACY_HEALTH
enum rs2_option
|
static int |
RS2_OPTION_SATURATION
enum rs2_option
|
static int |
RS2_OPTION_SENSOR_MODE
enum rs2_option
|
static int |
RS2_OPTION_SEQUENCE_ID
enum rs2_option
|
static int |
RS2_OPTION_SEQUENCE_NAME
enum rs2_option
|
static int |
RS2_OPTION_SEQUENCE_SIZE
enum rs2_option
|
static int |
RS2_OPTION_SHARPNESS
enum rs2_option
|
static int |
RS2_OPTION_STEREO_BASELINE
enum rs2_option
|
static int |
RS2_OPTION_STREAM_FILTER
enum rs2_option
|
static int |
RS2_OPTION_STREAM_FORMAT_FILTER
enum rs2_option
|
static int |
RS2_OPTION_STREAM_INDEX_FILTER
enum rs2_option
|
static int |
RS2_OPTION_TEXTURE_SOURCE
enum rs2_option
|
static int |
RS2_OPTION_THERMAL_COMPENSATION
enum rs2_option
|
static int |
RS2_OPTION_TOTAL_FRAME_DROPS
enum rs2_option
|
static int |
RS2_OPTION_TRANSMITTER_FREQUENCY
enum rs2_option
|
static int |
RS2_OPTION_TRIGGER_CAMERA_ACCURACY_HEALTH
enum rs2_option
|
static int |
RS2_OPTION_VERTICAL_BINNING
enum rs2_option
|
static int |
RS2_OPTION_VISUAL_PRESET
enum rs2_option
|
static int |
RS2_OPTION_WHITE_BALANCE
enum rs2_option
|
static int |
RS2_OPTION_ZERO_ORDER_ENABLED
enum rs2_option
|
static int |
RS2_OPTION_ZERO_ORDER_POINT_X
enum rs2_option
|
static int |
RS2_OPTION_ZERO_ORDER_POINT_Y
enum rs2_option
|
static int |
RS2_PLAYBACK_STATUS_COUNT
enum rs2_playback_status
|
static int |
RS2_PLAYBACK_STATUS_PAUSED
enum rs2_playback_status
|
static int |
RS2_PLAYBACK_STATUS_PLAYING
enum rs2_playback_status
|
static int |
RS2_PLAYBACK_STATUS_STOPPED
enum rs2_playback_status
|
static int |
RS2_PLAYBACK_STATUS_UNKNOWN
enum rs2_playback_status
|
static int |
RS2_PRODUCT_LINE_ANY |
static int |
RS2_PRODUCT_LINE_ANY_INTEL |
static int |
RS2_PRODUCT_LINE_D400 |
static int |
RS2_PRODUCT_LINE_DEPTH |
static int |
RS2_PRODUCT_LINE_L500 |
static int |
RS2_PRODUCT_LINE_NON_INTEL |
static int |
RS2_PRODUCT_LINE_SR300 |
static int |
RS2_PRODUCT_LINE_T200 |
static int |
RS2_PRODUCT_LINE_TRACKING |
static int |
RS2_RS400_VISUAL_PRESET_COUNT
enum rs2_rs400_visual_preset
|
static int |
RS2_RS400_VISUAL_PRESET_CUSTOM
enum rs2_rs400_visual_preset
|
static int |
RS2_RS400_VISUAL_PRESET_DEFAULT
enum rs2_rs400_visual_preset
|
static int |
RS2_RS400_VISUAL_PRESET_HAND
enum rs2_rs400_visual_preset
|
static int |
RS2_RS400_VISUAL_PRESET_HIGH_ACCURACY
enum rs2_rs400_visual_preset
|
static int |
RS2_RS400_VISUAL_PRESET_HIGH_DENSITY
enum rs2_rs400_visual_preset
|
static int |
RS2_RS400_VISUAL_PRESET_MEDIUM_DENSITY
enum rs2_rs400_visual_preset
|
static int |
RS2_RS400_VISUAL_PRESET_REMOVE_IR_PATTERN
enum rs2_rs400_visual_preset
|
static int |
RS2_SENSOR_MODE_COUNT
enum rs2_sensor_mode
|
static int |
RS2_SENSOR_MODE_QVGA
enum rs2_sensor_mode
|
static int |
RS2_SENSOR_MODE_VGA
enum rs2_sensor_mode
|
static int |
RS2_SENSOR_MODE_XGA
enum rs2_sensor_mode
|
static int |
RS2_SR300_VISUAL_PRESET_BACKGROUND_SEGMENTATION
enum rs2_sr300_visual_preset
|
static int |
RS2_SR300_VISUAL_PRESET_COUNT
enum rs2_sr300_visual_preset
|
static int |
RS2_SR300_VISUAL_PRESET_DEFAULT
enum rs2_sr300_visual_preset
|
static int |
RS2_SR300_VISUAL_PRESET_FACE_ANALYTICS
enum rs2_sr300_visual_preset
|
static int |
RS2_SR300_VISUAL_PRESET_FACE_LOGIN
enum rs2_sr300_visual_preset
|
static int |
RS2_SR300_VISUAL_PRESET_GESTURE_RECOGNITION
enum rs2_sr300_visual_preset
|
static int |
RS2_SR300_VISUAL_PRESET_GR_CURSOR
enum rs2_sr300_visual_preset
|
static int |
RS2_SR300_VISUAL_PRESET_IR_ONLY
enum rs2_sr300_visual_preset
|
static int |
RS2_SR300_VISUAL_PRESET_LONG_RANGE
enum rs2_sr300_visual_preset
|
static int |
RS2_SR300_VISUAL_PRESET_MID_RANGE
enum rs2_sr300_visual_preset
|
static int |
RS2_SR300_VISUAL_PRESET_OBJECT_SCANNING
enum rs2_sr300_visual_preset
|
static int |
RS2_SR300_VISUAL_PRESET_SHORT_RANGE
enum rs2_sr300_visual_preset
|
static int |
RS2_STREAM_ACCEL
enum rs2_stream
|
static int |
RS2_STREAM_ANY
enum rs2_stream
|
static int |
RS2_STREAM_COLOR
enum rs2_stream
|
static int |
RS2_STREAM_CONFIDENCE
enum rs2_stream
|
static int |
RS2_STREAM_COUNT
enum rs2_stream
|
static int |
RS2_STREAM_DEPTH
enum rs2_stream
|
static int |
RS2_STREAM_FISHEYE
enum rs2_stream
|
static int |
RS2_STREAM_GPIO
enum rs2_stream
|
static int |
RS2_STREAM_GYRO
enum rs2_stream
|
static int |
RS2_STREAM_INFRARED
enum rs2_stream
|
static int |
RS2_STREAM_POSE
enum rs2_stream
|
static int |
RS2_TIMESTAMP_DOMAIN_COUNT
enum rs2_timestamp_domain
|
static int |
RS2_TIMESTAMP_DOMAIN_GLOBAL_TIME
enum rs2_timestamp_domain
|
static int |
RS2_TIMESTAMP_DOMAIN_HARDWARE_CLOCK
enum rs2_timestamp_domain
|
static int |
RS2_TIMESTAMP_DOMAIN_SYSTEM_TIME
enum rs2_timestamp_domain
|
static int |
RS2_UNSIGNED_UPDATE_MODE_FULL |
static int |
RS2_UNSIGNED_UPDATE_MODE_READ_ONLY |
static int |
RS2_UNSIGNED_UPDATE_MODE_UPDATE |
Constructor and Description |
---|
realsense2() |
Modifier and Type | Method and Description |
---|---|
static rs2_frame |
rs2_allocate_composite_frame(rs2_source source,
PointerPointer frames,
int count,
PointerPointer error)
Allocate new composite frame, aggregating a set of existing frames
|
static rs2_frame |
rs2_allocate_composite_frame(rs2_source source,
rs2_frame frames,
int count,
rs2_error error) |
static rs2_frame |
rs2_allocate_points(rs2_source source,
rs2_stream_profile new_stream,
rs2_frame original,
PointerPointer error)
Allocate new points frame using a frame-source provided from a processing block
|
static rs2_frame |
rs2_allocate_points(rs2_source source,
rs2_stream_profile new_stream,
rs2_frame original,
rs2_error error) |
static rs2_frame |
rs2_allocate_synthetic_motion_frame(rs2_source source,
rs2_stream_profile new_stream,
rs2_frame original,
int frame_type,
PointerPointer error)
Allocate new motion frame using a frame-source provided form a processing block
|
static rs2_frame |
rs2_allocate_synthetic_motion_frame(rs2_source source,
rs2_stream_profile new_stream,
rs2_frame original,
int frame_type,
rs2_error error) |
static rs2_frame |
rs2_allocate_synthetic_video_frame(rs2_source source,
rs2_stream_profile new_stream,
rs2_frame original,
int new_bpp,
int new_width,
int new_height,
int new_stride,
int frame_type,
PointerPointer error)
Allocate new video frame using a frame-source provided form a processing block
|
static rs2_frame |
rs2_allocate_synthetic_video_frame(rs2_source source,
rs2_stream_profile new_stream,
rs2_frame original,
int new_bpp,
int new_width,
int new_height,
int new_stride,
int frame_type,
rs2_error error) |
static String |
RS2_API_FULL_VERSION_STR() |
static String |
RS2_API_VERSION_STR() |
static rs2_raw_data_buffer |
rs2_build_debug_protocol_command(rs2_device device,
int opcode,
int param1,
int param2,
int param3,
int param4,
Pointer data,
int size_of_data,
PointerPointer error)
Build debug_protocol raw data command from opcode, parameters and data.
|
static rs2_raw_data_buffer |
rs2_build_debug_protocol_command(rs2_device device,
int opcode,
int param1,
int param2,
int param3,
int param4,
Pointer data,
int size_of_data,
rs2_error error) |
static float |
rs2_calculate_target_z_cpp(rs2_device device,
rs2_frame_queue queue1,
rs2_frame_queue queue2,
rs2_frame_queue queue3,
float target_width,
float target_height,
rs2_update_progress_callback callback,
PointerPointer error)
Calculate Z for calibration target - distance to the target's plane
|
static float |
rs2_calculate_target_z_cpp(rs2_device device,
rs2_frame_queue queue1,
rs2_frame_queue queue2,
rs2_frame_queue queue3,
float target_width,
float target_height,
rs2_update_progress_callback callback,
rs2_error error) |
static float |
rs2_calculate_target_z(rs2_device device,
rs2_frame_queue queue1,
rs2_frame_queue queue2,
rs2_frame_queue queue3,
float target_width,
float target_height,
rs2_update_progress_callback_ptr progress_callback,
Pointer client_data,
PointerPointer error)
Calculate Z for calibration target - distance to the target's plane
|
static float |
rs2_calculate_target_z(rs2_device device,
rs2_frame_queue queue1,
rs2_frame_queue queue2,
rs2_frame_queue queue3,
float target_width,
float target_height,
rs2_update_progress_callback_ptr progress_callback,
Pointer client_data,
rs2_error error) |
static BytePointer |
rs2_calib_target_type_to_string(int type) |
static BytePointer |
rs2_calibration_status_to_string(int arg0) |
static BytePointer |
rs2_calibration_type_to_string(int arg0) |
static BytePointer |
rs2_camera_info_to_string(int info) |
static int |
rs2_check_firmware_compatibility(rs2_device device,
Pointer fw_image,
int fw_image_size,
PointerPointer error)
Checks if the device and the provided firmware image are compatible
|
static int |
rs2_check_firmware_compatibility(rs2_device device,
Pointer fw_image,
int fw_image_size,
rs2_error error) |
static rs2_stream_profile |
rs2_clone_stream_profile(rs2_stream_profile mode,
int stream,
int index,
int format,
PointerPointer error)
Creates a copy of stream profile, assigning new values to some of the fields
|
static rs2_stream_profile |
rs2_clone_stream_profile(rs2_stream_profile mode,
int stream,
int index,
int format,
rs2_error error) |
static rs2_stream_profile |
rs2_clone_video_stream_profile(rs2_stream_profile mode,
int stream,
int index,
int format,
int width,
int height,
rs2_intrinsics intr,
PointerPointer error)
Creates a copy of stream profile, assigning new values to some of the fields
|
static rs2_stream_profile |
rs2_clone_video_stream_profile(rs2_stream_profile mode,
int stream,
int index,
int format,
int width,
int height,
rs2_intrinsics intr,
rs2_error error) |
static void |
rs2_close(rs2_sensor sensor,
PointerPointer error)
stop any streaming from specified subdevice
|
static void |
rs2_close(rs2_sensor sensor,
rs2_error error) |
static int |
rs2_config_can_resolve(rs2_config config,
rs2_pipeline pipe,
PointerPointer error)
Check if the config can resolve the configuration filters, to find a matching device and streams profiles.
|
static int |
rs2_config_can_resolve(rs2_config config,
rs2_pipeline pipe,
rs2_error error) |
static void |
rs2_config_disable_all_streams(rs2_config config,
PointerPointer error)
Disable all device stream explicitly, to remove any requests on the streams profiles.
|
static void |
rs2_config_disable_all_streams(rs2_config config,
rs2_error error) |
static void |
rs2_config_disable_indexed_stream(rs2_config config,
int stream,
int index,
PointerPointer error)
Disable a device stream explicitly, to remove any requests on this stream profile.
|
static void |
rs2_config_disable_indexed_stream(rs2_config config,
int stream,
int index,
rs2_error error) |
static void |
rs2_config_disable_stream(rs2_config config,
int stream,
PointerPointer error)
Disable a device stream explicitly, to remove any requests on this stream type.
|
static void |
rs2_config_disable_stream(rs2_config config,
int stream,
rs2_error error) |
static void |
rs2_config_enable_all_stream(rs2_config config,
PointerPointer error)
Enable all device streams explicitly.
|
static void |
rs2_config_enable_all_stream(rs2_config config,
rs2_error error) |
static void |
rs2_config_enable_device_from_file_repeat_option(rs2_config config,
BytePointer file,
int repeat_playback,
PointerPointer error)
Select a recorded device from a file, to be used by the pipeline through playback.
|
static void |
rs2_config_enable_device_from_file_repeat_option(rs2_config config,
BytePointer file,
int repeat_playback,
rs2_error error) |
static void |
rs2_config_enable_device_from_file_repeat_option(rs2_config config,
String file,
int repeat_playback,
rs2_error error) |
static void |
rs2_config_enable_device_from_file(rs2_config config,
BytePointer file,
PointerPointer error)
Select a recorded device from a file, to be used by the pipeline through playback.
|
static void |
rs2_config_enable_device_from_file(rs2_config config,
BytePointer file,
rs2_error error) |
static void |
rs2_config_enable_device_from_file(rs2_config config,
String file,
rs2_error error) |
static void |
rs2_config_enable_device(rs2_config config,
BytePointer serial,
PointerPointer error)
Select a specific device explicitly by its serial number, to be used by the pipeline.
|
static void |
rs2_config_enable_device(rs2_config config,
BytePointer serial,
rs2_error error) |
static void |
rs2_config_enable_device(rs2_config config,
String serial,
rs2_error error) |
static void |
rs2_config_enable_record_to_file(rs2_config config,
BytePointer file,
PointerPointer error)
Requires that the resolved device would be recorded to file
This request cannot be used if enable_device_from_file() is called for the current config, and vise versa
|
static void |
rs2_config_enable_record_to_file(rs2_config config,
BytePointer file,
rs2_error error) |
static void |
rs2_config_enable_record_to_file(rs2_config config,
String file,
rs2_error error) |
static void |
rs2_config_enable_stream(rs2_config config,
int stream,
int index,
int width,
int height,
int format,
int framerate,
PointerPointer error)
Enable a device stream explicitly, with selected stream parameters.
|
static void |
rs2_config_enable_stream(rs2_config config,
int stream,
int index,
int width,
int height,
int format,
int framerate,
rs2_error error) |
static rs2_pipeline_profile |
rs2_config_resolve(rs2_config config,
rs2_pipeline pipe,
PointerPointer error)
Resolve the configuration filters, to find a matching device and streams profiles.
|
static rs2_pipeline_profile |
rs2_config_resolve(rs2_config config,
rs2_pipeline pipe,
rs2_error error) |
static void |
rs2_connect_tm2_controller(rs2_device device,
byte[] mac_addr,
rs2_error error) |
static void |
rs2_connect_tm2_controller(rs2_device device,
ByteBuffer mac_addr,
rs2_error error) |
static void |
rs2_connect_tm2_controller(rs2_device device,
BytePointer mac_addr,
PointerPointer error)
Connects to a given tm2 controller
|
static void |
rs2_connect_tm2_controller(rs2_device device,
BytePointer mac_addr,
rs2_error error) |
static rs2_device |
rs2_context_add_device(rs2_context ctx,
BytePointer file,
PointerPointer error)
Create a new device and add it to the context
|
static rs2_device |
rs2_context_add_device(rs2_context ctx,
BytePointer file,
rs2_error error) |
static rs2_device |
rs2_context_add_device(rs2_context ctx,
String file,
rs2_error error) |
static void |
rs2_context_add_software_device(rs2_context ctx,
rs2_device dev,
PointerPointer error)
Add an instance of software device to the context
|
static void |
rs2_context_add_software_device(rs2_context ctx,
rs2_device dev,
rs2_error error) |
static void |
rs2_context_remove_device(rs2_context ctx,
BytePointer file,
PointerPointer error)
Removes a playback device from the context, if exists
|
static void |
rs2_context_remove_device(rs2_context ctx,
BytePointer file,
rs2_error error) |
static void |
rs2_context_remove_device(rs2_context ctx,
String file,
rs2_error error) |
static void |
rs2_context_unload_tracking_module(rs2_context ctx,
PointerPointer error)
Removes tracking module.
|
static void |
rs2_context_unload_tracking_module(rs2_context ctx,
rs2_error error) |
static rs2_processing_block |
rs2_create_align(int align_to,
PointerPointer error)
Creates Align processing block.
|
static rs2_processing_block |
rs2_create_align(int align_to,
rs2_error error) |
static rs2_processing_block |
rs2_create_colorizer(PointerPointer error)
Creates Depth-Colorizer processing block that can be used to quickly visualize the depth data
This block will accept depth frames as input and replace them by depth frames with format RGB8
Non-depth frames are passed through
Further customization will be added soon (format, color-map, histogram equalization control)
|
static rs2_processing_block |
rs2_create_colorizer(rs2_error error) |
static rs2_config |
rs2_create_config(PointerPointer error)
Create a config instance
The config allows pipeline users to request filters for the pipeline streams and device selection and configuration.
|
static rs2_config |
rs2_create_config(rs2_error error) |
static rs2_context |
rs2_create_context(int api_version,
PointerPointer error)
\brief Creates RealSense context that is required for the rest of the API.
|
static rs2_context |
rs2_create_context(int api_version,
rs2_error error) |
static rs2_processing_block |
rs2_create_decimation_filter_block(PointerPointer error)
Creates Depth post-processing filter block.
|
static rs2_processing_block |
rs2_create_decimation_filter_block(rs2_error error) |
static rs2_device |
rs2_create_device_from_sensor(rs2_sensor sensor,
PointerPointer error)
This is a helper function allowing the user to discover the device from one of its sensors
|
static rs2_device |
rs2_create_device_from_sensor(rs2_sensor sensor,
rs2_error error) |
static rs2_device_hub |
rs2_create_device_hub(rs2_context context,
PointerPointer error)
\brief Creates RealSense device_hub .
|
static rs2_device_hub |
rs2_create_device_hub(rs2_context context,
rs2_error error) |
static rs2_device |
rs2_create_device(rs2_device_list info_list,
int index,
PointerPointer error)
Creates a device by index.
|
static rs2_device |
rs2_create_device(rs2_device_list info_list,
int index,
rs2_error error) |
static rs2_processing_block |
rs2_create_disparity_transform_block(byte transform_to_disparity,
PointerPointer error)
Creates a post processing block that provides for depth<->disparity domain transformation for stereo-based depth modules
|
static rs2_processing_block |
rs2_create_disparity_transform_block(byte transform_to_disparity,
rs2_error error) |
static rs2_error |
rs2_create_error(BytePointer what,
BytePointer name,
BytePointer args,
int type)
Metadata attribute type is defined as 64 bit signed integer
|
static rs2_error |
rs2_create_error(String what,
String name,
String args,
int type) |
static rs2_raw_data_buffer |
rs2_create_flash_backup_cpp(rs2_device device,
rs2_update_progress_callback callback,
PointerPointer error)
Create backup of camera flash memory.
|
static rs2_raw_data_buffer |
rs2_create_flash_backup_cpp(rs2_device device,
rs2_update_progress_callback callback,
rs2_error error) |
static rs2_raw_data_buffer |
rs2_create_flash_backup(rs2_device device,
rs2_update_progress_callback_ptr callback,
Pointer client_data,
PointerPointer error)
Create backup of camera flash memory.
|
static rs2_raw_data_buffer |
rs2_create_flash_backup(rs2_device device,
rs2_update_progress_callback_ptr callback,
Pointer client_data,
rs2_error error) |
static rs2_frame_queue |
rs2_create_frame_queue(int _capacity,
PointerPointer error)
create frame queue.
|
static rs2_frame_queue |
rs2_create_frame_queue(int _capacity,
rs2_error error) |
static rs2_processing_block |
rs2_create_hdr_merge_processing_block(PointerPointer error)
Creates a hdr_merge processing block.
|
static rs2_processing_block |
rs2_create_hdr_merge_processing_block(rs2_error error) |
static rs2_processing_block |
rs2_create_hole_filling_filter_block(PointerPointer error)
Creates Depth post-processing hole filling block.
|
static rs2_processing_block |
rs2_create_hole_filling_filter_block(rs2_error error) |
static rs2_processing_block |
rs2_create_huffman_depth_decompress_block(PointerPointer error)
Creates Depth frame decompression module.
|
static rs2_processing_block |
rs2_create_huffman_depth_decompress_block(rs2_error error) |
static rs2_pipeline |
rs2_create_pipeline(rs2_context ctx,
PointerPointer error)
Create a pipeline instance
The pipeline simplifies the user interaction with the device and computer vision processing modules.
|
static rs2_pipeline |
rs2_create_pipeline(rs2_context ctx,
rs2_error error) |
static rs2_processing_block |
rs2_create_pointcloud(PointerPointer error)
Creates Point-Cloud processing block.
|
static rs2_processing_block |
rs2_create_pointcloud(rs2_error error) |
static rs2_processing_block |
rs2_create_processing_block_fptr(rs2_frame_processor_callback_ptr proc,
Pointer context,
PointerPointer error)
This method creates new custom processing block from function pointer.
|
static rs2_processing_block |
rs2_create_processing_block_fptr(rs2_frame_processor_callback_ptr proc,
Pointer context,
rs2_error error) |
static rs2_processing_block |
rs2_create_processing_block(rs2_frame_processor_callback proc,
PointerPointer error)
This method creates new custom processing block.
|
static rs2_processing_block |
rs2_create_processing_block(rs2_frame_processor_callback proc,
rs2_error error) |
static rs2_processing_block |
rs2_create_rates_printer_block(PointerPointer error)
Creates a rates printer block.
|
static rs2_processing_block |
rs2_create_rates_printer_block(rs2_error error) |
static rs2_device |
rs2_create_record_device_ex(rs2_device device,
BytePointer file,
int compression_enabled,
PointerPointer error)
Creates a recording device to record the given device and save it to the given file
|
static rs2_device |
rs2_create_record_device_ex(rs2_device device,
BytePointer file,
int compression_enabled,
rs2_error error) |
static rs2_device |
rs2_create_record_device_ex(rs2_device device,
String file,
int compression_enabled,
rs2_error error) |
static rs2_device |
rs2_create_record_device(rs2_device device,
BytePointer file,
PointerPointer error)
Creates a recording device to record the given device and save it to the given file
|
static rs2_device |
rs2_create_record_device(rs2_device device,
BytePointer file,
rs2_error error) |
static rs2_device |
rs2_create_record_device(rs2_device device,
String file,
rs2_error error) |
static rs2_sensor |
rs2_create_sensor(rs2_sensor_list list,
int index,
PointerPointer error)
create sensor by index
|
static rs2_sensor |
rs2_create_sensor(rs2_sensor_list list,
int index,
rs2_error error) |
static rs2_processing_block |
rs2_create_sequence_id_filter(PointerPointer error)
Creates a sequence_id_filter processing block.
|
static rs2_processing_block |
rs2_create_sequence_id_filter(rs2_error error) |
static rs2_processing_block |
rs2_create_spatial_filter_block(PointerPointer error)
Creates Depth post-processing spatial filter block.
|
static rs2_processing_block |
rs2_create_spatial_filter_block(rs2_error error) |
static rs2_processing_block |
rs2_create_sync_processing_block(PointerPointer error)
Creates Sync processing block.
|
static rs2_processing_block |
rs2_create_sync_processing_block(rs2_error error) |
static rs2_processing_block |
rs2_create_temporal_filter_block(PointerPointer error)
Creates Depth post-processing filter block.
|
static rs2_processing_block |
rs2_create_temporal_filter_block(rs2_error error) |
static rs2_processing_block |
rs2_create_threshold(PointerPointer error)
Creates depth thresholding processing block
By controlling min and max options on the block, one could filter out depth values
that are either too large or too small, as a software post-processing step
|
static rs2_processing_block |
rs2_create_threshold(rs2_error error) |
static rs2_processing_block |
rs2_create_units_transform(PointerPointer error)
Creates depth units transformation processing block
All of the pixels are transformed from depth units into meters.
|
static rs2_processing_block |
rs2_create_units_transform(rs2_error error) |
static rs2_processing_block |
rs2_create_yuy_decoder(PointerPointer error)
Creates YUY decoder processing block.
|
static rs2_processing_block |
rs2_create_yuy_decoder(rs2_error error) |
static rs2_processing_block |
rs2_create_zero_order_invalidation_block(PointerPointer error)
Creates Depth post-processing zero order fix block.
|
static rs2_processing_block |
rs2_create_zero_order_invalidation_block(rs2_error error) |
static void |
rs2_delete_config(rs2_config config)
Deletes an instance of a config
|
static void |
rs2_delete_context(rs2_context context)
\brief Frees the relevant context object.
|
static void |
rs2_delete_device_hub(rs2_device_hub hub)
\brief Frees the relevant device hub object.
|
static void |
rs2_delete_device_list(rs2_device_list info_list)
Deletes device list, any devices created using this list will remain unaffected.
|
static void |
rs2_delete_device(rs2_device device)
Delete RealSense device
|
static void |
rs2_delete_frame_queue(rs2_frame_queue queue)
deletes frame queue and releases all frames inside it
|
static void |
rs2_delete_options_list(rs2_options_list list)
Deletes options list
|
static void |
rs2_delete_pipeline_profile(rs2_pipeline_profile profile)
Deletes an instance of a pipeline profile
|
static void |
rs2_delete_pipeline(rs2_pipeline pipe)
Delete a pipeline instance.
|
static void |
rs2_delete_processing_block(rs2_processing_block block)
Deletes the processing block
|
static void |
rs2_delete_raw_data(rs2_raw_data_buffer buffer)
Delete rs2_raw_data_buffer
|
static void |
rs2_delete_recommended_processing_blocks(rs2_processing_block_list list)
Deletes processing blocks list
|
static void |
rs2_delete_sensor_list(rs2_sensor_list info_list)
Deletes sensors list, any sensors created from this list will remain unaffected
|
static void |
rs2_delete_sensor(rs2_sensor sensor)
delete relasense sensor
|
static void |
rs2_delete_stream_profile(rs2_stream_profile mode)
Delete stream profile allocated by rs2_clone_stream_profile
Should not be called on stream profiles returned by the device
|
static void |
rs2_delete_stream_profiles_list(rs2_stream_profile_list list)
delete stream profiles list
|
static void |
rs2_deproject_pixel_to_point(float[] point,
rs2_intrinsics intrin,
float[] pixel,
float depth) |
static void |
rs2_deproject_pixel_to_point(FloatBuffer point,
rs2_intrinsics intrin,
FloatBuffer pixel,
float depth) |
static void |
rs2_deproject_pixel_to_point(FloatPointer point,
rs2_intrinsics intrin,
FloatPointer pixel,
float depth) |
static float |
rs2_depth_frame_get_distance(rs2_frame frame_ref,
int x,
int y,
PointerPointer error)
Given the 2D depth coordinate (x,y) provide the corresponding depth in metric units
|
static float |
rs2_depth_frame_get_distance(rs2_frame frame_ref,
int x,
int y,
rs2_error error) |
static float |
rs2_depth_frame_get_units(rs2_frame frame,
PointerPointer error)
retrieve the scaling factor to use when converting a depth frame's get_data() units to meters
|
static float |
rs2_depth_frame_get_units(rs2_frame frame,
rs2_error error) |
static float |
rs2_depth_stereo_frame_get_baseline(rs2_frame frame_ref,
PointerPointer error)
Retrieve the stereoscopic baseline value from frame.
|
static float |
rs2_depth_stereo_frame_get_baseline(rs2_frame frame_ref,
rs2_error error) |
static int |
rs2_device_hub_is_device_connected(rs2_device_hub hub,
rs2_device device,
PointerPointer error)
Checks if device is still connected
|
static int |
rs2_device_hub_is_device_connected(rs2_device_hub hub,
rs2_device device,
rs2_error error) |
static rs2_device |
rs2_device_hub_wait_for_device(rs2_device_hub hub,
PointerPointer error)
If any device is connected return it, otherwise wait until next RealSense device connects.
|
static rs2_device |
rs2_device_hub_wait_for_device(rs2_device_hub hub,
rs2_error error) |
static int |
rs2_device_list_contains(rs2_device_list info_list,
rs2_device device,
PointerPointer error)
Checks if a specific device is contained inside a device list.
|
static int |
rs2_device_list_contains(rs2_device_list info_list,
rs2_device device,
rs2_error error) |
static void |
rs2_disconnect_tm2_controller(rs2_device device,
int id,
PointerPointer error)
Disconnects a given tm2 controller
|
static void |
rs2_disconnect_tm2_controller(rs2_device device,
int id,
rs2_error error) |
static BytePointer |
rs2_distortion_to_string(int distortion) |
static int |
rs2_embedded_frames_count(rs2_frame composite,
PointerPointer error)
Get number of frames embedded within a composite frame
|
static int |
rs2_embedded_frames_count(rs2_frame composite,
rs2_error error) |
static BytePointer |
rs2_emitter_frequency_mode_to_string(int mode) |
static void |
rs2_enable_rolling_log_file(int max_size,
PointerPointer error)
Enable rolling log file when used with rs2_log_to_file:
Upon reaching (max_size/2) bytes, the log will be renamed with an ".old" suffix and a new log created.
|
static void |
rs2_enable_rolling_log_file(int max_size,
rs2_error error) |
static void |
rs2_enqueue_frame(rs2_frame frame,
Pointer queue)
enqueue new frame into a queue
|
static void |
rs2_enter_update_state(rs2_device device,
PointerPointer error)
Enter the device to update state, this will cause the updatable device to disconnect and reconnect as update device.
|
static void |
rs2_enter_update_state(rs2_device device,
rs2_error error) |
static BytePointer |
rs2_exception_type_to_string(int type) |
static rs2_raw_data_buffer |
rs2_export_localization_map(rs2_sensor sensor,
PointerPointer error)
Extract and store the localization map of tm2 tracking device to file
|
static rs2_raw_data_buffer |
rs2_export_localization_map(rs2_sensor sensor,
rs2_error error) |
static void |
rs2_export_to_ply(rs2_frame frame,
BytePointer fname,
rs2_frame texture,
PointerPointer error)
When called on Points frame type, this method creates a ply file of the model with the given file name.
|
static void |
rs2_export_to_ply(rs2_frame frame,
BytePointer fname,
rs2_frame texture,
rs2_error error) |
static void |
rs2_export_to_ply(rs2_frame frame,
String fname,
rs2_frame texture,
rs2_error error) |
static BytePointer |
rs2_extension_to_string(int type) |
static BytePointer |
rs2_extension_type_to_string(int type) |
static rs2_frame |
rs2_extract_frame(rs2_frame composite,
int index,
PointerPointer error)
Extract frame from within a composite frame
|
static rs2_frame |
rs2_extract_frame(rs2_frame composite,
int index,
rs2_error error) |
static void |
rs2_extract_target_dimensions(rs2_frame frame,
int calib_type,
float[] target_dims,
int target_dims_size,
rs2_error error) |
static void |
rs2_extract_target_dimensions(rs2_frame frame,
int calib_type,
FloatBuffer target_dims,
int target_dims_size,
rs2_error error) |
static void |
rs2_extract_target_dimensions(rs2_frame frame,
int calib_type,
FloatPointer target_dims,
int target_dims_size,
PointerPointer error)
Extract the target dimensions on the specific target
|
static void |
rs2_extract_target_dimensions(rs2_frame frame,
int calib_type,
FloatPointer target_dims,
int target_dims_size,
rs2_error error) |
static BytePointer |
rs2_format_to_string(int format) |
static void |
rs2_fov(rs2_intrinsics intrin,
float[] to_fov) |
static void |
rs2_fov(rs2_intrinsics intrin,
FloatBuffer to_fov) |
static void |
rs2_fov(rs2_intrinsics intrin,
FloatPointer to_fov) |
static void |
rs2_frame_add_ref(rs2_frame frame,
PointerPointer error)
create additional reference to a frame without duplicating frame data
|
static void |
rs2_frame_add_ref(rs2_frame frame,
rs2_error error) |
static BytePointer |
rs2_frame_metadata_to_string(int metadata) |
static BytePointer |
rs2_frame_metadata_value_to_string(int metadata) |
static int |
rs2_frame_queue_size(rs2_frame_queue queue,
PointerPointer error)
queries the number of frames
|
static int |
rs2_frame_queue_size(rs2_frame_queue queue,
rs2_error error) |
static void |
rs2_free_error(rs2_error error) |
static rs2_stream_profile_list |
rs2_get_active_streams(rs2_sensor sensor,
PointerPointer error)
check how subdevice is streaming
|
static rs2_stream_profile_list |
rs2_get_active_streams(rs2_sensor sensor,
rs2_error error) |
static void |
rs2_get_ae_control(rs2_device dev,
STAEControl group,
int mode,
PointerPointer error) |
static void |
rs2_get_ae_control(rs2_device dev,
STAEControl group,
int mode,
rs2_error error) |
static void |
rs2_get_amp_factor(rs2_device dev,
STAFactor group,
int mode,
PointerPointer error) |
static void |
rs2_get_amp_factor(rs2_device dev,
STAFactor group,
int mode,
rs2_error error) |
static int |
rs2_get_api_version(PointerPointer error)
Retrieve the API version from the source code.
|
static int |
rs2_get_api_version(rs2_error error) |
static rs2_raw_data_buffer |
rs2_get_calibration_table(rs2_device dev,
PointerPointer error)
Read current calibration table from flash.
|
static rs2_raw_data_buffer |
rs2_get_calibration_table(rs2_device dev,
rs2_error error) |
static void |
rs2_get_census(rs2_device dev,
STCensusRadius group,
int mode,
PointerPointer error) |
static void |
rs2_get_census(rs2_device dev,
STCensusRadius group,
int mode,
rs2_error error) |
static void |
rs2_get_color_control(rs2_device dev,
STColorControl group,
int mode,
PointerPointer error) |
static void |
rs2_get_color_control(rs2_device dev,
STColorControl group,
int mode,
rs2_error error) |
static void |
rs2_get_color_correction(rs2_device dev,
STColorCorrection group,
int mode,
PointerPointer error) |
static void |
rs2_get_color_correction(rs2_device dev,
STColorCorrection group,
int mode,
rs2_error error) |
static rs2_stream_profile_list |
rs2_get_debug_stream_profiles(rs2_sensor sensor,
PointerPointer error)
retrieve list of debug stream profiles that given subdevice can provide
|
static rs2_stream_profile_list |
rs2_get_debug_stream_profiles(rs2_sensor sensor,
rs2_error error) |
static void |
rs2_get_depth_control(rs2_device dev,
STDepthControlGroup group,
int mode,
PointerPointer error) |
static void |
rs2_get_depth_control(rs2_device dev,
STDepthControlGroup group,
int mode,
rs2_error error) |
static float |
rs2_get_depth_scale(rs2_sensor sensor,
PointerPointer error)
When called on a depth sensor, this method will return the number of meters represented by a single depth unit
|
static float |
rs2_get_depth_scale(rs2_sensor sensor,
rs2_error error) |
static void |
rs2_get_depth_table(rs2_device dev,
STDepthTableControl group,
int mode,
PointerPointer error) |
static void |
rs2_get_depth_table(rs2_device dev,
STDepthTableControl group,
int mode,
rs2_error error) |
static int |
rs2_get_device_count(rs2_device_list info_list,
PointerPointer error)
Determines number of devices in a list.
|
static int |
rs2_get_device_count(rs2_device_list info_list,
rs2_error error) |
static BytePointer |
rs2_get_device_info(rs2_device device,
int info,
PointerPointer error)
Retrieve camera specific information, like versions of various internal components.
|
static BytePointer |
rs2_get_device_info(rs2_device device,
int info,
rs2_error error) |
static void |
rs2_get_dsm_params(rs2_sensor sensor,
rs2_dsm_params p_params_out,
PointerPointer error)
Get the DSM parameters for a sensor
|
static void |
rs2_get_dsm_params(rs2_sensor sensor,
rs2_dsm_params p_params_out,
rs2_error error) |
static BytePointer |
rs2_get_error_message(rs2_error error) |
static void |
rs2_get_extrinsics(rs2_stream_profile from,
rs2_stream_profile to,
rs2_extrinsics extrin,
PointerPointer error) |
static void |
rs2_get_extrinsics(rs2_stream_profile from,
rs2_stream_profile to,
rs2_extrinsics extrin,
rs2_error error) |
static BytePointer |
rs2_get_failed_args(rs2_error error) |
static BytePointer |
rs2_get_failed_function(rs2_error error) |
static int |
rs2_get_frame_bits_per_pixel(rs2_frame frame,
PointerPointer error)
retrieve bits per pixels in the frame image
(note that bits per pixel is not necessarily divided by 8, as in 12bpp)
|
static int |
rs2_get_frame_bits_per_pixel(rs2_frame frame,
rs2_error error) |
static long |
rs2_get_frame_data_address(rs2_frame frame,
PointerPointer error) |
static long |
rs2_get_frame_data_address(rs2_frame frame,
rs2_error error) |
static int |
rs2_get_frame_data_size(rs2_frame frame,
PointerPointer error)
retrieve data size from frame handle
|
static int |
rs2_get_frame_data_size(rs2_frame frame,
rs2_error error) |
static Pointer |
rs2_get_frame_data(rs2_frame frame,
PointerPointer error)
retrieve data from frame handle
|
static Pointer |
rs2_get_frame_data(rs2_frame frame,
rs2_error error) |
static int |
rs2_get_frame_height(rs2_frame frame,
PointerPointer error)
retrieve frame height in pixels
|
static int |
rs2_get_frame_height(rs2_frame frame,
rs2_error error) |
static long |
rs2_get_frame_metadata(rs2_frame frame,
int frame_metadata,
PointerPointer error)
retrieve metadata from frame handle
|
static long |
rs2_get_frame_metadata(rs2_frame frame,
int frame_metadata,
rs2_error error) |
static long |
rs2_get_frame_number(rs2_frame frame,
PointerPointer error)
retrieve frame number from frame handle
|
static long |
rs2_get_frame_number(rs2_frame frame,
rs2_error error) |
static int |
rs2_get_frame_points_count(rs2_frame frame,
PointerPointer error)
When called on Points frame type, this method returns the number of vertices in the frame
|
static int |
rs2_get_frame_points_count(rs2_frame frame,
rs2_error error) |
static rs2_sensor |
rs2_get_frame_sensor(rs2_frame frame,
PointerPointer error)
retrieve frame parent sensor from frame handle
|
static rs2_sensor |
rs2_get_frame_sensor(rs2_frame frame,
rs2_error error) |
static rs2_stream_profile |
rs2_get_frame_stream_profile(rs2_frame frame,
PointerPointer error)
Returns the stream profile that was used to start the stream of this frame
|
static rs2_stream_profile |
rs2_get_frame_stream_profile(rs2_frame frame,
rs2_error error) |
static int |
rs2_get_frame_stride_in_bytes(rs2_frame frame,
PointerPointer error)
retrieve frame stride in bytes (number of bytes from start of line N to start of line N+1)
|
static int |
rs2_get_frame_stride_in_bytes(rs2_frame frame,
rs2_error error) |
static rs2_pixel |
rs2_get_frame_texture_coordinates(rs2_frame frame,
PointerPointer error)
When called on Points frame type, this method returns a pointer to an array of texture coordinates per vertex
Each coordinate represent a (u,v) pair within [0,1] range, to be mapped to texture image
|
static rs2_pixel |
rs2_get_frame_texture_coordinates(rs2_frame frame,
rs2_error error) |
static int |
rs2_get_frame_timestamp_domain(rs2_frame frameset,
PointerPointer error)
retrieve timestamp domain from frame handle.
|
static int |
rs2_get_frame_timestamp_domain(rs2_frame frameset,
rs2_error error) |
static double |
rs2_get_frame_timestamp(rs2_frame frame,
PointerPointer error)
retrieve timestamp from frame handle in milliseconds
|
static double |
rs2_get_frame_timestamp(rs2_frame frame,
rs2_error error) |
static rs2_vertex |
rs2_get_frame_vertices(rs2_frame frame,
PointerPointer error)
When called on Points frame type, this method returns a pointer to an array of 3D vertices of the model
The coordinate system is: X right, Y up, Z away from the camera.
|
static rs2_vertex |
rs2_get_frame_vertices(rs2_frame frame,
rs2_error error) |
static int |
rs2_get_frame_width(rs2_frame frame,
PointerPointer error)
retrieve frame width in pixels
|
static int |
rs2_get_frame_width(rs2_frame frame,
rs2_error error) |
static BytePointer |
rs2_get_full_log_message(rs2_log_message msg,
PointerPointer error) |
static BytePointer |
rs2_get_full_log_message(rs2_log_message msg,
rs2_error error) |
static void |
rs2_get_hdad(rs2_device dev,
STHdad group,
int mode,
PointerPointer error) |
static void |
rs2_get_hdad(rs2_device dev,
STHdad group,
int mode,
rs2_error error) |
static int |
rs2_get_librealsense_exception_type(rs2_error error) |
static BytePointer |
rs2_get_log_message_filename(rs2_log_message msg,
PointerPointer error) |
static BytePointer |
rs2_get_log_message_filename(rs2_log_message msg,
rs2_error error) |
static int |
rs2_get_log_message_line_number(rs2_log_message msg,
PointerPointer error) |
static int |
rs2_get_log_message_line_number(rs2_log_message msg,
rs2_error error) |
static float |
rs2_get_max_usable_depth_range(rs2_sensor sensor,
PointerPointer error)
When called on a depth sensor, this method will return the maximum range of the camera given the amount of ambient light in the scene
|
static float |
rs2_get_max_usable_depth_range(rs2_sensor sensor,
rs2_error error) |
static void |
rs2_get_motion_intrinsics(rs2_stream_profile mode,
rs2_motion_device_intrinsic intrinsics,
PointerPointer error)
Obtain the intrinsics of a specific stream configuration from the device.
|
static void |
rs2_get_motion_intrinsics(rs2_stream_profile mode,
rs2_motion_device_intrinsic intrinsics,
rs2_error error) |
static int |
rs2_get_notification_category(rs2_notification notification,
PointerPointer error)
retrieve category from notification handle
|
static int |
rs2_get_notification_category(rs2_notification notification,
rs2_error error) |
static BytePointer |
rs2_get_notification_description(rs2_notification notification,
PointerPointer error)
retrieve description from notification handle
|
static BytePointer |
rs2_get_notification_description(rs2_notification notification,
rs2_error error) |
static BytePointer |
rs2_get_notification_serialized_data(rs2_notification notification,
PointerPointer error)
retrieve serialized data from notification handle
|
static BytePointer |
rs2_get_notification_serialized_data(rs2_notification notification,
rs2_error error) |
static int |
rs2_get_notification_severity(rs2_notification notification,
PointerPointer error)
retrieve severity from notification handle
|
static int |
rs2_get_notification_severity(rs2_notification notification,
rs2_error error) |
static double |
rs2_get_notification_timestamp(rs2_notification notification,
PointerPointer error)
retrieve timestamp from notification handle
|
static double |
rs2_get_notification_timestamp(rs2_notification notification,
rs2_error error) |
static BytePointer |
rs2_get_option_description(rs2_options options,
int option,
PointerPointer error)
get option description
|
static BytePointer |
rs2_get_option_description(rs2_options options,
int option,
rs2_error error) |
static int |
rs2_get_option_from_list(rs2_options_list options,
int i,
PointerPointer error)
get the specific option from options list
|
static int |
rs2_get_option_from_list(rs2_options_list options,
int i,
rs2_error error) |
static BytePointer |
rs2_get_option_name(rs2_options options,
int option,
PointerPointer error)
get option name
|
static BytePointer |
rs2_get_option_name(rs2_options options,
int option,
rs2_error error) |
static void |
rs2_get_option_range(rs2_options sensor,
int option,
float[] min,
float[] max,
float[] step,
float[] def,
rs2_error error) |
static void |
rs2_get_option_range(rs2_options sensor,
int option,
FloatBuffer min,
FloatBuffer max,
FloatBuffer step,
FloatBuffer def,
rs2_error error) |
static void |
rs2_get_option_range(rs2_options sensor,
int option,
FloatPointer min,
FloatPointer max,
FloatPointer step,
FloatPointer def,
PointerPointer error)
retrieve the available range of values of a supported option
|
static void |
rs2_get_option_range(rs2_options sensor,
int option,
FloatPointer min,
FloatPointer max,
FloatPointer step,
FloatPointer def,
rs2_error error) |
static BytePointer |
rs2_get_option_value_description(rs2_options options,
int option,
float value,
PointerPointer error)
get option value description (in case specific option value hold special meaning)
|
static BytePointer |
rs2_get_option_value_description(rs2_options options,
int option,
float value,
rs2_error error) |
static float |
rs2_get_option(rs2_options options,
int option,
PointerPointer error)
read option value from the sensor
|
static float |
rs2_get_option(rs2_options options,
int option,
rs2_error error) |
static int |
rs2_get_options_list_size(rs2_options_list options,
PointerPointer error)
get the size of options list
|
static int |
rs2_get_options_list_size(rs2_options_list options,
rs2_error error) |
static rs2_options_list |
rs2_get_options_list(rs2_options options,
PointerPointer error)
get the list of supported options of options container
|
static rs2_options_list |
rs2_get_options_list(rs2_options options,
rs2_error error) |
static BytePointer |
rs2_get_processing_block_info(rs2_processing_block block,
int info,
PointerPointer error)
Retrieve processing block specific information, like name.
|
static BytePointer |
rs2_get_processing_block_info(rs2_processing_block block,
int info,
rs2_error error) |
static rs2_processing_block |
rs2_get_processing_block(rs2_processing_block_list list,
int index,
PointerPointer error)
Returns specific processing blocks from processing blocks list
|
static rs2_processing_block |
rs2_get_processing_block(rs2_processing_block_list list,
int index,
rs2_error error) |
static void |
rs2_get_rau_support_vector_control(rs2_device dev,
STRauSupportVectorControl group,
int mode,
PointerPointer error) |
static void |
rs2_get_rau_support_vector_control(rs2_device dev,
STRauSupportVectorControl group,
int mode,
rs2_error error) |
static void |
rs2_get_rau_thresholds_control(rs2_device dev,
STRauColorThresholdsControl group,
int mode,
PointerPointer error) |
static void |
rs2_get_rau_thresholds_control(rs2_device dev,
STRauColorThresholdsControl group,
int mode,
rs2_error error) |
static int |
rs2_get_raw_data_size(rs2_raw_data_buffer buffer,
PointerPointer error)
get the size of rs2_raw_data_buffer
|
static int |
rs2_get_raw_data_size(rs2_raw_data_buffer buffer,
rs2_error error) |
static BytePointer |
rs2_get_raw_data(rs2_raw_data_buffer buffer,
PointerPointer error)
Retrieve char array from rs2_raw_data_buffer
|
static BytePointer |
rs2_get_raw_data(rs2_raw_data_buffer buffer,
rs2_error error) |
static BytePointer |
rs2_get_raw_log_message(rs2_log_message msg,
PointerPointer error) |
static BytePointer |
rs2_get_raw_log_message(rs2_log_message msg,
rs2_error error) |
static int |
rs2_get_recommended_processing_blocks_count(rs2_processing_block_list list,
PointerPointer error)
Returns the processing blocks list size
|
static int |
rs2_get_recommended_processing_blocks_count(rs2_processing_block_list list,
rs2_error error) |
static rs2_processing_block_list |
rs2_get_recommended_processing_blocks(rs2_sensor sensor,
PointerPointer error)
Returns the list of recommended processing blocks for a specific sensor.
|
static rs2_processing_block_list |
rs2_get_recommended_processing_blocks(rs2_sensor sensor,
rs2_error error) |
static void |
rs2_get_region_of_interest(rs2_sensor sensor,
int[] min_x,
int[] min_y,
int[] max_x,
int[] max_y,
rs2_error error) |
static void |
rs2_get_region_of_interest(rs2_sensor sensor,
IntBuffer min_x,
IntBuffer min_y,
IntBuffer max_x,
IntBuffer max_y,
rs2_error error) |
static void |
rs2_get_region_of_interest(rs2_sensor sensor,
IntPointer min_x,
IntPointer min_y,
IntPointer max_x,
IntPointer max_y,
PointerPointer error)
\brief gets the active region of interest to be used by auto-exposure algorithm
|
static void |
rs2_get_region_of_interest(rs2_sensor sensor,
IntPointer min_x,
IntPointer min_y,
IntPointer max_x,
IntPointer max_y,
rs2_error error) |
static void |
rs2_get_rsm(rs2_device dev,
STRsm group,
int mode,
PointerPointer error) |
static void |
rs2_get_rsm(rs2_device dev,
STRsm group,
int mode,
rs2_error error) |
static BytePointer |
rs2_get_sensor_info(rs2_sensor sensor,
int info,
PointerPointer error)
retrieve sensor specific information, like versions of various internal components
|
static BytePointer |
rs2_get_sensor_info(rs2_sensor sensor,
int info,
rs2_error error) |
static int |
rs2_get_sensors_count(rs2_sensor_list info_list,
PointerPointer error)
Determines number of sensors in a list
|
static int |
rs2_get_sensors_count(rs2_sensor_list info_list,
rs2_error error) |
static void |
rs2_get_slo_color_thresholds_control(rs2_device dev,
STSloColorThresholdsControl group,
int mode,
PointerPointer error) |
static void |
rs2_get_slo_color_thresholds_control(rs2_device dev,
STSloColorThresholdsControl group,
int mode,
rs2_error error) |
static void |
rs2_get_slo_penalty_control(rs2_device dev,
STSloPenaltyControl group,
int mode,
PointerPointer error) |
static void |
rs2_get_slo_penalty_control(rs2_device dev,
STSloPenaltyControl group,
int mode,
rs2_error error) |
static int |
rs2_get_static_node(rs2_sensor sensor,
BytePointer guid,
rs2_vector pos,
rs2_quaternion orient,
PointerPointer error)
Retrieve a named location tag
|
static int |
rs2_get_static_node(rs2_sensor sensor,
BytePointer guid,
rs2_vector pos,
rs2_quaternion orient,
rs2_error error) |
static int |
rs2_get_static_node(rs2_sensor sensor,
String guid,
rs2_vector pos,
rs2_quaternion orient,
rs2_error error) |
static float |
rs2_get_stereo_baseline(rs2_sensor sensor,
PointerPointer error)
Retrieve the stereoscopic baseline value from sensor.
|
static float |
rs2_get_stereo_baseline(rs2_sensor sensor,
rs2_error error) |
static void |
rs2_get_stream_profile_data(rs2_stream_profile mode,
int[] stream,
int[] format,
int[] index,
int[] unique_id,
int[] framerate,
rs2_error error) |
static void |
rs2_get_stream_profile_data(rs2_stream_profile mode,
IntBuffer stream,
IntBuffer format,
IntBuffer index,
IntBuffer unique_id,
IntBuffer framerate,
rs2_error error) |
static void |
rs2_get_stream_profile_data(rs2_stream_profile mode,
IntPointer stream,
IntPointer format,
IntPointer index,
IntPointer unique_id,
IntPointer framerate,
PointerPointer error)
Extract common parameters of a stream profiles
|
static void |
rs2_get_stream_profile_data(rs2_stream_profile mode,
IntPointer stream,
IntPointer format,
IntPointer index,
IntPointer unique_id,
IntPointer framerate,
rs2_error error) |
static rs2_stream_profile |
rs2_get_stream_profile(rs2_stream_profile_list list,
int index,
PointerPointer error)
Get pointer to specific stream profile
|
static rs2_stream_profile |
rs2_get_stream_profile(rs2_stream_profile_list list,
int index,
rs2_error error) |
static int |
rs2_get_stream_profiles_count(rs2_stream_profile_list list,
PointerPointer error)
get the number of supported stream profiles
|
static int |
rs2_get_stream_profiles_count(rs2_stream_profile_list list,
rs2_error error) |
static rs2_stream_profile_list |
rs2_get_stream_profiles(rs2_sensor sensor,
PointerPointer error)
check if physical subdevice is supported
|
static rs2_stream_profile_list |
rs2_get_stream_profiles(rs2_sensor sensor,
rs2_error error) |
static double |
rs2_get_time(PointerPointer error)
return the time at specific time point
|
static double |
rs2_get_time(rs2_error error) |
static void |
rs2_get_video_stream_intrinsics(rs2_stream_profile mode,
rs2_intrinsics intrinsics,
PointerPointer error)
When called on a video profile, returns the intrinsics of specific stream configuration
|
static void |
rs2_get_video_stream_intrinsics(rs2_stream_profile mode,
rs2_intrinsics intrinsics,
rs2_error error) |
static void |
rs2_get_video_stream_resolution(rs2_stream_profile mode,
int[] width,
int[] height,
rs2_error error) |
static void |
rs2_get_video_stream_resolution(rs2_stream_profile mode,
IntBuffer width,
IntBuffer height,
rs2_error error) |
static void |
rs2_get_video_stream_resolution(rs2_stream_profile mode,
IntPointer width,
IntPointer height,
PointerPointer error)
When called on a video stream profile, will return the width and the height of the stream
|
static void |
rs2_get_video_stream_resolution(rs2_stream_profile mode,
IntPointer width,
IntPointer height,
rs2_error error) |
static void |
rs2_hardware_reset(rs2_device device,
PointerPointer error)
Send hardware reset request to the device.
|
static void |
rs2_hardware_reset(rs2_device device,
rs2_error error) |
static BytePointer |
rs2_host_perf_mode_to_string(int perf) |
static int |
rs2_import_localization_map(rs2_sensor sensor,
byte[] lmap_blob,
int blob_size,
rs2_error error) |
static int |
rs2_import_localization_map(rs2_sensor sensor,
ByteBuffer lmap_blob,
int blob_size,
rs2_error error) |
static int |
rs2_import_localization_map(rs2_sensor sensor,
BytePointer lmap_blob,
int blob_size,
PointerPointer error)
Imports a localization map from file to tm2 tracking device
|
static int |
rs2_import_localization_map(rs2_sensor sensor,
BytePointer lmap_blob,
int blob_size,
rs2_error error) |
static int |
rs2_is_device_extendable_to(rs2_device device,
int extension,
PointerPointer error)
Test if the given device can be extended to the requested extension.
|
static int |
rs2_is_device_extendable_to(rs2_device device,
int extension,
rs2_error error) |
static void |
rs2_is_enabled(rs2_device dev,
int[] enabled,
rs2_error error) |
static void |
rs2_is_enabled(rs2_device dev,
IntBuffer enabled,
rs2_error error) |
static void |
rs2_is_enabled(rs2_device dev,
IntPointer enabled,
PointerPointer error) |
static void |
rs2_is_enabled(rs2_device dev,
IntPointer enabled,
rs2_error error) |
static int |
rs2_is_frame_extendable_to(rs2_frame frame,
int extension_type,
PointerPointer error)
Test if the given frame can be extended to the requested extension
|
static int |
rs2_is_frame_extendable_to(rs2_frame frame,
int extension_type,
rs2_error error) |
static int |
rs2_is_option_read_only(rs2_options options,
int option,
PointerPointer error)
check if an option is read-only
|
static int |
rs2_is_option_read_only(rs2_options options,
int option,
rs2_error error) |
static int |
rs2_is_processing_block_extendable_to(rs2_processing_block block,
int extension_type,
PointerPointer error)
Test if the given processing block can be extended to the requested extension
|
static int |
rs2_is_processing_block_extendable_to(rs2_processing_block block,
int extension_type,
rs2_error error) |
static int |
rs2_is_sensor_extendable_to(rs2_sensor sensor,
int extension,
PointerPointer error)
Test if the given sensor can be extended to the requested extension
|
static int |
rs2_is_sensor_extendable_to(rs2_sensor sensor,
int extension,
rs2_error error) |
static int |
rs2_is_stream_profile_default(rs2_stream_profile mode,
PointerPointer error)
Returns non-zero if selected profile is recommended for the sensor
This is an optional hint we offer to suggest profiles with best performance-quality tradeof
|
static int |
rs2_is_stream_profile_default(rs2_stream_profile mode,
rs2_error error) |
static void |
rs2_keep_frame(rs2_frame frame)
communicate to the library you intend to keep the frame alive for a while
this will remove the frame from the regular count of the frame pool
once this function is called, the SDK can no longer guarantee 0-allocations during frame cycling
|
static BytePointer |
rs2_l500_visual_preset_to_string(int preset) |
static void |
rs2_load_json(rs2_device dev,
Pointer json_content,
int content_size,
PointerPointer error) |
static void |
rs2_load_json(rs2_device dev,
Pointer json_content,
int content_size,
rs2_error error) |
static int |
rs2_load_wheel_odometry_config(rs2_sensor sensor,
byte[] odometry_config_buf,
int blob_size,
rs2_error error) |
static int |
rs2_load_wheel_odometry_config(rs2_sensor sensor,
ByteBuffer odometry_config_buf,
int blob_size,
rs2_error error) |
static int |
rs2_load_wheel_odometry_config(rs2_sensor sensor,
BytePointer odometry_config_buf,
int blob_size,
PointerPointer error)
Load Wheel odometer settings from host to device
|
static int |
rs2_load_wheel_odometry_config(rs2_sensor sensor,
BytePointer odometry_config_buf,
int blob_size,
rs2_error error) |
static BytePointer |
rs2_log_severity_to_string(int info) |
static void |
rs2_log_to_callback_cpp(int min_severity,
rs2_log_callback callback,
PointerPointer error) |
static void |
rs2_log_to_callback_cpp(int min_severity,
rs2_log_callback callback,
rs2_error error) |
static void |
rs2_log_to_callback(int min_severity,
rs2_log_callback_ptr callback,
Pointer arg,
PointerPointer error) |
static void |
rs2_log_to_callback(int min_severity,
rs2_log_callback_ptr callback,
Pointer arg,
rs2_error error) |
static void |
rs2_log_to_console(int min_severity,
PointerPointer error) |
static void |
rs2_log_to_console(int min_severity,
rs2_error error) |
static void |
rs2_log_to_file(int min_severity,
BytePointer file_path,
PointerPointer error) |
static void |
rs2_log_to_file(int min_severity,
BytePointer file_path,
rs2_error error) |
static void |
rs2_log_to_file(int min_severity,
String file_path,
rs2_error error) |
static void |
rs2_log(int severity,
BytePointer message,
PointerPointer error)
Add custom message into librealsense log
|
static void |
rs2_log(int severity,
BytePointer message,
rs2_error error) |
static void |
rs2_log(int severity,
String message,
rs2_error error) |
static void |
rs2_loopback_disable(rs2_device device,
PointerPointer error)
Restores the given device into normal operation mode
|
static void |
rs2_loopback_disable(rs2_device device,
rs2_error error) |
static void |
rs2_loopback_enable(rs2_device device,
BytePointer from_file,
PointerPointer error)
Enter the given device into loopback operation mode that uses the given file as input for raw data
|
static void |
rs2_loopback_enable(rs2_device device,
BytePointer from_file,
rs2_error error) |
static void |
rs2_loopback_enable(rs2_device device,
String from_file,
rs2_error error) |
static int |
rs2_loopback_is_enabled(rs2_device device,
PointerPointer error)
Checks if the device is in loopback mode or not
|
static int |
rs2_loopback_is_enabled(rs2_device device,
rs2_error error) |
static BytePointer |
rs2_matchers_to_string(int stream) |
static BytePointer |
rs2_notification_category_to_string(int category) |
static void |
rs2_open_multiple(rs2_sensor device,
PointerPointer profiles,
int count,
PointerPointer error)
open subdevice for exclusive access, by committing to composite configuration, specifying one or more stream profiles
this method should be used for interdependent streams, such as depth and infrared, that have to be configured together
|
static void |
rs2_open_multiple(rs2_sensor device,
rs2_stream_profile profiles,
int count,
rs2_error error) |
static void |
rs2_open(rs2_sensor device,
rs2_stream_profile profile,
PointerPointer error)
open subdevice for exclusive access, by committing to a configuration
|
static void |
rs2_open(rs2_sensor device,
rs2_stream_profile profile,
rs2_error error) |
static BytePointer |
rs2_option_to_string(int option) |
static void |
rs2_override_dsm_params(rs2_sensor sensor,
rs2_dsm_params p_params,
PointerPointer error)
Set the sensor DSM parameters
This should ideally be done when the stream is NOT running.
|
static void |
rs2_override_dsm_params(rs2_sensor sensor,
rs2_dsm_params p_params,
rs2_error error) |
static void |
rs2_override_extrinsics(rs2_sensor sensor,
rs2_extrinsics extrinsics,
PointerPointer error)
\brief Override extrinsics of a given sensor that supports calibrated_sensor.
|
static void |
rs2_override_extrinsics(rs2_sensor sensor,
rs2_extrinsics extrinsics,
rs2_error error) |
static void |
rs2_override_intrinsics(rs2_sensor sensor,
rs2_intrinsics intrinsics,
PointerPointer error)
\brief Override intrinsics of a given sensor that supports calibrated_sensor.
|
static void |
rs2_override_intrinsics(rs2_sensor sensor,
rs2_intrinsics intrinsics,
rs2_error error) |
static rs2_pipeline_profile |
rs2_pipeline_get_active_profile(rs2_pipeline pipe,
PointerPointer error)
Return the active device and streams profiles, used by the pipeline.
|
static rs2_pipeline_profile |
rs2_pipeline_get_active_profile(rs2_pipeline pipe,
rs2_error error) |
static int |
rs2_pipeline_poll_for_frames(rs2_pipeline pipe,
PointerPointer output_frame,
PointerPointer error)
Check if a new set of frames is available and retrieve the latest undelivered set.
|
static int |
rs2_pipeline_poll_for_frames(rs2_pipeline pipe,
rs2_frame output_frame,
rs2_error error) |
static rs2_device |
rs2_pipeline_profile_get_device(rs2_pipeline_profile profile,
PointerPointer error)
Retrieve the device used by the pipeline.
|
static rs2_device |
rs2_pipeline_profile_get_device(rs2_pipeline_profile profile,
rs2_error error) |
static rs2_stream_profile_list |
rs2_pipeline_profile_get_streams(rs2_pipeline_profile profile,
PointerPointer error)
Return the selected streams profiles, which are enabled in this profile.
|
static rs2_stream_profile_list |
rs2_pipeline_profile_get_streams(rs2_pipeline_profile profile,
rs2_error error) |
static rs2_pipeline_profile |
rs2_pipeline_start_with_callback_cpp(rs2_pipeline pipe,
rs2_frame_callback callback,
PointerPointer error)
Start the pipeline streaming with its default configuration.
|
static rs2_pipeline_profile |
rs2_pipeline_start_with_callback_cpp(rs2_pipeline pipe,
rs2_frame_callback callback,
rs2_error error) |
static rs2_pipeline_profile |
rs2_pipeline_start_with_callback(rs2_pipeline pipe,
rs2_frame_callback_ptr on_frame,
Pointer user,
PointerPointer error)
Start the pipeline streaming with its default configuration.
|
static rs2_pipeline_profile |
rs2_pipeline_start_with_callback(rs2_pipeline pipe,
rs2_frame_callback_ptr on_frame,
Pointer user,
rs2_error error) |
static rs2_pipeline_profile |
rs2_pipeline_start_with_config_and_callback_cpp(rs2_pipeline pipe,
rs2_config config,
rs2_frame_callback callback,
PointerPointer error)
Start the pipeline streaming according to the configuraion.
|
static rs2_pipeline_profile |
rs2_pipeline_start_with_config_and_callback_cpp(rs2_pipeline pipe,
rs2_config config,
rs2_frame_callback callback,
rs2_error error) |
static rs2_pipeline_profile |
rs2_pipeline_start_with_config_and_callback(rs2_pipeline pipe,
rs2_config config,
rs2_frame_callback_ptr on_frame,
Pointer user,
PointerPointer error)
Start the pipeline streaming according to the configuraion.
|
static rs2_pipeline_profile |
rs2_pipeline_start_with_config_and_callback(rs2_pipeline pipe,
rs2_config config,
rs2_frame_callback_ptr on_frame,
Pointer user,
rs2_error error) |
static rs2_pipeline_profile |
rs2_pipeline_start_with_config(rs2_pipeline pipe,
rs2_config config,
PointerPointer error)
Start the pipeline streaming according to the configuraion.
|
static rs2_pipeline_profile |
rs2_pipeline_start_with_config(rs2_pipeline pipe,
rs2_config config,
rs2_error error) |
static rs2_pipeline_profile |
rs2_pipeline_start(rs2_pipeline pipe,
PointerPointer error)
Start the pipeline streaming with its default configuration.
|
static rs2_pipeline_profile |
rs2_pipeline_start(rs2_pipeline pipe,
rs2_error error) |
static void |
rs2_pipeline_stop(rs2_pipeline pipe,
PointerPointer error)
Stop the pipeline streaming.
|
static void |
rs2_pipeline_stop(rs2_pipeline pipe,
rs2_error error) |
static int |
rs2_pipeline_try_wait_for_frames(rs2_pipeline pipe,
PointerPointer output_frame,
int timeout_ms,
PointerPointer error)
Wait until a new set of frames becomes available.
|
static int |
rs2_pipeline_try_wait_for_frames(rs2_pipeline pipe,
rs2_frame output_frame,
int timeout_ms,
rs2_error error) |
static rs2_frame |
rs2_pipeline_wait_for_frames(rs2_pipeline pipe,
int timeout_ms,
PointerPointer error)
Wait until a new set of frames becomes available.
|
static rs2_frame |
rs2_pipeline_wait_for_frames(rs2_pipeline pipe,
int timeout_ms,
rs2_error error) |
static int |
rs2_playback_device_get_current_status(rs2_device device,
PointerPointer error)
Returns the current state of the playback device
|
static int |
rs2_playback_device_get_current_status(rs2_device device,
rs2_error error) |
static BytePointer |
rs2_playback_device_get_file_path(rs2_device device,
PointerPointer error)
Gets the path of the file used by the playback device
|
static BytePointer |
rs2_playback_device_get_file_path(rs2_device device,
rs2_error error) |
static int |
rs2_playback_device_is_real_time(rs2_device device,
PointerPointer error)
Indicates if playback is in real time mode or non real time
|
static int |
rs2_playback_device_is_real_time(rs2_device device,
rs2_error error) |
static void |
rs2_playback_device_pause(rs2_device device,
PointerPointer error)
Un-pauses the playback
Calling resume() while playback status is "Playing" or "Stopped" does nothing
|
static void |
rs2_playback_device_pause(rs2_device device,
rs2_error error) |
static void |
rs2_playback_device_resume(rs2_device device,
PointerPointer error)
Pauses the playback
Calling pause() in "Paused" status does nothing
If pause() is called while playback status is "Playing" or "Stopped", the playback will not play until resume() is called
|
static void |
rs2_playback_device_resume(rs2_device device,
rs2_error error) |
static void |
rs2_playback_device_set_playback_speed(rs2_device device,
float speed,
PointerPointer error)
Set the playing speed
|
static void |
rs2_playback_device_set_playback_speed(rs2_device device,
float speed,
rs2_error error) |
static void |
rs2_playback_device_set_real_time(rs2_device device,
int real_time,
PointerPointer error)
Set the playback to work in real time or non real time
In real time mode, playback will play the same way the file was recorded.
|
static void |
rs2_playback_device_set_real_time(rs2_device device,
int real_time,
rs2_error error) |
static void |
rs2_playback_device_set_status_changed_callback(rs2_device device,
rs2_playback_status_changed_callback callback,
PointerPointer error)
Register to receive callback from playback device upon its status changes
Callbacks are invoked from the reading thread, any heavy processing in the callback handler will affect
the reading thread and may cause frame drops\ high latency
|
static void |
rs2_playback_device_set_status_changed_callback(rs2_device device,
rs2_playback_status_changed_callback callback,
rs2_error error) |
static void |
rs2_playback_device_stop(rs2_device device,
PointerPointer error)
Stops the playback
Calling stop() will stop all streaming playbakc sensors and will reset the playback (returning to beginning of file)
|
static void |
rs2_playback_device_stop(rs2_device device,
rs2_error error) |
static long |
rs2_playback_get_duration(rs2_device device,
PointerPointer error)
Gets the total duration of the file in units of nanoseconds
|
static long |
rs2_playback_get_duration(rs2_device device,
rs2_error error) |
static long |
rs2_playback_get_position(rs2_device device,
PointerPointer error)
Gets the current position of the playback in the file in terms of time.
|
static long |
rs2_playback_get_position(rs2_device device,
rs2_error error) |
static void |
rs2_playback_seek(rs2_device device,
long time,
PointerPointer error)
Set the playback to a specified time point of the played data
|
static void |
rs2_playback_seek(rs2_device device,
long time,
rs2_error error) |
static BytePointer |
rs2_playback_status_to_string(int status) |
static int |
rs2_poll_for_frame(rs2_frame_queue queue,
PointerPointer output_frame,
PointerPointer error)
poll if a new frame is available and dequeue if it is
|
static int |
rs2_poll_for_frame(rs2_frame_queue queue,
rs2_frame output_frame,
rs2_error error) |
static void |
rs2_pose_frame_get_pose_data(rs2_frame frame,
rs2_pose pose,
PointerPointer error)
When called on Pose frame type, this method returns the transformation represented by the pose data
|
static void |
rs2_pose_frame_get_pose_data(rs2_frame frame,
rs2_pose pose,
rs2_error error) |
static rs2_raw_data_buffer |
rs2_process_calibration_frame(rs2_device dev,
rs2_frame f,
float[] health,
rs2_update_progress_callback progress_callback,
int timeout_ms,
rs2_error error) |
static rs2_raw_data_buffer |
rs2_process_calibration_frame(rs2_device dev,
rs2_frame f,
FloatBuffer health,
rs2_update_progress_callback progress_callback,
int timeout_ms,
rs2_error error) |
static rs2_raw_data_buffer |
rs2_process_calibration_frame(rs2_device dev,
rs2_frame f,
FloatPointer health,
rs2_update_progress_callback progress_callback,
int timeout_ms,
PointerPointer error)
During host assisted calibration (Tare or on-chip), this is used to pump new depth frames until calibration is done.
|
static rs2_raw_data_buffer |
rs2_process_calibration_frame(rs2_device dev,
rs2_frame f,
FloatPointer health,
rs2_update_progress_callback progress_callback,
int timeout_ms,
rs2_error error) |
static void |
rs2_process_frame(rs2_processing_block block,
rs2_frame frame,
PointerPointer error)
This method is used to pass frame into a processing block
|
static void |
rs2_process_frame(rs2_processing_block block,
rs2_frame frame,
rs2_error error) |
static int |
rs2_processing_block_register_simple_option(rs2_processing_block block,
int option_id,
float min,
float max,
float step,
float def,
PointerPointer error)
This method adds a custom option to a custom processing block.
|
static int |
rs2_processing_block_register_simple_option(rs2_processing_block block,
int option_id,
float min,
float max,
float step,
float def,
rs2_error error) |
static void |
rs2_project_color_pixel_to_depth_pixel(float[] to_pixel,
short[] data,
float depth_scale,
float depth_min,
float depth_max,
rs2_intrinsics depth_intrin,
rs2_intrinsics color_intrin,
rs2_extrinsics color_to_depth,
rs2_extrinsics depth_to_color,
float[] from_pixel) |
static void |
rs2_project_color_pixel_to_depth_pixel(FloatBuffer to_pixel,
ShortBuffer data,
float depth_scale,
float depth_min,
float depth_max,
rs2_intrinsics depth_intrin,
rs2_intrinsics color_intrin,
rs2_extrinsics color_to_depth,
rs2_extrinsics depth_to_color,
FloatBuffer from_pixel) |
static void |
rs2_project_color_pixel_to_depth_pixel(FloatPointer to_pixel,
ShortPointer data,
float depth_scale,
float depth_min,
float depth_max,
rs2_intrinsics depth_intrin,
rs2_intrinsics color_intrin,
rs2_extrinsics color_to_depth,
rs2_extrinsics depth_to_color,
FloatPointer from_pixel) |
static void |
rs2_project_point_to_pixel(float[] pixel,
rs2_intrinsics intrin,
float[] point) |
static void |
rs2_project_point_to_pixel(FloatBuffer pixel,
rs2_intrinsics intrin,
FloatBuffer point) |
static void |
rs2_project_point_to_pixel(FloatPointer pixel,
rs2_intrinsics intrin,
FloatPointer point) |
static rs2_device_list |
rs2_query_devices_ex(rs2_context context,
int product_mask,
PointerPointer error)
create a static snapshot of all connected devices at the time of the call
|
static rs2_device_list |
rs2_query_devices_ex(rs2_context context,
int product_mask,
rs2_error error) |
static rs2_device_list |
rs2_query_devices(rs2_context context,
PointerPointer error)
create a static snapshot of all connected devices at the time of the call
|
static rs2_device_list |
rs2_query_devices(rs2_context context,
rs2_error error) |
static rs2_sensor_list |
rs2_query_sensors(rs2_device device,
PointerPointer error)
Create a static snapshot of all connected sensors within a specific device.
|
static rs2_sensor_list |
rs2_query_sensors(rs2_device device,
rs2_error error) |
static BytePointer |
rs2_record_device_filename(rs2_device device,
PointerPointer error)
Gets the name of the file to which the recorder is writing
|
static BytePointer |
rs2_record_device_filename(rs2_device device,
rs2_error error) |
static void |
rs2_record_device_pause(rs2_device device,
PointerPointer error)
Pause the recording device without stopping the actual device from streaming.
|
static void |
rs2_record_device_pause(rs2_device device,
rs2_error error) |
static void |
rs2_record_device_resume(rs2_device device,
PointerPointer error)
Unpause the recording device.
|
static void |
rs2_record_device_resume(rs2_device device,
rs2_error error) |
static void |
rs2_register_calibration_change_callback_cpp(rs2_device dev,
rs2_calibration_change_callback callback,
PointerPointer error)
Adds a callback for a sensor that gets called when calibration (intrinsics) changes, e.g.
|
static void |
rs2_register_calibration_change_callback_cpp(rs2_device dev,
rs2_calibration_change_callback callback,
rs2_error error) |
static void |
rs2_register_calibration_change_callback(rs2_device dev,
rs2_calibration_change_callback_ptr callback,
Pointer user,
PointerPointer error)
Adds a callback for a sensor that gets called when calibration (intrinsics) changes, e.g.
|
static void |
rs2_register_calibration_change_callback(rs2_device dev,
rs2_calibration_change_callback_ptr callback,
Pointer user,
rs2_error error) |
static void |
rs2_register_extrinsics(rs2_stream_profile from,
rs2_stream_profile to,
rs2_extrinsics extrin,
PointerPointer error) |
static void |
rs2_register_extrinsics(rs2_stream_profile from,
rs2_stream_profile to,
rs2_extrinsics extrin,
rs2_error error) |
static void |
rs2_release_frame(rs2_frame frame)
relases the frame handle
|
static int |
rs2_remove_static_node(rs2_sensor sensor,
BytePointer guid,
PointerPointer error)
Remove a named location tag
|
static int |
rs2_remove_static_node(rs2_sensor sensor,
BytePointer guid,
rs2_error error) |
static int |
rs2_remove_static_node(rs2_sensor sensor,
String guid,
rs2_error error) |
static void |
rs2_reset_logger(PointerPointer error) |
static void |
rs2_reset_logger(rs2_error error) |
static void |
rs2_reset_sensor_calibration(rs2_sensor sensor,
PointerPointer error)
Reset the sensor DSM parameters
This should ideally be done when the stream is NOT running.
|
static void |
rs2_reset_sensor_calibration(rs2_sensor sensor,
rs2_error error) |
static void |
rs2_reset_to_factory_calibration(rs2_device device,
PointerPointer e)
Reset device to factory calibration
|
static void |
rs2_reset_to_factory_calibration(rs2_device device,
rs2_error e) |
static BytePointer |
rs2_rs400_visual_preset_to_string(int preset) |
static rs2_raw_data_buffer |
rs2_run_focal_length_calibration_cpp(rs2_device device,
rs2_frame_queue left_queue,
rs2_frame_queue right_queue,
float target_width,
float target_height,
int adjust_both_sides,
float[] ratio,
float[] angle,
rs2_update_progress_callback progress_callback,
rs2_error error) |
static rs2_raw_data_buffer |
rs2_run_focal_length_calibration_cpp(rs2_device device,
rs2_frame_queue left_queue,
rs2_frame_queue right_queue,
float target_width,
float target_height,
int adjust_both_sides,
FloatBuffer ratio,
FloatBuffer angle,
rs2_update_progress_callback progress_callback,
rs2_error error) |
static rs2_raw_data_buffer |
rs2_run_focal_length_calibration_cpp(rs2_device device,
rs2_frame_queue left_queue,
rs2_frame_queue right_queue,
float target_width,
float target_height,
int adjust_both_sides,
FloatPointer ratio,
FloatPointer angle,
rs2_update_progress_callback progress_callback,
PointerPointer error)
Run target-based focal length calibration
|
static rs2_raw_data_buffer |
rs2_run_focal_length_calibration_cpp(rs2_device device,
rs2_frame_queue left_queue,
rs2_frame_queue right_queue,
float target_width,
float target_height,
int adjust_both_sides,
FloatPointer ratio,
FloatPointer angle,
rs2_update_progress_callback progress_callback,
rs2_error error) |
static rs2_raw_data_buffer |
rs2_run_focal_length_calibration(rs2_device device,
rs2_frame_queue left_queue,
rs2_frame_queue right_queue,
float target_width,
float target_height,
int adjust_both_sides,
float[] ratio,
float[] angle,
rs2_update_progress_callback_ptr callback,
Pointer client_data,
rs2_error error) |
static rs2_raw_data_buffer |
rs2_run_focal_length_calibration(rs2_device device,
rs2_frame_queue left_queue,
rs2_frame_queue right_queue,
float target_width,
float target_height,
int adjust_both_sides,
FloatBuffer ratio,
FloatBuffer angle,
rs2_update_progress_callback_ptr callback,
Pointer client_data,
rs2_error error) |
static rs2_raw_data_buffer |
rs2_run_focal_length_calibration(rs2_device device,
rs2_frame_queue left_queue,
rs2_frame_queue right_queue,
float target_width,
float target_height,
int adjust_both_sides,
FloatPointer ratio,
FloatPointer angle,
rs2_update_progress_callback_ptr callback,
Pointer client_data,
PointerPointer error)
Run target-based focal length calibration
|
static rs2_raw_data_buffer |
rs2_run_focal_length_calibration(rs2_device device,
rs2_frame_queue left_queue,
rs2_frame_queue right_queue,
float target_width,
float target_height,
int adjust_both_sides,
FloatPointer ratio,
FloatPointer angle,
rs2_update_progress_callback_ptr callback,
Pointer client_data,
rs2_error error) |
static rs2_raw_data_buffer |
rs2_run_on_chip_calibration_cpp(rs2_device device,
Pointer json_content,
int content_size,
float[] health,
rs2_update_progress_callback progress_callback,
int timeout_ms,
rs2_error error) |
static rs2_raw_data_buffer |
rs2_run_on_chip_calibration_cpp(rs2_device device,
Pointer json_content,
int content_size,
FloatBuffer health,
rs2_update_progress_callback progress_callback,
int timeout_ms,
rs2_error error) |
static rs2_raw_data_buffer |
rs2_run_on_chip_calibration_cpp(rs2_device device,
Pointer json_content,
int content_size,
FloatPointer health,
rs2_update_progress_callback progress_callback,
int timeout_ms,
PointerPointer error)
This will improve the depth noise.
|
static rs2_raw_data_buffer |
rs2_run_on_chip_calibration_cpp(rs2_device device,
Pointer json_content,
int content_size,
FloatPointer health,
rs2_update_progress_callback progress_callback,
int timeout_ms,
rs2_error error) |
static rs2_raw_data_buffer |
rs2_run_on_chip_calibration(rs2_device device,
Pointer json_content,
int content_size,
float[] health,
rs2_update_progress_callback_ptr callback,
Pointer client_data,
int timeout_ms,
rs2_error error) |
static rs2_raw_data_buffer |
rs2_run_on_chip_calibration(rs2_device device,
Pointer json_content,
int content_size,
FloatBuffer health,
rs2_update_progress_callback_ptr callback,
Pointer client_data,
int timeout_ms,
rs2_error error) |
static rs2_raw_data_buffer |
rs2_run_on_chip_calibration(rs2_device device,
Pointer json_content,
int content_size,
FloatPointer health,
rs2_update_progress_callback_ptr callback,
Pointer client_data,
int timeout_ms,
PointerPointer error)
This will improve the depth noise.
|
static rs2_raw_data_buffer |
rs2_run_on_chip_calibration(rs2_device device,
Pointer json_content,
int content_size,
FloatPointer health,
rs2_update_progress_callback_ptr callback,
Pointer client_data,
int timeout_ms,
rs2_error error) |
static rs2_raw_data_buffer |
rs2_run_tare_calibration_cpp(rs2_device dev,
float ground_truth_mm,
Pointer json_content,
int content_size,
float[] health,
rs2_update_progress_callback progress_callback,
int timeout_ms,
rs2_error error) |
static rs2_raw_data_buffer |
rs2_run_tare_calibration_cpp(rs2_device dev,
float ground_truth_mm,
Pointer json_content,
int content_size,
FloatBuffer health,
rs2_update_progress_callback progress_callback,
int timeout_ms,
rs2_error error) |
static rs2_raw_data_buffer |
rs2_run_tare_calibration_cpp(rs2_device dev,
float ground_truth_mm,
Pointer json_content,
int content_size,
FloatPointer health,
rs2_update_progress_callback progress_callback,
int timeout_ms,
PointerPointer error)
This will adjust camera absolute distance to flat target.
|
static rs2_raw_data_buffer |
rs2_run_tare_calibration_cpp(rs2_device dev,
float ground_truth_mm,
Pointer json_content,
int content_size,
FloatPointer health,
rs2_update_progress_callback progress_callback,
int timeout_ms,
rs2_error error) |
static rs2_raw_data_buffer |
rs2_run_tare_calibration(rs2_device dev,
float ground_truth_mm,
Pointer json_content,
int content_size,
float[] health,
rs2_update_progress_callback_ptr callback,
Pointer client_data,
int timeout_ms,
rs2_error error) |
static rs2_raw_data_buffer |
rs2_run_tare_calibration(rs2_device dev,
float ground_truth_mm,
Pointer json_content,
int content_size,
FloatBuffer health,
rs2_update_progress_callback_ptr callback,
Pointer client_data,
int timeout_ms,
rs2_error error) |
static rs2_raw_data_buffer |
rs2_run_tare_calibration(rs2_device dev,
float ground_truth_mm,
Pointer json_content,
int content_size,
FloatPointer health,
rs2_update_progress_callback_ptr callback,
Pointer client_data,
int timeout_ms,
PointerPointer error)
This will adjust camera absolute distance to flat target.
|
static rs2_raw_data_buffer |
rs2_run_tare_calibration(rs2_device dev,
float ground_truth_mm,
Pointer json_content,
int content_size,
FloatPointer health,
rs2_update_progress_callback_ptr callback,
Pointer client_data,
int timeout_ms,
rs2_error error) |
static rs2_raw_data_buffer |
rs2_run_uv_map_calibration_cpp(rs2_device device,
rs2_frame_queue left_queue,
rs2_frame_queue color_queue,
rs2_frame_queue depth_queue,
int py_px_only,
float[] health,
int health_size,
rs2_update_progress_callback progress_callback,
rs2_error error) |
static rs2_raw_data_buffer |
rs2_run_uv_map_calibration_cpp(rs2_device device,
rs2_frame_queue left_queue,
rs2_frame_queue color_queue,
rs2_frame_queue depth_queue,
int py_px_only,
FloatBuffer health,
int health_size,
rs2_update_progress_callback progress_callback,
rs2_error error) |
static rs2_raw_data_buffer |
rs2_run_uv_map_calibration_cpp(rs2_device device,
rs2_frame_queue left_queue,
rs2_frame_queue color_queue,
rs2_frame_queue depth_queue,
int py_px_only,
FloatPointer health,
int health_size,
rs2_update_progress_callback progress_callback,
PointerPointer error)
Depth-RGB UV-Map calibration.
|
static rs2_raw_data_buffer |
rs2_run_uv_map_calibration_cpp(rs2_device device,
rs2_frame_queue left_queue,
rs2_frame_queue color_queue,
rs2_frame_queue depth_queue,
int py_px_only,
FloatPointer health,
int health_size,
rs2_update_progress_callback progress_callback,
rs2_error error) |
static rs2_raw_data_buffer |
rs2_run_uv_map_calibration(rs2_device device,
rs2_frame_queue left_queue,
rs2_frame_queue color_queue,
rs2_frame_queue depth_queue,
int py_px_only,
float[] health,
int health_size,
rs2_update_progress_callback_ptr callback,
Pointer client_data,
rs2_error error) |
static rs2_raw_data_buffer |
rs2_run_uv_map_calibration(rs2_device device,
rs2_frame_queue left_queue,
rs2_frame_queue color_queue,
rs2_frame_queue depth_queue,
int py_px_only,
FloatBuffer health,
int health_size,
rs2_update_progress_callback_ptr callback,
Pointer client_data,
rs2_error error) |
static rs2_raw_data_buffer |
rs2_run_uv_map_calibration(rs2_device device,
rs2_frame_queue left_queue,
rs2_frame_queue color_queue,
rs2_frame_queue depth_queue,
int py_px_only,
FloatPointer health,
int health_size,
rs2_update_progress_callback_ptr callback,
Pointer client_data,
PointerPointer error)
Depth-RGB UV-Map calibration.
|
static rs2_raw_data_buffer |
rs2_run_uv_map_calibration(rs2_device device,
rs2_frame_queue left_queue,
rs2_frame_queue color_queue,
rs2_frame_queue depth_queue,
int py_px_only,
FloatPointer health,
int health_size,
rs2_update_progress_callback_ptr callback,
Pointer client_data,
rs2_error error) |
static rs2_raw_data_buffer |
rs2_send_and_receive_raw_data(rs2_device device,
Pointer raw_data_to_send,
int size_of_raw_data_to_send,
PointerPointer error)
Send raw data to device
|
static rs2_raw_data_buffer |
rs2_send_and_receive_raw_data(rs2_device device,
Pointer raw_data_to_send,
int size_of_raw_data_to_send,
rs2_error error) |
static int |
rs2_send_wheel_odometry(rs2_sensor sensor,
byte wo_sensor_id,
int frame_num,
rs2_vector translational_velocity,
PointerPointer error)
Send wheel odometry data for each individual sensor (wheel)
|
static int |
rs2_send_wheel_odometry(rs2_sensor sensor,
byte wo_sensor_id,
int frame_num,
rs2_vector translational_velocity,
rs2_error error) |
static BytePointer |
rs2_sensor_mode_to_string(int preset) |
static rs2_raw_data_buffer |
rs2_serialize_json(rs2_device dev,
PointerPointer error) |
static rs2_raw_data_buffer |
rs2_serialize_json(rs2_device dev,
rs2_error error) |
static void |
rs2_set_ae_control(rs2_device dev,
STAEControl group,
PointerPointer error) |
static void |
rs2_set_ae_control(rs2_device dev,
STAEControl group,
rs2_error error) |
static void |
rs2_set_amp_factor(rs2_device dev,
STAFactor group,
PointerPointer error) |
static void |
rs2_set_amp_factor(rs2_device dev,
STAFactor group,
rs2_error error) |
static void |
rs2_set_calibration_table(rs2_device device,
Pointer calibration,
int calibration_size,
PointerPointer error)
Set current table to dynamic area.
|
static void |
rs2_set_calibration_table(rs2_device device,
Pointer calibration,
int calibration_size,
rs2_error error) |
static void |
rs2_set_census(rs2_device dev,
STCensusRadius group,
PointerPointer error) |
static void |
rs2_set_census(rs2_device dev,
STCensusRadius group,
rs2_error error) |
static void |
rs2_set_color_control(rs2_device dev,
STColorControl group,
PointerPointer error) |
static void |
rs2_set_color_control(rs2_device dev,
STColorControl group,
rs2_error error) |
static void |
rs2_set_color_correction(rs2_device dev,
STColorCorrection group,
PointerPointer error) |
static void |
rs2_set_color_correction(rs2_device dev,
STColorCorrection group,
rs2_error error) |
static void |
rs2_set_depth_control(rs2_device dev,
STDepthControlGroup group,
PointerPointer error) |
static void |
rs2_set_depth_control(rs2_device dev,
STDepthControlGroup group,
rs2_error error) |
static void |
rs2_set_depth_table(rs2_device dev,
STDepthTableControl group,
PointerPointer error) |
static void |
rs2_set_depth_table(rs2_device dev,
STDepthTableControl group,
rs2_error error) |
static void |
rs2_set_devices_changed_callback_cpp(rs2_context context,
rs2_devices_changed_callback callback,
PointerPointer error)
set callback to get devices changed events
these events will be raised by the context whenever new RealSense device is connected or existing device gets disconnected
|
static void |
rs2_set_devices_changed_callback_cpp(rs2_context context,
rs2_devices_changed_callback callback,
rs2_error error) |
static void |
rs2_set_devices_changed_callback(rs2_context context,
rs2_devices_changed_callback_ptr callback,
Pointer user,
PointerPointer error)
set callback to get devices changed events
these events will be raised by the context whenever new RealSense device is connected or existing device gets disconnected
|
static void |
rs2_set_devices_changed_callback(rs2_context context,
rs2_devices_changed_callback_ptr callback,
Pointer user,
rs2_error error) |
static void |
rs2_set_extrinsics(rs2_sensor from_sensor,
rs2_stream_profile from_profile,
rs2_sensor to_sensor,
rs2_stream_profile to_profile,
rs2_extrinsics extrinsics,
PointerPointer error)
Set extrinsics between two sensors
|
static void |
rs2_set_extrinsics(rs2_sensor from_sensor,
rs2_stream_profile from_profile,
rs2_sensor to_sensor,
rs2_stream_profile to_profile,
rs2_extrinsics extrinsics,
rs2_error error) |
static void |
rs2_set_hdad(rs2_device dev,
STHdad group,
PointerPointer error) |
static void |
rs2_set_hdad(rs2_device dev,
STHdad group,
rs2_error error) |
static void |
rs2_set_intrinsics(rs2_sensor sensor,
rs2_stream_profile profile,
rs2_intrinsics intrinsics,
PointerPointer error)
Set intrinsics of a given sensor
|
static void |
rs2_set_intrinsics(rs2_sensor sensor,
rs2_stream_profile profile,
rs2_intrinsics intrinsics,
rs2_error error) |
static void |
rs2_set_motion_device_intrinsics(rs2_sensor sensor,
rs2_stream_profile profile,
rs2_motion_device_intrinsic intrinsics,
PointerPointer error)
Set motion device intrinsics
|
static void |
rs2_set_motion_device_intrinsics(rs2_sensor sensor,
rs2_stream_profile profile,
rs2_motion_device_intrinsic intrinsics,
rs2_error error) |
static void |
rs2_set_notifications_callback_cpp(rs2_sensor sensor,
rs2_notifications_callback callback,
PointerPointer error)
set callback to get notifications from specified device
|
static void |
rs2_set_notifications_callback_cpp(rs2_sensor sensor,
rs2_notifications_callback callback,
rs2_error error) |
static void |
rs2_set_notifications_callback(rs2_sensor sensor,
rs2_notification_callback_ptr on_notification,
Pointer user,
PointerPointer error)
set callback to get notifications from specified sensor
|
static void |
rs2_set_notifications_callback(rs2_sensor sensor,
rs2_notification_callback_ptr on_notification,
Pointer user,
rs2_error error) |
static void |
rs2_set_option(rs2_options options,
int option,
float value,
PointerPointer error)
write new value to sensor option
|
static void |
rs2_set_option(rs2_options options,
int option,
float value,
rs2_error error) |
static void |
rs2_set_rau_support_vector_control(rs2_device dev,
STRauSupportVectorControl group,
PointerPointer error) |
static void |
rs2_set_rau_support_vector_control(rs2_device dev,
STRauSupportVectorControl group,
rs2_error error) |
static void |
rs2_set_rau_thresholds_control(rs2_device dev,
STRauColorThresholdsControl group,
PointerPointer error) |
static void |
rs2_set_rau_thresholds_control(rs2_device dev,
STRauColorThresholdsControl group,
rs2_error error) |
static void |
rs2_set_region_of_interest(rs2_sensor sensor,
int min_x,
int min_y,
int max_x,
int max_y,
PointerPointer error)
\brief sets the active region of interest to be used by auto-exposure algorithm
|
static void |
rs2_set_region_of_interest(rs2_sensor sensor,
int min_x,
int min_y,
int max_x,
int max_y,
rs2_error error) |
static void |
rs2_set_rsm(rs2_device dev,
STRsm group,
PointerPointer error) |
static void |
rs2_set_rsm(rs2_device dev,
STRsm group,
rs2_error error) |
static void |
rs2_set_slo_color_thresholds_control(rs2_device dev,
STSloColorThresholdsControl group,
PointerPointer error) |
static void |
rs2_set_slo_color_thresholds_control(rs2_device dev,
STSloColorThresholdsControl group,
rs2_error error) |
static void |
rs2_set_slo_penalty_control(rs2_device dev,
STSloPenaltyControl group,
PointerPointer error) |
static void |
rs2_set_slo_penalty_control(rs2_device dev,
STSloPenaltyControl group,
rs2_error error) |
static int |
rs2_set_static_node(rs2_sensor sensor,
BytePointer guid,
rs2_vector pos,
rs2_quaternion orient,
PointerPointer error)
Create a named location tag
|
static int |
rs2_set_static_node(rs2_sensor sensor,
BytePointer guid,
rs2_vector pos,
rs2_quaternion orient,
rs2_error error) |
static int |
rs2_set_static_node(rs2_sensor sensor,
String guid,
rs2_vector pos,
rs2_quaternion orient,
rs2_error error) |
static void |
rs2_set_stream_profile_data(rs2_stream_profile mode,
int stream,
int index,
int format,
PointerPointer error)
Override some of the parameters of the stream profile
|
static void |
rs2_set_stream_profile_data(rs2_stream_profile mode,
int stream,
int index,
int format,
rs2_error error) |
static BytePointer |
rs2_sr300_visual_preset_to_string(int preset) |
static void |
rs2_start_cpp(rs2_sensor sensor,
rs2_frame_callback callback,
PointerPointer error)
start streaming from specified configured sensor
|
static void |
rs2_start_cpp(rs2_sensor sensor,
rs2_frame_callback callback,
rs2_error error) |
static void |
rs2_start_processing_fptr(rs2_processing_block block,
rs2_frame_callback_ptr on_frame,
Pointer user,
PointerPointer error)
This method is used to direct the output from the processing block to some callback or sink object
|
static void |
rs2_start_processing_fptr(rs2_processing_block block,
rs2_frame_callback_ptr on_frame,
Pointer user,
rs2_error error) |
static void |
rs2_start_processing_queue(rs2_processing_block block,
rs2_frame_queue queue,
PointerPointer error)
This method is used to direct the output from the processing block to a dedicated queue object
|
static void |
rs2_start_processing_queue(rs2_processing_block block,
rs2_frame_queue queue,
rs2_error error) |
static void |
rs2_start_processing(rs2_processing_block block,
rs2_frame_callback on_frame,
PointerPointer error)
This method is used to direct the output from the processing block to some callback or sink object
|
static void |
rs2_start_processing(rs2_processing_block block,
rs2_frame_callback on_frame,
rs2_error error) |
static void |
rs2_start_queue(rs2_sensor sensor,
rs2_frame_queue queue,
PointerPointer error)
start streaming from specified configured sensor of specific stream to frame queue
|
static void |
rs2_start_queue(rs2_sensor sensor,
rs2_frame_queue queue,
rs2_error error) |
static void |
rs2_start(rs2_sensor sensor,
rs2_frame_callback_ptr on_frame,
Pointer user,
PointerPointer error)
start streaming from specified configured sensor
|
static void |
rs2_start(rs2_sensor sensor,
rs2_frame_callback_ptr on_frame,
Pointer user,
rs2_error error) |
static void |
rs2_stop(rs2_sensor sensor,
PointerPointer error)
stops streaming from specified configured device
|
static void |
rs2_stop(rs2_sensor sensor,
rs2_error error) |
static int |
rs2_stream_profile_is(rs2_stream_profile mode,
int type,
PointerPointer error)
Try to extend stream profile to an extension type
|
static int |
rs2_stream_profile_is(rs2_stream_profile mode,
int type,
rs2_error error) |
static BytePointer |
rs2_stream_to_string(int stream) |
static int |
rs2_supports_device_info(rs2_device device,
int info,
PointerPointer error)
Check if a camera supports a specific camera info type.
|
static int |
rs2_supports_device_info(rs2_device device,
int info,
rs2_error error) |
static int |
rs2_supports_frame_metadata(rs2_frame frame,
int frame_metadata,
PointerPointer error)
determine device metadata
|
static int |
rs2_supports_frame_metadata(rs2_frame frame,
int frame_metadata,
rs2_error error) |
static int |
rs2_supports_option(rs2_options options,
int option,
PointerPointer error)
check if particular option is supported by a subdevice
|
static int |
rs2_supports_option(rs2_options options,
int option,
rs2_error error) |
static int |
rs2_supports_processing_block_info(rs2_processing_block block,
int info,
PointerPointer error)
Check if a processing block supports a specific info type.
|
static int |
rs2_supports_processing_block_info(rs2_processing_block block,
int info,
rs2_error error) |
static int |
rs2_supports_sensor_info(rs2_sensor sensor,
int info,
PointerPointer error)
check if specific sensor info is supported
|
static int |
rs2_supports_sensor_info(rs2_sensor sensor,
int info,
rs2_error error) |
static void |
rs2_synthetic_frame_ready(rs2_source source,
rs2_frame frame,
PointerPointer error)
This method will dispatch frame callback on a frame
|
static void |
rs2_synthetic_frame_ready(rs2_source source,
rs2_frame frame,
rs2_error error) |
static BytePointer |
rs2_timestamp_domain_to_string(int info) |
static void |
rs2_toggle_advanced_mode(rs2_device dev,
int enable,
PointerPointer error) |
static void |
rs2_toggle_advanced_mode(rs2_device dev,
int enable,
rs2_error error) |
static void |
rs2_transform_point_to_point(float[] to_point,
rs2_extrinsics extrin,
float[] from_point) |
static void |
rs2_transform_point_to_point(FloatBuffer to_point,
rs2_extrinsics extrin,
FloatBuffer from_point) |
static void |
rs2_transform_point_to_point(FloatPointer to_point,
rs2_extrinsics extrin,
FloatPointer from_point) |
static void |
rs2_trigger_device_calibration(rs2_device dev,
int type,
PointerPointer error)
Triggers calibration of the given type
|
static void |
rs2_trigger_device_calibration(rs2_device dev,
int type,
rs2_error error) |
static int |
rs2_try_wait_for_frame(rs2_frame_queue queue,
int timeout_ms,
PointerPointer output_frame,
PointerPointer error)
wait until new frame becomes available in the queue and dequeue it
|
static int |
rs2_try_wait_for_frame(rs2_frame_queue queue,
int timeout_ms,
rs2_frame output_frame,
rs2_error error) |
static void |
rs2_update_firmware_cpp(rs2_device device,
Pointer fw_image,
int fw_image_size,
rs2_update_progress_callback callback,
PointerPointer error)
Update device to the provided firmware, the device must be extendable to RS2_EXTENSION_UPDATABLE.
|
static void |
rs2_update_firmware_cpp(rs2_device device,
Pointer fw_image,
int fw_image_size,
rs2_update_progress_callback callback,
rs2_error error) |
static void |
rs2_update_firmware_unsigned_cpp(rs2_device device,
Pointer fw_image,
int fw_image_size,
rs2_update_progress_callback callback,
int update_mode,
PointerPointer error)
Update device to the provided firmware by writing raw data directly to the flash, this command can be executed only on unlocked camera.
|
static void |
rs2_update_firmware_unsigned_cpp(rs2_device device,
Pointer fw_image,
int fw_image_size,
rs2_update_progress_callback callback,
int update_mode,
rs2_error error) |
static void |
rs2_update_firmware_unsigned(rs2_device device,
Pointer fw_image,
int fw_image_size,
rs2_update_progress_callback_ptr callback,
Pointer client_data,
int update_mode,
PointerPointer error)
Update device to the provided firmware by writing raw data directly to the flash, this command can be executed only on unlocked camera.
|
static void |
rs2_update_firmware_unsigned(rs2_device device,
Pointer fw_image,
int fw_image_size,
rs2_update_progress_callback_ptr callback,
Pointer client_data,
int update_mode,
rs2_error error) |
static void |
rs2_update_firmware(rs2_device device,
Pointer fw_image,
int fw_image_size,
rs2_update_progress_callback_ptr callback,
Pointer client_data,
PointerPointer error)
Update device to the provided firmware, the device must be extendable to RS2_EXTENSION_UPDATABLE.
|
static void |
rs2_update_firmware(rs2_device device,
Pointer fw_image,
int fw_image_size,
rs2_update_progress_callback_ptr callback,
Pointer client_data,
rs2_error error) |
static rs2_frame |
rs2_wait_for_frame(rs2_frame_queue queue,
int timeout_ms,
PointerPointer error)
wait until new frame becomes available in the queue and dequeue it
|
static rs2_frame |
rs2_wait_for_frame(rs2_frame_queue queue,
int timeout_ms,
rs2_error error) |
static void |
rs2_write_calibration(rs2_device device,
PointerPointer e)
Write calibration to device's EEPROM
|
static void |
rs2_write_calibration(rs2_device device,
rs2_error e) |
map
public static final int RS2_NOTIFICATION_CATEGORY_FRAMES_TIMEOUT
public static final int RS2_NOTIFICATION_CATEGORY_FRAME_CORRUPTED
public static final int RS2_NOTIFICATION_CATEGORY_HARDWARE_ERROR
public static final int RS2_NOTIFICATION_CATEGORY_HARDWARE_EVENT
public static final int RS2_NOTIFICATION_CATEGORY_UNKNOWN_ERROR
public static final int RS2_NOTIFICATION_CATEGORY_FIRMWARE_UPDATE_RECOMMENDED
public static final int RS2_NOTIFICATION_CATEGORY_POSE_RELOCALIZATION
public static final int RS2_NOTIFICATION_CATEGORY_COUNT
public static final int RS2_EXCEPTION_TYPE_UNKNOWN
public static final int RS2_EXCEPTION_TYPE_CAMERA_DISCONNECTED
public static final int RS2_EXCEPTION_TYPE_BACKEND
public static final int RS2_EXCEPTION_TYPE_INVALID_VALUE
public static final int RS2_EXCEPTION_TYPE_WRONG_API_CALL_SEQUENCE
public static final int RS2_EXCEPTION_TYPE_NOT_IMPLEMENTED
public static final int RS2_EXCEPTION_TYPE_DEVICE_IN_RECOVERY_MODE
public static final int RS2_EXCEPTION_TYPE_IO
public static final int RS2_EXCEPTION_TYPE_COUNT
public static final int RS2_DISTORTION_NONE
public static final int RS2_DISTORTION_MODIFIED_BROWN_CONRADY
public static final int RS2_DISTORTION_INVERSE_BROWN_CONRADY
public static final int RS2_DISTORTION_FTHETA
public static final int RS2_DISTORTION_BROWN_CONRADY
public static final int RS2_DISTORTION_KANNALA_BRANDT4
public static final int RS2_DISTORTION_COUNT
public static final int RS2_DSM_CORRECTION_NONE
public static final int RS2_DSM_CORRECTION_AOT
public static final int RS2_DSM_CORRECTION_TOA
public static final int RS2_DSM_CORRECTION_COUNT
public static final int RS2_LOG_SEVERITY_DEBUG
public static final int RS2_LOG_SEVERITY_INFO
public static final int RS2_LOG_SEVERITY_WARN
public static final int RS2_LOG_SEVERITY_ERROR
public static final int RS2_LOG_SEVERITY_FATAL
public static final int RS2_LOG_SEVERITY_NONE
public static final int RS2_LOG_SEVERITY_COUNT
public static final int RS2_LOG_SEVERITY_ALL
public static final int RS2_EXTENSION_UNKNOWN
public static final int RS2_EXTENSION_DEBUG
public static final int RS2_EXTENSION_INFO
public static final int RS2_EXTENSION_MOTION
public static final int RS2_EXTENSION_OPTIONS
public static final int RS2_EXTENSION_VIDEO
public static final int RS2_EXTENSION_ROI
public static final int RS2_EXTENSION_DEPTH_SENSOR
public static final int RS2_EXTENSION_VIDEO_FRAME
public static final int RS2_EXTENSION_MOTION_FRAME
public static final int RS2_EXTENSION_COMPOSITE_FRAME
public static final int RS2_EXTENSION_POINTS
public static final int RS2_EXTENSION_DEPTH_FRAME
public static final int RS2_EXTENSION_ADVANCED_MODE
public static final int RS2_EXTENSION_RECORD
public static final int RS2_EXTENSION_VIDEO_PROFILE
public static final int RS2_EXTENSION_PLAYBACK
public static final int RS2_EXTENSION_DEPTH_STEREO_SENSOR
public static final int RS2_EXTENSION_DISPARITY_FRAME
public static final int RS2_EXTENSION_MOTION_PROFILE
public static final int RS2_EXTENSION_POSE_FRAME
public static final int RS2_EXTENSION_POSE_PROFILE
public static final int RS2_EXTENSION_TM2
public static final int RS2_EXTENSION_SOFTWARE_DEVICE
public static final int RS2_EXTENSION_SOFTWARE_SENSOR
public static final int RS2_EXTENSION_DECIMATION_FILTER
public static final int RS2_EXTENSION_THRESHOLD_FILTER
public static final int RS2_EXTENSION_DISPARITY_FILTER
public static final int RS2_EXTENSION_SPATIAL_FILTER
public static final int RS2_EXTENSION_TEMPORAL_FILTER
public static final int RS2_EXTENSION_HOLE_FILLING_FILTER
public static final int RS2_EXTENSION_ZERO_ORDER_FILTER
public static final int RS2_EXTENSION_RECOMMENDED_FILTERS
public static final int RS2_EXTENSION_POSE
public static final int RS2_EXTENSION_POSE_SENSOR
public static final int RS2_EXTENSION_WHEEL_ODOMETER
public static final int RS2_EXTENSION_GLOBAL_TIMER
public static final int RS2_EXTENSION_UPDATABLE
public static final int RS2_EXTENSION_UPDATE_DEVICE
public static final int RS2_EXTENSION_L500_DEPTH_SENSOR
public static final int RS2_EXTENSION_TM2_SENSOR
public static final int RS2_EXTENSION_AUTO_CALIBRATED_DEVICE
public static final int RS2_EXTENSION_COLOR_SENSOR
public static final int RS2_EXTENSION_MOTION_SENSOR
public static final int RS2_EXTENSION_FISHEYE_SENSOR
public static final int RS2_EXTENSION_DEPTH_HUFFMAN_DECODER
public static final int RS2_EXTENSION_SERIALIZABLE
public static final int RS2_EXTENSION_FW_LOGGER
public static final int RS2_EXTENSION_AUTO_CALIBRATION_FILTER
public static final int RS2_EXTENSION_DEVICE_CALIBRATION
public static final int RS2_EXTENSION_CALIBRATED_SENSOR
public static final int RS2_EXTENSION_HDR_MERGE
public static final int RS2_EXTENSION_SEQUENCE_ID_FILTER
public static final int RS2_EXTENSION_MAX_USABLE_RANGE_SENSOR
public static final int RS2_EXTENSION_DEBUG_STREAM_SENSOR
public static final int RS2_EXTENSION_CALIBRATION_CHANGE_DEVICE
public static final int RS2_EXTENSION_COUNT
public static final int RS2_MATCHER_DI
public static final int RS2_MATCHER_DI_C
public static final int RS2_MATCHER_DLR_C
public static final int RS2_MATCHER_DLR
public static final int RS2_MATCHER_DIC
public static final int RS2_MATCHER_DIC_C
public static final int RS2_MATCHER_DEFAULT
public static final int RS2_MATCHER_COUNT
public static final int RS2_PRODUCT_LINE_ANY
public static final int RS2_PRODUCT_LINE_ANY_INTEL
public static final int RS2_PRODUCT_LINE_NON_INTEL
public static final int RS2_PRODUCT_LINE_D400
public static final int RS2_PRODUCT_LINE_SR300
public static final int RS2_PRODUCT_LINE_L500
public static final int RS2_PRODUCT_LINE_T200
public static final int RS2_PRODUCT_LINE_DEPTH
public static final int RS2_PRODUCT_LINE_TRACKING
public static final int RS2_UNSIGNED_UPDATE_MODE_UPDATE
public static final int RS2_UNSIGNED_UPDATE_MODE_READ_ONLY
public static final int RS2_UNSIGNED_UPDATE_MODE_FULL
public static final int RS2_CALIBRATION_AUTO_DEPTH_TO_RGB
public static final int RS2_CALIBRATION_MANUAL_DEPTH_TO_RGB
public static final int RS2_CALIBRATION_THERMAL
public static final int RS2_CALIBRATION_TYPE_COUNT
public static final int RS2_CALIBRATION_TRIGGERED
public static final int RS2_CALIBRATION_SPECIAL_FRAME
public static final int RS2_CALIBRATION_STARTED
public static final int RS2_CALIBRATION_NOT_NEEDED
public static final int RS2_CALIBRATION_SUCCESSFUL
public static final int RS2_CALIBRATION_RETRY
public static final int RS2_CALIBRATION_FAILED
public static final int RS2_CALIBRATION_SCENE_INVALID
public static final int RS2_CALIBRATION_BAD_RESULT
public static final int RS2_CALIBRATION_BAD_CONDITIONS
public static final int RS2_CALIBRATION_STATUS_FIRST
public static final int RS2_CALIBRATION_STATUS_LAST
public static final int RS2_CALIBRATION_STATUS_COUNT
public static final int RS2_TIMESTAMP_DOMAIN_HARDWARE_CLOCK
public static final int RS2_TIMESTAMP_DOMAIN_SYSTEM_TIME
public static final int RS2_TIMESTAMP_DOMAIN_GLOBAL_TIME
public static final int RS2_TIMESTAMP_DOMAIN_COUNT
public static final int RS2_FRAME_METADATA_FRAME_COUNTER
public static final int RS2_FRAME_METADATA_FRAME_TIMESTAMP
public static final int RS2_FRAME_METADATA_SENSOR_TIMESTAMP
public static final int RS2_FRAME_METADATA_ACTUAL_EXPOSURE
public static final int RS2_FRAME_METADATA_GAIN_LEVEL
public static final int RS2_FRAME_METADATA_AUTO_EXPOSURE
public static final int RS2_FRAME_METADATA_WHITE_BALANCE
public static final int RS2_FRAME_METADATA_TIME_OF_ARRIVAL
public static final int RS2_FRAME_METADATA_TEMPERATURE
public static final int RS2_FRAME_METADATA_BACKEND_TIMESTAMP
public static final int RS2_FRAME_METADATA_ACTUAL_FPS
public static final int RS2_FRAME_METADATA_FRAME_LASER_POWER
public static final int RS2_FRAME_METADATA_FRAME_LASER_POWER_MODE
public static final int RS2_FRAME_METADATA_EXPOSURE_PRIORITY
public static final int RS2_FRAME_METADATA_EXPOSURE_ROI_LEFT
public static final int RS2_FRAME_METADATA_EXPOSURE_ROI_RIGHT
public static final int RS2_FRAME_METADATA_EXPOSURE_ROI_TOP
public static final int RS2_FRAME_METADATA_EXPOSURE_ROI_BOTTOM
public static final int RS2_FRAME_METADATA_BRIGHTNESS
public static final int RS2_FRAME_METADATA_CONTRAST
public static final int RS2_FRAME_METADATA_SATURATION
public static final int RS2_FRAME_METADATA_SHARPNESS
public static final int RS2_FRAME_METADATA_AUTO_WHITE_BALANCE_TEMPERATURE
public static final int RS2_FRAME_METADATA_BACKLIGHT_COMPENSATION
public static final int RS2_FRAME_METADATA_HUE
public static final int RS2_FRAME_METADATA_GAMMA
public static final int RS2_FRAME_METADATA_MANUAL_WHITE_BALANCE
public static final int RS2_FRAME_METADATA_POWER_LINE_FREQUENCY
public static final int RS2_FRAME_METADATA_LOW_LIGHT_COMPENSATION
public static final int RS2_FRAME_METADATA_FRAME_EMITTER_MODE
public static final int RS2_FRAME_METADATA_FRAME_LED_POWER
public static final int RS2_FRAME_METADATA_RAW_FRAME_SIZE
public static final int RS2_FRAME_METADATA_GPIO_INPUT_DATA
public static final int RS2_FRAME_METADATA_SEQUENCE_NAME
public static final int RS2_FRAME_METADATA_SEQUENCE_ID
public static final int RS2_FRAME_METADATA_SEQUENCE_SIZE
public static final int RS2_FRAME_METADATA_TRIGGER
public static final int RS2_FRAME_METADATA_PRESET
public static final int RS2_FRAME_METADATA_INPUT_WIDTH
public static final int RS2_FRAME_METADATA_INPUT_HEIGHT
public static final int RS2_FRAME_METADATA_SUB_PRESET_INFO
public static final int RS2_FRAME_METADATA_CALIB_INFO
public static final int RS2_FRAME_METADATA_CRC
public static final int RS2_FRAME_METADATA_COUNT
public static final int RS2_CALIB_TARGET_RECT_GAUSSIAN_DOT_VERTICES
public static final int RS2_CALIB_TARGET_ROI_RECT_GAUSSIAN_DOT_VERTICES
public static final int RS2_CALIB_TARGET_POS_GAUSSIAN_DOT_VERTICES
public static final int RS2_CALIB_TARGET_COUNT
public static final int RS2_OPTION_BACKLIGHT_COMPENSATION
public static final int RS2_OPTION_BRIGHTNESS
public static final int RS2_OPTION_CONTRAST
public static final int RS2_OPTION_EXPOSURE
public static final int RS2_OPTION_GAIN
public static final int RS2_OPTION_GAMMA
public static final int RS2_OPTION_HUE
public static final int RS2_OPTION_SATURATION
public static final int RS2_OPTION_SHARPNESS
public static final int RS2_OPTION_WHITE_BALANCE
public static final int RS2_OPTION_ENABLE_AUTO_EXPOSURE
public static final int RS2_OPTION_ENABLE_AUTO_WHITE_BALANCE
public static final int RS2_OPTION_VISUAL_PRESET
public static final int RS2_OPTION_LASER_POWER
public static final int RS2_OPTION_ACCURACY
public static final int RS2_OPTION_MOTION_RANGE
public static final int RS2_OPTION_FILTER_OPTION
public static final int RS2_OPTION_CONFIDENCE_THRESHOLD
public static final int RS2_OPTION_EMITTER_ENABLED
public static final int RS2_OPTION_FRAMES_QUEUE_SIZE
public static final int RS2_OPTION_TOTAL_FRAME_DROPS
public static final int RS2_OPTION_AUTO_EXPOSURE_MODE
public static final int RS2_OPTION_POWER_LINE_FREQUENCY
public static final int RS2_OPTION_ASIC_TEMPERATURE
public static final int RS2_OPTION_ERROR_POLLING_ENABLED
public static final int RS2_OPTION_PROJECTOR_TEMPERATURE
public static final int RS2_OPTION_OUTPUT_TRIGGER_ENABLED
public static final int RS2_OPTION_MOTION_MODULE_TEMPERATURE
public static final int RS2_OPTION_DEPTH_UNITS
public static final int RS2_OPTION_ENABLE_MOTION_CORRECTION
public static final int RS2_OPTION_AUTO_EXPOSURE_PRIORITY
public static final int RS2_OPTION_COLOR_SCHEME
public static final int RS2_OPTION_HISTOGRAM_EQUALIZATION_ENABLED
public static final int RS2_OPTION_MIN_DISTANCE
public static final int RS2_OPTION_MAX_DISTANCE
public static final int RS2_OPTION_TEXTURE_SOURCE
public static final int RS2_OPTION_FILTER_MAGNITUDE
public static final int RS2_OPTION_FILTER_SMOOTH_ALPHA
public static final int RS2_OPTION_FILTER_SMOOTH_DELTA
public static final int RS2_OPTION_HOLES_FILL
public static final int RS2_OPTION_STEREO_BASELINE
public static final int RS2_OPTION_AUTO_EXPOSURE_CONVERGE_STEP
public static final int RS2_OPTION_INTER_CAM_SYNC_MODE
public static final int RS2_OPTION_STREAM_FILTER
public static final int RS2_OPTION_STREAM_FORMAT_FILTER
public static final int RS2_OPTION_STREAM_INDEX_FILTER
public static final int RS2_OPTION_EMITTER_ON_OFF
public static final int RS2_OPTION_ZERO_ORDER_POINT_X
public static final int RS2_OPTION_ZERO_ORDER_POINT_Y
public static final int RS2_OPTION_LLD_TEMPERATURE
public static final int RS2_OPTION_MC_TEMPERATURE
public static final int RS2_OPTION_MA_TEMPERATURE
public static final int RS2_OPTION_HARDWARE_PRESET
public static final int RS2_OPTION_GLOBAL_TIME_ENABLED
public static final int RS2_OPTION_APD_TEMPERATURE
public static final int RS2_OPTION_ENABLE_MAPPING
public static final int RS2_OPTION_ENABLE_RELOCALIZATION
public static final int RS2_OPTION_ENABLE_POSE_JUMPING
public static final int RS2_OPTION_ENABLE_DYNAMIC_CALIBRATION
public static final int RS2_OPTION_DEPTH_OFFSET
public static final int RS2_OPTION_LED_POWER
public static final int RS2_OPTION_ZERO_ORDER_ENABLED
public static final int RS2_OPTION_ENABLE_MAP_PRESERVATION
public static final int RS2_OPTION_FREEFALL_DETECTION_ENABLED
public static final int RS2_OPTION_AVALANCHE_PHOTO_DIODE
public static final int RS2_OPTION_POST_PROCESSING_SHARPENING
public static final int RS2_OPTION_PRE_PROCESSING_SHARPENING
public static final int RS2_OPTION_NOISE_FILTERING
public static final int RS2_OPTION_INVALIDATION_BYPASS
public static final int RS2_OPTION_AMBIENT_LIGHT
public static final int RS2_OPTION_DIGITAL_GAIN
public static final int RS2_OPTION_SENSOR_MODE
public static final int RS2_OPTION_EMITTER_ALWAYS_ON
public static final int RS2_OPTION_THERMAL_COMPENSATION
public static final int RS2_OPTION_TRIGGER_CAMERA_ACCURACY_HEALTH
public static final int RS2_OPTION_RESET_CAMERA_ACCURACY_HEALTH
public static final int RS2_OPTION_HOST_PERFORMANCE
public static final int RS2_OPTION_HDR_ENABLED
public static final int RS2_OPTION_SEQUENCE_NAME
public static final int RS2_OPTION_SEQUENCE_SIZE
public static final int RS2_OPTION_SEQUENCE_ID
public static final int RS2_OPTION_HUMIDITY_TEMPERATURE
public static final int RS2_OPTION_ENABLE_MAX_USABLE_RANGE
public static final int RS2_OPTION_ALTERNATE_IR
public static final int RS2_OPTION_NOISE_ESTIMATION
public static final int RS2_OPTION_ENABLE_IR_REFLECTIVITY
public static final int RS2_OPTION_AUTO_EXPOSURE_LIMIT
public static final int RS2_OPTION_AUTO_GAIN_LIMIT
public static final int RS2_OPTION_AUTO_RX_SENSITIVITY
public static final int RS2_OPTION_TRANSMITTER_FREQUENCY
public static final int RS2_OPTION_VERTICAL_BINNING
public static final int RS2_OPTION_RECEIVER_SENSITIVITY
public static final int RS2_OPTION_AUTO_EXPOSURE_LIMIT_TOGGLE
public static final int RS2_OPTION_AUTO_GAIN_LIMIT_TOGGLE
public static final int RS2_OPTION_EMITTER_FREQUENCY
public static final int RS2_OPTION_COUNT
public static final int RS2_SR300_VISUAL_PRESET_SHORT_RANGE
public static final int RS2_SR300_VISUAL_PRESET_LONG_RANGE
public static final int RS2_SR300_VISUAL_PRESET_BACKGROUND_SEGMENTATION
public static final int RS2_SR300_VISUAL_PRESET_GESTURE_RECOGNITION
public static final int RS2_SR300_VISUAL_PRESET_OBJECT_SCANNING
public static final int RS2_SR300_VISUAL_PRESET_FACE_ANALYTICS
public static final int RS2_SR300_VISUAL_PRESET_FACE_LOGIN
public static final int RS2_SR300_VISUAL_PRESET_GR_CURSOR
public static final int RS2_SR300_VISUAL_PRESET_DEFAULT
public static final int RS2_SR300_VISUAL_PRESET_MID_RANGE
public static final int RS2_SR300_VISUAL_PRESET_IR_ONLY
public static final int RS2_SR300_VISUAL_PRESET_COUNT
public static final int RS2_RS400_VISUAL_PRESET_CUSTOM
public static final int RS2_RS400_VISUAL_PRESET_DEFAULT
public static final int RS2_RS400_VISUAL_PRESET_HAND
public static final int RS2_RS400_VISUAL_PRESET_HIGH_ACCURACY
public static final int RS2_RS400_VISUAL_PRESET_HIGH_DENSITY
public static final int RS2_RS400_VISUAL_PRESET_MEDIUM_DENSITY
public static final int RS2_RS400_VISUAL_PRESET_REMOVE_IR_PATTERN
public static final int RS2_RS400_VISUAL_PRESET_COUNT
public static final int RS2_L500_VISUAL_PRESET_CUSTOM
public static final int RS2_L500_VISUAL_PRESET_DEFAULT
public static final int RS2_L500_VISUAL_PRESET_NO_AMBIENT
public static final int RS2_L500_VISUAL_PRESET_LOW_AMBIENT
public static final int RS2_L500_VISUAL_PRESET_MAX_RANGE
public static final int RS2_L500_VISUAL_PRESET_SHORT_RANGE
public static final int RS2_L500_VISUAL_PRESET_AUTOMATIC
public static final int RS2_L500_VISUAL_PRESET_COUNT
public static final int RS2_SENSOR_MODE_VGA
public static final int RS2_SENSOR_MODE_XGA
public static final int RS2_SENSOR_MODE_QVGA
public static final int RS2_SENSOR_MODE_COUNT
public static final int RS2_AMBIENT_LIGHT_NO_AMBIENT
public static final int RS2_AMBIENT_LIGHT_LOW_AMBIENT
public static final int RS2_DIGITAL_GAIN_AUTO
public static final int RS2_DIGITAL_GAIN_HIGH
public static final int RS2_DIGITAL_GAIN_LOW
public static final int RS2_HOST_PERF_DEFAULT
public static final int RS2_HOST_PERF_LOW
public static final int RS2_HOST_PERF_HIGH
public static final int RS2_HOST_PERF_COUNT
public static final int RS2_EMITTER_FREQUENCY_57_KHZ
public static final int RS2_EMITTER_FREQUENCY_91_KHZ
public static final int RS2_EMITTER_FREQUENCY_COUNT
public static final int RS2_PLAYBACK_STATUS_UNKNOWN
public static final int RS2_PLAYBACK_STATUS_PLAYING
public static final int RS2_PLAYBACK_STATUS_PAUSED
public static final int RS2_PLAYBACK_STATUS_STOPPED
public static final int RS2_PLAYBACK_STATUS_COUNT
public static final int RS2_CAMERA_INFO_NAME
public static final int RS2_CAMERA_INFO_SERIAL_NUMBER
public static final int RS2_CAMERA_INFO_FIRMWARE_VERSION
public static final int RS2_CAMERA_INFO_RECOMMENDED_FIRMWARE_VERSION
public static final int RS2_CAMERA_INFO_PHYSICAL_PORT
public static final int RS2_CAMERA_INFO_DEBUG_OP_CODE
public static final int RS2_CAMERA_INFO_ADVANCED_MODE
public static final int RS2_CAMERA_INFO_PRODUCT_ID
public static final int RS2_CAMERA_INFO_CAMERA_LOCKED
public static final int RS2_CAMERA_INFO_USB_TYPE_DESCRIPTOR
public static final int RS2_CAMERA_INFO_PRODUCT_LINE
public static final int RS2_CAMERA_INFO_ASIC_SERIAL_NUMBER
public static final int RS2_CAMERA_INFO_FIRMWARE_UPDATE_ID
public static final int RS2_CAMERA_INFO_IP_ADDRESS
public static final int RS2_CAMERA_INFO_COUNT
public static final int RS2_STREAM_ANY
public static final int RS2_STREAM_DEPTH
public static final int RS2_STREAM_COLOR
public static final int RS2_STREAM_INFRARED
public static final int RS2_STREAM_FISHEYE
public static final int RS2_STREAM_GYRO
public static final int RS2_STREAM_ACCEL
public static final int RS2_STREAM_GPIO
public static final int RS2_STREAM_POSE
public static final int RS2_STREAM_CONFIDENCE
public static final int RS2_STREAM_COUNT
public static final int RS2_FORMAT_ANY
public static final int RS2_FORMAT_Z16
public static final int RS2_FORMAT_DISPARITY16
public static final int RS2_FORMAT_XYZ32F
public static final int RS2_FORMAT_YUYV
public static final int RS2_FORMAT_RGB8
public static final int RS2_FORMAT_BGR8
public static final int RS2_FORMAT_RGBA8
public static final int RS2_FORMAT_BGRA8
public static final int RS2_FORMAT_Y8
public static final int RS2_FORMAT_Y16
public static final int RS2_FORMAT_RAW10
public static final int RS2_FORMAT_RAW16
public static final int RS2_FORMAT_RAW8
public static final int RS2_FORMAT_UYVY
public static final int RS2_FORMAT_MOTION_RAW
public static final int RS2_FORMAT_MOTION_XYZ32F
public static final int RS2_FORMAT_GPIO_RAW
public static final int RS2_FORMAT_6DOF
public static final int RS2_FORMAT_DISPARITY32
public static final int RS2_FORMAT_Y10BPACK
public static final int RS2_FORMAT_DISTANCE
public static final int RS2_FORMAT_MJPEG
public static final int RS2_FORMAT_Y8I
public static final int RS2_FORMAT_Y12I
public static final int RS2_FORMAT_INZI
public static final int RS2_FORMAT_INVI
public static final int RS2_FORMAT_W10
public static final int RS2_FORMAT_Z16H
public static final int RS2_FORMAT_FG
public static final int RS2_FORMAT_Y411
public static final int RS2_FORMAT_Y16I
public static final int RS2_FORMAT_COUNT
public static final int RS2_DEFAULT_TIMEOUT
public static final int RS2_API_MAJOR_VERSION
public static final int RS2_API_MINOR_VERSION
public static final int RS2_API_PATCH_VERSION
public static final int RS2_API_BUILD_VERSION
public static final int RS2_API_VERSION
public static final String RS2_API_VERSION_STR
public static final String RS2_API_FULL_VERSION_STR
@Cast(value="const char*") public static BytePointer rs2_notification_category_to_string(@Cast(value="rs2_notification_category") int category)
@Cast(value="const char*") public static BytePointer rs2_exception_type_to_string(@Cast(value="rs2_exception_type") int type)
@Cast(value="const char*") public static BytePointer rs2_distortion_to_string(@Cast(value="rs2_distortion") int distortion)
@Cast(value="const char*") public static BytePointer rs2_log_severity_to_string(@Cast(value="rs2_log_severity") int info)
@Cast(value="const char*") public static BytePointer rs2_extension_type_to_string(@Cast(value="rs2_extension") int type)
@Cast(value="const char*") public static BytePointer rs2_extension_to_string(@Cast(value="rs2_extension") int type)
@Cast(value="const char*") public static BytePointer rs2_matchers_to_string(@Cast(value="rs2_matchers") int stream)
public static rs2_error rs2_create_error(@Cast(value="const char*") BytePointer what, @Cast(value="const char*") BytePointer name, @Cast(value="const char*") BytePointer args, @Cast(value="rs2_exception_type") int type)
public static rs2_error rs2_create_error(String what, String name, String args, @Cast(value="rs2_exception_type") int type)
@Cast(value="rs2_exception_type") public static int rs2_get_librealsense_exception_type(@Const rs2_error error)
@Cast(value="const char*") public static BytePointer rs2_get_failed_function(@Const rs2_error error)
@Cast(value="const char*") public static BytePointer rs2_get_failed_args(@Const rs2_error error)
@Cast(value="const char*") public static BytePointer rs2_get_error_message(@Const rs2_error error)
public static void rs2_free_error(rs2_error error)
public static rs2_context rs2_create_context(int api_version, @Cast(value="rs2_error**") PointerPointer error)
api_version
- [in] Users are expected to pass their version of \c RS2_API_VERSION to make sure they are running the correct librealsense version.error
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored.public static rs2_context rs2_create_context(int api_version, @ByPtrPtr rs2_error error)
public static void rs2_delete_context(rs2_context context)
context
- [in] Object that is no longer neededpublic static void rs2_set_devices_changed_callback_cpp(rs2_context context, rs2_devices_changed_callback callback, @Cast(value="rs2_error**") PointerPointer error)
context
- Object representing librealsense sessioncallback
- [in] callback object created from c++ application. ownership over the callback object is moved into the contexterror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_set_devices_changed_callback_cpp(rs2_context context, rs2_devices_changed_callback callback, @ByPtrPtr rs2_error error)
public static void rs2_set_devices_changed_callback(@Const rs2_context context, rs2_devices_changed_callback_ptr callback, Pointer user, @Cast(value="rs2_error**") PointerPointer error)
context
- Object representing librealsense sessioncallback
- [in] function pointer to register as per-notifications callbackerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_set_devices_changed_callback(@Const rs2_context context, rs2_devices_changed_callback_ptr callback, Pointer user, @ByPtrPtr rs2_error error)
public static rs2_device rs2_context_add_device(rs2_context ctx, @Cast(value="const char*") BytePointer file, @Cast(value="rs2_error**") PointerPointer error)
ctx
- The context to which the new device will be addedfile
- The file from which the device should be createderror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_device rs2_context_add_device(rs2_context ctx, @Cast(value="const char*") BytePointer file, @ByPtrPtr rs2_error error)
public static rs2_device rs2_context_add_device(rs2_context ctx, String file, @ByPtrPtr rs2_error error)
public static void rs2_context_add_software_device(rs2_context ctx, rs2_device dev, @Cast(value="rs2_error**") PointerPointer error)
ctx
- The context to which the new device will be addeddev
- Instance of software device to register into the contexterror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_context_add_software_device(rs2_context ctx, rs2_device dev, @ByPtrPtr rs2_error error)
public static void rs2_context_remove_device(rs2_context ctx, @Cast(value="const char*") BytePointer file, @Cast(value="rs2_error**") PointerPointer error)
ctx
- [in] The context from which the device should be removedfile
- [in] The file name that was used to add the deviceerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_context_remove_device(rs2_context ctx, @Cast(value="const char*") BytePointer file, @ByPtrPtr rs2_error error)
public static void rs2_context_remove_device(rs2_context ctx, String file, @ByPtrPtr rs2_error error)
public static void rs2_context_unload_tracking_module(rs2_context ctx, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_context_unload_tracking_module(rs2_context ctx, @ByPtrPtr rs2_error error)
public static rs2_device_list rs2_query_devices(@Const rs2_context context, @Cast(value="rs2_error**") PointerPointer error)
context
- Object representing librealsense sessionerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_device_list rs2_query_devices(@Const rs2_context context, @ByPtrPtr rs2_error error)
public static rs2_device_list rs2_query_devices_ex(@Const rs2_context context, int product_mask, @Cast(value="rs2_error**") PointerPointer error)
context
- Object representing librealsense sessionproduct_mask
- Controls what kind of devices will be returnederror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_device_list rs2_query_devices_ex(@Const rs2_context context, int product_mask, @ByPtrPtr rs2_error error)
public static rs2_device_hub rs2_create_device_hub(@Const rs2_context context, @Cast(value="rs2_error**") PointerPointer error)
context
- [in] The context for the device huberror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored.public static rs2_device_hub rs2_create_device_hub(@Const rs2_context context, @ByPtrPtr rs2_error error)
public static void rs2_delete_device_hub(@Const rs2_device_hub hub)
hub
- [in] Object that is no longer neededpublic static rs2_device rs2_device_hub_wait_for_device(@Const rs2_device_hub hub, @Cast(value="rs2_error**") PointerPointer error)
ctx
- [in] The context to creat the devicehub
- [in] The device hub objecterror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored.public static rs2_device rs2_device_hub_wait_for_device(@Const rs2_device_hub hub, @ByPtrPtr rs2_error error)
public static int rs2_device_hub_is_device_connected(@Const rs2_device_hub hub, @Const rs2_device device, @Cast(value="rs2_error**") PointerPointer error)
hub
- [in] The device hub objectdevice
- [in] The deviceerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored.public static int rs2_device_hub_is_device_connected(@Const rs2_device_hub hub, @Const rs2_device device, @ByPtrPtr rs2_error error)
public static int rs2_get_device_count(@Const rs2_device_list info_list, @Cast(value="rs2_error**") PointerPointer error)
info_list
- [in] The list of connected devices captured using rs2_query_deviceserror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_get_device_count(@Const rs2_device_list info_list, @ByPtrPtr rs2_error error)
public static void rs2_delete_device_list(rs2_device_list info_list)
info_list
- [in] List to deletepublic static int rs2_device_list_contains(@Const rs2_device_list info_list, @Const rs2_device device, @Cast(value="rs2_error**") PointerPointer error)
info_list
- [in] The list of devices to check indevice
- [in] RealSense device to check forerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_device_list_contains(@Const rs2_device_list info_list, @Const rs2_device device, @ByPtrPtr rs2_error error)
public static rs2_device rs2_create_device(@Const rs2_device_list info_list, int index, @Cast(value="rs2_error**") PointerPointer error)
info_list
- [in] the list containing the device to retrieveindex
- [in] The zero based index of device to retrieveerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_device rs2_create_device(@Const rs2_device_list info_list, int index, @ByPtrPtr rs2_error error)
public static void rs2_delete_device(rs2_device device)
device
- [in] Realsense device to delete@Cast(value="const char*") public static BytePointer rs2_get_device_info(@Const rs2_device device, @Cast(value="rs2_camera_info") int info, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] The RealSense deviceinfo
- [in] Camera info type to retrieveerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored@Cast(value="const char*") public static BytePointer rs2_get_device_info(@Const rs2_device device, @Cast(value="rs2_camera_info") int info, @ByPtrPtr rs2_error error)
public static int rs2_supports_device_info(@Const rs2_device device, @Cast(value="rs2_camera_info") int info, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] The RealSense device to checkinfo
- [in] The parameter to check for supporterror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_supports_device_info(@Const rs2_device device, @Cast(value="rs2_camera_info") int info, @ByPtrPtr rs2_error error)
public static void rs2_hardware_reset(@Const rs2_device device, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] The RealSense device to reseterror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_hardware_reset(@Const rs2_device device, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_build_debug_protocol_command(rs2_device device, @Cast(value="unsigned") int opcode, @Cast(value="unsigned") int param1, @Cast(value="unsigned") int param2, @Cast(value="unsigned") int param3, @Cast(value="unsigned") int param4, Pointer data, @Cast(value="unsigned") int size_of_data, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] RealSense device to send data toopcode
- [in] Commad opcodeparam
- [in] 1 First input parameterparam
- [in] 2 Second parameterparam
- [in] 3 Third parameterparam
- [in] 4 Fourth parameterdata
- [in] Input Data (up to 1024 bytes)size_of_data
- [in] Size of input data in byteserror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored@Const public static rs2_raw_data_buffer rs2_build_debug_protocol_command(rs2_device device, @Cast(value="unsigned") int opcode, @Cast(value="unsigned") int param1, @Cast(value="unsigned") int param2, @Cast(value="unsigned") int param3, @Cast(value="unsigned") int param4, Pointer data, @Cast(value="unsigned") int size_of_data, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_send_and_receive_raw_data(rs2_device device, Pointer raw_data_to_send, @Cast(value="unsigned") int size_of_raw_data_to_send, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] RealSense device to send data toraw_data_to_send
- [in] Raw data to be sent to devicesize_of_raw_data_to_send
- [in] Size of raw_data_to_send in byteserror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored@Const public static rs2_raw_data_buffer rs2_send_and_receive_raw_data(rs2_device device, Pointer raw_data_to_send, @Cast(value="unsigned") int size_of_raw_data_to_send, @ByPtrPtr rs2_error error)
public static int rs2_is_device_extendable_to(@Const rs2_device device, @Cast(value="rs2_extension") int extension, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] Realsense deviceextension
- [in] The extension to which the device should be tested if it is extendableerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_is_device_extendable_to(@Const rs2_device device, @Cast(value="rs2_extension") int extension, @ByPtrPtr rs2_error error)
public static rs2_sensor_list rs2_query_sensors(@Const rs2_device device, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] Specific RealSense deviceerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_sensor_list rs2_query_sensors(@Const rs2_device device, @ByPtrPtr rs2_error error)
public static void rs2_loopback_enable(@Const rs2_device device, @Cast(value="const char*") BytePointer from_file, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] Device to enter into loopback operation modefrom_file
- [in] Path to bag file with raw data for loopbackerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_loopback_enable(@Const rs2_device device, @Cast(value="const char*") BytePointer from_file, @ByPtrPtr rs2_error error)
public static void rs2_loopback_enable(@Const rs2_device device, String from_file, @ByPtrPtr rs2_error error)
public static void rs2_loopback_disable(@Const rs2_device device, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] Device to restore to normal operation modeerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_loopback_disable(@Const rs2_device device, @ByPtrPtr rs2_error error)
public static int rs2_loopback_is_enabled(@Const rs2_device device, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] Device to check for operation modeerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_loopback_is_enabled(@Const rs2_device device, @ByPtrPtr rs2_error error)
public static void rs2_connect_tm2_controller(@Const rs2_device device, @Cast(value="const unsigned char*") BytePointer mac_addr, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] Device to connect to the controllermac_addr
- [in] The MAC address of the desired controllererror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_connect_tm2_controller(@Const rs2_device device, @Cast(value="const unsigned char*") BytePointer mac_addr, @ByPtrPtr rs2_error error)
public static void rs2_connect_tm2_controller(@Const rs2_device device, @Cast(value="const unsigned char*") ByteBuffer mac_addr, @ByPtrPtr rs2_error error)
public static void rs2_connect_tm2_controller(@Const rs2_device device, @Cast(value="const unsigned char*") byte[] mac_addr, @ByPtrPtr rs2_error error)
public static void rs2_disconnect_tm2_controller(@Const rs2_device device, int id, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] Device to disconnect the controller fromid
- [in] The ID of the desired controllererror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_disconnect_tm2_controller(@Const rs2_device device, int id, @ByPtrPtr rs2_error error)
public static void rs2_reset_to_factory_calibration(@Const rs2_device device, @Cast(value="rs2_error**") PointerPointer e)
device
- [in] The RealSense deviceerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_reset_to_factory_calibration(@Const rs2_device device, @ByPtrPtr rs2_error e)
public static void rs2_write_calibration(@Const rs2_device device, @Cast(value="rs2_error**") PointerPointer e)
device
- [in] The RealSense deviceerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_write_calibration(@Const rs2_device device, @ByPtrPtr rs2_error e)
public static void rs2_update_firmware_cpp(@Const rs2_device device, @Const Pointer fw_image, int fw_image_size, rs2_update_progress_callback callback, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] Device to updatefw_image
- [in] Firmware image bufferfw_image_size
- [in] Firmware image buffer sizecallback
- [in] Optional callback for update progress notifications, the progress value is normailzed to 1error
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_update_firmware_cpp(@Const rs2_device device, @Const Pointer fw_image, int fw_image_size, rs2_update_progress_callback callback, @ByPtrPtr rs2_error error)
public static void rs2_update_firmware(@Const rs2_device device, @Const Pointer fw_image, int fw_image_size, rs2_update_progress_callback_ptr callback, Pointer client_data, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] Device to updatefw_image
- [in] Firmware image bufferfw_image_size
- [in] Firmware image buffer sizecallback
- [in] Optional callback for update progress notifications, the progress value is normailzed to 1client_data
- [in] Optional client data for the callbackerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_update_firmware(@Const rs2_device device, @Const Pointer fw_image, int fw_image_size, rs2_update_progress_callback_ptr callback, Pointer client_data, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_create_flash_backup_cpp(@Const rs2_device device, rs2_update_progress_callback callback, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] Device to updatecallback
- [in] Optional callback for update progress notifications, the progress value is normailzed to 1error
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored@Const public static rs2_raw_data_buffer rs2_create_flash_backup_cpp(@Const rs2_device device, rs2_update_progress_callback callback, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_create_flash_backup(@Const rs2_device device, rs2_update_progress_callback_ptr callback, Pointer client_data, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] Device to updatecallback
- [in] Optional callback for update progress notifications, the progress value is normailzed to 1client_data
- [in] Optional client data for the callbackerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored@Const public static rs2_raw_data_buffer rs2_create_flash_backup(@Const rs2_device device, rs2_update_progress_callback_ptr callback, Pointer client_data, @ByPtrPtr rs2_error error)
public static void rs2_update_firmware_unsigned_cpp(@Const rs2_device device, @Const Pointer fw_image, int fw_image_size, rs2_update_progress_callback callback, int update_mode, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] Device to updatefw_image
- [in] Firmware image bufferfw_image_size
- [in] Firmware image buffer sizecallback
- [in] Optional callback for update progress notifications, the progress value is normailzed to 1update_mode
- [in] Select one of RS2_UNSIGNED_UPDATE_MODE, WARNING!!! setting to any option other than RS2_UNSIGNED_UPDATE_MODE_UPDATE will make this call unsafe and might damage the cameraerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_update_firmware_unsigned_cpp(@Const rs2_device device, @Const Pointer fw_image, int fw_image_size, rs2_update_progress_callback callback, int update_mode, @ByPtrPtr rs2_error error)
public static int rs2_check_firmware_compatibility(@Const rs2_device device, @Const Pointer fw_image, int fw_image_size, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] Device to updatefw_image
- [in] Firmware image bufferfw_image_size
- [in] Firmware image buffer size in byteserror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_check_firmware_compatibility(@Const rs2_device device, @Const Pointer fw_image, int fw_image_size, @ByPtrPtr rs2_error error)
public static void rs2_update_firmware_unsigned(@Const rs2_device device, @Const Pointer fw_image, int fw_image_size, rs2_update_progress_callback_ptr callback, Pointer client_data, int update_mode, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] Device to updatefw_image
- [in] Firmware image bufferfw_image_size
- [in] Firmware image buffer sizecallback
- [in] Optional callback for update progress notifications, the progress value is normailzed to 1client_data
- [in] Optional client data for the callbackupdate_mode
- [in] Select one of RS2_UNSIGNED_UPDATE_MODE, WARNING!!! setting to any option other than RS2_UNSIGNED_UPDATE_MODE_UPDATE will make this call unsafe and might damage the cameraerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_update_firmware_unsigned(@Const rs2_device device, @Const Pointer fw_image, int fw_image_size, rs2_update_progress_callback_ptr callback, Pointer client_data, int update_mode, @ByPtrPtr rs2_error error)
public static void rs2_enter_update_state(@Const rs2_device device, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] Device to updateerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_enter_update_state(@Const rs2_device device, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_run_on_chip_calibration_cpp(rs2_device device, @Const Pointer json_content, int content_size, FloatPointer health, rs2_update_progress_callback progress_callback, int timeout_ms, @Cast(value="rs2_error**") PointerPointer error)
json_content
- [in] Json string to configure regular speed on chip calibration parameters:
{
"calib type" : 0,
"speed": 3,
"scan parameter": 0,
"adjust both sides": 0,
"white wall mode": 0,
"host assistance": 0
}
calib_type - calibraton type: 0 = regular, 1 = focal length, 2 = both regular and focal length in order,
speed - for regular calibration. value can be one of: Very fast = 0, Fast = 1, Medium = 2, Slow = 3, White wall = 4, default is Slow for type 0 and Fast for type 2
scan_parameter - for regular calibration. value can be one of: Py scan (default) = 0, Rx scan = 1
adjust_both_sides - for focal length calibration. value can be one of: 0 = adjust right only, 1 = adjust both sides
host_assistance: 0 for no assistance, 1 for starting with assistance, 2 for first part feeding host data to firmware, 3 for second part of feeding host data to firmware (calib_type 2 only)
white_wall_mode - white wall mode: 0 for normal mode and 1 for white wall mode
if json is nullptr it will be ignored and calibration will use the default parametershealth
- [out] The absolute value of regular calibration Health-Check captures how far camera calibration is from the optimal one
[0, 0.25) - Good
[0.25, 0.75) - Can be Improved
[0.75, ) - Requires Calibration
The absolute value of focal length calibration Health-Check captures how far camera calibration is from the optimal one
[0, 0.15) - Good
[0.15, 0.75) - Can be Improved
[0.75, ) - Requires Calibration
The two health numbers are encoded in one integer as follows for calib_type 2:
Regular health number times 1000 are bits 0 to 11
Regular health number is negative if bit 24 is 1
Focal length health number times 1000 are bits 12 to 23
Focal length health number is negative if bit 25 is 1callback
- [in] Optional callback to get progress notificationstimeout_ms
- [in] Timeout in ms (use 5000 msec unless instructed otherwise)@Const public static rs2_raw_data_buffer rs2_run_on_chip_calibration_cpp(rs2_device device, @Const Pointer json_content, int content_size, FloatPointer health, rs2_update_progress_callback progress_callback, int timeout_ms, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_run_on_chip_calibration_cpp(rs2_device device, @Const Pointer json_content, int content_size, FloatBuffer health, rs2_update_progress_callback progress_callback, int timeout_ms, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_run_on_chip_calibration_cpp(rs2_device device, @Const Pointer json_content, int content_size, float[] health, rs2_update_progress_callback progress_callback, int timeout_ms, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_run_on_chip_calibration(rs2_device device, @Const Pointer json_content, int content_size, FloatPointer health, rs2_update_progress_callback_ptr callback, Pointer client_data, int timeout_ms, @Cast(value="rs2_error**") PointerPointer error)
json_content
- [in] Json string to configure regular speed on chip calibration parameters:
{
"calib type" : 0,
"speed": 3,
"scan parameter": 0,
"adjust both sides": 0,
"white wall mode": 0,
"host assistance": 0
}
calib_type - calibraton type: 0 = regular, 1 = focal length, 2 = both regular and focal length in order
30 = regular for version 3, 31 = focal length for version 3, 32 = both regular and focal length in order for version 3,
33 = regular for second part of version 3
speed - for regular calibration, value can be one of: Very fast = 0, Fast = 1, Medium = 2, Slow = 3, White wall = 4, default is Slow for type 0 and Fast for type 2
scan_parameter - for regular calibration. value can be one of: Py scan (default) = 0, Rx scan = 1
adjust_both_sides - for focal length calibration. value can be one of: 0 = adjust right only, 1 = adjust both sides
white_wall_mode - white wall mode: 0 for normal mode and 1 for white wall mode
host_assistance: 0 for no assistance, 1 for starting with assistance, 2 for first part feeding host data to firmware, 3 for second part of feeding host data to firmware (calib_type 2 only)
if json is nullptr it will be ignored and calibration will use the default parametershealth
- [out] The absolute value of regular calibration Health-Check captures how far camera calibration is from the optimal one
[0, 0.25) - Good
[0.25, 0.75) - Can be Improved
[0.75, ) - Requires Calibration
The absolute value of focal length calibration Health-Check captures how far camera calibration is from the optimal one
[0, 0.15) - Good
[0.15, 0.75) - Can be Improved
[0.75, ) - Requires Calibration
The two health numbers are encoded in one integer as follows for calib_type 2:
Regular health number times 1000 are bits 0 to 11
Regular health number is negative if bit 24 is 1
Focal length health number times 1000 are bits 12 to 23
Focal length health number is negative if bit 25 is 1callback
- [in] Optional callback for update progress notifications, the progress value is normailzed to 1client_data
- [in] Optional client data for the callbacktimeout_ms
- [in] Timeout in ms (use 5000 msec unless instructed otherwise)@Const public static rs2_raw_data_buffer rs2_run_on_chip_calibration(rs2_device device, @Const Pointer json_content, int content_size, FloatPointer health, rs2_update_progress_callback_ptr callback, Pointer client_data, int timeout_ms, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_run_on_chip_calibration(rs2_device device, @Const Pointer json_content, int content_size, FloatBuffer health, rs2_update_progress_callback_ptr callback, Pointer client_data, int timeout_ms, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_run_on_chip_calibration(rs2_device device, @Const Pointer json_content, int content_size, float[] health, rs2_update_progress_callback_ptr callback, Pointer client_data, int timeout_ms, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_run_tare_calibration_cpp(rs2_device dev, float ground_truth_mm, @Const Pointer json_content, int content_size, FloatPointer health, rs2_update_progress_callback progress_callback, int timeout_ms, @Cast(value="rs2_error**") PointerPointer error)
ground_truth_mm
- [in] Ground truth in mm must be between 60 and 10000json_content
- [in] Json string to configure tare calibration parameters:
{
"average step count": 20,
"step count": 20,
"accuracy": 2,
"scan parameter": 0,
"data sampling": 0,
"host assistance": 0,
"depth" : 0
}
average step count - number of frames to average, must be between 1 - 30, default = 20
step count - max iteration steps, must be between 5 - 30, default = 10
accuracy - Subpixel accuracy level, value can be one of: Very high = 0 (0.025%), High = 1 (0.05%), Medium = 2 (0.1%), Low = 3 (0.2%), Default = Very high (0.025%), default is Medium
scan_parameter - value can be one of: Py scan (default) = 0, Rx scan = 1
data_sampling - value can be one of:polling data sampling = 0, interrupt data sampling = 1
host_assistance: 0 for no assistance, 1 for starting with assistance, 2 for feeding host data to firmware
depth: 0 for not relating to depth, > 0 for feeding depth from host to firmware, -1 for ending to feed depth from host to firmware
if json is nullptr it will be ignored and calibration will use the default parameterscontent_size
- [in] Json string size if its 0 the json will be ignored and calibration will use the default parametershealth
- [out] The absolute value of regular calibration Health-Check captures how far camera calibration is from the optimal one
[0, 0.25) - Good
[0.25, 0.75) - Can be Improved
[0.75, ) - Requires Calibrationcallback
- [in] Optional callback to get progress notificationstimeout_ms
- [in] Timeout in ms (use 5000 msec unless instructed otherwise)health
- [out] The health check numbers before and after calibration@Const public static rs2_raw_data_buffer rs2_run_tare_calibration_cpp(rs2_device dev, float ground_truth_mm, @Const Pointer json_content, int content_size, FloatPointer health, rs2_update_progress_callback progress_callback, int timeout_ms, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_run_tare_calibration_cpp(rs2_device dev, float ground_truth_mm, @Const Pointer json_content, int content_size, FloatBuffer health, rs2_update_progress_callback progress_callback, int timeout_ms, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_run_tare_calibration_cpp(rs2_device dev, float ground_truth_mm, @Const Pointer json_content, int content_size, float[] health, rs2_update_progress_callback progress_callback, int timeout_ms, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_process_calibration_frame(rs2_device dev, @Const rs2_frame f, FloatPointer health, rs2_update_progress_callback progress_callback, int timeout_ms, @Cast(value="rs2_error**") PointerPointer error)
f
- [in] The next frame.timeout_ms
- [in] Timeout in ms (use 5000 msec unless instructed otherwise)health
- [out] The health check numbers before and after calibration@Const public static rs2_raw_data_buffer rs2_process_calibration_frame(rs2_device dev, @Const rs2_frame f, FloatPointer health, rs2_update_progress_callback progress_callback, int timeout_ms, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_process_calibration_frame(rs2_device dev, @Const rs2_frame f, FloatBuffer health, rs2_update_progress_callback progress_callback, int timeout_ms, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_process_calibration_frame(rs2_device dev, @Const rs2_frame f, float[] health, rs2_update_progress_callback progress_callback, int timeout_ms, @ByPtrPtr rs2_error error)
@Cast(value="const char*") public static BytePointer rs2_calibration_type_to_string(@Cast(value="rs2_calibration_type") int arg0)
@Cast(value="const char*") public static BytePointer rs2_calibration_status_to_string(@Cast(value="rs2_calibration_status") int arg0)
public static void rs2_register_calibration_change_callback(rs2_device dev, rs2_calibration_change_callback_ptr callback, Pointer user, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] the sensorcallback
- [in] the C callback function that gets calleduser
- [in] user argument that gets passed to the callback functionerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_register_calibration_change_callback(rs2_device dev, rs2_calibration_change_callback_ptr callback, Pointer user, @ByPtrPtr rs2_error error)
public static void rs2_register_calibration_change_callback_cpp(rs2_device dev, rs2_calibration_change_callback callback, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] the sensorcallback
- [in] the C++ callback interface that gets callederror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_register_calibration_change_callback_cpp(rs2_device dev, rs2_calibration_change_callback callback, @ByPtrPtr rs2_error error)
public static void rs2_trigger_device_calibration(rs2_device dev, @Cast(value="rs2_calibration_type") int type, @Cast(value="rs2_error**") PointerPointer error)
dev
- [in] the devicetype
- [in] the type of calibration requestederror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_trigger_device_calibration(rs2_device dev, @Cast(value="rs2_calibration_type") int type, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_run_tare_calibration(rs2_device dev, float ground_truth_mm, @Const Pointer json_content, int content_size, FloatPointer health, rs2_update_progress_callback_ptr callback, Pointer client_data, int timeout_ms, @Cast(value="rs2_error**") PointerPointer error)
ground_truth_mm
- [in] Ground truth in mm must be between 60 and 10000json_content
- [in] Json string to configure tare calibration parameters:
{
"average_step_count": 20,
"step count": 20,
"accuracy": 2,
"scan parameter": 0,
"data sampling": 0,
"host assistance": 0,
"depth": 0
}
average step count - number of frames to average, must be between 1 - 30, default = 20
step count - max iteration steps, must be between 5 - 30, default = 10
accuracy - Subpixel accuracy level, value can be one of: Very high = 0 (0.025%), High = 1 (0.05%), Medium = 2 (0.1%), Low = 3 (0.2%), Default = Very high (0.025%), default is Medium
scan_parameter - value can be one of: Py scan (default) = 0, Rx scan = 1
data_sampling - value can be one of:polling data sampling = 0, interrupt data sampling = 1
host_assistance: 0 for no assistance, 1 for starting with assistance, 2 for feeding host data to firmware
depth: 0 for not relating to depth, > 0 for feeding depth from host to firmware, -1 for ending to feed depth from host to firmware
if json is nullptr it will be ignored and calibration will use the default parameterscontent_size
- [in] Json string size if its 0 the json will be ignored and calibration will use the default parameterscallback
- [in] Optional callback for update progress notifications, the progress value is normailzed to 1client_data
- [in] Optional client data for the callbacktimeout_ms
- [in] Timeout in ms (use 5000 msec unless instructed otherwise)health
- [out] The health check numbers before and after calibration@Const public static rs2_raw_data_buffer rs2_run_tare_calibration(rs2_device dev, float ground_truth_mm, @Const Pointer json_content, int content_size, FloatPointer health, rs2_update_progress_callback_ptr callback, Pointer client_data, int timeout_ms, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_run_tare_calibration(rs2_device dev, float ground_truth_mm, @Const Pointer json_content, int content_size, FloatBuffer health, rs2_update_progress_callback_ptr callback, Pointer client_data, int timeout_ms, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_run_tare_calibration(rs2_device dev, float ground_truth_mm, @Const Pointer json_content, int content_size, float[] health, rs2_update_progress_callback_ptr callback, Pointer client_data, int timeout_ms, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_get_calibration_table(@Const rs2_device dev, @Cast(value="rs2_error**") PointerPointer error)
@Const public static rs2_raw_data_buffer rs2_get_calibration_table(@Const rs2_device dev, @ByPtrPtr rs2_error error)
public static void rs2_set_calibration_table(@Const rs2_device device, @Const Pointer calibration, int calibration_size, @Cast(value="rs2_error**") PointerPointer error)
Calibration
- [in] tablepublic static void rs2_set_calibration_table(@Const rs2_device device, @Const Pointer calibration, int calibration_size, @ByPtrPtr rs2_error error)
public static rs2_raw_data_buffer rs2_serialize_json(rs2_device dev, @Cast(value="rs2_error**") PointerPointer error)
public static rs2_raw_data_buffer rs2_serialize_json(rs2_device dev, @ByPtrPtr rs2_error error)
public static void rs2_load_json(rs2_device dev, @Const Pointer json_content, @Cast(value="unsigned") int content_size, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_load_json(rs2_device dev, @Const Pointer json_content, @Cast(value="unsigned") int content_size, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_run_focal_length_calibration_cpp(rs2_device device, rs2_frame_queue left_queue, rs2_frame_queue right_queue, float target_width, float target_height, int adjust_both_sides, FloatPointer ratio, FloatPointer angle, rs2_update_progress_callback progress_callback, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] : device to calibrateleft_queue
- [in] : container for left IR frames with resoluton of 1280x720 and the target in the center of 320x240 pixels ROI.right_queue
- [in] : container for right IR frames with resoluton of 1280x720 and the target in the center of 320x240 pixels ROItarget_width
- [in] : the rectangle width in mm on the targettarget_height
- [in] : the rectangle height in mm on the targetadjust_both_sides
- [in] : 1 for adjusting both left and right camera calibration tables, and 0 for adjusting right camera calibraion table onlyratio
- [out] : the corrected ratio from the calibrationangle
- [out] : the target's tilt anglecallback
- [in] : Optional callback for update progress notifications, the progress value is normailzed to 1@Const public static rs2_raw_data_buffer rs2_run_focal_length_calibration_cpp(rs2_device device, rs2_frame_queue left_queue, rs2_frame_queue right_queue, float target_width, float target_height, int adjust_both_sides, FloatPointer ratio, FloatPointer angle, rs2_update_progress_callback progress_callback, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_run_focal_length_calibration_cpp(rs2_device device, rs2_frame_queue left_queue, rs2_frame_queue right_queue, float target_width, float target_height, int adjust_both_sides, FloatBuffer ratio, FloatBuffer angle, rs2_update_progress_callback progress_callback, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_run_focal_length_calibration_cpp(rs2_device device, rs2_frame_queue left_queue, rs2_frame_queue right_queue, float target_width, float target_height, int adjust_both_sides, float[] ratio, float[] angle, rs2_update_progress_callback progress_callback, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_run_focal_length_calibration(rs2_device device, rs2_frame_queue left_queue, rs2_frame_queue right_queue, float target_width, float target_height, int adjust_both_sides, FloatPointer ratio, FloatPointer angle, rs2_update_progress_callback_ptr callback, Pointer client_data, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] : device to calibrateleft_queue
- [in] : container for left IR frames with resoluton of 1280x720 and the target in the center of 320x240 pixels ROI.right_queue
- [in] : container for right IR frames with resoluton of 1280x720 and the target in the center of 320x240 pixels ROItarget_width
- [in] : the rectangle width in mm on the targettarget_height
- [in] : the rectangle height in mm on the targetadjust_both_sides
- [in] : 1 for adjusting both left and right camera calibration tables, and 0 for adjusting right camera calibraion table onlyratio
- [out] : the corrected ratio from the calibrationangle
- [out] : the target's tilt anglecallback
- [in] : Optional callback for update progress notifications, the progress value is normailzed to 1client_data
- [in] : Optional client data for the callback@Const public static rs2_raw_data_buffer rs2_run_focal_length_calibration(rs2_device device, rs2_frame_queue left_queue, rs2_frame_queue right_queue, float target_width, float target_height, int adjust_both_sides, FloatPointer ratio, FloatPointer angle, rs2_update_progress_callback_ptr callback, Pointer client_data, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_run_focal_length_calibration(rs2_device device, rs2_frame_queue left_queue, rs2_frame_queue right_queue, float target_width, float target_height, int adjust_both_sides, FloatBuffer ratio, FloatBuffer angle, rs2_update_progress_callback_ptr callback, Pointer client_data, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_run_focal_length_calibration(rs2_device device, rs2_frame_queue left_queue, rs2_frame_queue right_queue, float target_width, float target_height, int adjust_both_sides, float[] ratio, float[] angle, rs2_update_progress_callback_ptr callback, Pointer client_data, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_run_uv_map_calibration_cpp(rs2_device device, rs2_frame_queue left_queue, rs2_frame_queue color_queue, rs2_frame_queue depth_queue, int py_px_only, FloatPointer health, int health_size, rs2_update_progress_callback progress_callback, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] : device to calibrateleft_queue
- [in] : the frame queue for left IR frames with resoluton of 1280x720 and the target captured in the center of 320x240 pixels ROI.color_queue
- [in] : the frame queue for RGB frames with resoluton of 1280x720 and the target in the center of 320x240 pixels ROIdepth_queue
- [in] : the frame queue for Depth frames with resoluton of 1280x720py_px_only
- [in] : 1 for calibrating color camera py and px only, 1 for calibrating color camera py, px, fy, and fx.health
- [out] : The four health check numbers in order of px, py, fx, fy for the calibrationhealth_size
- [in] : number of health check numbers, which is 4 by defaultcallback
- [in] : Optional callback for update progress notifications, the progress value is normailzed to 1@Const public static rs2_raw_data_buffer rs2_run_uv_map_calibration_cpp(rs2_device device, rs2_frame_queue left_queue, rs2_frame_queue color_queue, rs2_frame_queue depth_queue, int py_px_only, FloatPointer health, int health_size, rs2_update_progress_callback progress_callback, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_run_uv_map_calibration_cpp(rs2_device device, rs2_frame_queue left_queue, rs2_frame_queue color_queue, rs2_frame_queue depth_queue, int py_px_only, FloatBuffer health, int health_size, rs2_update_progress_callback progress_callback, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_run_uv_map_calibration_cpp(rs2_device device, rs2_frame_queue left_queue, rs2_frame_queue color_queue, rs2_frame_queue depth_queue, int py_px_only, float[] health, int health_size, rs2_update_progress_callback progress_callback, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_run_uv_map_calibration(rs2_device device, rs2_frame_queue left_queue, rs2_frame_queue color_queue, rs2_frame_queue depth_queue, int py_px_only, FloatPointer health, int health_size, rs2_update_progress_callback_ptr callback, Pointer client_data, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] : device to calibrateleft_queue
- [in] : the frame queue for left IR frames with resoluton of 1280x720 and the target captured in the center of 320x240 pixels ROI.color_queue
- [in] : the frame queue for RGB frames with resoluton of 1280x720 and the target in the center of 320x240 pixels ROIdepth_queue
- [in] : the frame queue for Depth frames with resoluton of 1280x720py_px_only
- [in] : 1 for calibrating color camera py and px only, 1 for calibrating color camera py, px, fy, and fx.health
- [out] : The four health check numbers in order of px, py, fx, fy for the calibrationhealth_size
- [in] : number of health check numbers, which is 4 by defaultcallback
- [in] : Optional callback for update progress notifications, the progress value is normailzed to 1client_data
- [in] : Optional client data for the callback@Const public static rs2_raw_data_buffer rs2_run_uv_map_calibration(rs2_device device, rs2_frame_queue left_queue, rs2_frame_queue color_queue, rs2_frame_queue depth_queue, int py_px_only, FloatPointer health, int health_size, rs2_update_progress_callback_ptr callback, Pointer client_data, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_run_uv_map_calibration(rs2_device device, rs2_frame_queue left_queue, rs2_frame_queue color_queue, rs2_frame_queue depth_queue, int py_px_only, FloatBuffer health, int health_size, rs2_update_progress_callback_ptr callback, Pointer client_data, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_run_uv_map_calibration(rs2_device device, rs2_frame_queue left_queue, rs2_frame_queue color_queue, rs2_frame_queue depth_queue, int py_px_only, float[] health, int health_size, rs2_update_progress_callback_ptr callback, Pointer client_data, @ByPtrPtr rs2_error error)
public static float rs2_calculate_target_z_cpp(rs2_device device, rs2_frame_queue queue1, rs2_frame_queue queue2, rs2_frame_queue queue3, float target_width, float target_height, rs2_update_progress_callback callback, @Cast(value="rs2_error**") PointerPointer error)
queue
- [in] 1-3: A frame queue of raw images used to calculate and extract the distance to a predefined target pattern.
For D400 the indexes 1-3 correspond to Left IR, Right IR and Depth with only the Left IR being usedtarget_width
- [in] : Expected target's horizontal dimension in mmtarget_height
- [in] : Expected target's vertical dimension in mmcallback
- [in] : Optional callback for reporting progress statuspublic static float rs2_calculate_target_z_cpp(rs2_device device, rs2_frame_queue queue1, rs2_frame_queue queue2, rs2_frame_queue queue3, float target_width, float target_height, rs2_update_progress_callback callback, @ByPtrPtr rs2_error error)
public static float rs2_calculate_target_z(rs2_device device, rs2_frame_queue queue1, rs2_frame_queue queue2, rs2_frame_queue queue3, float target_width, float target_height, rs2_update_progress_callback_ptr progress_callback, Pointer client_data, @Cast(value="rs2_error**") PointerPointer error)
queue
- [in] 1-3: A frame queue of raw images used to calculate and extract the distance to a predefined target pattern.
For D400 the indexes 1-3 correspond to Left IR, Right IR and Depth with only the Left IR being usedtarget_width
- [in] : Expected target's horizontal dimension in mmtarget_height
- [in] : Expected target's vertical dimension in mmcallback
- [in] : Optional callback for reporting progress statusclient_data
- [in] : Optional client data for the callbackpublic static float rs2_calculate_target_z(rs2_device device, rs2_frame_queue queue1, rs2_frame_queue queue2, rs2_frame_queue queue3, float target_width, float target_height, rs2_update_progress_callback_ptr progress_callback, Pointer client_data, @ByPtrPtr rs2_error error)
@Cast(value="const char*") public static BytePointer rs2_timestamp_domain_to_string(@Cast(value="rs2_timestamp_domain") int info)
@Cast(value="const char*") public static BytePointer rs2_frame_metadata_to_string(@Cast(value="rs2_frame_metadata_value") int metadata)
@Cast(value="const char*") public static BytePointer rs2_frame_metadata_value_to_string(@Cast(value="rs2_frame_metadata_value") int metadata)
@Cast(value="const char*") public static BytePointer rs2_calib_target_type_to_string(@Cast(value="rs2_calib_target_type") int type)
@Cast(value="rs2_metadata_type") public static long rs2_get_frame_metadata(@Const rs2_frame frame, @Cast(value="rs2_frame_metadata_value") int frame_metadata, @Cast(value="rs2_error**") PointerPointer error)
frame
- [in] handle returned from a callbackframe_metadata
- [in] the rs2_frame_metadata whose latest frame we are interested inerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored@Cast(value="rs2_metadata_type") public static long rs2_get_frame_metadata(@Const rs2_frame frame, @Cast(value="rs2_frame_metadata_value") int frame_metadata, @ByPtrPtr rs2_error error)
public static int rs2_supports_frame_metadata(@Const rs2_frame frame, @Cast(value="rs2_frame_metadata_value") int frame_metadata, @Cast(value="rs2_error**") PointerPointer error)
frame
- [in] handle returned from a callbackframe_metadata
- [in] the metadata to check for supporterror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_supports_frame_metadata(@Const rs2_frame frame, @Cast(value="rs2_frame_metadata_value") int frame_metadata, @ByPtrPtr rs2_error error)
@Cast(value="rs2_timestamp_domain") public static int rs2_get_frame_timestamp_domain(@Const rs2_frame frameset, @Cast(value="rs2_error**") PointerPointer error)
frameset
- [in] handle returned from a callbackerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored@Cast(value="rs2_timestamp_domain") public static int rs2_get_frame_timestamp_domain(@Const rs2_frame frameset, @ByPtrPtr rs2_error error)
@Cast(value="rs2_time_t") public static double rs2_get_frame_timestamp(@Const rs2_frame frame, @Cast(value="rs2_error**") PointerPointer error)
frame
- [in] handle returned from a callbackerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored@Cast(value="rs2_time_t") public static double rs2_get_frame_timestamp(@Const rs2_frame frame, @ByPtrPtr rs2_error error)
public static rs2_sensor rs2_get_frame_sensor(@Const rs2_frame frame, @Cast(value="rs2_error**") PointerPointer error)
frame
- [in] handle returned from a callbackerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_sensor rs2_get_frame_sensor(@Const rs2_frame frame, @ByPtrPtr rs2_error error)
@Cast(value="unsigned long long") public static long rs2_get_frame_number(@Const rs2_frame frame, @Cast(value="rs2_error**") PointerPointer error)
frame
- [in] handle returned from a callbackerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored@Cast(value="unsigned long long") public static long rs2_get_frame_number(@Const rs2_frame frame, @ByPtrPtr rs2_error error)
public static int rs2_get_frame_data_size(@Const rs2_frame frame, @Cast(value="rs2_error**") PointerPointer error)
frame
- [in] handle returned from a callbackerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_get_frame_data_size(@Const rs2_frame frame, @ByPtrPtr rs2_error error)
@Const public static Pointer rs2_get_frame_data(@Const rs2_frame frame, @Cast(value="rs2_error**") PointerPointer error)
frame
- [in] handle returned from a callbackerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored@Const public static Pointer rs2_get_frame_data(@Const rs2_frame frame, @ByPtrPtr rs2_error error)
@Cast(value="const void*") @Name(value="rs2_get_frame_data") public static long rs2_get_frame_data_address(@Const rs2_frame frame, @Cast(value="rs2_error**") PointerPointer error)
@Cast(value="const void*") @Name(value="rs2_get_frame_data") public static long rs2_get_frame_data_address(@Const rs2_frame frame, @ByPtrPtr rs2_error error)
public static int rs2_get_frame_width(@Const rs2_frame frame, @Cast(value="rs2_error**") PointerPointer error)
frame
- [in] handle returned from a callbackerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_get_frame_width(@Const rs2_frame frame, @ByPtrPtr rs2_error error)
public static int rs2_get_frame_height(@Const rs2_frame frame, @Cast(value="rs2_error**") PointerPointer error)
frame
- [in] handle returned from a callbackerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_get_frame_height(@Const rs2_frame frame, @ByPtrPtr rs2_error error)
public static float rs2_depth_frame_get_units(@Const rs2_frame frame, @Cast(value="rs2_error**") PointerPointer error)
public static float rs2_depth_frame_get_units(@Const rs2_frame frame, @ByPtrPtr rs2_error error)
public static int rs2_get_frame_stride_in_bytes(@Const rs2_frame frame, @Cast(value="rs2_error**") PointerPointer error)
frame
- [in] handle returned from a callbackerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_get_frame_stride_in_bytes(@Const rs2_frame frame, @ByPtrPtr rs2_error error)
public static int rs2_get_frame_bits_per_pixel(@Const rs2_frame frame, @Cast(value="rs2_error**") PointerPointer error)
frame
- [in] handle returned from a callbackerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_get_frame_bits_per_pixel(@Const rs2_frame frame, @ByPtrPtr rs2_error error)
public static void rs2_frame_add_ref(rs2_frame frame, @Cast(value="rs2_error**") PointerPointer error)
frame
- [in] handle returned from a callbackerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_release_frame(rs2_frame frame)
frame
- [in] handle returned from a callbackpublic static void rs2_keep_frame(rs2_frame frame)
frame
- [in] handle returned from a callbackpublic static rs2_vertex rs2_get_frame_vertices(@Const rs2_frame frame, @Cast(value="rs2_error**") PointerPointer error)
frame
- [in] Points frameerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_vertex rs2_get_frame_vertices(@Const rs2_frame frame, @ByPtrPtr rs2_error error)
public static void rs2_export_to_ply(@Const rs2_frame frame, @Cast(value="const char*") BytePointer fname, rs2_frame texture, @Cast(value="rs2_error**") PointerPointer error)
frame
- [in] Points framefname
- [in] The name for the ply filetexture
- [in] Texture frameerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_export_to_ply(@Const rs2_frame frame, @Cast(value="const char*") BytePointer fname, rs2_frame texture, @ByPtrPtr rs2_error error)
public static void rs2_export_to_ply(@Const rs2_frame frame, String fname, rs2_frame texture, @ByPtrPtr rs2_error error)
public static rs2_pixel rs2_get_frame_texture_coordinates(@Const rs2_frame frame, @Cast(value="rs2_error**") PointerPointer error)
frame
- [in] Points frameerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_pixel rs2_get_frame_texture_coordinates(@Const rs2_frame frame, @ByPtrPtr rs2_error error)
public static int rs2_get_frame_points_count(@Const rs2_frame frame, @Cast(value="rs2_error**") PointerPointer error)
frame
- [in] Points frameerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_get_frame_points_count(@Const rs2_frame frame, @ByPtrPtr rs2_error error)
@Const public static rs2_stream_profile rs2_get_frame_stream_profile(@Const rs2_frame frame, @Cast(value="rs2_error**") PointerPointer error)
frame
- [in] frame reference, owned by the usererror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored@Const public static rs2_stream_profile rs2_get_frame_stream_profile(@Const rs2_frame frame, @ByPtrPtr rs2_error error)
public static int rs2_is_frame_extendable_to(@Const rs2_frame frame, @Cast(value="rs2_extension") int extension_type, @Cast(value="rs2_error**") PointerPointer error)
frame
- [in] Realsense frameextension_type
- [in] The extension to which the frame should be tested if it is extendableerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_is_frame_extendable_to(@Const rs2_frame frame, @Cast(value="rs2_extension") int extension_type, @ByPtrPtr rs2_error error)
public static rs2_frame rs2_allocate_synthetic_video_frame(rs2_source source, @Const rs2_stream_profile new_stream, rs2_frame original, int new_bpp, int new_width, int new_height, int new_stride, @Cast(value="rs2_extension") int frame_type, @Cast(value="rs2_error**") PointerPointer error)
source
- [in] Frame pool to allocate the frame fromnew_stream
- [in] New stream profile to assign to newly created frameoriginal
- [in] A reference frame that can be used to fill in auxilary information like format, width, height, bpp, stride (if applicable)new_bpp
- [in] New value for bits per pixel for the allocated framenew_width
- [in] New value for width for the allocated framenew_height
- [in] New value for height for the allocated framenew_stride
- [in] New value for stride in bytes for the allocated frameframe_type
- [in] New value for frame type for the allocated frameerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_frame rs2_allocate_synthetic_video_frame(rs2_source source, @Const rs2_stream_profile new_stream, rs2_frame original, int new_bpp, int new_width, int new_height, int new_stride, @Cast(value="rs2_extension") int frame_type, @ByPtrPtr rs2_error error)
public static rs2_frame rs2_allocate_synthetic_motion_frame(rs2_source source, @Const rs2_stream_profile new_stream, rs2_frame original, @Cast(value="rs2_extension") int frame_type, @Cast(value="rs2_error**") PointerPointer error)
source
- [in] Frame pool to allocate the frame fromnew_stream
- [in] New stream profile to assign to newly created frameoriginal
- [in] A reference frame that can be used to fill in auxilary information like format, width, height, bpp, stride (if applicable)frame_type
- [in] New value for frame type for the allocated frameerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_frame rs2_allocate_synthetic_motion_frame(rs2_source source, @Const rs2_stream_profile new_stream, rs2_frame original, @Cast(value="rs2_extension") int frame_type, @ByPtrPtr rs2_error error)
public static rs2_frame rs2_allocate_points(rs2_source source, @Const rs2_stream_profile new_stream, rs2_frame original, @Cast(value="rs2_error**") PointerPointer error)
source
- [in] Frame pool to allocate the frame fromnew_stream
- [in] New stream profile to assign to newly created frameoriginal
- [in] A reference frame that can be used to fill in auxilary information like format, width, height, bpp, stride (if applicable)error
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_frame rs2_allocate_points(rs2_source source, @Const rs2_stream_profile new_stream, rs2_frame original, @ByPtrPtr rs2_error error)
public static rs2_frame rs2_allocate_composite_frame(rs2_source source, @Cast(value="rs2_frame**") PointerPointer frames, int count, @Cast(value="rs2_error**") PointerPointer error)
source
- [in] Frame pool to allocate the frame fromframes
- [in] Array of existing framescount
- [in] Number of input frameserror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_frame rs2_allocate_composite_frame(rs2_source source, @ByPtrPtr rs2_frame frames, int count, @ByPtrPtr rs2_error error)
public static rs2_frame rs2_extract_frame(rs2_frame composite, int index, @Cast(value="rs2_error**") PointerPointer error)
composite
- [in] Composite frameindex
- [in] Index of the frame to extract within the composite frameerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_frame rs2_extract_frame(rs2_frame composite, int index, @ByPtrPtr rs2_error error)
public static int rs2_embedded_frames_count(rs2_frame composite, @Cast(value="rs2_error**") PointerPointer error)
composite
- [in] Composite input frameerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_embedded_frames_count(rs2_frame composite, @ByPtrPtr rs2_error error)
public static void rs2_synthetic_frame_ready(rs2_source source, rs2_frame frame, @Cast(value="rs2_error**") PointerPointer error)
source
- [in] Frame pool provided by the processing blockframe
- [in] Frame to dispatch, frame ownership is passed to this function, so you don't have to call release_frame after iterror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_synthetic_frame_ready(rs2_source source, rs2_frame frame, @ByPtrPtr rs2_error error)
public static void rs2_pose_frame_get_pose_data(@Const rs2_frame frame, rs2_pose pose, @Cast(value="rs2_error**") PointerPointer error)
frame
- [in] Pose framepose
- [out] Pointer to a user allocated struct, which contains the pose info after a successful returnerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_pose_frame_get_pose_data(@Const rs2_frame frame, rs2_pose pose, @ByPtrPtr rs2_error error)
public static void rs2_extract_target_dimensions(@Const rs2_frame frame, @Cast(value="rs2_calib_target_type") int calib_type, FloatPointer target_dims, @Cast(value="unsigned int") int target_dims_size, @Cast(value="rs2_error**") PointerPointer error)
frame
- [in] Left or right camera frame of specified size based on the target typecalib_type
- [in] Calibration target typetarget_dims_size
- [in] Target dimension array size. 4 for RS2_CALIB_TARGET_RECT_GAUSSIAN_DOT_VERTICES and 8 for RS2_CALIB_TARGET_POS_GAUSSIAN_DOT_VERTICES.target_dims
- [out] The array to hold the result target dimensions calculated.
For type RS2_CALIB_TARGET_RECT_GAUSSIAN_DOT_VERTICES, the four rectangle side sizes in pixels with the order of top, bottom, left, and right
For type RS2_CALIB_TARGET_POS_GAUSSIAN_DOT_VERTICES, the four vertices coordinates in pixels with the order of top, bottom, left, and righterror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_extract_target_dimensions(@Const rs2_frame frame, @Cast(value="rs2_calib_target_type") int calib_type, FloatPointer target_dims, @Cast(value="unsigned int") int target_dims_size, @ByPtrPtr rs2_error error)
public static void rs2_extract_target_dimensions(@Const rs2_frame frame, @Cast(value="rs2_calib_target_type") int calib_type, FloatBuffer target_dims, @Cast(value="unsigned int") int target_dims_size, @ByPtrPtr rs2_error error)
public static void rs2_extract_target_dimensions(@Const rs2_frame frame, @Cast(value="rs2_calib_target_type") int calib_type, float[] target_dims, @Cast(value="unsigned int") int target_dims_size, @ByPtrPtr rs2_error error)
@Cast(value="const char*") public static BytePointer rs2_option_to_string(@Cast(value="rs2_option") int option)
@Cast(value="const char*") public static BytePointer rs2_sr300_visual_preset_to_string(@Cast(value="rs2_sr300_visual_preset") int preset)
@Cast(value="const char*") public static BytePointer rs2_rs400_visual_preset_to_string(@Cast(value="rs2_rs400_visual_preset") int preset)
@Cast(value="const char*") public static BytePointer rs2_l500_visual_preset_to_string(@Cast(value="rs2_l500_visual_preset") int preset)
@Cast(value="const char*") public static BytePointer rs2_sensor_mode_to_string(@Cast(value="rs2_sensor_mode") int preset)
@Cast(value="const char*") public static BytePointer rs2_host_perf_mode_to_string(@Cast(value="rs2_host_perf_mode") int perf)
@Cast(value="const char*") public static BytePointer rs2_emitter_frequency_mode_to_string(@Cast(value="rs2_emitter_frequency_mode") int mode)
public static int rs2_is_option_read_only(@Const rs2_options options, @Cast(value="rs2_option") int option, @Cast(value="rs2_error**") PointerPointer error)
options
- [in] the options containeroption
- [in] option id to be checkederror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_is_option_read_only(@Const rs2_options options, @Cast(value="rs2_option") int option, @ByPtrPtr rs2_error error)
public static float rs2_get_option(@Const rs2_options options, @Cast(value="rs2_option") int option, @Cast(value="rs2_error**") PointerPointer error)
options
- [in] the options containeroption
- [in] option id to be queriederror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static float rs2_get_option(@Const rs2_options options, @Cast(value="rs2_option") int option, @ByPtrPtr rs2_error error)
public static void rs2_set_option(@Const rs2_options options, @Cast(value="rs2_option") int option, float value, @Cast(value="rs2_error**") PointerPointer error)
options
- [in] the options containeroption
- [in] option id to be queriedvalue
- [in] new value for the optionerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_set_option(@Const rs2_options options, @Cast(value="rs2_option") int option, float value, @ByPtrPtr rs2_error error)
public static rs2_options_list rs2_get_options_list(@Const rs2_options options, @Cast(value="rs2_error**") PointerPointer error)
options
- [in] the options containererror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_options_list rs2_get_options_list(@Const rs2_options options, @ByPtrPtr rs2_error error)
public static int rs2_get_options_list_size(@Const rs2_options_list options, @Cast(value="rs2_error**") PointerPointer error)
options
- [in] the option listerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_get_options_list_size(@Const rs2_options_list options, @ByPtrPtr rs2_error error)
@Cast(value="const char*") public static BytePointer rs2_get_option_name(@Const rs2_options options, @Cast(value="rs2_option") int option, @Cast(value="rs2_error**") PointerPointer error)
options
- [in] the options containeroption
- [in] option id to be checkederror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored@Cast(value="const char*") public static BytePointer rs2_get_option_name(@Const rs2_options options, @Cast(value="rs2_option") int option, @ByPtrPtr rs2_error error)
@Cast(value="rs2_option") public static int rs2_get_option_from_list(@Const rs2_options_list options, int i, @Cast(value="rs2_error**") PointerPointer error)
i
- [in] the index of the optionerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored@Cast(value="rs2_option") public static int rs2_get_option_from_list(@Const rs2_options_list options, int i, @ByPtrPtr rs2_error error)
public static void rs2_delete_options_list(rs2_options_list list)
list
- [in] list to deletepublic static int rs2_supports_option(@Const rs2_options options, @Cast(value="rs2_option") int option, @Cast(value="rs2_error**") PointerPointer error)
options
- [in] the options containeroption
- [in] option id to be checkederror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_supports_option(@Const rs2_options options, @Cast(value="rs2_option") int option, @ByPtrPtr rs2_error error)
public static void rs2_get_option_range(@Const rs2_options sensor, @Cast(value="rs2_option") int option, FloatPointer min, FloatPointer max, FloatPointer step, FloatPointer def, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] the RealSense deviceoption
- [in] the option whose range should be queriedmin
- [out] the minimum value which will be accepted for this optionmax
- [out] the maximum value which will be accepted for this optionstep
- [out] the granularity of options which accept discrete values, or zero if the option accepts continuous valuesdef
- [out] the default value of the optionerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_get_option_range(@Const rs2_options sensor, @Cast(value="rs2_option") int option, FloatPointer min, FloatPointer max, FloatPointer step, FloatPointer def, @ByPtrPtr rs2_error error)
public static void rs2_get_option_range(@Const rs2_options sensor, @Cast(value="rs2_option") int option, FloatBuffer min, FloatBuffer max, FloatBuffer step, FloatBuffer def, @ByPtrPtr rs2_error error)
public static void rs2_get_option_range(@Const rs2_options sensor, @Cast(value="rs2_option") int option, float[] min, float[] max, float[] step, float[] def, @ByPtrPtr rs2_error error)
@Cast(value="const char*") public static BytePointer rs2_get_option_description(@Const rs2_options options, @Cast(value="rs2_option") int option, @Cast(value="rs2_error**") PointerPointer error)
options
- [in] the options containeroption
- [in] option id to be checkederror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored@Cast(value="const char*") public static BytePointer rs2_get_option_description(@Const rs2_options options, @Cast(value="rs2_option") int option, @ByPtrPtr rs2_error error)
@Cast(value="const char*") public static BytePointer rs2_get_option_value_description(@Const rs2_options options, @Cast(value="rs2_option") int option, float value, @Cast(value="rs2_error**") PointerPointer error)
options
- [in] the options containeroption
- [in] option id to be checkedvalue
- [in] value of the optionerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored@Cast(value="const char*") public static BytePointer rs2_get_option_value_description(@Const rs2_options options, @Cast(value="rs2_option") int option, float value, @ByPtrPtr rs2_error error)
public static rs2_processing_block rs2_create_colorizer(@Cast(value="rs2_error**") PointerPointer error)
error
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_processing_block rs2_create_colorizer(@ByPtrPtr rs2_error error)
public static rs2_processing_block rs2_create_sync_processing_block(@Cast(value="rs2_error**") PointerPointer error)
error
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_processing_block rs2_create_sync_processing_block(@ByPtrPtr rs2_error error)
public static rs2_processing_block rs2_create_pointcloud(@Cast(value="rs2_error**") PointerPointer error)
error
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_processing_block rs2_create_pointcloud(@ByPtrPtr rs2_error error)
public static rs2_processing_block rs2_create_yuy_decoder(@Cast(value="rs2_error**") PointerPointer error)
error
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_processing_block rs2_create_yuy_decoder(@ByPtrPtr rs2_error error)
public static rs2_processing_block rs2_create_threshold(@Cast(value="rs2_error**") PointerPointer error)
error
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_processing_block rs2_create_threshold(@ByPtrPtr rs2_error error)
public static rs2_processing_block rs2_create_units_transform(@Cast(value="rs2_error**") PointerPointer error)
error
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_processing_block rs2_create_units_transform(@ByPtrPtr rs2_error error)
public static rs2_processing_block rs2_create_processing_block(rs2_frame_processor_callback proc, @Cast(value="rs2_error**") PointerPointer error)
proc
- Processing function to be applied to every frame entering the blockerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_processing_block rs2_create_processing_block(rs2_frame_processor_callback proc, @ByPtrPtr rs2_error error)
public static rs2_processing_block rs2_create_processing_block_fptr(rs2_frame_processor_callback_ptr proc, Pointer context, @Cast(value="rs2_error**") PointerPointer error)
proc
- Processing function pointer to be applied to every frame entering the blockcontext
- User context (can be anything or null) to be passed later as ctx param of the callbackerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_processing_block rs2_create_processing_block_fptr(rs2_frame_processor_callback_ptr proc, Pointer context, @ByPtrPtr rs2_error error)
public static int rs2_processing_block_register_simple_option(rs2_processing_block block, @Cast(value="rs2_option") int option_id, float min, float max, float step, float def, @Cast(value="rs2_error**") PointerPointer error)
block
- [in] Processing blockoption_id
- [in] an int ID for referencing the optionmin
- [in] the minimum value which will be accepted for this optionmax
- [in] the maximum value which will be accepted for this optionstep
- [in] the granularity of options which accept discrete values, or zero if the option accepts continuous valuesdef
- [in] the default value of the option. This will be the initial value.error
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_processing_block_register_simple_option(rs2_processing_block block, @Cast(value="rs2_option") int option_id, float min, float max, float step, float def, @ByPtrPtr rs2_error error)
public static void rs2_start_processing(rs2_processing_block block, rs2_frame_callback on_frame, @Cast(value="rs2_error**") PointerPointer error)
block
- [in] Processing blockon_frame
- [in] Callback to be invoked every time the processing block calls frame_readyerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_start_processing(rs2_processing_block block, rs2_frame_callback on_frame, @ByPtrPtr rs2_error error)
public static void rs2_start_processing_fptr(rs2_processing_block block, rs2_frame_callback_ptr on_frame, Pointer user, @Cast(value="rs2_error**") PointerPointer error)
block
- [in] Processing blockon_frame
- [in] Callback function to be invoked every time the processing block calls frame_readyuser
- [in] User context for the callback (can be anything or null)error
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_start_processing_fptr(rs2_processing_block block, rs2_frame_callback_ptr on_frame, Pointer user, @ByPtrPtr rs2_error error)
public static void rs2_start_processing_queue(rs2_processing_block block, rs2_frame_queue queue, @Cast(value="rs2_error**") PointerPointer error)
block
- [in] Processing blockqueue
- [in] Queue to place the processed frames toerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_start_processing_queue(rs2_processing_block block, rs2_frame_queue queue, @ByPtrPtr rs2_error error)
public static void rs2_process_frame(rs2_processing_block block, rs2_frame frame, @Cast(value="rs2_error**") PointerPointer error)
block
- [in] Processing blockframe
- [in] Frame to process, ownership is moved to the block objecterror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_process_frame(rs2_processing_block block, rs2_frame frame, @ByPtrPtr rs2_error error)
public static void rs2_delete_processing_block(rs2_processing_block block)
block
- [in] Processing blockpublic static rs2_frame_queue rs2_create_frame_queue(int _capacity, @Cast(value="rs2_error**") PointerPointer error)
capacity
- [in] max number of frames to allow to be stored in the queue before older frames will start to get droppederror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_frame_queue rs2_create_frame_queue(int _capacity, @ByPtrPtr rs2_error error)
public static void rs2_delete_frame_queue(rs2_frame_queue queue)
queue
- [in] queue to deletepublic static int rs2_frame_queue_size(rs2_frame_queue queue, @Cast(value="rs2_error**") PointerPointer error)
queue
- [in] to deletepublic static int rs2_frame_queue_size(rs2_frame_queue queue, @ByPtrPtr rs2_error error)
public static rs2_frame rs2_wait_for_frame(rs2_frame_queue queue, @Cast(value="unsigned int") int timeout_ms, @Cast(value="rs2_error**") PointerPointer error)
queue
- [in] the frame queue data structuretimeout_ms
- [in] max time in milliseconds to wait until an exception will be thrownerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_frame rs2_wait_for_frame(rs2_frame_queue queue, @Cast(value="unsigned int") int timeout_ms, @ByPtrPtr rs2_error error)
public static int rs2_poll_for_frame(rs2_frame_queue queue, @Cast(value="rs2_frame**") PointerPointer output_frame, @Cast(value="rs2_error**") PointerPointer error)
queue
- [in] the frame queue data structureoutput_frame
- [out] frame handle to be released using rs2_release_frameerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_poll_for_frame(rs2_frame_queue queue, @ByPtrPtr rs2_frame output_frame, @ByPtrPtr rs2_error error)
public static int rs2_try_wait_for_frame(rs2_frame_queue queue, @Cast(value="unsigned int") int timeout_ms, @Cast(value="rs2_frame**") PointerPointer output_frame, @Cast(value="rs2_error**") PointerPointer error)
queue
- [in] the frame queue data structuretimeout_ms
- [in] max time in milliseconds to wait until a frame becomes availableoutput_frame
- [out] frame handle to be released using rs2_release_frameerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_try_wait_for_frame(rs2_frame_queue queue, @Cast(value="unsigned int") int timeout_ms, @ByPtrPtr rs2_frame output_frame, @ByPtrPtr rs2_error error)
public static void rs2_enqueue_frame(rs2_frame frame, Pointer queue)
frame
- [in] frame handle to enqueue (this operation passed ownership to the queue)queue
- [in] the frame queue data structurepublic static rs2_processing_block rs2_create_align(@Cast(value="rs2_stream") int align_to, @Cast(value="rs2_error**") PointerPointer error)
align_to
- [in] stream type to be used as the target of frameset alignmenterror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_processing_block rs2_create_align(@Cast(value="rs2_stream") int align_to, @ByPtrPtr rs2_error error)
public static rs2_processing_block rs2_create_decimation_filter_block(@Cast(value="rs2_error**") PointerPointer error)
error
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_processing_block rs2_create_decimation_filter_block(@ByPtrPtr rs2_error error)
public static rs2_processing_block rs2_create_temporal_filter_block(@Cast(value="rs2_error**") PointerPointer error)
error
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_processing_block rs2_create_temporal_filter_block(@ByPtrPtr rs2_error error)
public static rs2_processing_block rs2_create_spatial_filter_block(@Cast(value="rs2_error**") PointerPointer error)
error
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_processing_block rs2_create_spatial_filter_block(@ByPtrPtr rs2_error error)
public static rs2_processing_block rs2_create_disparity_transform_block(@Cast(value="unsigned char") byte transform_to_disparity, @Cast(value="rs2_error**") PointerPointer error)
transform_to_disparity
- [in] flag select the transform direction: true = depth->disparity, and vice versaerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_processing_block rs2_create_disparity_transform_block(@Cast(value="unsigned char") byte transform_to_disparity, @ByPtrPtr rs2_error error)
public static rs2_processing_block rs2_create_hole_filling_filter_block(@Cast(value="rs2_error**") PointerPointer error)
error
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_processing_block rs2_create_hole_filling_filter_block(@ByPtrPtr rs2_error error)
public static rs2_processing_block rs2_create_rates_printer_block(@Cast(value="rs2_error**") PointerPointer error)
error
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_processing_block rs2_create_rates_printer_block(@ByPtrPtr rs2_error error)
public static rs2_processing_block rs2_create_zero_order_invalidation_block(@Cast(value="rs2_error**") PointerPointer error)
error
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_processing_block rs2_create_zero_order_invalidation_block(@ByPtrPtr rs2_error error)
public static rs2_processing_block rs2_create_huffman_depth_decompress_block(@Cast(value="rs2_error**") PointerPointer error)
error
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_processing_block rs2_create_huffman_depth_decompress_block(@ByPtrPtr rs2_error error)
public static rs2_processing_block rs2_create_hdr_merge_processing_block(@Cast(value="rs2_error**") PointerPointer error)
error
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_processing_block rs2_create_hdr_merge_processing_block(@ByPtrPtr rs2_error error)
public static rs2_processing_block rs2_create_sequence_id_filter(@Cast(value="rs2_error**") PointerPointer error)
error
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_processing_block rs2_create_sequence_id_filter(@ByPtrPtr rs2_error error)
@Cast(value="const char*") public static BytePointer rs2_get_processing_block_info(@Const rs2_processing_block block, @Cast(value="rs2_camera_info") int info, @Cast(value="rs2_error**") PointerPointer error)
block
- [in] The processing blockinfo
- [in] processing block info type to retrieveerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored@Cast(value="const char*") public static BytePointer rs2_get_processing_block_info(@Const rs2_processing_block block, @Cast(value="rs2_camera_info") int info, @ByPtrPtr rs2_error error)
public static int rs2_supports_processing_block_info(@Const rs2_processing_block block, @Cast(value="rs2_camera_info") int info, @Cast(value="rs2_error**") PointerPointer error)
block
- [in] The processing block to checkinfo
- [in] The parameter to check for supporterror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_supports_processing_block_info(@Const rs2_processing_block block, @Cast(value="rs2_camera_info") int info, @ByPtrPtr rs2_error error)
public static int rs2_is_processing_block_extendable_to(@Const rs2_processing_block block, @Cast(value="rs2_extension") int extension_type, @Cast(value="rs2_error**") PointerPointer error)
block
- [in] processing blockextension
- [in] The extension to which the sensor should be tested if it is extendableerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_is_processing_block_extendable_to(@Const rs2_processing_block block, @Cast(value="rs2_extension") int extension_type, @ByPtrPtr rs2_error error)
@Cast(value="const char*") public static BytePointer rs2_playback_status_to_string(@Cast(value="rs2_playback_status") int status)
public static rs2_device rs2_create_record_device(@Const rs2_device device, @Cast(value="const char*") BytePointer file, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] The device to recordfile
- [in] The desired path to which the recorder should save the dataerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_device rs2_create_record_device(@Const rs2_device device, @Cast(value="const char*") BytePointer file, @ByPtrPtr rs2_error error)
public static rs2_device rs2_create_record_device(@Const rs2_device device, String file, @ByPtrPtr rs2_error error)
public static rs2_device rs2_create_record_device_ex(@Const rs2_device device, @Cast(value="const char*") BytePointer file, int compression_enabled, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] The device to recordfile
- [in] The desired path to which the recorder should save the datacompression_enabled
- [in] Indicates if compression is enabled, 0 means false, otherwise trueerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_device rs2_create_record_device_ex(@Const rs2_device device, @Cast(value="const char*") BytePointer file, int compression_enabled, @ByPtrPtr rs2_error error)
public static rs2_device rs2_create_record_device_ex(@Const rs2_device device, String file, int compression_enabled, @ByPtrPtr rs2_error error)
public static void rs2_record_device_pause(@Const rs2_device device, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] A recording deviceerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_record_device_pause(@Const rs2_device device, @ByPtrPtr rs2_error error)
public static void rs2_record_device_resume(@Const rs2_device device, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] A recording deviceerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_record_device_resume(@Const rs2_device device, @ByPtrPtr rs2_error error)
@Cast(value="const char*") public static BytePointer rs2_record_device_filename(@Const rs2_device device, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] A recording deviceerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored@Cast(value="const char*") public static BytePointer rs2_record_device_filename(@Const rs2_device device, @ByPtrPtr rs2_error error)
@Cast(value="const char*") public static BytePointer rs2_playback_device_get_file_path(@Const rs2_device device, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] A playback deviceerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored@Cast(value="const char*") public static BytePointer rs2_playback_device_get_file_path(@Const rs2_device device, @ByPtrPtr rs2_error error)
@Cast(value="unsigned long long int") public static long rs2_playback_get_duration(@Const rs2_device device, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] A playback deviceerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored@Cast(value="unsigned long long int") public static long rs2_playback_get_duration(@Const rs2_device device, @ByPtrPtr rs2_error error)
public static void rs2_playback_seek(@Const rs2_device device, long time, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] A playback device.time
- [in] The time point to which playback should seek, expressed in units of nanoseconds (zero value = start)error
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_playback_seek(@Const rs2_device device, long time, @ByPtrPtr rs2_error error)
@Cast(value="unsigned long long int") public static long rs2_playback_get_position(@Const rs2_device device, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] A playback deviceerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored@Cast(value="unsigned long long int") public static long rs2_playback_get_position(@Const rs2_device device, @ByPtrPtr rs2_error error)
public static void rs2_playback_device_resume(@Const rs2_device device, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] A playback deviceerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_playback_device_resume(@Const rs2_device device, @ByPtrPtr rs2_error error)
public static void rs2_playback_device_pause(@Const rs2_device device, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] A playback deviceerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_playback_device_pause(@Const rs2_device device, @ByPtrPtr rs2_error error)
public static void rs2_playback_device_set_real_time(@Const rs2_device device, int real_time, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] A playback devicereal_time
- [in] Indicates if real time is requested, 0 means false, otherwise trueerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_playback_device_set_real_time(@Const rs2_device device, int real_time, @ByPtrPtr rs2_error error)
public static int rs2_playback_device_is_real_time(@Const rs2_device device, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] A playback deviceerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_playback_device_is_real_time(@Const rs2_device device, @ByPtrPtr rs2_error error)
public static void rs2_playback_device_set_status_changed_callback(@Const rs2_device device, rs2_playback_status_changed_callback callback, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] A playback devicecallback
- [in] A callback handler that will be invoked when the playback status changeserror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_playback_device_set_status_changed_callback(@Const rs2_device device, rs2_playback_status_changed_callback callback, @ByPtrPtr rs2_error error)
@Cast(value="rs2_playback_status") public static int rs2_playback_device_get_current_status(@Const rs2_device device, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] A playback deviceerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored@Cast(value="rs2_playback_status") public static int rs2_playback_device_get_current_status(@Const rs2_device device, @ByPtrPtr rs2_error error)
public static void rs2_playback_device_set_playback_speed(@Const rs2_device device, float speed, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] A playback devicespeed
- [in] Indicates a multiplication of the speed to play (e.g: 1 = normal, 0.5 twice as slow)error
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_playback_device_set_playback_speed(@Const rs2_device device, float speed, @ByPtrPtr rs2_error error)
public static void rs2_playback_device_stop(@Const rs2_device device, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] A playback deviceerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_playback_device_stop(@Const rs2_device device, @ByPtrPtr rs2_error error)
@Cast(value="const char*") public static BytePointer rs2_camera_info_to_string(@Cast(value="rs2_camera_info") int info)
@Cast(value="const char*") public static BytePointer rs2_stream_to_string(@Cast(value="rs2_stream") int stream)
@Cast(value="const char*") public static BytePointer rs2_format_to_string(@Cast(value="rs2_format") int format)
public static void rs2_delete_sensor_list(rs2_sensor_list info_list)
info_list
- [in] list to deletepublic static int rs2_get_sensors_count(@Const rs2_sensor_list info_list, @Cast(value="rs2_error**") PointerPointer error)
info_list
- [in] The list of connected sensors captured using rs2_query_sensorserror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_get_sensors_count(@Const rs2_sensor_list info_list, @ByPtrPtr rs2_error error)
public static void rs2_delete_sensor(rs2_sensor sensor)
sensor
- [in] realsense sensor to deletepublic static rs2_sensor rs2_create_sensor(@Const rs2_sensor_list list, int index, @Cast(value="rs2_error**") PointerPointer error)
index
- [in] the zero based index of sensor to retrieveerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_sensor rs2_create_sensor(@Const rs2_sensor_list list, int index, @ByPtrPtr rs2_error error)
public static rs2_device rs2_create_device_from_sensor(@Const rs2_sensor sensor, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] Pointer to a sensorerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_device rs2_create_device_from_sensor(@Const rs2_sensor sensor, @ByPtrPtr rs2_error error)
@Cast(value="const char*") public static BytePointer rs2_get_sensor_info(@Const rs2_sensor sensor, @Cast(value="rs2_camera_info") int info, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] the RealSense sensorinfo
- [in] camera info type to retrieveerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored@Cast(value="const char*") public static BytePointer rs2_get_sensor_info(@Const rs2_sensor sensor, @Cast(value="rs2_camera_info") int info, @ByPtrPtr rs2_error error)
public static int rs2_supports_sensor_info(@Const rs2_sensor sensor, @Cast(value="rs2_camera_info") int info, @Cast(value="rs2_error**") PointerPointer error)
info
- [in] the parameter to check for supporterror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_supports_sensor_info(@Const rs2_sensor sensor, @Cast(value="rs2_camera_info") int info, @ByPtrPtr rs2_error error)
public static int rs2_is_sensor_extendable_to(@Const rs2_sensor sensor, @Cast(value="rs2_extension") int extension, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] Realsense sensorextension
- [in] The extension to which the sensor should be tested if it is extendableerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_is_sensor_extendable_to(@Const rs2_sensor sensor, @Cast(value="rs2_extension") int extension, @ByPtrPtr rs2_error error)
public static float rs2_get_depth_scale(rs2_sensor sensor, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] depth sensorerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static float rs2_get_depth_scale(rs2_sensor sensor, @ByPtrPtr rs2_error error)
public static float rs2_depth_stereo_frame_get_baseline(@Const rs2_frame frame_ref, @Cast(value="rs2_error**") PointerPointer error)
float
- [out] Stereoscopic baseline in millimeterserror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static float rs2_depth_stereo_frame_get_baseline(@Const rs2_frame frame_ref, @ByPtrPtr rs2_error error)
public static float rs2_get_stereo_baseline(rs2_sensor sensor, @Cast(value="rs2_error**") PointerPointer error)
float
- [out] Stereoscopic baseline in millimeterserror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static float rs2_get_stereo_baseline(rs2_sensor sensor, @ByPtrPtr rs2_error error)
public static void rs2_set_region_of_interest(@Const rs2_sensor sensor, int min_x, int min_y, int max_x, int max_y, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] the RealSense sensormin_x
- [in] lower horizontal bound in pixelsmin_y
- [in] lower vertical bound in pixelsmax_x
- [in] upper horizontal bound in pixelsmax_y
- [in] upper vertical bound in pixelserror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_set_region_of_interest(@Const rs2_sensor sensor, int min_x, int min_y, int max_x, int max_y, @ByPtrPtr rs2_error error)
public static void rs2_get_region_of_interest(@Const rs2_sensor sensor, IntPointer min_x, IntPointer min_y, IntPointer max_x, IntPointer max_y, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] the RealSense sensormin_x
- [out] lower horizontal bound in pixelsmin_y
- [out] lower vertical bound in pixelsmax_x
- [out] upper horizontal bound in pixelsmax_y
- [out] upper vertical bound in pixelserror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_get_region_of_interest(@Const rs2_sensor sensor, IntPointer min_x, IntPointer min_y, IntPointer max_x, IntPointer max_y, @ByPtrPtr rs2_error error)
public static void rs2_get_region_of_interest(@Const rs2_sensor sensor, IntBuffer min_x, IntBuffer min_y, IntBuffer max_x, IntBuffer max_y, @ByPtrPtr rs2_error error)
public static void rs2_get_region_of_interest(@Const rs2_sensor sensor, int[] min_x, int[] min_y, int[] max_x, int[] max_y, @ByPtrPtr rs2_error error)
public static void rs2_open(rs2_sensor device, @Const rs2_stream_profile profile, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] relevant RealSense deviceprofile
- [in] stream profile that defines single stream configurationerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_open(rs2_sensor device, @Const rs2_stream_profile profile, @ByPtrPtr rs2_error error)
public static void rs2_open_multiple(rs2_sensor device, @Cast(value="const rs2_stream_profile**") PointerPointer profiles, int count, @Cast(value="rs2_error**") PointerPointer error)
device
- [in] relevant RealSense deviceprofiles
- [in] list of stream profiles discovered by get_stream_profilescount
- [in] number of simultaneous stream profiles to configureerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_open_multiple(rs2_sensor device, @Const @ByPtrPtr rs2_stream_profile profiles, int count, @ByPtrPtr rs2_error error)
public static void rs2_close(@Const rs2_sensor sensor, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] RealSense deviceerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_close(@Const rs2_sensor sensor, @ByPtrPtr rs2_error error)
public static void rs2_start(@Const rs2_sensor sensor, rs2_frame_callback_ptr on_frame, Pointer user, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] RealSense deviceon_frame
- [in] function pointer to register as per-frame callbackuser
- [in] auxiliary data the user wishes to receive together with every frame callbackerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_start(@Const rs2_sensor sensor, rs2_frame_callback_ptr on_frame, Pointer user, @ByPtrPtr rs2_error error)
public static void rs2_start_cpp(@Const rs2_sensor sensor, rs2_frame_callback callback, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] RealSense devicecallback
- [in] callback object created from c++ application. ownership over the callback object is moved into the relevant streaming lockerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_start_cpp(@Const rs2_sensor sensor, rs2_frame_callback callback, @ByPtrPtr rs2_error error)
public static void rs2_start_queue(@Const rs2_sensor sensor, rs2_frame_queue queue, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] RealSense Sensorqueue
- [in] frame-queue to store new frames intoerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_start_queue(@Const rs2_sensor sensor, rs2_frame_queue queue, @ByPtrPtr rs2_error error)
public static void rs2_stop(@Const rs2_sensor sensor, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] RealSense sensorerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_stop(@Const rs2_sensor sensor, @ByPtrPtr rs2_error error)
public static void rs2_set_notifications_callback(@Const rs2_sensor sensor, rs2_notification_callback_ptr on_notification, Pointer user, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] RealSense deviceon_notification
- [in] function pointer to register as per-notifications callbackerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_set_notifications_callback(@Const rs2_sensor sensor, rs2_notification_callback_ptr on_notification, Pointer user, @ByPtrPtr rs2_error error)
public static void rs2_set_notifications_callback_cpp(@Const rs2_sensor sensor, rs2_notifications_callback callback, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] RealSense sensorcallback
- [in] callback object created from c++ application. ownership over the callback object is moved into the relevant subdevice lockerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_set_notifications_callback_cpp(@Const rs2_sensor sensor, rs2_notifications_callback callback, @ByPtrPtr rs2_error error)
@Cast(value="const char*") public static BytePointer rs2_get_notification_description(rs2_notification notification, @Cast(value="rs2_error**") PointerPointer error)
notification
- [in] handle returned from a callbackerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored@Cast(value="const char*") public static BytePointer rs2_get_notification_description(rs2_notification notification, @ByPtrPtr rs2_error error)
@Cast(value="rs2_time_t") public static double rs2_get_notification_timestamp(rs2_notification notification, @Cast(value="rs2_error**") PointerPointer error)
notification
- [in] handle returned from a callbackerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored@Cast(value="rs2_time_t") public static double rs2_get_notification_timestamp(rs2_notification notification, @ByPtrPtr rs2_error error)
@Cast(value="rs2_log_severity") public static int rs2_get_notification_severity(rs2_notification notification, @Cast(value="rs2_error**") PointerPointer error)
notification
- [in] handle returned from a callbackerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored@Cast(value="rs2_log_severity") public static int rs2_get_notification_severity(rs2_notification notification, @ByPtrPtr rs2_error error)
@Cast(value="rs2_notification_category") public static int rs2_get_notification_category(rs2_notification notification, @Cast(value="rs2_error**") PointerPointer error)
notification
- [in] handle returned from a callbackerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored@Cast(value="rs2_notification_category") public static int rs2_get_notification_category(rs2_notification notification, @ByPtrPtr rs2_error error)
@Cast(value="const char*") public static BytePointer rs2_get_notification_serialized_data(rs2_notification notification, @Cast(value="rs2_error**") PointerPointer error)
notification
- [in] handle returned from a callbackerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored@Cast(value="const char*") public static BytePointer rs2_get_notification_serialized_data(rs2_notification notification, @ByPtrPtr rs2_error error)
public static rs2_stream_profile_list rs2_get_stream_profiles(rs2_sensor sensor, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] input RealSense subdeviceerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_stream_profile_list rs2_get_stream_profiles(rs2_sensor sensor, @ByPtrPtr rs2_error error)
public static rs2_stream_profile_list rs2_get_debug_stream_profiles(rs2_sensor sensor, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] input RealSense subdeviceerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_stream_profile_list rs2_get_debug_stream_profiles(rs2_sensor sensor, @ByPtrPtr rs2_error error)
public static rs2_stream_profile_list rs2_get_active_streams(rs2_sensor sensor, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] input RealSense subdeviceerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_stream_profile_list rs2_get_active_streams(rs2_sensor sensor, @ByPtrPtr rs2_error error)
@Const public static rs2_stream_profile rs2_get_stream_profile(@Const rs2_stream_profile_list list, int index, @Cast(value="rs2_error**") PointerPointer error)
list
- [in] the list of supported profiles returned by rs2_get_supported_profilesindex
- [in] the zero based index of the streaming modeerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored@Const public static rs2_stream_profile rs2_get_stream_profile(@Const rs2_stream_profile_list list, int index, @ByPtrPtr rs2_error error)
public static void rs2_get_stream_profile_data(@Const rs2_stream_profile mode, @Cast(value="rs2_stream*") IntPointer stream, @Cast(value="rs2_format*") IntPointer format, IntPointer index, IntPointer unique_id, IntPointer framerate, @Cast(value="rs2_error**") PointerPointer error)
mode
- [in] input stream profilestream
- [out] stream type of the input profileformat
- [out] binary data format of the input profileindex
- [out] stream index the input profile in case there are multiple streams of the same typeunique_id
- [out] identifier for the stream profile, unique within the applicationframerate
- [out] expected rate for data frames to arrive, meaning expected number of frames per seconderror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_get_stream_profile_data(@Const rs2_stream_profile mode, @Cast(value="rs2_stream*") IntPointer stream, @Cast(value="rs2_format*") IntPointer format, IntPointer index, IntPointer unique_id, IntPointer framerate, @ByPtrPtr rs2_error error)
public static void rs2_get_stream_profile_data(@Const rs2_stream_profile mode, @Cast(value="rs2_stream*") IntBuffer stream, @Cast(value="rs2_format*") IntBuffer format, IntBuffer index, IntBuffer unique_id, IntBuffer framerate, @ByPtrPtr rs2_error error)
public static void rs2_get_stream_profile_data(@Const rs2_stream_profile mode, @Cast(value="rs2_stream*") int[] stream, @Cast(value="rs2_format*") int[] format, int[] index, int[] unique_id, int[] framerate, @ByPtrPtr rs2_error error)
public static void rs2_set_stream_profile_data(rs2_stream_profile mode, @Cast(value="rs2_stream") int stream, int index, @Cast(value="rs2_format") int format, @Cast(value="rs2_error**") PointerPointer error)
mode
- [in] input stream profilestream
- [in] stream type for the profileformat
- [in] binary data format of the profileindex
- [in] stream index the profile in case there are multiple streams of the same typeerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_set_stream_profile_data(rs2_stream_profile mode, @Cast(value="rs2_stream") int stream, int index, @Cast(value="rs2_format") int format, @ByPtrPtr rs2_error error)
public static rs2_stream_profile rs2_clone_stream_profile(@Const rs2_stream_profile mode, @Cast(value="rs2_stream") int stream, int index, @Cast(value="rs2_format") int format, @Cast(value="rs2_error**") PointerPointer error)
mode
- [in] input stream profilestream
- [in] stream type for the profileformat
- [in] binary data format of the profileindex
- [in] stream index the profile in case there are multiple streams of the same typeerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_stream_profile rs2_clone_stream_profile(@Const rs2_stream_profile mode, @Cast(value="rs2_stream") int stream, int index, @Cast(value="rs2_format") int format, @ByPtrPtr rs2_error error)
public static rs2_stream_profile rs2_clone_video_stream_profile(@Const rs2_stream_profile mode, @Cast(value="rs2_stream") int stream, int index, @Cast(value="rs2_format") int format, int width, int height, @Const rs2_intrinsics intr, @Cast(value="rs2_error**") PointerPointer error)
mode
- [in] input stream profilestream
- [in] stream type for the profileformat
- [in] binary data format of the profilewidth
- [in] new width for the profileheight
- [in] new height for the profileintr
- [in] new intrinsics for the profileindex
- [in] stream index the profile in case there are multiple streams of the same typeerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_stream_profile rs2_clone_video_stream_profile(@Const rs2_stream_profile mode, @Cast(value="rs2_stream") int stream, int index, @Cast(value="rs2_format") int format, int width, int height, @Const rs2_intrinsics intr, @ByPtrPtr rs2_error error)
public static void rs2_delete_stream_profile(rs2_stream_profile mode)
mode
- [in] input stream profilepublic static int rs2_stream_profile_is(@Const rs2_stream_profile mode, @Cast(value="rs2_extension") int type, @Cast(value="rs2_error**") PointerPointer error)
mode
- [in] input stream profiletype
- [in] extension type, for example RS2_EXTENSION_VIDEO_STREAM_PROFILEerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_stream_profile_is(@Const rs2_stream_profile mode, @Cast(value="rs2_extension") int type, @ByPtrPtr rs2_error error)
public static void rs2_get_video_stream_resolution(@Const rs2_stream_profile mode, IntPointer width, IntPointer height, @Cast(value="rs2_error**") PointerPointer error)
mode
- [in] input stream profilewidth
- [out] width in pixels of the video streamheight
- [out] height in pixels of the video streamerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_get_video_stream_resolution(@Const rs2_stream_profile mode, IntPointer width, IntPointer height, @ByPtrPtr rs2_error error)
public static void rs2_get_video_stream_resolution(@Const rs2_stream_profile mode, IntBuffer width, IntBuffer height, @ByPtrPtr rs2_error error)
public static void rs2_get_video_stream_resolution(@Const rs2_stream_profile mode, int[] width, int[] height, @ByPtrPtr rs2_error error)
public static void rs2_get_motion_intrinsics(@Const rs2_stream_profile mode, rs2_motion_device_intrinsic intrinsics, @Cast(value="rs2_error**") PointerPointer error)
mode
- [in] input stream profileintrinsics
- [out] Pointer to the struct to store the data inerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_get_motion_intrinsics(@Const rs2_stream_profile mode, rs2_motion_device_intrinsic intrinsics, @ByPtrPtr rs2_error error)
public static int rs2_is_stream_profile_default(@Const rs2_stream_profile mode, @Cast(value="rs2_error**") PointerPointer error)
mode
- [in] input stream profileerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_is_stream_profile_default(@Const rs2_stream_profile mode, @ByPtrPtr rs2_error error)
public static int rs2_get_stream_profiles_count(@Const rs2_stream_profile_list list, @Cast(value="rs2_error**") PointerPointer error)
list
- [in] the list of supported profiles returned by rs2_get_supported_profileserror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_get_stream_profiles_count(@Const rs2_stream_profile_list list, @ByPtrPtr rs2_error error)
public static void rs2_delete_stream_profiles_list(rs2_stream_profile_list list)
list
- [in] the list of supported profiles returned by rs2_get_supported_profilespublic static void rs2_get_extrinsics(@Const rs2_stream_profile from, @Const rs2_stream_profile to, rs2_extrinsics extrin, @Cast(value="rs2_error**") PointerPointer error)
from
- [in] origin stream profileto
- [in] target stream profileextrin
- [out] extrinsics from origin to targeterror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_get_extrinsics(@Const rs2_stream_profile from, @Const rs2_stream_profile to, rs2_extrinsics extrin, @ByPtrPtr rs2_error error)
public static void rs2_register_extrinsics(@Const rs2_stream_profile from, @Const rs2_stream_profile to, @ByVal rs2_extrinsics extrin, @Cast(value="rs2_error**") PointerPointer error)
from
- [in] origin stream profileto
- [in] target stream profileextrin
- [out] extrinsics from origin to targeterror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_register_extrinsics(@Const rs2_stream_profile from, @Const rs2_stream_profile to, @ByVal rs2_extrinsics extrin, @ByPtrPtr rs2_error error)
public static void rs2_override_extrinsics(@Const rs2_sensor sensor, @Const rs2_extrinsics extrinsics, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] The sensorextrinsics
- [in] Extrinsics from Depth to the named sensorerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_override_extrinsics(@Const rs2_sensor sensor, @Const rs2_extrinsics extrinsics, @ByPtrPtr rs2_error error)
public static void rs2_get_video_stream_intrinsics(@Const rs2_stream_profile mode, rs2_intrinsics intrinsics, @Cast(value="rs2_error**") PointerPointer error)
mode
- [in] input stream profileintrinsics
- [out] resulting intrinsics for the video profileerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_get_video_stream_intrinsics(@Const rs2_stream_profile mode, rs2_intrinsics intrinsics, @ByPtrPtr rs2_error error)
public static rs2_processing_block_list rs2_get_recommended_processing_blocks(rs2_sensor sensor, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] input sensorerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_processing_block_list rs2_get_recommended_processing_blocks(rs2_sensor sensor, @ByPtrPtr rs2_error error)
public static rs2_processing_block rs2_get_processing_block(@Const rs2_processing_block_list list, int index, @Cast(value="rs2_error**") PointerPointer error)
list
- [in] the processing blocks listindex
- [in] the requested processing blockerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_processing_block rs2_get_processing_block(@Const rs2_processing_block_list list, int index, @ByPtrPtr rs2_error error)
public static int rs2_get_recommended_processing_blocks_count(@Const rs2_processing_block_list list, @Cast(value="rs2_error**") PointerPointer error)
list
- [in] the processing blocks listerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_get_recommended_processing_blocks_count(@Const rs2_processing_block_list list, @ByPtrPtr rs2_error error)
public static void rs2_delete_recommended_processing_blocks(rs2_processing_block_list list)
list
- [in] list to deletepublic static int rs2_import_localization_map(@Const rs2_sensor sensor, @Cast(value="const unsigned char*") BytePointer lmap_blob, @Cast(value="unsigned int") int blob_size, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] TM2 position-tracking sensorlmap_blob
- [in] Localization map raw buffer, serializedblob_size
- [in] The buffer's size in byteserror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_import_localization_map(@Const rs2_sensor sensor, @Cast(value="const unsigned char*") BytePointer lmap_blob, @Cast(value="unsigned int") int blob_size, @ByPtrPtr rs2_error error)
public static int rs2_import_localization_map(@Const rs2_sensor sensor, @Cast(value="const unsigned char*") ByteBuffer lmap_blob, @Cast(value="unsigned int") int blob_size, @ByPtrPtr rs2_error error)
public static int rs2_import_localization_map(@Const rs2_sensor sensor, @Cast(value="const unsigned char*") byte[] lmap_blob, @Cast(value="unsigned int") int blob_size, @ByPtrPtr rs2_error error)
@Const public static rs2_raw_data_buffer rs2_export_localization_map(@Const rs2_sensor sensor, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] TM2 position-tracking sensorlmap_fname
- [in] The file name of the localization maperror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored@Const public static rs2_raw_data_buffer rs2_export_localization_map(@Const rs2_sensor sensor, @ByPtrPtr rs2_error error)
public static int rs2_set_static_node(@Const rs2_sensor sensor, @Cast(value="const char*") BytePointer guid, @Const @ByVal rs2_vector pos, @Const @ByVal rs2_quaternion orient, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] T2xx position-tracking sensorguid
- [in] Null-terminated string of up to 127 characterspos
- [in] Position in meters, relative to the current tracking sessionorient
- [in] Quaternion orientation, expressed the the coordinate system of the current tracking sessionerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_set_static_node(@Const rs2_sensor sensor, @Cast(value="const char*") BytePointer guid, @Const @ByVal rs2_vector pos, @Const @ByVal rs2_quaternion orient, @ByPtrPtr rs2_error error)
public static int rs2_set_static_node(@Const rs2_sensor sensor, String guid, @Const @ByVal rs2_vector pos, @Const @ByVal rs2_quaternion orient, @ByPtrPtr rs2_error error)
public static int rs2_get_static_node(@Const rs2_sensor sensor, @Cast(value="const char*") BytePointer guid, rs2_vector pos, rs2_quaternion orient, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] T2xx position-tracking sensorguid
- [in] Null-terminated string of up to 127 characterspos
- [out] Position in meters of the tagged (stored) locationorient
- [out] Quaternion orientation of the tagged (stored) locationerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_get_static_node(@Const rs2_sensor sensor, @Cast(value="const char*") BytePointer guid, rs2_vector pos, rs2_quaternion orient, @ByPtrPtr rs2_error error)
public static int rs2_get_static_node(@Const rs2_sensor sensor, String guid, rs2_vector pos, rs2_quaternion orient, @ByPtrPtr rs2_error error)
public static int rs2_remove_static_node(@Const rs2_sensor sensor, @Cast(value="const char*") BytePointer guid, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] T2xx position-tracking sensorguid
- [in] Null-terminated string of up to 127 characterserror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_remove_static_node(@Const rs2_sensor sensor, @Cast(value="const char*") BytePointer guid, @ByPtrPtr rs2_error error)
public static int rs2_remove_static_node(@Const rs2_sensor sensor, String guid, @ByPtrPtr rs2_error error)
public static int rs2_load_wheel_odometry_config(@Const rs2_sensor sensor, @Cast(value="const unsigned char*") BytePointer odometry_config_buf, @Cast(value="unsigned int") int blob_size, @Cast(value="rs2_error**") PointerPointer error)
odometry_config_buf
- [in] odometer configuration/calibration blob serialized from jsom filepublic static int rs2_load_wheel_odometry_config(@Const rs2_sensor sensor, @Cast(value="const unsigned char*") BytePointer odometry_config_buf, @Cast(value="unsigned int") int blob_size, @ByPtrPtr rs2_error error)
public static int rs2_load_wheel_odometry_config(@Const rs2_sensor sensor, @Cast(value="const unsigned char*") ByteBuffer odometry_config_buf, @Cast(value="unsigned int") int blob_size, @ByPtrPtr rs2_error error)
public static int rs2_load_wheel_odometry_config(@Const rs2_sensor sensor, @Cast(value="const unsigned char*") byte[] odometry_config_buf, @Cast(value="unsigned int") int blob_size, @ByPtrPtr rs2_error error)
public static int rs2_send_wheel_odometry(@Const rs2_sensor sensor, @Cast(value="char") byte wo_sensor_id, @Cast(value="unsigned int") int frame_num, @Const @ByVal rs2_vector translational_velocity, @Cast(value="rs2_error**") PointerPointer error)
wo_sensor_id
- [in] - Zero-based index of (wheel) sensor with the same type within deviceframe_num
- [in] - Monotonocally increasing frame number, managed per sensor.translational_velocity
- [in] - Translational velocity of the wheel sensor [meter/sec]public static int rs2_send_wheel_odometry(@Const rs2_sensor sensor, @Cast(value="char") byte wo_sensor_id, @Cast(value="unsigned int") int frame_num, @Const @ByVal rs2_vector translational_velocity, @ByPtrPtr rs2_error error)
public static void rs2_set_intrinsics(@Const rs2_sensor sensor, @Const rs2_stream_profile profile, @Const rs2_intrinsics intrinsics, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] The RealSense deviceprofile
- [in] Target stream profileintrinsics
- [in] Intrinsics value to be written to the deviceerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_set_intrinsics(@Const rs2_sensor sensor, @Const rs2_stream_profile profile, @Const rs2_intrinsics intrinsics, @ByPtrPtr rs2_error error)
public static void rs2_override_intrinsics(@Const rs2_sensor sensor, @Const rs2_intrinsics intrinsics, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] The RealSense deviceintrinsics
- [in] Intrinsics value to be written to the sensorerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_override_intrinsics(@Const rs2_sensor sensor, @Const rs2_intrinsics intrinsics, @ByPtrPtr rs2_error error)
public static void rs2_set_extrinsics(@Const rs2_sensor from_sensor, @Const rs2_stream_profile from_profile, rs2_sensor to_sensor, @Const rs2_stream_profile to_profile, @Const rs2_extrinsics extrinsics, @Cast(value="rs2_error**") PointerPointer error)
from_sensor
- [in] Origin sensorfrom_profile
- [in] Origin profileto_sensor
- [in] Target sensorto_profile
- [in] Target profileextrinsics
- [out] Extrinsics from origin to targeterror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_set_extrinsics(@Const rs2_sensor from_sensor, @Const rs2_stream_profile from_profile, rs2_sensor to_sensor, @Const rs2_stream_profile to_profile, @Const rs2_extrinsics extrinsics, @ByPtrPtr rs2_error error)
public static void rs2_get_dsm_params(@Const rs2_sensor sensor, rs2_dsm_params p_params_out, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] Sensor that supports the CALIBRATED_SENSOR extensionp_params_out
- [out] Pointer to the structure that will get the DSM parameterserror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_get_dsm_params(@Const rs2_sensor sensor, rs2_dsm_params p_params_out, @ByPtrPtr rs2_error error)
public static void rs2_override_dsm_params(@Const rs2_sensor sensor, @Const rs2_dsm_params p_params, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] Sensor that supports the CALIBRATED_SENSOR extensionp_params
- [out] Pointer to the structure that contains the DSM parameterserror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_override_dsm_params(@Const rs2_sensor sensor, @Const rs2_dsm_params p_params, @ByPtrPtr rs2_error error)
public static void rs2_reset_sensor_calibration(@Const rs2_sensor sensor, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] Sensor that supports the CALIBRATED_SENSOR extensionerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_reset_sensor_calibration(@Const rs2_sensor sensor, @ByPtrPtr rs2_error error)
public static void rs2_set_motion_device_intrinsics(@Const rs2_sensor sensor, @Const rs2_stream_profile profile, @Const rs2_motion_device_intrinsic intrinsics, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] Motion sensorprofile
- [in] Motion stream profileintrinsics
- [out] Pointer to the struct to store the data inerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_set_motion_device_intrinsics(@Const rs2_sensor sensor, @Const rs2_stream_profile profile, @Const rs2_motion_device_intrinsic intrinsics, @ByPtrPtr rs2_error error)
public static float rs2_get_max_usable_depth_range(@Const rs2_sensor sensor, @Cast(value="rs2_error**") PointerPointer error)
sensor
- [in] depth sensorerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static float rs2_get_max_usable_depth_range(@Const rs2_sensor sensor, @ByPtrPtr rs2_error error)
public static rs2_config rs2_create_config(@Cast(value="rs2_error**") PointerPointer error)
error
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_config rs2_create_config(@ByPtrPtr rs2_error error)
public static void rs2_delete_config(rs2_config config)
config
- [in] A pointer to an instance of a configpublic static void rs2_config_enable_stream(rs2_config config, @Cast(value="rs2_stream") int stream, int index, int width, int height, @Cast(value="rs2_format") int format, int framerate, @Cast(value="rs2_error**") PointerPointer error)
config
- [in] A pointer to an instance of a configstream
- [in] Stream type to be enabledindex
- [in] Stream index, used for multiple streams of the same type. -1 indicates any.width
- [in] Stream image width - for images streams. 0 indicates any.height
- [in] Stream image height - for images streams. 0 indicates any.format
- [in] Stream data format - pixel format for images streams, of data type for other streams. RS2_FORMAT_ANY indicates any.framerate
- [in] Stream frames per second. 0 indicates any.error
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_config_enable_stream(rs2_config config, @Cast(value="rs2_stream") int stream, int index, int width, int height, @Cast(value="rs2_format") int format, int framerate, @ByPtrPtr rs2_error error)
public static void rs2_config_enable_all_stream(rs2_config config, @Cast(value="rs2_error**") PointerPointer error)
config
- [in] A pointer to an instance of a configerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_config_enable_all_stream(rs2_config config, @ByPtrPtr rs2_error error)
public static void rs2_config_enable_device(rs2_config config, @Cast(value="const char*") BytePointer serial, @Cast(value="rs2_error**") PointerPointer error)
config
- [in] A pointer to an instance of a configserial
- [in] device serial number, as returned by RS2_CAMERA_INFO_SERIAL_NUMBERerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_config_enable_device(rs2_config config, @Cast(value="const char*") BytePointer serial, @ByPtrPtr rs2_error error)
public static void rs2_config_enable_device(rs2_config config, String serial, @ByPtrPtr rs2_error error)
public static void rs2_config_enable_device_from_file(rs2_config config, @Cast(value="const char*") BytePointer file, @Cast(value="rs2_error**") PointerPointer error)
config
- [in] A pointer to an instance of a configfile
- [in] The playback file of the deviceerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_config_enable_device_from_file(rs2_config config, @Cast(value="const char*") BytePointer file, @ByPtrPtr rs2_error error)
public static void rs2_config_enable_device_from_file(rs2_config config, String file, @ByPtrPtr rs2_error error)
public static void rs2_config_enable_device_from_file_repeat_option(rs2_config config, @Cast(value="const char*") BytePointer file, int repeat_playback, @Cast(value="rs2_error**") PointerPointer error)
config
- [in] A pointer to an instance of a configfile
- [in] The playback file of the devicerepeat_playback
- [in] if true, when file ends the playback starts again, in an infinite loop;
if false, when file ends playback does not start again, and should by stopped manually by the user.error
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_config_enable_device_from_file_repeat_option(rs2_config config, @Cast(value="const char*") BytePointer file, int repeat_playback, @ByPtrPtr rs2_error error)
public static void rs2_config_enable_device_from_file_repeat_option(rs2_config config, String file, int repeat_playback, @ByPtrPtr rs2_error error)
public static void rs2_config_enable_record_to_file(rs2_config config, @Cast(value="const char*") BytePointer file, @Cast(value="rs2_error**") PointerPointer error)
config
- [in] A pointer to an instance of a configfile
- [in] The desired file for the output recorderror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_config_enable_record_to_file(rs2_config config, @Cast(value="const char*") BytePointer file, @ByPtrPtr rs2_error error)
public static void rs2_config_enable_record_to_file(rs2_config config, String file, @ByPtrPtr rs2_error error)
public static void rs2_config_disable_stream(rs2_config config, @Cast(value="rs2_stream") int stream, @Cast(value="rs2_error**") PointerPointer error)
config
- [in] A pointer to an instance of a configstream
- [in] Stream type, for which the filters are clearederror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_config_disable_stream(rs2_config config, @Cast(value="rs2_stream") int stream, @ByPtrPtr rs2_error error)
public static void rs2_config_disable_indexed_stream(rs2_config config, @Cast(value="rs2_stream") int stream, int index, @Cast(value="rs2_error**") PointerPointer error)
config
- [in] A pointer to an instance of a configstream
- [in] Stream type, for which the filters are clearedindex
- [in] Stream index, for which the filters are clearederror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_config_disable_indexed_stream(rs2_config config, @Cast(value="rs2_stream") int stream, int index, @ByPtrPtr rs2_error error)
public static void rs2_config_disable_all_streams(rs2_config config, @Cast(value="rs2_error**") PointerPointer error)
config
- [in] A pointer to an instance of a configerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_config_disable_all_streams(rs2_config config, @ByPtrPtr rs2_error error)
public static rs2_pipeline_profile rs2_config_resolve(rs2_config config, rs2_pipeline pipe, @Cast(value="rs2_error**") PointerPointer error)
config
- [in] A pointer to an instance of a configpipe
- [in] The pipeline for which the selected filters are appliederror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_pipeline_profile rs2_config_resolve(rs2_config config, rs2_pipeline pipe, @ByPtrPtr rs2_error error)
public static int rs2_config_can_resolve(rs2_config config, rs2_pipeline pipe, @Cast(value="rs2_error**") PointerPointer error)
config
- [in] A pointer to an instance of a configpipe
- [in] The pipeline for which the selected filters are appliederror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_config_can_resolve(rs2_config config, rs2_pipeline pipe, @ByPtrPtr rs2_error error)
public static rs2_pipeline rs2_create_pipeline(rs2_context ctx, @Cast(value="rs2_error**") PointerPointer error)
ctx
- [in] contexterror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_pipeline rs2_create_pipeline(rs2_context ctx, @ByPtrPtr rs2_error error)
public static void rs2_pipeline_stop(rs2_pipeline pipe, @Cast(value="rs2_error**") PointerPointer error)
pipe
- [in] pipelineerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_pipeline_stop(rs2_pipeline pipe, @ByPtrPtr rs2_error error)
public static rs2_frame rs2_pipeline_wait_for_frames(rs2_pipeline pipe, @Cast(value="unsigned int") int timeout_ms, @Cast(value="rs2_error**") PointerPointer error)
pipe
- [in] the pipelinetimeout_ms
- [in] Max time in milliseconds to wait until an exception will be thrownerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_frame rs2_pipeline_wait_for_frames(rs2_pipeline pipe, @Cast(value="unsigned int") int timeout_ms, @ByPtrPtr rs2_error error)
public static int rs2_pipeline_poll_for_frames(rs2_pipeline pipe, @Cast(value="rs2_frame**") PointerPointer output_frame, @Cast(value="rs2_error**") PointerPointer error)
pipe
- [in] the pipelineoutput_frame
- [out] frame handle to be released using rs2_release_frameerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_pipeline_poll_for_frames(rs2_pipeline pipe, @ByPtrPtr rs2_frame output_frame, @ByPtrPtr rs2_error error)
public static int rs2_pipeline_try_wait_for_frames(rs2_pipeline pipe, @Cast(value="rs2_frame**") PointerPointer output_frame, @Cast(value="unsigned int") int timeout_ms, @Cast(value="rs2_error**") PointerPointer error)
pipe
- [in] the pipelinetimeout_ms
- [in] max time in milliseconds to wait until a frame becomes availableoutput_frame
- [out] frame handle to be released using rs2_release_frameerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_pipeline_try_wait_for_frames(rs2_pipeline pipe, @ByPtrPtr rs2_frame output_frame, @Cast(value="unsigned int") int timeout_ms, @ByPtrPtr rs2_error error)
public static void rs2_delete_pipeline(rs2_pipeline pipe)
pipe
- [in] to deletepublic static rs2_pipeline_profile rs2_pipeline_start(rs2_pipeline pipe, @Cast(value="rs2_error**") PointerPointer error)
pipe
- [in] a pointer to an instance of the pipelineerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_pipeline_profile rs2_pipeline_start(rs2_pipeline pipe, @ByPtrPtr rs2_error error)
public static rs2_pipeline_profile rs2_pipeline_start_with_config(rs2_pipeline pipe, rs2_config config, @Cast(value="rs2_error**") PointerPointer error)
pipe
- [in] a pointer to an instance of the pipelineconfig
- [in] A rs2::config with requested filters on the pipeline configuration. By default no filters are applied.error
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_pipeline_profile rs2_pipeline_start_with_config(rs2_pipeline pipe, rs2_config config, @ByPtrPtr rs2_error error)
public static rs2_pipeline_profile rs2_pipeline_start_with_callback(rs2_pipeline pipe, rs2_frame_callback_ptr on_frame, Pointer user, @Cast(value="rs2_error**") PointerPointer error)
pipe
- [in] A pointer to an instance of the pipelineon_frame
- [in] function pointer to register as per-frame callbackuser
- [in] auxiliary data the user wishes to receive together with every frame callbackerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_pipeline_profile rs2_pipeline_start_with_callback(rs2_pipeline pipe, rs2_frame_callback_ptr on_frame, Pointer user, @ByPtrPtr rs2_error error)
public static rs2_pipeline_profile rs2_pipeline_start_with_callback_cpp(rs2_pipeline pipe, rs2_frame_callback callback, @Cast(value="rs2_error**") PointerPointer error)
pipe
- [in] A pointer to an instance of the pipelinecallback
- [in] callback object created from c++ application. ownership over the callback object is moved into the relevant streaming lockerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_pipeline_profile rs2_pipeline_start_with_callback_cpp(rs2_pipeline pipe, rs2_frame_callback callback, @ByPtrPtr rs2_error error)
public static rs2_pipeline_profile rs2_pipeline_start_with_config_and_callback(rs2_pipeline pipe, rs2_config config, rs2_frame_callback_ptr on_frame, Pointer user, @Cast(value="rs2_error**") PointerPointer error)
pipe
- [in] A pointer to an instance of the pipelineconfig
- [in] A rs2::config with requested filters on the pipeline configuration. By default no filters are applied.on_frame
- [in] function pointer to register as per-frame callbackuser
- [in] auxiliary data the user wishes to receive together with every frame callbackerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_pipeline_profile rs2_pipeline_start_with_config_and_callback(rs2_pipeline pipe, rs2_config config, rs2_frame_callback_ptr on_frame, Pointer user, @ByPtrPtr rs2_error error)
public static rs2_pipeline_profile rs2_pipeline_start_with_config_and_callback_cpp(rs2_pipeline pipe, rs2_config config, rs2_frame_callback callback, @Cast(value="rs2_error**") PointerPointer error)
pipe
- [in] A pointer to an instance of the pipelineconfig
- [in] A rs2::config with requested filters on the pipeline configuration. By default no filters are applied.callback
- [in] callback object created from c++ application. ownership over the callback object is moved into the relevant streaming lockerror
- [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_pipeline_profile rs2_pipeline_start_with_config_and_callback_cpp(rs2_pipeline pipe, rs2_config config, rs2_frame_callback callback, @ByPtrPtr rs2_error error)
public static rs2_pipeline_profile rs2_pipeline_get_active_profile(rs2_pipeline pipe, @Cast(value="rs2_error**") PointerPointer error)
pipe
- [in] a pointer to an instance of the pipelineerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_pipeline_profile rs2_pipeline_get_active_profile(rs2_pipeline pipe, @ByPtrPtr rs2_error error)
public static rs2_device rs2_pipeline_profile_get_device(rs2_pipeline_profile profile, @Cast(value="rs2_error**") PointerPointer error)
profile
- [in] A pointer to an instance of a pipeline profileerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_device rs2_pipeline_profile_get_device(rs2_pipeline_profile profile, @ByPtrPtr rs2_error error)
public static rs2_stream_profile_list rs2_pipeline_profile_get_streams(rs2_pipeline_profile profile, @Cast(value="rs2_error**") PointerPointer error)
profile
- [in] A pointer to an instance of a pipeline profileerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static rs2_stream_profile_list rs2_pipeline_profile_get_streams(rs2_pipeline_profile profile, @ByPtrPtr rs2_error error)
public static void rs2_delete_pipeline_profile(rs2_pipeline_profile profile)
profile
- [in] A pointer to an instance of a pipeline profile@MemberGetter public static String RS2_API_VERSION_STR()
@MemberGetter public static String RS2_API_FULL_VERSION_STR()
public static int rs2_get_raw_data_size(@Const rs2_raw_data_buffer buffer, @Cast(value="rs2_error**") PointerPointer error)
buffer
- [in] pointer to rs2_raw_data_buffer returned by rs2_send_and_receive_raw_dataerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static int rs2_get_raw_data_size(@Const rs2_raw_data_buffer buffer, @ByPtrPtr rs2_error error)
public static void rs2_delete_raw_data(@Const rs2_raw_data_buffer buffer)
buffer
- [in] rs2_raw_data_buffer returned by rs2_send_and_receive_raw_data@Cast(value="const unsigned char*") public static BytePointer rs2_get_raw_data(@Const rs2_raw_data_buffer buffer, @Cast(value="rs2_error**") PointerPointer error)
buffer
- [in] rs2_raw_data_buffer returned by rs2_send_and_receive_raw_dataerror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored@Cast(value="const unsigned char*") public static BytePointer rs2_get_raw_data(@Const rs2_raw_data_buffer buffer, @ByPtrPtr rs2_error error)
public static int rs2_get_api_version(@Cast(value="rs2_error**") PointerPointer error)
error
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_log_to_console(@Cast(value="rs2_log_severity") int min_severity, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_log_to_console(@Cast(value="rs2_log_severity") int min_severity, @ByPtrPtr rs2_error error)
public static void rs2_log_to_file(@Cast(value="rs2_log_severity") int min_severity, @Cast(value="const char*") BytePointer file_path, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_log_to_file(@Cast(value="rs2_log_severity") int min_severity, @Cast(value="const char*") BytePointer file_path, @ByPtrPtr rs2_error error)
public static void rs2_log_to_file(@Cast(value="rs2_log_severity") int min_severity, String file_path, @ByPtrPtr rs2_error error)
public static void rs2_log_to_callback_cpp(@Cast(value="rs2_log_severity") int min_severity, rs2_log_callback callback, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_log_to_callback_cpp(@Cast(value="rs2_log_severity") int min_severity, rs2_log_callback callback, @ByPtrPtr rs2_error error)
public static void rs2_log_to_callback(@Cast(value="rs2_log_severity") int min_severity, rs2_log_callback_ptr callback, Pointer arg, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_log_to_callback(@Cast(value="rs2_log_severity") int min_severity, rs2_log_callback_ptr callback, Pointer arg, @ByPtrPtr rs2_error error)
public static void rs2_reset_logger(@Cast(value="rs2_error**") PointerPointer error)
public static void rs2_enable_rolling_log_file(@Cast(value="unsigned") int max_size, @Cast(value="rs2_error**") PointerPointer error)
max_size
- [in] max file size in megabyteserror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_enable_rolling_log_file(@Cast(value="unsigned") int max_size, @ByPtrPtr rs2_error error)
@Cast(value="unsigned") public static int rs2_get_log_message_line_number(@Const rs2_log_message msg, @Cast(value="rs2_error**") PointerPointer error)
@Cast(value="unsigned") public static int rs2_get_log_message_line_number(@Const rs2_log_message msg, @ByPtrPtr rs2_error error)
@Cast(value="const char*") public static BytePointer rs2_get_log_message_filename(@Const rs2_log_message msg, @Cast(value="rs2_error**") PointerPointer error)
@Cast(value="const char*") public static BytePointer rs2_get_log_message_filename(@Const rs2_log_message msg, @ByPtrPtr rs2_error error)
@Cast(value="const char*") public static BytePointer rs2_get_raw_log_message(@Const rs2_log_message msg, @Cast(value="rs2_error**") PointerPointer error)
@Cast(value="const char*") public static BytePointer rs2_get_raw_log_message(@Const rs2_log_message msg, @ByPtrPtr rs2_error error)
@Cast(value="const char*") public static BytePointer rs2_get_full_log_message(@Const rs2_log_message msg, @Cast(value="rs2_error**") PointerPointer error)
@Cast(value="const char*") public static BytePointer rs2_get_full_log_message(@Const rs2_log_message msg, @ByPtrPtr rs2_error error)
public static void rs2_log(@Cast(value="rs2_log_severity") int severity, @Cast(value="const char*") BytePointer message, @Cast(value="rs2_error**") PointerPointer error)
severity
- [in] The log level for the message to be written undermessage
- [in] Message to be loggederror
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_log(@Cast(value="rs2_log_severity") int severity, @Cast(value="const char*") BytePointer message, @ByPtrPtr rs2_error error)
public static void rs2_log(@Cast(value="rs2_log_severity") int severity, String message, @ByPtrPtr rs2_error error)
public static float rs2_depth_frame_get_distance(@Const rs2_frame frame_ref, int x, int y, @Cast(value="rs2_error**") PointerPointer error)
frame_ref
- [in] 2D depth pixel coordinates (Left-Upper corner origin)x
- [in] ,y 2D depth pixel coordinates (Left-Upper corner origin)error
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static float rs2_depth_frame_get_distance(@Const rs2_frame frame_ref, int x, int y, @ByPtrPtr rs2_error error)
@Cast(value="rs2_time_t") public static double rs2_get_time(@Cast(value="rs2_error**") PointerPointer error)
error
- [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignoredpublic static void rs2_toggle_advanced_mode(rs2_device dev, int enable, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_toggle_advanced_mode(rs2_device dev, int enable, @ByPtrPtr rs2_error error)
public static void rs2_is_enabled(rs2_device dev, IntPointer enabled, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_is_enabled(rs2_device dev, IntPointer enabled, @ByPtrPtr rs2_error error)
public static void rs2_is_enabled(rs2_device dev, IntBuffer enabled, @ByPtrPtr rs2_error error)
public static void rs2_is_enabled(rs2_device dev, int[] enabled, @ByPtrPtr rs2_error error)
public static void rs2_set_depth_control(rs2_device dev, @Const STDepthControlGroup group, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_set_depth_control(rs2_device dev, @Const STDepthControlGroup group, @ByPtrPtr rs2_error error)
public static void rs2_get_depth_control(rs2_device dev, STDepthControlGroup group, int mode, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_get_depth_control(rs2_device dev, STDepthControlGroup group, int mode, @ByPtrPtr rs2_error error)
public static void rs2_set_rsm(rs2_device dev, @Const STRsm group, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_set_rsm(rs2_device dev, @Const STRsm group, @ByPtrPtr rs2_error error)
public static void rs2_get_rsm(rs2_device dev, STRsm group, int mode, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_get_rsm(rs2_device dev, STRsm group, int mode, @ByPtrPtr rs2_error error)
public static void rs2_set_rau_support_vector_control(rs2_device dev, @Const STRauSupportVectorControl group, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_set_rau_support_vector_control(rs2_device dev, @Const STRauSupportVectorControl group, @ByPtrPtr rs2_error error)
public static void rs2_get_rau_support_vector_control(rs2_device dev, STRauSupportVectorControl group, int mode, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_get_rau_support_vector_control(rs2_device dev, STRauSupportVectorControl group, int mode, @ByPtrPtr rs2_error error)
public static void rs2_set_color_control(rs2_device dev, @Const STColorControl group, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_set_color_control(rs2_device dev, @Const STColorControl group, @ByPtrPtr rs2_error error)
public static void rs2_get_color_control(rs2_device dev, STColorControl group, int mode, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_get_color_control(rs2_device dev, STColorControl group, int mode, @ByPtrPtr rs2_error error)
public static void rs2_set_rau_thresholds_control(rs2_device dev, @Const STRauColorThresholdsControl group, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_set_rau_thresholds_control(rs2_device dev, @Const STRauColorThresholdsControl group, @ByPtrPtr rs2_error error)
public static void rs2_get_rau_thresholds_control(rs2_device dev, STRauColorThresholdsControl group, int mode, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_get_rau_thresholds_control(rs2_device dev, STRauColorThresholdsControl group, int mode, @ByPtrPtr rs2_error error)
public static void rs2_set_slo_color_thresholds_control(rs2_device dev, @Const STSloColorThresholdsControl group, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_set_slo_color_thresholds_control(rs2_device dev, @Const STSloColorThresholdsControl group, @ByPtrPtr rs2_error error)
public static void rs2_get_slo_color_thresholds_control(rs2_device dev, STSloColorThresholdsControl group, int mode, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_get_slo_color_thresholds_control(rs2_device dev, STSloColorThresholdsControl group, int mode, @ByPtrPtr rs2_error error)
public static void rs2_set_slo_penalty_control(rs2_device dev, @Const STSloPenaltyControl group, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_set_slo_penalty_control(rs2_device dev, @Const STSloPenaltyControl group, @ByPtrPtr rs2_error error)
public static void rs2_get_slo_penalty_control(rs2_device dev, STSloPenaltyControl group, int mode, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_get_slo_penalty_control(rs2_device dev, STSloPenaltyControl group, int mode, @ByPtrPtr rs2_error error)
public static void rs2_set_hdad(rs2_device dev, @Const STHdad group, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_set_hdad(rs2_device dev, @Const STHdad group, @ByPtrPtr rs2_error error)
public static void rs2_get_hdad(rs2_device dev, STHdad group, int mode, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_get_hdad(rs2_device dev, STHdad group, int mode, @ByPtrPtr rs2_error error)
public static void rs2_set_color_correction(rs2_device dev, @Const STColorCorrection group, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_set_color_correction(rs2_device dev, @Const STColorCorrection group, @ByPtrPtr rs2_error error)
public static void rs2_get_color_correction(rs2_device dev, STColorCorrection group, int mode, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_get_color_correction(rs2_device dev, STColorCorrection group, int mode, @ByPtrPtr rs2_error error)
public static void rs2_set_depth_table(rs2_device dev, @Const STDepthTableControl group, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_set_depth_table(rs2_device dev, @Const STDepthTableControl group, @ByPtrPtr rs2_error error)
public static void rs2_get_depth_table(rs2_device dev, STDepthTableControl group, int mode, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_get_depth_table(rs2_device dev, STDepthTableControl group, int mode, @ByPtrPtr rs2_error error)
public static void rs2_set_ae_control(rs2_device dev, @Const STAEControl group, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_set_ae_control(rs2_device dev, @Const STAEControl group, @ByPtrPtr rs2_error error)
public static void rs2_get_ae_control(rs2_device dev, STAEControl group, int mode, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_get_ae_control(rs2_device dev, STAEControl group, int mode, @ByPtrPtr rs2_error error)
public static void rs2_set_census(rs2_device dev, @Const STCensusRadius group, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_set_census(rs2_device dev, @Const STCensusRadius group, @ByPtrPtr rs2_error error)
public static void rs2_get_census(rs2_device dev, STCensusRadius group, int mode, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_get_census(rs2_device dev, STCensusRadius group, int mode, @ByPtrPtr rs2_error error)
public static void rs2_set_amp_factor(rs2_device dev, @Const STAFactor group, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_set_amp_factor(rs2_device dev, @Const STAFactor group, @ByPtrPtr rs2_error error)
public static void rs2_get_amp_factor(rs2_device dev, STAFactor group, int mode, @Cast(value="rs2_error**") PointerPointer error)
public static void rs2_get_amp_factor(rs2_device dev, STAFactor group, int mode, @ByPtrPtr rs2_error error)
public static void rs2_project_point_to_pixel(FloatPointer pixel, @Const rs2_intrinsics intrin, @Const FloatPointer point)
public static void rs2_project_point_to_pixel(FloatBuffer pixel, @Const rs2_intrinsics intrin, @Const FloatBuffer point)
public static void rs2_project_point_to_pixel(float[] pixel, @Const rs2_intrinsics intrin, @Const float[] point)
public static void rs2_deproject_pixel_to_point(FloatPointer point, @Const rs2_intrinsics intrin, @Const FloatPointer pixel, float depth)
public static void rs2_deproject_pixel_to_point(FloatBuffer point, @Const rs2_intrinsics intrin, @Const FloatBuffer pixel, float depth)
public static void rs2_deproject_pixel_to_point(float[] point, @Const rs2_intrinsics intrin, @Const float[] pixel, float depth)
public static void rs2_transform_point_to_point(FloatPointer to_point, @Const rs2_extrinsics extrin, @Const FloatPointer from_point)
public static void rs2_transform_point_to_point(FloatBuffer to_point, @Const rs2_extrinsics extrin, @Const FloatBuffer from_point)
public static void rs2_transform_point_to_point(float[] to_point, @Const rs2_extrinsics extrin, @Const float[] from_point)
public static void rs2_fov(@Const rs2_intrinsics intrin, FloatPointer to_fov)
public static void rs2_fov(@Const rs2_intrinsics intrin, FloatBuffer to_fov)
public static void rs2_fov(@Const rs2_intrinsics intrin, float[] to_fov)
public static void rs2_project_color_pixel_to_depth_pixel(FloatPointer to_pixel, @Cast(value="const uint16_t*") ShortPointer data, float depth_scale, float depth_min, float depth_max, @Const rs2_intrinsics depth_intrin, @Const rs2_intrinsics color_intrin, @Const rs2_extrinsics color_to_depth, @Const rs2_extrinsics depth_to_color, @Const FloatPointer from_pixel)
public static void rs2_project_color_pixel_to_depth_pixel(FloatBuffer to_pixel, @Cast(value="const uint16_t*") ShortBuffer data, float depth_scale, float depth_min, float depth_max, @Const rs2_intrinsics depth_intrin, @Const rs2_intrinsics color_intrin, @Const rs2_extrinsics color_to_depth, @Const rs2_extrinsics depth_to_color, @Const FloatBuffer from_pixel)
public static void rs2_project_color_pixel_to_depth_pixel(float[] to_pixel, @Cast(value="const uint16_t*") short[] data, float depth_scale, float depth_min, float depth_max, @Const rs2_intrinsics depth_intrin, @Const rs2_intrinsics color_intrin, @Const rs2_extrinsics color_to_depth, @Const rs2_extrinsics depth_to_color, @Const float[] from_pixel)
Copyright © 2023. All rights reserved.