ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
InvertNeighborsList.h File Reference
#include <tbb/parallel_for.h>
#include "core/Atomic.h"
#include "utility/ParallelScan.h"
Include dependency graph for InvertNeighborsList.h:

Go to the source code of this file.

Namespaces

 cloudViewer
 Generic file read and write utility for python interface.
 
 cloudViewer::ml
 
 cloudViewer::ml::impl
 

Functions

template<class TIndex , class TAttr >
void cloudViewer::ml::impl::InvertNeighborsListCPU (const TIndex *const inp_neighbors_index, const TAttr *const inp_neighbors_attributes, const int num_attributes_per_neighbor, const int64_t *const inp_neighbors_row_splits, const size_t inp_num_queries, TIndex *out_neighbors_index, TAttr *out_neighbors_attributes, const size_t index_size, int64_t *out_neighbors_row_splits, const size_t out_num_queries)