|
Apollo
6.0
Open source self driving car software
|
#include <radarpoints.h>


Public Member Functions | |
| RadarPoints (const std::shared_ptr< QOpenGLShaderProgram > &shaderProgram=nullptr) | |
| ~RadarPoints (void) | |
| virtual GLenum | GetPrimitiveType (void) const |
| void | SetupExtraUniforms (void) |
| GLfloat | red (void) const |
| GLfloat | green (void) const |
| GLfloat | blue (void) const |
| const QVector3D & | color (void) const |
| void | set_color (const QRgb &rgb) |
| void | set_color (const QColor &color) |
| bool | FillData (const std::shared_ptr< const apollo::drivers::RadarObstacles > &pData) |
Public Member Functions inherited from RenderableObject | |
| RenderableObject (int vertex_count=1, int vertex_element_count=3, const std::shared_ptr< QOpenGLShaderProgram > &shaderProgram=NullRenderableObj) | |
| virtual | ~RenderableObject (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) |
Protected Member Functions | |
| bool | FillVertexBuffer (GLfloat *pBuffer) override |
Protected Member Functions inherited from RenderableObject | |
| virtual void | Draw (void) |
| virtual void | SetupAllAttrPointer (void) |
Additional Inherited Members | |
Static Public Member Functions inherited from RenderableObject | |
| static std::shared_ptr< QOpenGLShaderProgram > | CreateShaderProgram (const QString &vertexShaderFileName, const QString &fragShaderFileName) |
Static Public Attributes inherited from RenderableObject | |
| static std::shared_ptr< QOpenGLShaderProgram > | NullRenderableObj |
Protected Attributes inherited from RenderableObject | |
| bool | is_init_ |
| bool | is_renderable_ |
| int | vertex_count_ |
| int | vertex_element_count_ |
| std::shared_ptr< QOpenGLShaderProgram > | shader_program_ |
| QOpenGLVertexArrayObject | vao_ |
| QOpenGLBuffer | vbo_ |
|
explicit |
|
inline |
|
inline |
|
inline |
| bool RadarPoints::FillData | ( | const std::shared_ptr< const apollo::drivers::RadarObstacles > & | pData | ) |
|
overrideprotectedvirtual |
Implements RenderableObject.
|
inlinevirtual |
Implements RenderableObject.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented from RenderableObject.
1.8.13