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

#include <projection_cache.h>

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

Public 成员函数

 ProjectionCacheObject ()
 
 ProjectionCacheObject (size_t point2ds_size)
 
size_t GetStartInd () const
 
size_t GetEndInd () const
 
base::BBox2DF GetBox () const
 
void SetStartInd (size_t ind)
 
void SetEndInd (size_t ind)
 
void SetBox (base::BBox2DF box)
 
const bool Empty () const
 
size_t Size () const
 

详细描述

在文件 projection_cache.h 第 31 行定义.

构造及析构函数说明

◆ ProjectionCacheObject() [1/2]

apollo::perception::fusion::ProjectionCacheObject::ProjectionCacheObject ( )
inline

在文件 projection_cache.h 第 33 行定义.

33 : start_ind_(0), end_ind_(0) {
34 box_ = base::BBox2DF();
35 }
BBox2D< float > BBox2DF
Definition box.h:164

◆ ProjectionCacheObject() [2/2]

apollo::perception::fusion::ProjectionCacheObject::ProjectionCacheObject ( size_t  point2ds_size)
inlineexplicit

在文件 projection_cache.h 第 36 行定义.

37 : start_ind_(point2ds_size), end_ind_(point2ds_size) {
38 box_ = base::BBox2DF();
39 }

成员函数说明

◆ Empty()

const bool apollo::perception::fusion::ProjectionCacheObject::Empty ( ) const
inline

在文件 projection_cache.h 第 48 行定义.

48{ return (start_ind_ == end_ind_); }

◆ GetBox()

base::BBox2DF apollo::perception::fusion::ProjectionCacheObject::GetBox ( ) const
inline

在文件 projection_cache.h 第 43 行定义.

43{ return box_; }

◆ GetEndInd()

size_t apollo::perception::fusion::ProjectionCacheObject::GetEndInd ( ) const
inline

在文件 projection_cache.h 第 42 行定义.

42{ return end_ind_; }

◆ GetStartInd()

size_t apollo::perception::fusion::ProjectionCacheObject::GetStartInd ( ) const
inline

在文件 projection_cache.h 第 41 行定义.

41{ return start_ind_; }

◆ SetBox()

void apollo::perception::fusion::ProjectionCacheObject::SetBox ( base::BBox2DF  box)
inline

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

47{ box_ = box; }

◆ SetEndInd()

void apollo::perception::fusion::ProjectionCacheObject::SetEndInd ( size_t  ind)
inline

在文件 projection_cache.h 第 46 行定义.

46{ end_ind_ = ind; }

◆ SetStartInd()

void apollo::perception::fusion::ProjectionCacheObject::SetStartInd ( size_t  ind)
inline

在文件 projection_cache.h 第 45 行定义.

45{ start_ind_ = ind; }

◆ Size()

size_t apollo::perception::fusion::ProjectionCacheObject::Size ( ) const
inline

在文件 projection_cache.h 第 49 行定义.

49{ return (end_ind_ - start_ind_); }

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