Data Structures | |
| class | BaseRender |
| struct | BaseRenderConfig |
| base config for all renders layout: [0, 0, 1280, 720] color_clear: True More... | |
| class | BaseRenderPriv |
| class | CudaTexture |
| class | CudaVertexBuf |
| class | DepthRender |
| class | DepthRenderCtxImpl |
| class | GWindow |
| class | iGLRender |
| struct | LidarRenderConfig |
| class | LidarRenderCtxImpl |
| struct | NormalViewPort |
| Normalized view port positon in the window in range [0, 1]. More... | |
| struct | PerspectiveParam |
| struct | PointCloudConfig |
| class | PointCloudRender |
| class | PointCloudRenderCtxImpl |
| class | Program |
| struct | Shader |
| class | Texture |
| struct | Texture3DConfig |
| class | Texture3DRenderCtx |
| class | VertexArray |
| class | VertexBuf |
| struct | ViewLayout |
| layout position in window coordinates More... | |
| struct | ViewLookat |
| class | Window |
| struct | WindowInfo |
Typedefs | |
| using | mat4f = std::vector< vec4f > |
Functions | |
| const char * | GLErrorString (GLenum err) |
| mat4f | eye4x4 () |
| mat4f | glmMat4ToDS (const glm::mat4 &m) |
| glm::mat4 | dsMat4ToGlm (const mat4f &m) |
| glm::vec3 | vec3ToGlm (const vec3f &m) |
| mat4f | mvpMat (const mat4f &model, const mat4f &view, const mat4f &project) |
| mat4f | mat4Mul (const mat4f &a, const mat4f &b) |
| Program * | BuildProgramFromSource (const std::vector< std::string > &sources, const std::vector< GLenum > &types) |
| std::unique_ptr< Texture > | CreateTextTexture (const std::string &text, const std::string &font=kTextDefaultFont, int fontSize=kTextDefaultFontSize, const vec4f &rgba={{1, 1, 1, 1}}) |
Variables | |
| static constexpr const uint32_t | kDefaultMaxPoints = 2048000 |
| static constexpr const uint32_t | kDefaultMax3DBboxes = 2048 |
| constexpr uint32_t | kMaxPointsGL = 1920 * 1080 |
| static const std::string | kImageTextureVertexScript |
| static const std::string | kImageTextureFragmentScript |
| static const std::string | kLidarVertexScript |
| const std::string | kLidarZRangeVertexScript |
| static const std::string | kLidarFragmentScript |
| static const std::string | kLidarBboxVertexScript |
| static const std::string | kLidarBboxFragmentScript |
| static const char * | kTextDefaultFont = "Sans Bold" |
| static const int | kTextDefaultFontSize = 12 |
| static constexpr size_t | kTex2DVertDefaultNum = 6 |
| static constexpr const uint32_t | kDefaultMaxPoints = 2048000 |
| static constexpr const uint32_t | kDefaultMax3DBboxes = 2048 |
| static const std::string | kImageTextureVertexScript |
| static const std::string | kImageTextureFragmentScript |
| static const std::string | kLidarVertexScript |
| static const std::string | kLidarFragmentScript |
| static const std::string | kLidarBboxVertexScript |
| static const std::string | kLidarBboxFragmentScript |
| static const char * | kTextDefaultFont = "Sans Bold" |
| static const int | kTextDefaultFontSize = 12 |
| static constexpr size_t | kTex2DVertDefaultNum = 6 |
| typedef std::vector< vec4f > ds3d::gl::mat4f |
Definition at line 60 of file sources/libs/ds3d/glprocess/gl_common.h.
| Program * ds3d::gl::BuildProgramFromSource | ( | const std::vector< std::string > & | sources, |
| const std::vector< GLenum > & | types | ||
| ) |
Referenced by ds3d::gl::BaseRenderPriv::buildShader().
| std::unique_ptr< Texture > ds3d::gl::CreateTextTexture | ( | const std::string & | text, |
| const std::string & | font = kTextDefaultFont, |
||
| int | fontSize = kTextDefaultFontSize, |
||
| const vec4f & | rgba = {{1, 1, 1, 1}} |
||
| ) |
|
inline |
Definition at line 54 of file sources/libs/ds3d/glprocess/gl_helper.h.
References DS_ASSERT.
|
inline |
Definition at line 32 of file sources/libs/ds3d/glprocess/gl_helper.h.
References DS_ASSERT.
Referenced by ds3d::gl::BaseRenderPriv::getMVPFrom(), and ds3d::gl::BaseRenderPriv::parseConfig().
|
inline |
Definition at line 63 of file sources/libs/ds3d/glprocess/gl_common.h.
References _GL_ERROR_CASE_STR.
|
inline |
Definition at line 45 of file sources/libs/ds3d/glprocess/gl_helper.h.
References DS_ASSERT.
Referenced by ds3d::gl::BaseRenderPriv::getMVPFrom(), mat4Mul(), and mvpMat().
Definition at line 80 of file sources/libs/ds3d/glprocess/gl_helper.h.
References DS_ASSERT, and glmMat4ToDS().
Definition at line 71 of file sources/libs/ds3d/glprocess/gl_helper.h.
References glmMat4ToDS().
|
inline |
Definition at line 63 of file sources/libs/ds3d/glprocess/gl_helper.h.
Referenced by ds3d::gl::BaseRenderPriv::getMVPFrom().
|
staticconstexpr |
Definition at line 37 of file sources/libs/ds3d/glprocess/gl_lidar_render_ctx.h.
|
staticconstexpr |
Definition at line 37 of file 9.2/sources/libs/ds3d/glprocess/gl_lidar_render_ctx.h.
|
staticconstexpr |
Definition at line 36 of file sources/libs/ds3d/glprocess/gl_lidar_render_ctx.h.
|
staticconstexpr |
Definition at line 36 of file 9.2/sources/libs/ds3d/glprocess/gl_lidar_render_ctx.h.
|
static |
Definition at line 45 of file 9.2/sources/libs/ds3d/glprocess/gl_script.h.
|
static |
Definition at line 45 of file sources/libs/ds3d/glprocess/gl_script.h.
|
static |
Definition at line 30 of file sources/libs/ds3d/glprocess/gl_script.h.
|
static |
Definition at line 30 of file 9.2/sources/libs/ds3d/glprocess/gl_script.h.
|
static |
Definition at line 129 of file 9.2/sources/libs/ds3d/glprocess/gl_script.h.
|
static |
Definition at line 129 of file sources/libs/ds3d/glprocess/gl_script.h.
|
static |
Definition at line 115 of file 9.2/sources/libs/ds3d/glprocess/gl_script.h.
|
static |
Definition at line 115 of file sources/libs/ds3d/glprocess/gl_script.h.
|
static |
Definition at line 102 of file 9.2/sources/libs/ds3d/glprocess/gl_script.h.
|
static |
Definition at line 102 of file sources/libs/ds3d/glprocess/gl_script.h.
|
static |
Definition at line 59 of file 9.2/sources/libs/ds3d/glprocess/gl_script.h.
|
static |
Definition at line 59 of file sources/libs/ds3d/glprocess/gl_script.h.
| const std::string ds3d::gl::kLidarZRangeVertexScript |
Definition at line 71 of file sources/libs/ds3d/glprocess/gl_script.h.
|
constexpr |
Definition at line 34 of file sources/libs/ds3d/glprocess/gl_point_cloud_render_ctx.h.
|
staticconstexpr |
Definition at line 33 of file sources/libs/ds3d/glprocess/gl_texture_render.h.
|
staticconstexpr |
Definition at line 33 of file 9.2/sources/libs/ds3d/glprocess/gl_texture_render.h.
|
static |
Definition at line 30 of file sources/libs/ds3d/glprocess/gl_text.h.
|
static |
Definition at line 30 of file 9.2/sources/libs/ds3d/glprocess/gl_text.h.
|
static |
Definition at line 31 of file sources/libs/ds3d/glprocess/gl_text.h.
|
static |
Definition at line 31 of file 9.2/sources/libs/ds3d/glprocess/gl_text.h.