Open3D (C++ API)  0.12.0
Namespaces | Functions
EigenConverter.h File Reference

(313315d (Wed Dec 23 23:39:47 2020 -0800))

#include <Eigen/Core>
#include <vector>
#include "open3d/core/Device.h"
#include "open3d/core/Dtype.h"
#include "open3d/core/Tensor.h"
#include "open3d/core/TensorList.h"

Go to the source code of this file.

Namespaces

 open3d
 
 open3d::core
 
 open3d::core::eigen_converter
 

Functions

template<class T , int M, int N, int A>
core::Tensor open3d::core::eigen_converter::EigenMatrixToTensor (const Eigen::Matrix< T, M, N, A > &matrix)
 
std::vector< Eigen::Vector3d > open3d::core::eigen_converter::TensorToEigenVector3dVector (const core::Tensor &tensor)
 
std::vector< Eigen::Vector3i > open3d::core::eigen_converter::TensorToEigenVector3iVector (const core::Tensor &tensor)
 
core::Tensor open3d::core::eigen_converter::EigenVector3dVectorToTensor (const std::vector< Eigen::Vector3d > &values, core::Dtype dtype, const core::Device &device)
 
core::Tensor open3d::core::eigen_converter::EigenVector3iVectorToTensor (const std::vector< Eigen::Vector3i > &values, core::Dtype dtype, const core::Device &device)