ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
flann::cuda::kd_tree_builder_detail Namespace Reference

Classes

struct  SplitInfo
 
struct  IsEven
 
struct  SecondElementIsEven
 
struct  MovePointsToChildNodes
 
struct  SetLeftAndRightAndAABB
 used to update the left/right pointers and aabb infos after the node splits More...
 
struct  SplitNodes
 
struct  set_addr3
 
struct  pointxyz_to_px_py_pz
 

Functions

__host__ __device__ float get_value_by_index (const float4 &f, int i)
 

Function Documentation

◆ get_value_by_index()

__host__ __device__ float flann::cuda::kd_tree_builder_detail::get_value_by_index ( const float4 &  f,
int  i 
)

just for convenience: access a float4 by an index in 0,1,2

Definition at line 143 of file kdtree_cuda_builder.h.

Referenced by flann::cuda::kd_tree_builder_detail::SplitNodes::operator()().