@Properties(inherit=RealSense.class) public class rs_device extends Pointer
Modifier and Type | Class and Description |
---|---|
static class |
rs_device.On_event_rs_device_rs_motion_data_Pointer |
static class |
rs_device.On_event_rs_device_rs_timestamp_data_Pointer |
static class |
rs_device.On_frame_rs_device_rs_frame_ref_Pointer |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
rs_device(Pointer p)
Pointer cast constructor.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public rs_device(Pointer p)
Pointer(Pointer)
.@Const @ByRef public rs_stream_interface get_stream_interface(@Cast(value="rs_stream") int stream)
@Cast(value="const char*") public BytePointer get_name()
@Cast(value="const char*") public BytePointer get_serial()
@Cast(value="const char*") public BytePointer get_firmware_version()
@Cast(value="const char*") public BytePointer get_camera_info(@Cast(value="rs_camera_info") int arg0)
public float get_depth_scale()
public void enable_stream(@Cast(value="rs_stream") int stream, int width, int height, @Cast(value="rs_format") int format, int fps, @Cast(value="rs_output_buffer_format") int output)
public void enable_stream_preset(@Cast(value="rs_stream") int stream, @Cast(value="rs_preset") int preset)
public void enable_motion_tracking()
public void set_stream_callback(@Cast(value="rs_stream") int stream, rs_device.On_frame_rs_device_rs_frame_ref_Pointer on_frame, Pointer user)
public void set_stream_callback(@Cast(value="rs_stream") int stream, rs_frame_callback callback)
public void disable_motion_tracking()
@ByVal public rs_motion_intrinsics get_motion_intrinsics()
@ByVal public rs_extrinsics get_motion_extrinsics_from(@Cast(value="rs_stream") int from)
public void set_motion_callback(rs_device.On_event_rs_device_rs_motion_data_Pointer on_event, Pointer user)
public void set_motion_callback(rs_motion_callback callback)
public void set_timestamp_callback(rs_device.On_event_rs_device_rs_timestamp_data_Pointer on_event, Pointer user)
public void set_timestamp_callback(rs_timestamp_callback callback)
public void start_fw_logger(@Cast(value="char") byte fw_log_op_code, int grab_rate_in_ms, @Cast(value="std::timed_mutex*") @ByRef Pointer mutex)
public void stop_fw_logger()
public int is_motion_tracking_active()
public void wait_all_streams()
@Cast(value="bool") public boolean supports_option(@Cast(value="rs_option") int option)
public void get_option_range(@Cast(value="rs_option") int option, @ByRef DoublePointer min, @ByRef DoublePointer max, @ByRef DoublePointer step, @ByRef DoublePointer def)
public void get_option_range(@Cast(value="rs_option") int option, @ByRef DoubleBuffer min, @ByRef DoubleBuffer max, @ByRef DoubleBuffer step, @ByRef DoubleBuffer def)
public void get_option_range(@Cast(value="rs_option") int option, @ByRef double[] min, @ByRef double[] max, @ByRef double[] step, @ByRef double[] def)
public void set_options(@Cast(value="const rs_option*") IntPointer options, @Cast(value="size_t") long count, @Const DoublePointer values)
public void set_options(@Cast(value="const rs_option*") IntBuffer options, @Cast(value="size_t") long count, @Const DoubleBuffer values)
public void set_options(@Cast(value="const rs_option*") int[] options, @Cast(value="size_t") long count, @Const double[] values)
public void get_options(@Cast(value="const rs_option*") IntPointer options, @Cast(value="size_t") long count, DoublePointer values)
public void get_options(@Cast(value="const rs_option*") IntBuffer options, @Cast(value="size_t") long count, DoubleBuffer values)
public void get_options(@Cast(value="const rs_option*") int[] options, @Cast(value="size_t") long count, double[] values)
@Cast(value="const char*") public BytePointer get_option_description(@Cast(value="rs_option") int option)
public void release_frame(rs_frame_ref ref)
public rs_frame_ref clone_frame(rs_frame_ref frame)
@Cast(value="const char*") public BytePointer get_usb_port_id()
Copyright © 2023. All rights reserved.