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

#include <cloud_mask.h>

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

Public Member Functions

 CloudMask ()=default
 
 ~CloudMask ()=default
 
void Set (size_t size, int init_value)
 
void Fill (int value)
 
const std::vector< int > & mask () const
 
int & operator[] (int id)
 
const int & operator[] (int id) const
 
size_t size () const
 
void clear ()
 
size_t ValidIndicesCount () const
 
template<typename IntegerType >
size_t ValidIndicesCount (const std::vector< IntegerType > &indices) const
 
void GetValidCloud (const base::AttributePointCloud< base::PointF > &source_cloud, base::AttributePointCloud< base::PointF > *target_cloud) const
 
void GetValidIndices (base::PointIndices *indices)
 
void Flip ()
 
void AddIndices (const base::PointIndices &indices, int value=1)
 
template<typename IntegerType >
void AddIndices (const std::vector< IntegerType > &indices, int value=1)
 
void AddIndicesOfIndices (const base::PointIndices &indices, const base::PointIndices &indices_of_indices, int value=1)
 
void RemoveIndices (const base::PointIndices &indices)
 
template<typename IntegerType >
void RemoveIndices (const std::vector< IntegerType > &indices)
 
void RemoveIndicesOfIndices (const base::PointIndices &indices, const base::PointIndices &indices_of_indices)
 
void GetValidMask (CloudMask *rhs) const
 
void ResetValue (int source_value, int target_value)
 
std::vector< int > GetValidIndices ()
 

Constructor & Destructor Documentation

◆ CloudMask()

apollo::perception::lidar::CloudMask::CloudMask ( )
default

◆ ~CloudMask()

apollo::perception::lidar::CloudMask::~CloudMask ( )
default

Member Function Documentation

◆ AddIndices() [1/2]

void apollo::perception::lidar::CloudMask::AddIndices ( const base::PointIndices indices,
int  value = 1 
)

◆ AddIndices() [2/2]

template<typename IntegerType >
void apollo::perception::lidar::CloudMask::AddIndices ( const std::vector< IntegerType > &  indices,
int  value = 1 
)

◆ AddIndicesOfIndices()

void apollo::perception::lidar::CloudMask::AddIndicesOfIndices ( const base::PointIndices indices,
const base::PointIndices indices_of_indices,
int  value = 1 
)

◆ clear()

void apollo::perception::lidar::CloudMask::clear ( void  )
inline

◆ Fill()

void apollo::perception::lidar::CloudMask::Fill ( int  value)
inline

◆ Flip()

void apollo::perception::lidar::CloudMask::Flip ( )

◆ GetValidCloud()

void apollo::perception::lidar::CloudMask::GetValidCloud ( const base::AttributePointCloud< base::PointF > &  source_cloud,
base::AttributePointCloud< base::PointF > *  target_cloud 
) const

◆ GetValidIndices() [1/2]

void apollo::perception::lidar::CloudMask::GetValidIndices ( base::PointIndices indices)

◆ GetValidIndices() [2/2]

std::vector<int> apollo::perception::lidar::CloudMask::GetValidIndices ( )

◆ GetValidMask()

void apollo::perception::lidar::CloudMask::GetValidMask ( CloudMask rhs) const

◆ mask()

const std::vector<int>& apollo::perception::lidar::CloudMask::mask ( ) const
inline

◆ operator[]() [1/2]

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

◆ operator[]() [2/2]

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

◆ RemoveIndices() [1/2]

void apollo::perception::lidar::CloudMask::RemoveIndices ( const base::PointIndices indices)

◆ RemoveIndices() [2/2]

template<typename IntegerType >
void apollo::perception::lidar::CloudMask::RemoveIndices ( const std::vector< IntegerType > &  indices)

◆ RemoveIndicesOfIndices()

void apollo::perception::lidar::CloudMask::RemoveIndicesOfIndices ( const base::PointIndices indices,
const base::PointIndices indices_of_indices 
)

◆ ResetValue()

void apollo::perception::lidar::CloudMask::ResetValue ( int  source_value,
int  target_value 
)

◆ Set()

void apollo::perception::lidar::CloudMask::Set ( size_t  size,
int  init_value 
)
inline

◆ size()

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

◆ ValidIndicesCount() [1/2]

size_t apollo::perception::lidar::CloudMask::ValidIndicesCount ( ) const

◆ ValidIndicesCount() [2/2]

template<typename IntegerType >
size_t apollo::perception::lidar::CloudMask::ValidIndicesCount ( const std::vector< IntegerType > &  indices) const

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