Public Member Functions | Static Public Attributes | Private Attributes | Static Private Attributes | List of all members
BackgroundRenderer Class Reference

#include <background_renderer.h>

Public Member Functions

 BackgroundRenderer ()=default
 
void Draw (const float *transformed_uvs, const GLuint &depthTexture, int screenWidth, int screenHeight, bool redUnknown)
 
void InitializeGlContent (GLuint textureId, bool oes)
 
 ~BackgroundRenderer ()
 

Static Public Attributes

static constexpr int kNumVertices = 4
 

Private Attributes

bool oes_ = false
 
GLuint texture_id_
 

Static Private Attributes

static std::vector< GLuintshaderPrograms_
 

Detailed Description

Definition at line 46 of file background_renderer.h.

Constructor & Destructor Documentation

◆ BackgroundRenderer()

BackgroundRenderer::BackgroundRenderer ( )
default

◆ ~BackgroundRenderer()

BackgroundRenderer::~BackgroundRenderer ( )

Definition at line 125 of file background_renderer.cc.

Member Function Documentation

◆ Draw()

void BackgroundRenderer::Draw ( const float *  transformed_uvs,
const GLuint depthTexture,
int  screenWidth,
int  screenHeight,
bool  redUnknown 
)

Definition at line 157 of file background_renderer.cc.

◆ InitializeGlContent()

void BackgroundRenderer::InitializeGlContent ( GLuint  textureId,
bool  oes 
)

Definition at line 134 of file background_renderer.cc.

Member Data Documentation

◆ kNumVertices

constexpr int BackgroundRenderer::kNumVertices = 4
static

Definition at line 50 of file background_renderer.h.

◆ oes_

bool BackgroundRenderer::oes_ = false
private

Definition at line 67 of file background_renderer.h.

◆ shaderPrograms_

std::vector< GLuint > BackgroundRenderer::shaderPrograms_
staticprivate

Definition at line 65 of file background_renderer.h.

◆ texture_id_

GLuint BackgroundRenderer::texture_id_
private

Definition at line 66 of file background_renderer.h.


The documentation for this class was generated from the following files:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jan 23 2023 03:38:59