Apollo  v5.5.0
Open source self driving car software
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
apollo::perception::benchmark::Frame Class Reference

#include <frame.h>

Inheritance diagram for apollo::perception::benchmark::Frame:
Inheritance graph
Collaboration diagram for apollo::perception::benchmark::Frame:
Collaboration graph

Public Member Functions

 Frame ()
 
bool load (const std::vector< std::string > &filenames)
 
std::string get_name () const
 
const PointCloudConstPtr get_point_cloud () const
 
const std::vector< ObjectPtr > & get_objects () const
 
const std::vector< ObjectPtr > & get_gt_objects () const
 
const std::vector< std::vector< Eigen::Vector3d > > & get_objects_box_vertices () const
 
const std::vector< std::vector< Eigen::Vector3d > > & get_gt_objects_box_vertices () const
 
const std::vector< PointCloud > & get_left_boundary () const
 
const std::vector< PointCloud > & get_right_boundary () const
 
const std::vector< PointCloud > & get_left_lane_boundary () const
 
const std::vector< PointCloud > & get_right_lane_boundary () const
 
const std::vector< PointCloud > & get_road_polygon () const
 
void release ()
 

Static Public Member Functions

static void set_black_list (const std::set< std::string > &black_list)
 
static void set_is_for_visualization (bool for_visualization)
 
static void set_visible_threshold (float threshold)
 
static void set_min_confidence (float confidence)
 

Protected Member Functions

void build_indices ()
 
void build_points ()
 
- Protected Member Functions inherited from apollo::perception::benchmark::SensorObjects
 SensorObjects ()
 
std::string to_string () const
 

Protected Attributes

PointCloudPtr _point_cloud
 
std::vector< PointCloud_left_boundary
 
std::vector< PointCloud_right_boundary
 
std::vector< PointCloud_left_lane_boundary
 
std::vector< PointCloud_right_lane_boundary
 
std::vector< PointCloud_road_polygon
 
std::vector< PointCloud_lane_polygon
 
- Protected Attributes inherited from apollo::perception::benchmark::SensorObjects
SensorType type = UNKNOWN_SENSOR_TYPE
 
std::string name
 
double timestamp = 0.0
 
SeqId seq_num = 0
 
std::vector< ObjectPtrobjects
 
std::vector< std::vector< Eigen::Vector3d > > objects_box_vertices
 
std::vector< ObjectPtrgt_objects
 
std::vector< std::vector< Eigen::Vector3d > > gt_objects_box_vertices
 
Eigen::Matrix4d sensor2world_pose
 

Static Protected Attributes

static std::set< std::string > _s_black_list
 
static bool _s_is_for_visualization
 
static float _s_distance_to_roi_boundary
 
static float _s_visible_threshold
 
static float _s_min_confidence
 

Constructor & Destructor Documentation

◆ Frame()

apollo::perception::benchmark::Frame::Frame ( )
inline

Member Function Documentation

◆ build_indices()

void apollo::perception::benchmark::Frame::build_indices ( )
protected

◆ build_points()

void apollo::perception::benchmark::Frame::build_points ( )
protected

◆ get_gt_objects()

const std::vector<ObjectPtr>& apollo::perception::benchmark::Frame::get_gt_objects ( ) const
inline

◆ get_gt_objects_box_vertices()

const std::vector<std::vector<Eigen::Vector3d> >& apollo::perception::benchmark::Frame::get_gt_objects_box_vertices ( ) const
inline

◆ get_left_boundary()

const std::vector<PointCloud>& apollo::perception::benchmark::Frame::get_left_boundary ( ) const
inline

◆ get_left_lane_boundary()

const std::vector<PointCloud>& apollo::perception::benchmark::Frame::get_left_lane_boundary ( ) const
inline

◆ get_name()

std::string apollo::perception::benchmark::Frame::get_name ( ) const
inline

◆ get_objects()

const std::vector<ObjectPtr>& apollo::perception::benchmark::Frame::get_objects ( ) const
inline

◆ get_objects_box_vertices()

const std::vector<std::vector<Eigen::Vector3d> >& apollo::perception::benchmark::Frame::get_objects_box_vertices ( ) const
inline

◆ get_point_cloud()

const PointCloudConstPtr apollo::perception::benchmark::Frame::get_point_cloud ( ) const
inline

◆ get_right_boundary()

const std::vector<PointCloud>& apollo::perception::benchmark::Frame::get_right_boundary ( ) const
inline

◆ get_right_lane_boundary()

const std::vector<PointCloud>& apollo::perception::benchmark::Frame::get_right_lane_boundary ( ) const
inline

◆ get_road_polygon()

const std::vector<PointCloud>& apollo::perception::benchmark::Frame::get_road_polygon ( ) const
inline

◆ load()

bool apollo::perception::benchmark::Frame::load ( const std::vector< std::string > &  filenames)

◆ release()

void apollo::perception::benchmark::Frame::release ( void  )
inline

◆ set_black_list()

static void apollo::perception::benchmark::Frame::set_black_list ( const std::set< std::string > &  black_list)
static

◆ set_is_for_visualization()

static void apollo::perception::benchmark::Frame::set_is_for_visualization ( bool  for_visualization)
static

◆ set_min_confidence()

static void apollo::perception::benchmark::Frame::set_min_confidence ( float  confidence)
static

◆ set_visible_threshold()

static void apollo::perception::benchmark::Frame::set_visible_threshold ( float  threshold)
static

Member Data Documentation

◆ _lane_polygon

std::vector<PointCloud> apollo::perception::benchmark::Frame::_lane_polygon
protected

◆ _left_boundary

std::vector<PointCloud> apollo::perception::benchmark::Frame::_left_boundary
protected

◆ _left_lane_boundary

std::vector<PointCloud> apollo::perception::benchmark::Frame::_left_lane_boundary
protected

◆ _point_cloud

PointCloudPtr apollo::perception::benchmark::Frame::_point_cloud
protected

◆ _right_boundary

std::vector<PointCloud> apollo::perception::benchmark::Frame::_right_boundary
protected

◆ _right_lane_boundary

std::vector<PointCloud> apollo::perception::benchmark::Frame::_right_lane_boundary
protected

◆ _road_polygon

std::vector<PointCloud> apollo::perception::benchmark::Frame::_road_polygon
protected

◆ _s_black_list

std::set<std::string> apollo::perception::benchmark::Frame::_s_black_list
staticprotected

◆ _s_distance_to_roi_boundary

float apollo::perception::benchmark::Frame::_s_distance_to_roi_boundary
staticprotected

◆ _s_is_for_visualization

bool apollo::perception::benchmark::Frame::_s_is_for_visualization
staticprotected

◆ _s_min_confidence

float apollo::perception::benchmark::Frame::_s_min_confidence
staticprotected

◆ _s_visible_threshold

float apollo::perception::benchmark::Frame::_s_visible_threshold
staticprotected

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