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

#include <ground_struct.h>

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

Public Member Functions

 GroundGrid ()=default
 
 ~GroundGrid ()=default
 
 GroundGrid (const GroundGrid &rhs)
 
GroundGridoperator= (const GroundGrid &rhs)
 
void Init (int32_t rows, int32_t cols)
 
void Reset ()
 
bool IsInGrid (int32_t r, int32_t c)
 
GroundNodeoperator[] (int32_t r)
 
const GroundNodeoperator[] (int32_t r) const
 
GroundNodeDataPtr ()
 
const GroundNodeDataPtr () const
 
int32_t rows () const
 
int32_t cols () const
 
int32_t size () const
 

Protected Attributes

std::vector< GroundNodedata_
 
std::vector< GroundNode * > nodes_
 
int32_t rows_ = 0
 
int32_t cols_ = 0
 
int32_t size_ = 0
 

Constructor & Destructor Documentation

◆ GroundGrid() [1/2]

apollo::perception::lidar::GroundGrid::GroundGrid ( )
default

◆ ~GroundGrid()

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

◆ GroundGrid() [2/2]

apollo::perception::lidar::GroundGrid::GroundGrid ( const GroundGrid rhs)
inline

Member Function Documentation

◆ cols()

int32_t apollo::perception::lidar::GroundGrid::cols ( ) const
inline

◆ DataPtr() [1/2]

GroundNode* apollo::perception::lidar::GroundGrid::DataPtr ( )
inline

◆ DataPtr() [2/2]

const GroundNode* apollo::perception::lidar::GroundGrid::DataPtr ( ) const
inline

◆ Init()

void apollo::perception::lidar::GroundGrid::Init ( int32_t  rows,
int32_t  cols 
)
inline

◆ IsInGrid()

bool apollo::perception::lidar::GroundGrid::IsInGrid ( int32_t  r,
int32_t  c 
)
inline

◆ operator=()

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

◆ operator[]() [1/2]

GroundNode* apollo::perception::lidar::GroundGrid::operator[] ( int32_t  r)
inline

◆ operator[]() [2/2]

const GroundNode* apollo::perception::lidar::GroundGrid::operator[] ( int32_t  r) const
inline

◆ Reset()

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

◆ rows()

int32_t apollo::perception::lidar::GroundGrid::rows ( ) const
inline

◆ size()

int32_t apollo::perception::lidar::GroundGrid::size ( ) const
inline

Member Data Documentation

◆ cols_

int32_t apollo::perception::lidar::GroundGrid::cols_ = 0
protected

◆ data_

std::vector<GroundNode> apollo::perception::lidar::GroundGrid::data_
protected

◆ nodes_

std::vector<GroundNode*> apollo::perception::lidar::GroundGrid::nodes_
protected

◆ rows_

int32_t apollo::perception::lidar::GroundGrid::rows_ = 0
protected

◆ size_

int32_t apollo::perception::lidar::GroundGrid::size_ = 0
protected

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