All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
gui3D.hpp
Go to the documentation of this file.
#ifndef OPENPOSE_GUI_GUI_3D_HPP
#define OPENPOSE_GUI_GUI_3D_HPP
#include <openpose/core/common.hpp>
#include <openpose/gui/enumClasses.hpp>
#include <openpose/gui/gui.hpp>
#include <openpose/pose/enumClasses.hpp>
#include <openpose/thread/workerConsumer.hpp>
namespace op
{
class OP_API Gui3D : public Gui
{
public:
Gui3D(const Point<int>& outputSize, const bool fullScreen,
const std::shared_ptr<std::atomic<bool>>& isRunningSharedPtr,
const std::shared_ptr<std::pair<std::atomic<bool>, std::atomic<int>>>& videoSeekSharedPtr = nullptr,
const std::vector<std::shared_ptr<PoseExtractorNet>>& poseExtractorNets = {},
const std::vector<std::shared_ptr<FaceExtractorNet>>& faceExtractorNets = {},
const std::vector<std::shared_ptr<HandExtractorNet>>& handExtractorNets = {},
const std::vector<std::shared_ptr<Renderer>>& renderers = {},
const PoseModel poseModel = PoseModel::BODY_25,
const DisplayMode displayMode = DisplayMode::DisplayAll);
virtual ~Gui3D();
virtual void initializationOnThread();
void setKeypoints(const Array<float>& poseKeypoints3D, const Array<float>& faceKeypoints3D,
const Array<float>& leftHandKeypoints3D, const Array<float>& rightHandKeypoints3D);
virtual void update();
};
}
#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