Open3D (C++ API)  0.18.0+90810a3
Public Member Functions
open3d::t::io::NumpyArray Class Reference

Public Member Functions

 NumpyArray (const core::Tensor &t)
 
 NumpyArray (const core::SizeVector &shape, char type, int64_t word_size, bool fortran_order)
 
template<typename T >
T * GetDataPtr ()
 
template<typename T >
const T * GetDataPtr () const
 
core::Dtype GetDtype () const
 
core::SizeVector GetShape () const
 
bool IsFortranOrder () const
 
int64_t NumBytes () const
 
int64_t NumElements () const
 
core::Tensor ToTensor () const
 
void Save (std::string file_name) const
 

Constructor & Destructor Documentation

◆ NumpyArray() [1/2]

open3d::t::io::NumpyArray::NumpyArray ( const core::Tensor t)
inline

◆ NumpyArray() [2/2]

open3d::t::io::NumpyArray::NumpyArray ( const core::SizeVector shape,
char  type,
int64_t  word_size,
bool  fortran_order 
)
inline

Member Function Documentation

◆ GetDataPtr() [1/2]

template<typename T >
T* open3d::t::io::NumpyArray::GetDataPtr ( )
inline

◆ GetDataPtr() [2/2]

template<typename T >
const T* open3d::t::io::NumpyArray::GetDataPtr ( ) const
inline

◆ GetDtype()

core::Dtype open3d::t::io::NumpyArray::GetDtype ( ) const
inline

◆ GetShape()

core::SizeVector open3d::t::io::NumpyArray::GetShape ( ) const
inline

◆ IsFortranOrder()

bool open3d::t::io::NumpyArray::IsFortranOrder ( ) const
inline

◆ NumBytes()

int64_t open3d::t::io::NumpyArray::NumBytes ( ) const
inline

◆ NumElements()

int64_t open3d::t::io::NumpyArray::NumElements ( ) const
inline

◆ Save()

void open3d::t::io::NumpyArray::Save ( std::string  file_name) const
inline

◆ ToTensor()

core::Tensor open3d::t::io::NumpyArray::ToTensor ( ) const
inline

The documentation for this class was generated from the following file: