4 URealSenseSensor::URealSenseSensor(
const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer)
29 auto Option = NewNamedObject<URealSenseOption>(
this, ObjName);
31 Option->SetType(Type);
55 for (
int Id = 0; Id < NumProfiles; Id++)
99 return (e.
success() && Value == (int)
true);
107 && Iter.Format == Profile.
Format 108 && Iter.Width == Profile.
Width 109 && Iter.Height == Profile.
Height 110 && Iter.Rate == Profile.
Rate)
124 if (Option->Type == OptionType)
bool SupportsOption(ERealSenseOptionType Option)
rs2_option
Defines general configuration controls. These can generally be mapped to camera UVC controls...
ERealSenseStreamType StreamType
void rs2_get_video_stream_resolution(const rs2_stream_profile *mode, int *width, int *height, rs2_error **error)
void SetHandle(struct rs2_sensor *Handle)
class URealSenseOption * GetOption(ERealSenseOptionType OptionType)
rs2_stream_profile_list * rs2_get_stream_profiles(rs2_sensor *sensor, rs2_error **error)
int rs2_supports_option(const rs2_options *options, rs2_option option, rs2_error **error)
void rs2_get_stream_profile_data(const rs2_stream_profile *mode, rs2_stream *stream, rs2_format *format, int *index, int *unique_id, int *framerate, rs2_error **error)
void rs2_delete_sensor(rs2_sensor *sensor)
const rs2_stream_profile * rs2_get_stream_profile(const rs2_stream_profile_list *list, int index, rs2_error **error)
rs2_format
A stream's format identifies how binary data is encoded within a frame.
IMGUI_API void Value(const char *prefix, bool b)
void SetHandle(struct rs2_options *Handle)
rs2_stream
Streams are different types of data provided by RealSense devices.
bool SupportsProfile(FRealSenseStreamProfile Profile)
struct rs2_sensor * GetHandle()
class URealSenseOption * NewOption(struct rs2_options *Handle, ERealSenseOptionType Type, const TCHAR *Name)
FString uestr(const char *str)
TArray< FRealSenseStreamProfile > StreamProfiles
struct rs2_sensor * RsSensor
ERealSenseFormatType Format
const char * rs2_get_sensor_info(const rs2_sensor *sensor, rs2_camera_info info, rs2_error **error)
int rs2_get_stream_profiles_count(const rs2_stream_profile_list *list, rs2_error **error)
virtual ~URealSenseSensor()