10 #include <IJsonConvertibleIO.h>
14 #include <unordered_map>
24 class pipeline_profile;
28 using io::RGBDSensorConfig;
69 const std::unordered_map<std::string, std::string> &config);
93 std::unordered_map<std::string, std::string>
config_;
CloudViewerScene::LightingProfile profile
rs2::config ConvertToNativeConfig() const
Convert to RealSense config.
bool ConvertToJsonValue(Json::Value &value) const override
bool ConvertFromJsonValue(const Json::Value &value) override
RealSenseSensorConfig()
Default constructor, default configs will be used.
static void GetPixelDtypes(const rs2::pipeline_profile &profile, RGBDVideoMetadata &metadata)
static std::pair< core::Dtype, uint8_t > get_dtype_channels(int rs2_format_enum)
std::unordered_map< std::string, std::string > config_
static Json::Value GetMetadataJson(const rs2::pipeline_profile &profile)
Get metadata for a streaming RealSense camera or bag file.
Generic file read and write utility for python interface.
std::unordered_map< std::string, std::set< std::string > > valid_configs
std::string serial
Device serial number.