ScanClustering Class Reference

#include <armarx/navigation/components/laser_scanner_feature_extraction/ScanClustering.h>

Public Types

using Clusters = std::vector< LaserScan >
 
using Params = detail::ScanClusteringParams
 

Public Member Functions

Clusters detectClusters (const LaserScan &scan)
 Performs cluster detection on a full laser scan. More...
 
 ScanClustering (const Params &params)
 

Protected Member Functions

bool add (const LaserScanStep &scanStep)
 
void clear ()
 
const LaserScan & cluster () const
 
bool supports (const LaserScanStep &scanStep)
 

Detailed Description

Definition at line 41 of file ScanClustering.h.

Member Typedef Documentation

◆ Clusters

using Clusters = std::vector<LaserScan>

Definition at line 45 of file ScanClustering.h.

◆ Params

Definition at line 44 of file ScanClustering.h.

Constructor & Destructor Documentation

◆ ScanClustering()

ScanClustering ( const Params params)

Definition at line 7 of file ScanClustering.cpp.

Member Function Documentation

◆ add()

bool add ( const LaserScanStep &  scanStep)
protected

Definition at line 12 of file ScanClustering.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ clear()

void clear ( )
protected

Definition at line 62 of file ScanClustering.cpp.

+ Here is the caller graph for this function:

◆ cluster()

const LaserScan & cluster ( ) const
protected

Definition at line 56 of file ScanClustering.cpp.

+ Here is the caller graph for this function:

◆ detectClusters()

std::vector< LaserScan > detectClusters ( const LaserScan &  scan)

Performs cluster detection on a full laser scan.

Parameters
scanA full scan
Returns
The input scan split into clusters.

Definition at line 30 of file ScanClustering.cpp.

+ Here is the call graph for this function:

◆ supports()

bool supports ( const LaserScanStep &  scanStep)
protected

Definition at line 68 of file ScanClustering.cpp.

+ Here is the caller graph for this function:

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