Apollo  6.0
Open source self driving car software
Namespaces | Functions
polygon_mask.h File Reference
#include <algorithm>
#include <limits>
#include <vector>
#include "modules/perception/lidar/common/lidar_log.h"
#include "modules/perception/lidar/lib/roi_filter/hdmap_roi_filter/bitmap2d.h"
#include "modules/perception/lidar/lib/roi_filter/hdmap_roi_filter/polygon_scan_cvter.h"
Include dependency graph for polygon_mask.h:

Go to the source code of this file.

Namespaces

 apollo
 PlanningContext is the runtime context in planning. It is persistent across multiple frames.
 
 apollo::perception
 apollo::perception
 
 apollo::perception::lidar
 

Functions

template<typename T >
bool apollo::perception::lidar::DrawPolygonMask (const typename PolygonScanCvter< T >::Polygon &polygon, Bitmap2D *bitmap, const double extend_dist=0.0, const bool no_edge_table=false)
 
template<typename T >
bool apollo::perception::lidar::DrawPolygonsMask (const std::vector< typename PolygonScanCvter< T >::Polygon > &polygons, Bitmap2D *bitmap, const double extend_dist=0.0, const bool no_edge_table=false)