OpenPose  1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
op::Gui3D Class Reference

#include <gui3D.hpp>

Inheritance diagram for op::Gui3D:
op::Gui

Public Member Functions

 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, const bool copyGlToCvMat=false)
 
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 ()
 
virtual Matrix readCvMat ()
 
- Public Member Functions inherited from op::Gui
 Gui (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 DisplayMode displayMode=DisplayMode::Display2D)
 
virtual ~Gui ()
 
void setImage (const Matrix &cvMatOutput)
 
void setImage (const std::vector< Matrix > &cvMatOutputs)
 

Additional Inherited Members

- Protected Attributes inherited from op::Gui
std::shared_ptr< std::atomic< bool > > spIsRunning
 
DisplayMode mDisplayMode
 
DisplayMode mDisplayModeOriginal
 

Detailed Description

Definition at line 12 of file gui3D.hpp.

Constructor & Destructor Documentation

◆ Gui3D()

op::Gui3D::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,
const bool  copyGlToCvMat = false 
)

◆ ~Gui3D()

virtual op::Gui3D::~Gui3D ( )
virtual

Member Function Documentation

◆ initializationOnThread()

virtual void op::Gui3D::initializationOnThread ( )
virtual

Reimplemented from op::Gui.

◆ readCvMat()

virtual Matrix op::Gui3D::readCvMat ( )
virtual

◆ setKeypoints()

void op::Gui3D::setKeypoints ( const Array< float > &  poseKeypoints3D,
const Array< float > &  faceKeypoints3D,
const Array< float > &  leftHandKeypoints3D,
const Array< float > &  rightHandKeypoints3D 
)

◆ update()

virtual void op::Gui3D::update ( )
virtual

Reimplemented from op::Gui.


The documentation for this class was generated from the following file: