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 52 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
staticconstexpr

Definition at line 56 of file background_renderer.h.

◆ oes_

bool BackgroundRenderer::oes_ = false
private

Definition at line 73 of file background_renderer.h.

◆ shaderPrograms_

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

Definition at line 71 of file background_renderer.h.

◆ texture_id_

GLuint BackgroundRenderer::texture_id_
private

Definition at line 72 of file background_renderer.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:26