Open3D (C++ API)
0.19.0
|
#include <RealSenseSensorConfig.h>
Public Member Functions | |
RealSenseSensorConfig () | |
Default constructor, default configs will be used. More... | |
RealSenseSensorConfig (const std::unordered_map< std::string, std::string > &config) | |
Initialize config with a map. More... | |
bool | ConvertToJsonValue (Json::Value &value) const override |
bool | ConvertFromJsonValue (const Json::Value &value) override |
rs2::config | ConvertToNativeConfig () const |
Convert to RealSense config. More... | |
![]() | |
virtual | ~IJsonConvertible () |
virtual std::string | ToString () const |
Convert to a styled string representation of JSON data for display. More... | |
Static Public Member Functions | |
static Json::Value | GetMetadataJson (const rs2::pipeline_profile &profile) |
Get metadata for a streaming RealSense camera or bag file. More... | |
static void | GetPixelDtypes (const rs2::pipeline_profile &profile, RGBDVideoMetadata &metadata) |
static std::pair< core::Dtype, uint8_t > | get_dtype_channels (int rs2_format_enum) |
![]() | |
static bool | EigenVector3dFromJsonArray (Eigen::Vector3d &vec, const Json::Value &value) |
static bool | EigenVector3dToJsonArray (const Eigen::Vector3d &vec, Json::Value &value) |
static bool | EigenVector4dFromJsonArray (Eigen::Vector4d &vec, const Json::Value &value) |
static bool | EigenVector4dToJsonArray (const Eigen::Vector4d &vec, Json::Value &value) |
static bool | EigenMatrix3dFromJsonArray (Eigen::Matrix3d &mat, const Json::Value &value) |
static bool | EigenMatrix3dToJsonArray (const Eigen::Matrix3d &mat, Json::Value &value) |
static bool | EigenMatrix4dFromJsonArray (Eigen::Matrix4d &mat, const Json::Value &value) |
static bool | EigenMatrix4dToJsonArray (const Eigen::Matrix4d &mat, Json::Value &value) |
static bool | EigenMatrix4dFromJsonArray (Eigen::Matrix4d_u &mat, const Json::Value &value) |
static bool | EigenMatrix4dToJsonArray (const Eigen::Matrix4d_u &mat, Json::Value &value) |
static bool | EigenMatrix6dFromJsonArray (Eigen::Matrix6d &mat, const Json::Value &value) |
static bool | EigenMatrix6dToJsonArray (const Eigen::Matrix6d &mat, Json::Value &value) |
static bool | EigenMatrix6dFromJsonArray (Eigen::Matrix6d_u &mat, const Json::Value &value) |
static bool | EigenMatrix6dToJsonArray (const Eigen::Matrix6d_u &mat, Json::Value &value) |
Data Fields | |
std::unordered_map< std::string, std::string > | config_ |
Configuration for a RealSense camera
See RealSense documentation for the set of configuration values. Supported configuration options will be specific to a device and other chosen options. https://intelrealsense.github.io/librealsense/doxygen/rs__option_8h.html https://intelrealsense.github.io/librealsense/doxygen/rs__sensor_8h.html
open3d::t::io::RealSenseSensorConfig::RealSenseSensorConfig | ( | ) |
Default constructor, default configs will be used.
open3d::t::io::RealSenseSensorConfig::RealSenseSensorConfig | ( | const std::unordered_map< std::string, std::string > & | config | ) |
Initialize config with a map.
|
overridevirtual |
Implements open3d::utility::IJsonConvertible.
|
overridevirtual |
Implements open3d::utility::IJsonConvertible.
rs2::config open3d::t::io::RealSenseSensorConfig::ConvertToNativeConfig | ( | ) | const |
Convert to RealSense config.
|
static |
Convert rs2_format enum to Open3D Dtype and number of channels
rs2_format_enum | An int is accepted instead of rs2_format enum to prevent dependence on the realsense headers. |
|
static |
Get metadata for a streaming RealSense camera or bag file.
|
static |
Get pixel data types for color and depth streams. These will be set in metadata.color_dt_, metadata.color_channels_ and metadata.depth_dt_
std::unordered_map<std::string, std::string> open3d::t::io::RealSenseSensorConfig::config_ |