 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
13 #include <unordered_map>
17 struct _k4a_device_configuration_t;
33 const std::unordered_map<std::string, std::string> &config);
43 std::unordered_map<std::string, std::string>
config_;
47 const std::unordered_map<std::string, std::string> &config,
Generic file read and write utility for python interface.
Definition: CloudViewerConfig.cpp:12
static std::map< std::string, k4a_depth_mode_t > string_to_k4a_depth_mode_t
Definition: AzureKinectSensorConfig.cpp:90
static std::map< std::string, k4a_fps_t > string_to_k4a_fps_t
Definition: AzureKinectSensorConfig.cpp:99
static std::map< k4a_depth_mode_t, std::string > k4a_depth_mode_t_to_string
Definition: AzureKinectSensorConfig.cpp:45
bool ConvertFromJsonValue(const Json::Value &value) override
Definition: AzureKinectSensorConfig.cpp:246
static std::map< std::string, k4a_color_resolution_t > string_to_k4a_color_resolution_t
Definition: AzureKinectSensorConfig.cpp:80
Definition: RGBDSensorConfig.h:15
static std::map< std::string, k4a_image_format_t > string_to_k4a_image_format_t({ {"K4A_IMAGE_FORMAT_COLOR_MJPG", K4A_IMAGE_FORMAT_COLOR_MJPG}, {"K4A_IMAGE_FORMAT_COLOR_NV12", K4A_IMAGE_FORMAT_COLOR_NV12}, {"K4A_IMAGE_FORMAT_COLOR_YUY2", K4A_IMAGE_FORMAT_COLOR_YUY2}, {"K4A_IMAGE_FORMAT_COLOR_BGRA32", K4A_IMAGE_FORMAT_COLOR_BGRA32}, {"K4A_IMAGE_FORMAT_DEPTH16", K4A_IMAGE_FORMAT_DEPTH16}, {"K4A_IMAGE_FORMAT_IR16", K4A_IMAGE_FORMAT_IR16}, {"K4A_IMAGE_FORMAT_CUSTOM", K4A_IMAGE_FORMAT_CUSTOM}, })
std::unordered_map< std::string, std::string > config_
Definition: AzureKinectSensorConfig.h:43
static std::map< std::string, k4a_wired_sync_mode_t > string_to_k4a_wired_sync_mode_t
Definition: AzureKinectSensorConfig.cpp:106
static std::map< k4a_fps_t, std::string > k4a_fps_t_to_string
Definition: AzureKinectSensorConfig.cpp:54
#define LogError(...)
Definition: Logging.h:60
static std::map< k4a_color_resolution_t, std::string > k4a_color_resolution_t_to_string
Definition: AzureKinectSensorConfig.cpp:35
static bool IsValidConfig(const std::unordered_map< std::string, std::string > &config, bool verbose=true)
Definition: AzureKinectSensorConfig.cpp:130
bool ConvertToJsonValue(Json::Value &value) const override
Definition: AzureKinectSensorConfig.cpp:231
void ConvertFromNativeConfig(const _k4a_device_configuration_t &k4a_config)
Definition: AzureKinectSensorConfig.cpp:262
static std::map< k4a_image_format_t, std::string > k4a_image_format_t_to_string
Definition: AzureKinectSensorConfig.cpp:24
#define LogWarning(...)
Definition: Logging.h:72
AzureKinectSensorConfig()
Default constructor, default configs will be used.
Definition: AzureKinectSensorConfig.cpp:126
static vtkPVTrivialProducerStaticInternal Value
Definition: vtkDistributedTrivialProducer.cxx:65
static std::map< k4a_wired_sync_mode_t, std::string > k4a_wired_sync_mode_t_to_string
Definition: AzureKinectSensorConfig.cpp:61
_k4a_device_configuration_t ConvertToNativeConfig() const
Definition: AzureKinectSensorConfig.cpp:282
static std::unordered_map< std::string, std::string > standard_config
Definition: AzureKinectSensorConfig.cpp:114
std::string to_string(const T &n)
Definition: Common.h:20
Definition: AzureKinectSensorConfig.h:27