Open3D (C++ API)  0.11.0
Namespaces | Macros
CoreUtil.h File Reference

(f3833d89 (Sat Sep 5 01:38:02 2020 -0700))

#include "open3d/utility/Console.h"

Go to the source code of this file.

Namespaces

 open3d
 
 open3d::core
 

Macros

#define DISPATCH_FLOAT32_FLOAT64_DTYPE(DTYPE, ...)
 

Macro Definition Documentation

◆ DISPATCH_FLOAT32_FLOAT64_DTYPE

#define DISPATCH_FLOAT32_FLOAT64_DTYPE (   DTYPE,
  ... 
)
Value:
[&] { \
if (DTYPE == Dtype::Float32) { \
using scalar_t = float; \
return __VA_ARGS__(); \
} else if (DTYPE == Dtype::Float64) { \
using scalar_t = double; \
return __VA_ARGS__(); \
} else { \
utility::LogError("Unsupported data type."); \
} \
}()
void LogError(const char *format, const Args &... args)
Definition: Console.h:176
const char const char value recording_handle imu_sample recording_handle uint8_t size_t data_size k4a_record_configuration_t config target_format k4a_capture_t capture_handle k4a_imu_sample_t imu_sample playback_handle k4a_logging_message_cb_t void min_level device_handle k4a_imu_sample_t timeout_in_ms capture_handle capture_handle capture_handle image_handle float
Definition: K4aPlugin.cpp:462