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

result set for the 1nn search. Doesn't do any global memory accesses on its own, More...

#include <result_set.h>

Public Member Functions

__device__ __host__ SingleResultSet (DistanceType eps)
 
__device__ float worstDist ()
 
__device__ void insert (int index, DistanceType dist)
 
__device__ void setResultLocation (DistanceType *dists, int *index, int thread, int stride)
 
__device__ void finish ()
 

Public Attributes

int bestIndex
 
DistanceType bestDist
 
const DistanceType epsError
 
DistanceType * resultDist
 
int * resultIndex
 

Detailed Description

template<typename DistanceType>
struct flann::cuda::SingleResultSet< DistanceType >

result set for the 1nn search. Doesn't do any global memory accesses on its own,

Definition at line 51 of file result_set.h.

Constructor & Destructor Documentation

◆ SingleResultSet()

template<typename DistanceType >
__device__ __host__ flann::cuda::SingleResultSet< DistanceType >::SingleResultSet ( DistanceType  eps)
inline

Definition at line 58 of file result_set.h.

Member Function Documentation

◆ finish()

◆ insert()

template<typename DistanceType >
__device__ void flann::cuda::SingleResultSet< DistanceType >::insert ( int  index,
DistanceType  dist 
)
inline

◆ setResultLocation()

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

◆ worstDist()

template<typename DistanceType >
__device__ float flann::cuda::SingleResultSet< DistanceType >::worstDist ( )
inline

Member Data Documentation

◆ bestDist

◆ bestIndex

template<typename DistanceType >
int flann::cuda::SingleResultSet< DistanceType >::bestIndex

◆ epsError

template<typename DistanceType >
const DistanceType flann::cuda::SingleResultSet< DistanceType >::epsError

Definition at line 55 of file result_set.h.

◆ resultDist

template<typename DistanceType >
DistanceType* flann::cuda::SingleResultSet< DistanceType >::resultDist

◆ resultIndex

template<typename DistanceType >
int* flann::cuda::SingleResultSet< DistanceType >::resultIndex

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