Public Member Functions | Private Attributes | List of all members
rtflann::CountRadiusResultSet< DistanceType > Class Template Reference

#include <result_set.h>

Inheritance diagram for rtflann::CountRadiusResultSet< DistanceType >:
Inheritance graph
[legend]

Public Member Functions

void addPoint (DistanceType dist, size_t index)
 
void clear ()
 
 CountRadiusResultSet (DistanceType radius_)
 
bool full () const
 
size_t size () const
 
DistanceType worstDist () const
 
 ~CountRadiusResultSet ()
 
- Public Member Functions inherited from rtflann::ResultSet< DistanceType >
virtual ~ResultSet ()
 

Private Attributes

size_t count
 
DistanceType radius
 

Detailed Description

template<typename DistanceType>
class rtflann::CountRadiusResultSet< DistanceType >

This is a result set that only counts the neighbors within a radius.

Definition at line 652 of file result_set.h.

Constructor & Destructor Documentation

◆ CountRadiusResultSet()

template<typename DistanceType>
rtflann::CountRadiusResultSet< DistanceType >::CountRadiusResultSet ( DistanceType  radius_)
inline

Definition at line 658 of file result_set.h.

◆ ~CountRadiusResultSet()

template<typename DistanceType>
rtflann::CountRadiusResultSet< DistanceType >::~CountRadiusResultSet ( )
inline

Definition at line 664 of file result_set.h.

Member Function Documentation

◆ addPoint()

template<typename DistanceType>
void rtflann::CountRadiusResultSet< DistanceType >::addPoint ( DistanceType  dist,
size_t  index 
)
inlinevirtual

Implements rtflann::ResultSet< DistanceType >.

Definition at line 683 of file result_set.h.

◆ clear()

template<typename DistanceType>
void rtflann::CountRadiusResultSet< DistanceType >::clear ( )
inline

Definition at line 668 of file result_set.h.

◆ full()

template<typename DistanceType>
bool rtflann::CountRadiusResultSet< DistanceType >::full ( ) const
inlinevirtual

Implements rtflann::ResultSet< DistanceType >.

Definition at line 678 of file result_set.h.

◆ size()

template<typename DistanceType>
size_t rtflann::CountRadiusResultSet< DistanceType >::size ( ) const
inline

Definition at line 673 of file result_set.h.

◆ worstDist()

template<typename DistanceType>
DistanceType rtflann::CountRadiusResultSet< DistanceType >::worstDist ( ) const
inlinevirtual

Implements rtflann::ResultSet< DistanceType >.

Definition at line 690 of file result_set.h.

Member Data Documentation

◆ count

template<typename DistanceType>
size_t rtflann::CountRadiusResultSet< DistanceType >::count
private

Definition at line 655 of file result_set.h.

◆ radius

template<typename DistanceType>
DistanceType rtflann::CountRadiusResultSet< DistanceType >::radius
private

Definition at line 654 of file result_set.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jan 23 2023 03:39:00