NVIDIA DeepStream SDK API Reference

9.2 Release
ds3d::gl::DepthRenderCtxImpl Class Reference

Detailed Description

Inheritance diagram for ds3d::gl::DepthRenderCtxImpl:
Collaboration diagram for ds3d::gl::DepthRenderCtxImpl:

Data Structures

struct  ProgramInfo
 

Public Member Functions

 DepthRenderCtxImpl (bool enableVideo, bool enableDepth)
 
void setDepthRange (float min, float max) override
 
void setDepthColor (const vec3b &minDepthColor, const vec3b &maxDepthColor) override
 
 ~DepthRenderCtxImpl ()=default
 
ErrCode initResource () override
 
ErrCode uploadData (GuardDataMap datamap) override
 
ErrCode draw (GuardDataMap datamap) override
 
ErrCode deinitResource () override
 
 DepthRenderCtxImpl (bool enableVideo, bool enableDepth)
 
void setDepthRange (float min, float max) override
 
void setDepthColor (const vec3b &minDepthColor, const vec3b &maxDepthColor) override
 
 ~DepthRenderCtxImpl ()=default
 
ErrCode initResource () override
 
ErrCode uploadData (GuardDataMap datamap) override
 
ErrCode draw (GuardDataMap datamap) override
 
ErrCode deinitResource () override
 
void setWindow (GuardGlWindow w) override
 
void setWindow (GuardGlWindow w) override
 
GuardGlWindow getWindow () override
 
GuardGlWindow getWindow () override
 
ErrCode syncData () override
 
ErrCode syncData () override
 
virtual ErrCode configure (const char *yamlConfig, uint32_t size)
 
virtual ErrCode configure (const char *yamlConfig, uint32_t size)
 
virtual ErrCode flush ()
 
virtual ErrCode flush ()
 

Protected Attributes

GuardGlWindow _window
 

Constructor & Destructor Documentation

◆ DepthRenderCtxImpl() [1/2]

ds3d::gl::DepthRenderCtxImpl::DepthRenderCtxImpl ( bool  enableVideo,
bool  enableDepth 
)
inline

◆ ~DepthRenderCtxImpl() [1/2]

ds3d::gl::DepthRenderCtxImpl::~DepthRenderCtxImpl ( )
default

◆ DepthRenderCtxImpl() [2/2]

ds3d::gl::DepthRenderCtxImpl::DepthRenderCtxImpl ( bool  enableVideo,
bool  enableDepth 
)
inline

◆ ~DepthRenderCtxImpl() [2/2]

ds3d::gl::DepthRenderCtxImpl::~DepthRenderCtxImpl ( )
default

Member Function Documentation

◆ configure() [1/2]

virtual ErrCode ds3d::gl::iGLRender::configure ( const char *  yamlConfig,
uint32_t  size 
)
inlinevirtualinherited

◆ configure() [2/2]

virtual ErrCode ds3d::gl::iGLRender::configure ( const char *  yamlConfig,
uint32_t  size 
)
inlinevirtualinherited

◆ deinitResource() [1/2]

ErrCode ds3d::gl::DepthRenderCtxImpl::deinitResource ( )
overridevirtual

Implements ds3d::gl::iGLRender.

◆ deinitResource() [2/2]

ErrCode ds3d::gl::DepthRenderCtxImpl::deinitResource ( )
overridevirtual

Implements ds3d::gl::iGLRender.

◆ draw() [1/2]

ErrCode ds3d::gl::DepthRenderCtxImpl::draw ( GuardDataMap  datamap)
overridevirtual

Implements ds3d::gl::iGLRender.

◆ draw() [2/2]

ErrCode ds3d::gl::DepthRenderCtxImpl::draw ( GuardDataMap  datamap)
overridevirtual

Implements ds3d::gl::iGLRender.

◆ flush() [1/2]

virtual ErrCode ds3d::gl::iGLRender::flush ( )
inlinevirtualinherited

◆ flush() [2/2]

virtual ErrCode ds3d::gl::iGLRender::flush ( )
inlinevirtualinherited

◆ getWindow() [1/2]

GuardGlWindow ds3d::gl::BaseRender::getWindow ( )
inlineoverridevirtualinherited

◆ getWindow() [2/2]

GuardGlWindow ds3d::gl::BaseRender::getWindow ( )
inlineoverridevirtualinherited

◆ initResource() [1/2]

ErrCode ds3d::gl::DepthRenderCtxImpl::initResource ( )
overridevirtual

Implements ds3d::gl::iGLRender.

◆ initResource() [2/2]

ErrCode ds3d::gl::DepthRenderCtxImpl::initResource ( )
overridevirtual

Implements ds3d::gl::iGLRender.

◆ setDepthColor() [1/2]

void ds3d::gl::DepthRenderCtxImpl::setDepthColor ( const vec3b &  minDepthColor,
const vec3b &  maxDepthColor 
)
inlineoverridevirtual

◆ setDepthColor() [2/2]

void ds3d::gl::DepthRenderCtxImpl::setDepthColor ( const vec3b &  minDepthColor,
const vec3b &  maxDepthColor 
)
inlineoverridevirtual

◆ setDepthRange() [1/2]

void ds3d::gl::DepthRenderCtxImpl::setDepthRange ( float  min,
float  max 
)
inlineoverridevirtual

Implements ds3d::gl::DepthRender.

Definition at line 37 of file sources/libs/ds3d/glprocess/gl_depth_render_ctx.h.

References max(), and min().

◆ setDepthRange() [2/2]

void ds3d::gl::DepthRenderCtxImpl::setDepthRange ( float  min,
float  max 
)
inlineoverridevirtual

Implements ds3d::gl::DepthRender.

Definition at line 37 of file 9.2/sources/libs/ds3d/glprocess/gl_depth_render_ctx.h.

References max(), and min().

◆ setWindow() [1/2]

void ds3d::gl::BaseRender::setWindow ( GuardGlWindow  w)
inlineoverridevirtualinherited

◆ setWindow() [2/2]

void ds3d::gl::BaseRender::setWindow ( GuardGlWindow  w)
inlineoverridevirtualinherited

◆ syncData() [1/2]

ErrCode ds3d::gl::BaseRender::syncData ( )
inlineoverridevirtualinherited

◆ syncData() [2/2]

ErrCode ds3d::gl::BaseRender::syncData ( )
inlineoverridevirtualinherited

Implements ds3d::gl::iGLRender.

Definition at line 58 of file 9.2/sources/libs/ds3d/glprocess/gl_render_ctx.h.

References ds3d::kGood.

◆ uploadData() [1/2]

ErrCode ds3d::gl::DepthRenderCtxImpl::uploadData ( GuardDataMap  datamap)
overridevirtual

Implements ds3d::gl::iGLRender.

◆ uploadData() [2/2]

ErrCode ds3d::gl::DepthRenderCtxImpl::uploadData ( GuardDataMap  datamap)
overridevirtual

Implements ds3d::gl::iGLRender.

Field Documentation

◆ _window

GuardGlWindow ds3d::gl::BaseRender::_window
protectedinherited

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