All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
poseRenderer.hpp
Go to the documentation of this file.
#ifndef OPENPOSE_POSE_POSE_RENDERER_HPP
#define OPENPOSE_POSE_POSE_RENDERER_HPP
#include <map>
#include <openpose/core/common.hpp>
#include <openpose/pose/enumClasses.hpp>
namespace op
{
class OP_API PoseRenderer
{
public:
PoseRenderer(const PoseModel poseModel);
virtual ~PoseRenderer();
virtual void initializationOnThread(){};
virtual std::pair<int, std::string> renderPose(Array<float>& outputData, const Array<float>& poseKeypoints,
const float scaleInputToOutput,
const float scaleNetToOutput = -1.f) = 0;
protected:
const PoseModel mPoseModel;
const std::map<unsigned int, std::string> mPartIndexToName;
private:
DELETE_COPY(PoseRenderer);
};
}
#endif // OPENPOSE_POSE_POSE_RENDERER_HPP
DELETE_COPY
#define DELETE_COPY(className)
Definition: macros.hpp:34
enumClasses.hpp
op::PoseRenderer::mPoseModel
const PoseModel mPoseModel
Definition: poseRenderer.hpp:24
op::PoseRenderer::initializationOnThread
virtual void initializationOnThread()
Definition: poseRenderer.hpp:17
op::PoseModel
PoseModel
Definition: enumClasses.hpp:9
common.hpp
op::PoseRenderer
Definition: poseRenderer.hpp:10
op::PoseRenderer::mPartIndexToName
const std::map< unsigned int, std::string > mPartIndexToName
Definition: poseRenderer.hpp:25
op::Array< float >
OP_API
#define OP_API
Definition: macros.hpp:19