Open3D (C++ API)  0.12.0
Public Member Functions
NeighborSearchAllocator< T > Class Template Reference

#include <NeighborSearchAllocator.h>

Public Member Functions

 NeighborSearchAllocator (torch::DeviceType device_type, int device_idx)
 
void AllocIndices (int32_t **ptr, size_t num)
 
void AllocDistances (T **ptr, size_t num)
 
const int32_t * IndicesPtr () const
 
const T * DistancesPtr () const
 
const torch::Tensor & NeighborsIndex () const
 
const torch::Tensor & NeighborsDistance () const
 

Constructor & Destructor Documentation

◆ NeighborSearchAllocator()

template<class T>
NeighborSearchAllocator< T >::NeighborSearchAllocator ( torch::DeviceType  device_type,
int  device_idx 
)
inline

Member Function Documentation

◆ AllocDistances()

template<class T>
void NeighborSearchAllocator< T >::AllocDistances ( T **  ptr,
size_t  num 
)
inline

◆ AllocIndices()

template<class T>
void NeighborSearchAllocator< T >::AllocIndices ( int32_t **  ptr,
size_t  num 
)
inline

◆ DistancesPtr()

template<class T>
const T* NeighborSearchAllocator< T >::DistancesPtr ( ) const
inline

◆ IndicesPtr()

template<class T>
const int32_t* NeighborSearchAllocator< T >::IndicesPtr ( ) const
inline

◆ NeighborsDistance()

template<class T>
const torch::Tensor& NeighborSearchAllocator< T >::NeighborsDistance ( ) const
inline

◆ NeighborsIndex()

template<class T>
const torch::Tensor& NeighborSearchAllocator< T >::NeighborsIndex ( ) const
inline

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