OpenPose  1.0.0rc2
OpenPose: A Real-Time Multi-Person Key-Point Detection And Multi-Threading C++ Library
 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 
6 #include <openpose/gui/gui.hpp>
9 
10 namespace op
11 {
12  // This worker will do 3-D rendering
13  class OP_API Gui3D : public Gui
14  {
15  public:
16  Gui3D(const Point<int>& outputSize, const bool fullScreen,
17  const std::shared_ptr<std::atomic<bool>>& isRunningSharedPtr,
18  const std::shared_ptr<std::pair<std::atomic<bool>, std::atomic<int>>>& videoSeekSharedPtr = nullptr,
19  const std::vector<std::shared_ptr<PoseExtractor>>& poseExtractors = {},
20  const std::vector<std::shared_ptr<Renderer>>& renderers = {},
21  const PoseModel poseModel = PoseModel::COCO_18,
22  const DisplayMode displayMode = DisplayMode::DisplayAll);
23 
24  ~Gui3D();
25 
26  void initializationOnThread();
27 
28  void setKeypoints(const Array<float>& poseKeypoints3D, const Array<float>& faceKeypoints3D,
29  const Array<float>& leftHandKeypoints3D, const Array<float>& rightHandKeypoints3D);
30 
31  void update();
32 
33  private:
34  DisplayMode mDisplayMode;
35  };
36 }
37 
38 #endif // OPENPOSE_GUI_GUI_3D_HPP
PoseModel
Definition: enumClasses.hpp:9
Definition: gui3D.hpp:13
DisplayMode
Definition: enumClasses.hpp:10
std::vector< T, Alloc > vector
Definition: cl2.hpp:567
#define OP_API
Definition: macros.hpp:15
Definition: gui.hpp:13