71 int64_t
ByteSize()
const {
return byte_size_; }
75 bool IsObject()
const {
return dtype_code_ == DtypeCode::Object; }
84 static constexpr
size_t max_name_len_ = 16;
87 char name_[max_name_len_];
91 inline const Dtype Dtype::FromType<float>() {
96 inline const Dtype Dtype::FromType<double>() {
101 inline const Dtype Dtype::FromType<int32_t>() {
106 inline const Dtype Dtype::FromType<int64_t>() {
111 inline const Dtype Dtype::FromType<uint8_t>() {
116 inline const Dtype Dtype::FromType<uint16_t>() {
121 inline const Dtype Dtype::FromType<bool>() {
Dtype()
Definition: Dtype.h:60
FN_SPECIFIERS bool operator!=(const MiniVec< T, N > &a, const MiniVec< T, N > &b)
Definition: MiniVec.h:101
static const Dtype FromType()
Definition: Dtype.h:67
void LogError(const char *format, const Args &... args)
Definition: Console.h:176
DtypeCode
Definition: Dtype.h:51
bool operator==(const PointXYZ A, const PointXYZ B)
Definition: Cloud.h:151
std::string ToString() const
Definition: Dtype.h:77
static const Dtype UInt8
Definition: Dtype.h:46
static const Dtype Int32
Definition: Dtype.h:44
static const Dtype Undefined
Definition: Dtype.h:41
static const Dtype UInt16
Definition: Dtype.h:47
static const Dtype Float32
Definition: Dtype.h:42
static const Dtype Int64
Definition: Dtype.h:45
#define OPEN3D_API
Definition: Macro.h:43
Definition: PinholeCameraIntrinsic.cpp:35
std::string name
Definition: FilePCD.cpp:58
int64_t ByteSize() const
Definition: Dtype.h:71
static const Dtype Bool
Definition: Dtype.h:48
bool IsObject() const
Definition: Dtype.h:75
DtypeCode GetDtypeCode() const
Definition: Dtype.h:73
static const Dtype Float64
Definition: Dtype.h:43