Apollo 11.0
自动驾驶开放平台
common.h 文件参考
#include <algorithm>
#include <limits>
#include <vector>
#include "Eigen/Core"
#include "modules/common/util/eigen_defs.h"
#include "modules/perception/common/base/box.h"
#include "modules/perception/common/base/point_cloud.h"
common.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

命名空间

namespace  apollo
 class register implement
 
namespace  apollo::perception
 apollo::perception
 
namespace  apollo::perception::algorithm
 

函数

template<typename PointT >
bool apollo::perception::algorithm::IsPointXYInPolygon2DXY (const PointT &point, const base::PointCloud< PointT > &polygon)
 
template<typename PointT >
bool apollo::perception::algorithm::IsPointInBBox (const Eigen::Matrix< typename PointT::Type, 3, 1 > &gnd_c, const Eigen::Matrix< typename PointT::Type, 3, 1 > &dir_x, const Eigen::Matrix< typename PointT::Type, 3, 1 > &dir_y, const Eigen::Matrix< typename PointT::Type, 3, 1 > &dir_z, const Eigen::Matrix< typename PointT::Type, 3, 1 > &size, const PointT &point)
 
template<typename PointCloudT >
void apollo::perception::algorithm::CalculateBBoxSizeCenter2DXY (const PointCloudT &cloud, const Eigen::Vector3f &dir, Eigen::Vector3f *size, Eigen::Vector3d *center, float minimum_edge_length=std::numeric_limits< float >::epsilon())
 
template<typename Type >
void apollo::perception::algorithm::CalculateMostConsistentBBoxDir2DXY (const Eigen::Matrix< Type, 3, 1 > &prev_dir, Eigen::Matrix< Type, 3, 1 > *curr_dir)
 
template<typename Type >
Type apollo::perception::algorithm::CalculateIou2DXY (const Eigen::Matrix< Type, 3, 1 > &center0, const Eigen::Matrix< Type, 3, 1 > &size0, const Eigen::Matrix< Type, 3, 1 > &center1, const Eigen::Matrix< Type, 3, 1 > &size1)
 
template<typename Type >
Type apollo::perception::algorithm::CalculateIOUBBox (const base::BBox2D< Type > &box1, const base::BBox2D< Type > &box2)
 
template<typename PointT >
bool apollo::perception::algorithm::CalculateDistAndDirToSegs (const Eigen::Matrix< typename PointT::Type, 3, 1 > &pt, const base::PointCloud< PointT > &segs, typename PointT::Type *dist, Eigen::Matrix< typename PointT::Type, 3, 1 > *dir)
 
template<typename PointT >
void apollo::perception::algorithm::CalculateDistAndDirToBoundary (const Eigen::Matrix< typename PointT::Type, 3, 1 > &pt, const base::PointCloud< PointT > &left_boundary, const base::PointCloud< PointT > &right_boundary, typename PointT::Type *dist, Eigen::Matrix< typename PointT::Type, 3, 1 > *dir)
 
template<typename PointT >
void apollo::perception::algorithm::CalculateDistAndDirToBoundary (const Eigen::Matrix< typename PointT::Type, 3, 1 > &pt, const apollo::common::EigenVector< base::PointCloud< PointT > > &left_boundary, const apollo::common::EigenVector< base::PointCloud< PointT > > &right_boundary, typename PointT::Type *dist, Eigen::Matrix< typename PointT::Type, 3, 1 > *dir)
 
template<typename Type >
void apollo::perception::algorithm::CalculateCornersFromCenter (Type center_x, Type center_y, Type center_z, Type size_x, Type size_y, Type size_z, Type theta, Eigen::Matrix< Type, 8, 1 > *corners)
 
template<typename T >
bool apollo::perception::algorithm::IsLineSegments2DIntersect (const Eigen::Matrix< T, 2, 1 > &p1, const Eigen::Matrix< T, 2, 1 > &q1, const Eigen::Matrix< T, 2, 1 > &p2, const Eigen::Matrix< T, 2, 1 > &q2)