Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
apollo::perception::lidar::SppClusterList Class Reference

#include <spp_cluster_list.h>

Collaboration diagram for apollo::perception::lidar::SppClusterList:
Collaboration graph

Public Member Functions

 SppClusterList ()
 
void Init (size_t size, const std::string &sensor_name="velodyne64")
 
void Reset ()
 
void resize (size_t size)
 
void AddPointSample (size_t cluster_id, const base::PointF &point, float height, uint32_t point_id)
 
std::vector< SppClusterPtr > & clusters ()
 
const std::vector< SppClusterPtr > & clusters () const
 
size_t size () const
 
SppClusterPtroperator[] (int id)
 
const SppClusterPtroperator[] (int id) const
 
void Merge (SppClusterList *rhs)
 
size_t HeightCut (float max_gap, size_t start_id=0)
 
bool ComputeHeightAndSplitCluster (size_t id, float max_gap)
 
void RemoveEmptyClusters ()
 
void EraseCluster (size_t id)
 
SppClusterListoperator= (const SppLabelImage &rhs)
 

Constructor & Destructor Documentation

◆ SppClusterList()

apollo::perception::lidar::SppClusterList::SppClusterList ( )
inline

Member Function Documentation

◆ AddPointSample()

void apollo::perception::lidar::SppClusterList::AddPointSample ( size_t  cluster_id,
const base::PointF point,
float  height,
uint32_t  point_id 
)

◆ clusters() [1/2]

std::vector<SppClusterPtr>& apollo::perception::lidar::SppClusterList::clusters ( )
inline

◆ clusters() [2/2]

const std::vector<SppClusterPtr>& apollo::perception::lidar::SppClusterList::clusters ( ) const
inline

◆ ComputeHeightAndSplitCluster()

bool apollo::perception::lidar::SppClusterList::ComputeHeightAndSplitCluster ( size_t  id,
float  max_gap 
)

◆ EraseCluster()

void apollo::perception::lidar::SppClusterList::EraseCluster ( size_t  id)

◆ HeightCut()

size_t apollo::perception::lidar::SppClusterList::HeightCut ( float  max_gap,
size_t  start_id = 0 
)

◆ Init()

void apollo::perception::lidar::SppClusterList::Init ( size_t  size,
const std::string &  sensor_name = "velodyne64" 
)

◆ Merge()

void apollo::perception::lidar::SppClusterList::Merge ( SppClusterList rhs)

◆ operator=()

SppClusterList& apollo::perception::lidar::SppClusterList::operator= ( const SppLabelImage rhs)
inline

◆ operator[]() [1/2]

SppClusterPtr& apollo::perception::lidar::SppClusterList::operator[] ( int  id)
inline

◆ operator[]() [2/2]

const SppClusterPtr& apollo::perception::lidar::SppClusterList::operator[] ( int  id) const
inline

◆ RemoveEmptyClusters()

void apollo::perception::lidar::SppClusterList::RemoveEmptyClusters ( )

◆ Reset()

void apollo::perception::lidar::SppClusterList::Reset ( )
inline

◆ resize()

void apollo::perception::lidar::SppClusterList::resize ( size_t  size)

◆ size()

size_t apollo::perception::lidar::SppClusterList::size ( ) const
inline

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