Ponca  7df32c91629c89b89840c4d7917cb272433f2d2b
Point Cloud Analysis library
Loading...
Searching...
No Matches
Ponca::StaticKnnGraphBase< Traits >::Buffers Struct Reference

Internal structure storing all the buffers used by the KdTree. More...

#include <knnGraph.h>

+ Collaboration diagram for Ponca::StaticKnnGraphBase< Traits >::Buffers:

Public Member Functions

 Buffers (PointContainer _points, const int _k)
 
 Buffers (PointContainer _points, typename Traits::IndexContainerRef _indices, const size_t _points_size, const size_t _indices_size, const int _k)
 

Public Attributes

PointContainer points
 Buffer storing the input points (read only)
 
IndexContainer indices
 Buffer storing the indices associating the input points to the nodes.
 
size_t points_size {0}
 
size_t indices_size {0}
 
int k {0}
 

Detailed Description

template<typename Traits>
struct Ponca::StaticKnnGraphBase< Traits >::Buffers

Internal structure storing all the buffers used by the KdTree.

Definition at line 73 of file knnGraph.h.

Constructor & Destructor Documentation

◆ Buffers() [1/2]

template<typename Traits >
Ponca::StaticKnnGraphBase< Traits >::Buffers::Buffers ( PointContainer  _points,
const int  _k 
)
inline

Definition at line 83 of file knnGraph.h.

◆ Buffers() [2/2]

template<typename Traits >
Ponca::StaticKnnGraphBase< Traits >::Buffers::Buffers ( PointContainer  _points,
typename Traits::IndexContainerRef  _indices,
const size_t  _points_size,
const size_t  _indices_size,
const int  _k 
)
inline

Definition at line 85 of file knnGraph.h.

Member Data Documentation

◆ indices

Buffer storing the indices associating the input points to the nodes.

Definition at line 76 of file knnGraph.h.

◆ indices_size

template<typename Traits >
size_t Ponca::StaticKnnGraphBase< Traits >::Buffers::indices_size {0}

Definition at line 79 of file knnGraph.h.

◆ k

template<typename Traits >
int Ponca::StaticKnnGraphBase< Traits >::Buffers::k {0}

Definition at line 80 of file knnGraph.h.

◆ points

Buffer storing the input points (read only)

Definition at line 75 of file knnGraph.h.

◆ points_size

template<typename Traits >
size_t Ponca::StaticKnnGraphBase< Traits >::Buffers::points_size {0}

Definition at line 78 of file knnGraph.h.