12 #include <unordered_map>
23 class pipeline_profile;
27 using io::RGBDSensorConfig;
68 const std::unordered_map<std::string, std::string> &config);
92 std::unordered_map<std::string, std::string>
config_;
Open3DScene::LightingProfile profile
Definition: O3DVisualizer.cpp:269
Definition: RGBDSensorConfig.h:15
Definition: RealSenseSensorConfig.h:62
static Json::Value GetMetadataJson(const rs2::pipeline_profile &profile)
Get metadata for a streaming RealSense camera or bag file.
Definition: RealSenseSensorConfig.cpp:224
RealSenseSensorConfig()
Default constructor, default configs will be used.
Definition: RealSenseSensorConfig.cpp:143
bool ConvertFromJsonValue(const Json::Value &value) override
Definition: RealSenseSensorConfig.cpp:160
static std::pair< core::Dtype, uint8_t > get_dtype_channels(int rs2_format_enum)
Definition: RealSenseSensorConfig.cpp:117
std::unordered_map< std::string, std::string > config_
Definition: RealSenseSensorConfig.h:92
static void GetPixelDtypes(const rs2::pipeline_profile &profile, RGBDVideoMetadata &metadata)
Definition: RealSenseSensorConfig.cpp:204
rs2::config ConvertToNativeConfig() const
Convert to RealSense config.
Definition: RealSenseSensorConfig.cpp:167
bool ConvertToJsonValue(Json::Value &value) const override
Definition: RealSenseSensorConfig.cpp:153
Definition: PinholeCameraIntrinsic.cpp:16
Definition: RealSenseSensor.h:17
Definition: RealSenseSensorConfig.h:98
std::unordered_map< std::string, std::set< std::string > > valid_configs
Definition: RealSenseSensorConfig.h:103
std::string name
Definition: RealSenseSensorConfig.h:100
std::string serial
Device serial number.
Definition: RealSenseSensorConfig.h:99