OpenPose  1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
op::Renderer Class Reference

#include <renderer.hpp>

Inheritance diagram for op::Renderer:
op::FaceCpuRenderer op::GpuRenderer op::HandCpuRenderer op::PoseCpuRenderer op::FaceGpuRenderer op::HandGpuRenderer op::PoseGpuRenderer

Public Member Functions

 Renderer (const float renderThreshold, const float alphaKeypoint, const float alphaHeatMap, const bool blendOriginalFrame=true, const unsigned int elementToRender=0u, const unsigned int numberElementsToRender=0u)
 
virtual ~Renderer ()
 
void increaseElementToRender (const int increment)
 
void setElementToRender (const int elementToRender)
 
void setElementToRender (const ElementToRender elementToRender)
 
bool getBlendOriginalFrame () const
 
void setBlendOriginalFrame (const bool blendOriginalFrame)
 
float getAlphaKeypoint () const
 
void setAlphaKeypoint (const float alphaKeypoint)
 
float getAlphaHeatMap () const
 
void setAlphaHeatMap (const float alphaHeatMap)
 
bool getShowGooglyEyes () const
 
void setShowGooglyEyes (const bool showGooglyEyes)
 

Protected Attributes

const float mRenderThreshold
 
std::atomic< bool > mBlendOriginalFrame
 
std::shared_ptr< std::atomic< unsigned int > > spElementToRender
 
std::shared_ptr< const unsigned int > spNumberElementsToRender
 
std::atomic< bool > mShowGooglyEyes
 

Detailed Description

Definition at line 10 of file renderer.hpp.

Constructor & Destructor Documentation

◆ Renderer()

op::Renderer::Renderer ( const float  renderThreshold,
const float  alphaKeypoint,
const float  alphaHeatMap,
const bool  blendOriginalFrame = true,
const unsigned int  elementToRender = 0u,
const unsigned int  numberElementsToRender = 0u 
)
explicit

◆ ~Renderer()

virtual op::Renderer::~Renderer ( )
virtual

Member Function Documentation

◆ getAlphaHeatMap()

float op::Renderer::getAlphaHeatMap ( ) const

◆ getAlphaKeypoint()

float op::Renderer::getAlphaKeypoint ( ) const

◆ getBlendOriginalFrame()

bool op::Renderer::getBlendOriginalFrame ( ) const

◆ getShowGooglyEyes()

bool op::Renderer::getShowGooglyEyes ( ) const

◆ increaseElementToRender()

void op::Renderer::increaseElementToRender ( const int  increment)

◆ setAlphaHeatMap()

void op::Renderer::setAlphaHeatMap ( const float  alphaHeatMap)

◆ setAlphaKeypoint()

void op::Renderer::setAlphaKeypoint ( const float  alphaKeypoint)

◆ setBlendOriginalFrame()

void op::Renderer::setBlendOriginalFrame ( const bool  blendOriginalFrame)

◆ setElementToRender() [1/2]

void op::Renderer::setElementToRender ( const ElementToRender  elementToRender)

◆ setElementToRender() [2/2]

void op::Renderer::setElementToRender ( const int  elementToRender)

◆ setShowGooglyEyes()

void op::Renderer::setShowGooglyEyes ( const bool  showGooglyEyes)

Member Data Documentation

◆ mBlendOriginalFrame

std::atomic<bool> op::Renderer::mBlendOriginalFrame
protected

Definition at line 43 of file renderer.hpp.

◆ mRenderThreshold

const float op::Renderer::mRenderThreshold
protected

Definition at line 42 of file renderer.hpp.

◆ mShowGooglyEyes

std::atomic<bool> op::Renderer::mShowGooglyEyes
protected

Definition at line 46 of file renderer.hpp.

◆ spElementToRender

std::shared_ptr<std::atomic<unsigned int> > op::Renderer::spElementToRender
protected

Definition at line 44 of file renderer.hpp.

◆ spNumberElementsToRender

std::shared_ptr<const unsigned int> op::Renderer::spNumberElementsToRender
protected

Definition at line 45 of file renderer.hpp.


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