Apollo 11.0
自动驾驶开放平台
apollo::perception::fusion::Scene类 参考

#include <scene.h>

apollo::perception::fusion::Scene 的协作图:

Public 成员函数

 Scene ()
 
 ~Scene ()
 
std::vector< TrackPtr > & GetForegroundTracks ()
 Get the foreground track objects
 
const std::vector< TrackPtr > & GetForegroundTracks () const
 Get the foreground track objects
 
std::vector< TrackPtr > & GetBackgroundTracks ()
 Get the background track objects
 
const std::vector< TrackPtr > & GetBackgroundTracks () const
 Get the background track objects
 
void AddForegroundTrack (TrackPtr track)
 Add a foreground track object
 
void AddBackgroundTrack (TrackPtr track)
 Add a background track object
 

Protected 属性

std::vector< TrackPtr > foreground_tracks_
 
std::vector< TrackPtr > background_tracks_
 

详细描述

在文件 scene.h 第 28 行定义.

构造及析构函数说明

◆ Scene()

apollo::perception::fusion::Scene::Scene ( )

在文件 scene.cc 第 22 行定义.

22{}

◆ ~Scene()

apollo::perception::fusion::Scene::~Scene ( )

在文件 scene.cc 第 24 行定义.

24{}

成员函数说明

◆ AddBackgroundTrack()

void apollo::perception::fusion::Scene::AddBackgroundTrack ( TrackPtr  track)

Add a background track object

参数
trackbackground track object

在文件 scene.cc 第 30 行定义.

30 {
31 background_tracks_.push_back(track);
32}
std::vector< TrackPtr > background_tracks_
Definition scene.h:85

◆ AddForegroundTrack()

void apollo::perception::fusion::Scene::AddForegroundTrack ( TrackPtr  track)

Add a foreground track object

参数
trackforeground track object

在文件 scene.cc 第 26 行定义.

26 {
27 foreground_tracks_.push_back(track);
28}
std::vector< TrackPtr > foreground_tracks_
Definition scene.h:84

◆ GetBackgroundTracks() [1/2]

std::vector< TrackPtr > & apollo::perception::fusion::Scene::GetBackgroundTracks ( )
inline

Get the background track objects

返回
std::vector<TrackPtr>&

在文件 scene.h 第 56 行定义.

56 {
57 return background_tracks_;
58 }

◆ GetBackgroundTracks() [2/2]

const std::vector< TrackPtr > & apollo::perception::fusion::Scene::GetBackgroundTracks ( ) const
inline

Get the background track objects

返回
const std::vector<TrackPtr>&

在文件 scene.h 第 65 行定义.

65 {
66 return background_tracks_;
67 }

◆ GetForegroundTracks() [1/2]

std::vector< TrackPtr > & apollo::perception::fusion::Scene::GetForegroundTracks ( )
inline

Get the foreground track objects

返回
std::vector<TrackPtr>&

在文件 scene.h 第 38 行定义.

38 {
39 return foreground_tracks_;
40 }

◆ GetForegroundTracks() [2/2]

const std::vector< TrackPtr > & apollo::perception::fusion::Scene::GetForegroundTracks ( ) const
inline

Get the foreground track objects

返回
const std::vector<TrackPtr>&

在文件 scene.h 第 47 行定义.

47 {
48 return foreground_tracks_;
49 }

类成员变量说明

◆ background_tracks_

std::vector<TrackPtr> apollo::perception::fusion::Scene::background_tracks_
protected

在文件 scene.h 第 85 行定义.

◆ foreground_tracks_

std::vector<TrackPtr> apollo::perception::fusion::Scene::foreground_tracks_
protected

在文件 scene.h 第 84 行定义.


该类的文档由以下文件生成: