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
gui3D.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_GUI_GUI_3D_HPP
2 #define OPENPOSE_GUI_GUI_3D_HPP
3
4 #include <openpose/core/common.hpp>
5 #include <openpose/gui/enumClasses.hpp>
6 #include <openpose/gui/gui.hpp>
7 #include <openpose/pose/enumClasses.hpp>
8 #include <openpose/thread/workerConsumer.hpp>
9
10 namespace op
11 {
12 class OP_API Gui3D : public Gui
13 {
14 public:
15 Gui3D(const Point<int>& outputSize, const bool fullScreen,
16 const std::shared_ptr<std::atomic<bool>>& isRunningSharedPtr,
17 const std::shared_ptr<std::pair<std::atomic<bool>, std::atomic<int>>>& videoSeekSharedPtr = nullptr,
18 const std::vector<std::shared_ptr<PoseExtractorNet>>& poseExtractorNets = {},
19 const std::vector<std::shared_ptr<FaceExtractorNet>>& faceExtractorNets = {},
20 const std::vector<std::shared_ptr<HandExtractorNet>>& handExtractorNets = {},
21 const std::vector<std::shared_ptr<Renderer>>& renderers = {},
22 const PoseModel poseModel = PoseModel::BODY_25,
23 const DisplayMode displayMode = DisplayMode::DisplayAll,
24 const bool copyGlToCvMat = false);
25
26 virtual ~Gui3D();
27
28 virtual void initializationOnThread();
29
30 void setKeypoints(const Array<float>& poseKeypoints3D, const Array<float>& faceKeypoints3D,
31 const Array<float>& leftHandKeypoints3D, const Array<float>& rightHandKeypoints3D);
32
33 virtual void update();
34
35 virtual cv::Mat readCvMat();
36
37 private:
38 const bool mCopyGlToCvMat;
39 };
40 }
41
42 #endif // OPENPOSE_GUI_GUI_3D_HPP
enumClasses.hpp
enumClasses.hpp
op::PoseModel
PoseModel
Definition: enumClasses.hpp:9
op::DisplayMode::DisplayAll
op::Gui3D
Definition: gui3D.hpp:12
op::Point< int >
op::DisplayMode
DisplayMode
Definition: enumClasses.hpp:10
common.hpp
gui.hpp
op::Array< float >
workerConsumer.hpp
op::PoseModel::BODY_25
cl::vector
std::vector< T, Alloc > vector
Definition: cl2.hpp:567
OP_API
#define OP_API
Definition: macros.hpp:19
op::Gui
Definition: gui.hpp:15