|
Apollo 10.0
自动驾驶开放平台
|
#include <bitmap2d.h>
Public 类型 | |
| enum class | DirectionMajor { XMAJOR = 0 , YMAJOR = 1 } |
| typedef Eigen::Matrix< size_t, 2, 1 > | Vec2ui |
| typedef Eigen::Matrix< size_t, 3, 1 > | Vec3ui |
Public 成员函数 | |
| Bitmap2D ()=default | |
| Construct a new Bitmap 2D object | |
| virtual | ~Bitmap2D ()=default |
| Destroy the Bitmap 2D object | |
| DirectionMajor | OppositeDirection (const DirectionMajor dir_major) |
| Opposite direction of direction_major | |
| const Eigen::Vector2d & | min_range () const |
| Return the min_range_ | |
| const Eigen::Vector2d & | max_range () const |
| Return the max_range_ | |
| const Eigen::Vector2d & | cell_size () const |
| Return the cell_size_ | |
| const Vec2ui & | map_size () const |
| Return the map_size_ | |
| const Vec2ui & | dims () const |
| Retrun the dims_ | |
| const std::vector< uint64_t > & | bitmap () const |
| Return the bitmap_ | |
| int | dir_major () const |
| Return the dir_major_ | |
| int | op_dir_major () const |
| Return the op_dir_major | |
| void | Init (const Eigen::Vector2d &min_range, const Eigen::Vector2d &max_range, const Eigen::Vector2d &cell_size) |
| Init of Bitmap 2D object | |
| void | SetUp (const DirectionMajor dir_major) |
| Set the dir_major_ and op_dir_major_ | |
| bool | Empty () const |
| cehck the bitmap_ is emtpy | |
| bool | IsExists (const Eigen::Vector2d &p) const |
| check the vector p is in bitmap_ | |
| bool | Check (const Eigen::Vector2d &p) const |
| Check the vector p | |
| void | Set (const Eigen::Vector2d &p) |
| Set the vector p | |
| void | Reset (const Eigen::Vector2d &p) |
| Reset the vector p | |
| void | Set (const double x, const double min_y, const double max_y) |
| Set thr rangebits and headbits | |
| void | Reset (const double x, const double min_y, const double max_y) |
| Reset the rangebits and headbits | |
友元 | |
| std::ostream & | operator<< (std::ostream &out, const Bitmap2D &bitmap) |
| print some meta data | |
在文件 bitmap2d.h 第 29 行定义.
| typedef Eigen::Matrix<size_t, 2, 1> apollo::perception::lidar::Bitmap2D::Vec2ui |
在文件 bitmap2d.h 第 32 行定义.
| typedef Eigen::Matrix<size_t, 3, 1> apollo::perception::lidar::Bitmap2D::Vec3ui |
在文件 bitmap2d.h 第 33 行定义.
|
strong |
|
default |
Construct a new Bitmap 2D object
|
virtualdefault |
Destroy the Bitmap 2D object
|
inline |
Return the bitmap_
在文件 bitmap2d.h 第 96 行定义.
|
inline |
Return the cell_size_
在文件 bitmap2d.h 第 75 行定义.
| bool apollo::perception::lidar::Bitmap2D::Check | ( | const Eigen::Vector2d & | p | ) | const |
Check the vector p
| p | 2d vector |
在文件 bitmap2d.cc 第 121 行定义.
|
inline |
|
inline |
Return the dir_major_
在文件 bitmap2d.h 第 103 行定义.
|
inline |
| void apollo::perception::lidar::Bitmap2D::Init | ( | const Eigen::Vector2d & | min_range, |
| const Eigen::Vector2d & | max_range, | ||
| const Eigen::Vector2d & | cell_size | ||
| ) |
Init of Bitmap 2D object
| min_range | min range of the bitmap |
| max_range | max range of the bitmap |
| cell_size | cell size of bitmap |
在文件 bitmap2d.cc 第 72 行定义.
| bool apollo::perception::lidar::Bitmap2D::IsExists | ( | const Eigen::Vector2d & | p | ) | const |
check the vector p is in bitmap_
| p | 2d vector |
在文件 bitmap2d.cc 第 115 行定义.
|
inline |
|
inline |
Return the max_range_
在文件 bitmap2d.h 第 68 行定义.
|
inline |
Return the min_range_
在文件 bitmap2d.h 第 61 行定义.
|
inline |
Return the op_dir_major
在文件 bitmap2d.h 第 110 行定义.
|
inline |
Opposite direction of direction_major
| dir_major | major direction |
在文件 bitmap2d.cc 第 28 行定义.
| void apollo::perception::lidar::Bitmap2D::Reset | ( | const double | x, |
| const double | min_y, | ||
| const double | max_y | ||
| ) |
Reset the rangebits and headbits
| x | x position |
| min_y | min y of bitmap |
| max_y | max y of bitmap |
在文件 bitmap2d.cc 第 161 行定义.
| void apollo::perception::lidar::Bitmap2D::Reset | ( | const Eigen::Vector2d & | p | ) |
Reset the vector p
| p | 2d vector |
在文件 bitmap2d.cc 第 134 行定义.
| void apollo::perception::lidar::Bitmap2D::Set | ( | const double | x, |
| const double | min_y, | ||
| const double | max_y | ||
| ) |
Set thr rangebits and headbits
| x | x position |
| min_y | min y of bitmap |
| max_y | max y of bitmap |
在文件 bitmap2d.cc 第 140 行定义.
| void apollo::perception::lidar::Bitmap2D::Set | ( | const Eigen::Vector2d & | p | ) |
Set the vector p
| p | 2d vector |
在文件 bitmap2d.cc 第 128 行定义.
| void apollo::perception::lidar::Bitmap2D::SetUp | ( | const DirectionMajor | dir_major | ) |
Set the dir_major_ and op_dir_major_
| dir_major |
在文件 bitmap2d.cc 第 92 行定义.
|
friend |
print some meta data
| out | |
| bitmap |
在文件 bitmap2d.h 第 196 行定义.