#include <gpuRenderer.hpp>
Inherits op::Renderer.
Inherited by op::FaceGpuRenderer, op::HandGpuRenderer, and op::PoseGpuRenderer.
|
| GpuRenderer (const float renderThreshold, const float alphaKeypoint, const float alphaHeatMap, const bool blendOriginalFrame=true, const unsigned int elementToRender=0u, const unsigned int numberElementsToRender=0u) |
|
virtual | ~GpuRenderer () |
|
std::tuple< std::shared_ptr
< float * >, std::shared_ptr
< bool >, std::shared_ptr
< std::atomic< unsigned int >
>, std::shared_ptr
< std::atomic< unsigned long
long > >, std::shared_ptr
< const unsigned int > > | getSharedParameters () |
|
void | setSharedParametersAndIfLast (const std::tuple< std::shared_ptr< float * >, std::shared_ptr< bool >, std::shared_ptr< std::atomic< unsigned int >>, std::shared_ptr< std::atomic< unsigned long long >>, std::shared_ptr< const unsigned int >> &tuple, const bool isLast) |
|
| 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) |
|
op::GpuRenderer::GpuRenderer |
( |
const float |
renderThreshold, |
|
|
const float |
alphaKeypoint, |
|
|
const float |
alphaHeatMap, |
|
|
const bool |
blendOriginalFrame = true , |
|
|
const unsigned int |
elementToRender = 0u , |
|
|
const unsigned int |
numberElementsToRender = 0u |
|
) |
| |
|
explicit |
virtual op::GpuRenderer::~GpuRenderer |
( |
| ) |
|
|
virtual |
void op::GpuRenderer::cpuToGpuMemoryIfNotCopiedYet |
( |
const float *const |
cpuMemory, |
|
|
const unsigned long long |
memoryVolume |
|
) |
| |
|
protected |
std::tuple<std::shared_ptr<float*>, std::shared_ptr<bool>, std::shared_ptr<std::atomic<unsigned int> >, std::shared_ptr<std::atomic<unsigned long long> >, std::shared_ptr<const unsigned int> > op::GpuRenderer::getSharedParameters |
( |
| ) |
|
void op::GpuRenderer::gpuToCpuMemoryIfLastRenderer |
( |
float * |
cpuMemory, |
|
|
const unsigned long long |
memoryVolume |
|
) |
| |
|
protected |
void op::GpuRenderer::setSharedParametersAndIfLast |
( |
const std::tuple< std::shared_ptr< float * >, std::shared_ptr< bool >, std::shared_ptr< std::atomic< unsigned int >>, std::shared_ptr< std::atomic< unsigned long long >>, std::shared_ptr< const unsigned int >> & |
tuple, |
|
|
const bool |
isLast |
|
) |
| |
std::shared_ptr<float*> op::GpuRenderer::spGpuMemory |
|
protected |
The documentation for this class was generated from the following file:
- /home/travis/build/CMU-Perceptual-Computing-Lab/openpose/include/openpose/core/gpuRenderer.hpp