Apollo 10.0
自动驾驶开放平台
|
#include <pointcloud.h>
Public 成员函数 | |
PointCloud (int pointCount=1, int vertex_element_count=3, const std::shared_ptr< QOpenGLShaderProgram > &shaderProgram=NullRenderableObj) | |
~PointCloud (void) | |
virtual GLenum | GetPrimitiveType (void) const |
bool | FillData (const std::shared_ptr< const apollo::drivers::PointCloud > &pData) |
![]() | |
RenderableObject (int vertex_count=1, int vertex_element_count=3, const std::shared_ptr< QOpenGLShaderProgram > &shaderProgram=NullRenderableObj) | |
virtual | ~RenderableObject (void) |
virtual void | SetupExtraUniforms (void) |
bool | is_renderable (void) const |
void | set_is_renderable (bool b) |
int | vertex_count (void) const |
void | set_vertex_count (int vertexCount) |
int | vertex_element_count (void) const |
void | set_vertex_element_count (int vertexElementCount) |
int | VertexBufferSize (void) const |
void | set_shader_program (const std::shared_ptr< QOpenGLShaderProgram > &shaderProgram) |
bool | haveShaderProgram (void) |
bool | Init (std::shared_ptr< QOpenGLShaderProgram > &shaderProgram=NullRenderableObj) |
void | Destroy (void) |
void | Render (const QMatrix4x4 *mvp=nullptr) |
额外继承的成员函数 | |
![]() | |
static std::shared_ptr< QOpenGLShaderProgram > | CreateShaderProgram (const QString &vertexShaderFileName, const QString &fragShaderFileName) |
![]() | |
static std::shared_ptr< QOpenGLShaderProgram > | NullRenderableObj |
![]() | |
virtual void | Draw (void) |
virtual void | SetupAllAttrPointer (void) |
![]() | |
bool | is_init_ |
bool | is_renderable_ |
int | vertex_count_ |
int | vertex_element_count_ |
std::shared_ptr< QOpenGLShaderProgram > | shader_program_ |
QOpenGLVertexArrayObject | vao_ |
QOpenGLBuffer | vbo_ |
在文件 pointcloud.h 第 26 行定义.
|
explicit |
在文件 pointcloud.cc 第 21 行定义.
PointCloud::~PointCloud | ( | void | ) |
在文件 pointcloud.cc 第 27 行定义.
bool PointCloud::FillData | ( | const std::shared_ptr< const apollo::drivers::PointCloud > & | pData | ) |
在文件 pointcloud.cc 第 47 行定义.
|
inlinevirtual |