ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
flann::cuda::RadiusKnnResultSet< DistanceType, useHeap > Struct Template Reference

#include <result_set.h>

Public Member Functions

__device__ __host__ RadiusKnnResultSet (DistanceType radius, int knn, int *segment_starts, bool sortResults)
 
__device__ DistanceType worstDist ()
 
__device__ void insert (int index, DistanceType dist)
 
__device__ void findLargestDistIndex ()
 
__device__ void setResultLocation (DistanceType *dists, int *index, int thread, int)
 
__device__ void finish ()
 

Public Attributes

int foundNeighbors
 
DistanceType largestHeapDist
 
int maxDistElem
 
const int k
 
const bool sorted
 
const DistanceType radius_sq_
 
int * segment_starts_
 
DistanceType * resultDist
 
int * resultIndex
 

Detailed Description

template<typename DistanceType, bool useHeap>
struct flann::cuda::RadiusKnnResultSet< DistanceType, useHeap >

Definition at line 270 of file result_set.h.

Constructor & Destructor Documentation

◆ RadiusKnnResultSet()

template<typename DistanceType , bool useHeap>
__device__ __host__ flann::cuda::RadiusKnnResultSet< DistanceType, useHeap >::RadiusKnnResultSet ( DistanceType  radius,
int  knn,
int *  segment_starts,
bool  sortResults 
)
inline

Definition at line 283 of file result_set.h.

Member Function Documentation

◆ findLargestDistIndex()

◆ finish()

◆ insert()

◆ setResultLocation()

template<typename DistanceType , bool useHeap>
__device__ void flann::cuda::RadiusKnnResultSet< DistanceType, useHeap >::setResultLocation ( DistanceType *  dists,
int *  index,
int  thread,
int   
)
inline

◆ worstDist()

template<typename DistanceType , bool useHeap>
__device__ DistanceType flann::cuda::RadiusKnnResultSet< DistanceType, useHeap >::worstDist ( )
inline

Member Data Documentation

◆ foundNeighbors

template<typename DistanceType , bool useHeap>
int flann::cuda::RadiusKnnResultSet< DistanceType, useHeap >::foundNeighbors

◆ k

◆ largestHeapDist

◆ maxDistElem

template<typename DistanceType , bool useHeap>
int flann::cuda::RadiusKnnResultSet< DistanceType, useHeap >::maxDistElem

◆ radius_sq_

template<typename DistanceType , bool useHeap>
const DistanceType flann::cuda::RadiusKnnResultSet< DistanceType, useHeap >::radius_sq_

◆ resultDist

◆ resultIndex

◆ segment_starts_

template<typename DistanceType , bool useHeap>
int* flann::cuda::RadiusKnnResultSet< DistanceType, useHeap >::segment_starts_

◆ sorted

template<typename DistanceType , bool useHeap>
const bool flann::cuda::RadiusKnnResultSet< DistanceType, useHeap >::sorted

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