Open3D (C++ API)  0.18.0+252c867
Public Member Functions
NeighborSearchAllocator< T, TIndex > Class Template Reference

#include <NeighborSearchAllocator.h>

Public Member Functions

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

Constructor & Destructor Documentation

◆ NeighborSearchAllocator()

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

Member Function Documentation

◆ AllocDistances()

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

◆ AllocIndices()

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

◆ DistancesPtr()

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

◆ IndicesPtr()

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

◆ NeighborsDistance()

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

◆ NeighborsIndex()

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

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