|
#define | BIND_DOWNCAST(class, downcast) "is_"#downcast, &rs2::class::is<rs2::downcast>).def("as_"#downcast, &rs2::class::as<rs2::downcast> |
|
#define | BIND_ENUM(module, rs2_enum_type, RS2_ENUM_COUNT, docstring) BIND_ENUM_CUSTOM( module, rs2_enum_type, 0, RS2_ENUM_COUNT-1, docstring) |
|
#define | BIND_ENUM_CUSTOM(module, rs2_enum_type, FIRST, LAST, docstring) |
|
#define | BIND_RAW_2D_ARRAY_GETTER(T, member, valueT, NROWS, NCOLS) [](const T& self) -> const std::array<std::array<valueT, NCOLS>, NROWS>& { return reinterpret_cast<const std::array<std::array<valueT, NCOLS>, NROWS>&>(self.member); } |
|
#define | BIND_RAW_2D_ARRAY_PROPERTY(T, member, valueT, NROWS, NCOLS) #member, BIND_RAW_2D_ARRAY_GETTER(T, member, valueT, NROWS, NCOLS), BIND_RAW_2D_ARRAY_SETTER(T, member, valueT, NROWS, NCOLS) |
|
#define | BIND_RAW_2D_ARRAY_SETTER(T, member, valueT, NROWS, NCOLS) [](T& self, const std::array<std::array<valueT, NCOLS>, NROWS>& src) { copy_raw_2d_array(self.member, src); } |
|
#define | BIND_RAW_ARRAY_GETTER(T, member, valueT, SIZE) [](const T& self) -> const std::array<valueT, SIZE>& { return reinterpret_cast<const std::array<valueT, SIZE>&>(self.member); } |
|
#define | BIND_RAW_ARRAY_PROPERTY(T, member, valueT, SIZE) #member, BIND_RAW_ARRAY_GETTER(T, member, valueT, SIZE), BIND_RAW_ARRAY_SETTER(T, member, valueT, SIZE) |
|
#define | BIND_RAW_ARRAY_SETTER(T, member, valueT, SIZE) [](T& self, const std::array<valueT, SIZE>& src) { copy_raw_array(self.member, src); } |
|
#define | MAP_FMT_TO_TYPE(F, T) template <> struct FmtToType<F> { using type = T; } |
|
#define | NAME pyrealsense2 |
|
#define | SNAME "pyrealsense2" |
|
|
template<typename T , size_t N> |
std::string | array_to_string (const T(&arr)[N]) |
|
template<typename T , size_t NROWS, size_t NCOLS> |
void | copy_raw_2d_array (T(&dst)[NROWS][NCOLS], const std::array< std::array< T, NCOLS >, NROWS > &src) |
|
template<typename T , size_t SIZE> |
void | copy_raw_array (T(&dst)[SIZE], const std::array< T, SIZE > &src) |
|
template<template< rs2_format > class F> |
auto | fmt_to_value (rs2_format fmt) -> typename std::result_of< decltype(&F< RS2_FORMAT_ANY >::func)()>::type |
|
void | init_advanced_mode (py::module &m) |
|
void | init_c_files (py::module &m) |
|
void | init_context (py::module &m) |
|
void | init_device (py::module &m) |
|
void | init_export (py::module &m) |
|
void | init_frame (py::module &m) |
|
void | init_internal (py::module &m) |
|
void | init_options (py::module &m) |
|
void | init_pipeline (py::module &m) |
|
void | init_processing (py::module &m) |
|
void | init_record_playback (py::module &m) |
|
void | init_sensor (py::module &m) |
|
void | init_serializable_device (py::module &m) |
|
void | init_types (py::module &m) |
|
void | init_util (py::module &m) |
|
std::string | make_pythonic_str (std::string str) |
|
| MAP_FMT_TO_TYPE (RS2_FORMAT_Z16, uint16_t) |
|
| MAP_FMT_TO_TYPE (RS2_FORMAT_XYZ32F, float) |
|
| MAP_FMT_TO_TYPE (RS2_FORMAT_YUYV, uint8_t) |
|
| MAP_FMT_TO_TYPE (RS2_FORMAT_RGB8, uint8_t) |
|
| MAP_FMT_TO_TYPE (RS2_FORMAT_BGR8, uint8_t) |
|
| MAP_FMT_TO_TYPE (RS2_FORMAT_RGBA8, uint8_t) |
|
| MAP_FMT_TO_TYPE (RS2_FORMAT_BGRA8, uint8_t) |
|
| MAP_FMT_TO_TYPE (RS2_FORMAT_Y8, uint8_t) |
|
| MAP_FMT_TO_TYPE (RS2_FORMAT_Y16, uint16_t) |
|
| MAP_FMT_TO_TYPE (RS2_FORMAT_RAW16, uint16_t) |
|
| MAP_FMT_TO_TYPE (RS2_FORMAT_RAW8, uint8_t) |
|
| MAP_FMT_TO_TYPE (RS2_FORMAT_UYVY, uint8_t) |
|
| MAP_FMT_TO_TYPE (RS2_FORMAT_MOTION_XYZ32F, float) |
|
| MAP_FMT_TO_TYPE (RS2_FORMAT_DISPARITY32, float) |
|
| MAP_FMT_TO_TYPE (RS2_FORMAT_Y10BPACK, uint8_t) |
|
| MAP_FMT_TO_TYPE (RS2_FORMAT_DISTANCE, float) |
|
| MAP_FMT_TO_TYPE (RS2_FORMAT_Y8I, uint8_t) |
|
| MAP_FMT_TO_TYPE (RS2_FORMAT_INVI, uint8_t) |
|
| MAP_FMT_TO_TYPE (RS2_FORMAT_FG, uint16_t) |
|
template<typename T , size_t N, size_t M> |
std::string | matrix_to_string (const T(&arr)[N][M]) |
|