All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
handGpuRenderer.hpp
Go to the documentation of this file.
#ifndef OPENPOSE_HAND_HAND_GPU_RENDERER_HPP
#define OPENPOSE_HAND_HAND_GPU_RENDERER_HPP
#include <openpose/core/common.hpp>
#include <openpose/core/gpuRenderer.hpp>
#include <openpose/hand/handParameters.hpp>
#include <openpose/hand/handRenderer.hpp>
namespace op
{
class OP_API HandGpuRenderer : public GpuRenderer, public HandRenderer
{
public:
HandGpuRenderer(const float renderThreshold,
const float alphaKeypoint = HAND_DEFAULT_ALPHA_KEYPOINT,
const float alphaHeatMap = HAND_DEFAULT_ALPHA_HEAT_MAP);
virtual ~HandGpuRenderer();
void initializationOnThread();
void renderHandInherited(Array<float>& outputData, const std::array<Array<float>, 2>& handKeypoints);
private:
float* pGpuHand; // GPU aux memory
DELETE_COPY(HandGpuRenderer);
};
}
#endif // OPENPOSE_HAND_HAND_GPU_RENDERER_HPP
DELETE_COPY
#define DELETE_COPY(className)
Definition: macros.hpp:34
cl::array
std::array< T, N > array
Definition: cl2.hpp:594
op::HAND_DEFAULT_ALPHA_HEAT_MAP
const auto HAND_DEFAULT_ALPHA_HEAT_MAP
Definition: handParameters.hpp:49
op::HandRenderer
Definition: handRenderer.hpp:8
common.hpp
op::HandGpuRenderer
Definition: handGpuRenderer.hpp:11
op::HAND_DEFAULT_ALPHA_KEYPOINT
const auto HAND_DEFAULT_ALPHA_KEYPOINT
Definition: handParameters.hpp:48
op::Array< float >
handParameters.hpp
handRenderer.hpp
op::GpuRenderer
Definition: gpuRenderer.hpp:11
gpuRenderer.hpp
OP_API
#define OP_API
Definition: macros.hpp:19