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

#include <gui.hpp>

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

Public Member Functions

 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 ()
 
virtual void initializationOnThread ()
 
void setImage (const Matrix &cvMatOutput)
 
void setImage (const std::vector< Matrix > &cvMatOutputs)
 
virtual void update ()
 

Protected Attributes

std::shared_ptr< std::atomic< bool > > spIsRunning
 
DisplayMode mDisplayMode
 
DisplayMode mDisplayModeOriginal
 

Detailed Description

Definition at line 14 of file gui.hpp.

Constructor & Destructor Documentation

◆ Gui()

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 
)

◆ ~Gui()

virtual op::Gui::~Gui ( )
virtual

Member Function Documentation

◆ initializationOnThread()

virtual void op::Gui::initializationOnThread ( )
virtual

Reimplemented in op::Gui3D.

◆ setImage() [1/2]

void op::Gui::setImage ( const Matrix cvMatOutput)

◆ setImage() [2/2]

void op::Gui::setImage ( const std::vector< Matrix > &  cvMatOutputs)

◆ update()

virtual void op::Gui::update ( )
virtual

Reimplemented in op::Gui3D.

Member Data Documentation

◆ mDisplayMode

DisplayMode op::Gui::mDisplayMode
protected

Definition at line 38 of file gui.hpp.

◆ mDisplayModeOriginal

DisplayMode op::Gui::mDisplayModeOriginal
protected

Definition at line 39 of file gui.hpp.

◆ spIsRunning

std::shared_ptr<std::atomic<bool> > op::Gui::spIsRunning
protected

Definition at line 37 of file gui.hpp.


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