OpenPose 1.0.0rc2 OpenPose: A Real-Time Multi-Person Key-Point Detection And Multi-Threading C++ Library

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
poseRenderer.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_POSE_POSE_RENDERER_HPP
2 #define OPENPOSE_POSE_POSE_RENDERER_HPP
3
4 #include <map>
5 #include <openpose/core/common.hpp>
6 #include <openpose/pose/enumClasses.hpp>
7
8 namespace op
9 {
10 class OP_API PoseRenderer
11 {
12 public:
13 PoseRenderer(const PoseModel poseModel);
14
15 virtual ~PoseRenderer();
16
17 virtual void initializationOnThread(){};
18
19 virtual std::pair<int, std::string> renderPose(Array<float>& outputData, const Array<float>& poseKeypoints,
20 const float scaleInputToOutput,
21 const float scaleNetToOutput = -1.f) = 0;
22
23 protected:
24 const PoseModel mPoseModel;
25 const std::map<unsigned int, std::string> mPartIndexToName;
26
27 private:
28
29 DELETE_COPY(PoseRenderer);
30 };
31 }
32
33 #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