#include <frameDisplayer.hpp>
The FrameDisplayer class is the one presenting visually the processed frame to the user.
op::FrameDisplayer::FrameDisplayer |
( |
const std::string & |
windowedName = "OpenPose Display" , |
|
|
const Point< int > & |
initialWindowedSize = Point< int >{} , |
|
|
const bool |
fullScreen = false |
|
) |
| |
Constructor of the FrameDisplayer class.
- Parameters
-
windowedName | const std::string value with the opencv resulting display name. Showed at the top-left part of the window. |
initialWindowedSize | const Point<int> with the initial window output resolution (width and height). |
fullScreen | bool from which the FrameDisplayer::GuiDisplayMode property mGuiDisplayMode will be set, i.e. specifying the type of initial display (it can be changed later). |
void op::FrameDisplayer::displayFrame |
( |
const cv::Mat & |
frame, |
|
|
const int |
waitKeyValue = -1 |
|
) |
| |
This function displays an image on the display.
- Parameters
-
void op::FrameDisplayer::initializationOnThread |
( |
| ) |
|
void op::FrameDisplayer::setGuiDisplayMode |
( |
const GuiDisplayMode |
displayMode | ) |
|
This function set the new FrameDisplayer::GuiDisplayMode (e.g. full screen).
- Parameters
-
displayMode | New FrameDisplayer::GuiDisplayMode state. |
void op::FrameDisplayer::switchGuiDisplayMode |
( |
| ) |
|
This function switch between full screen and windowed modes (e.g. when double-click on video players or Ctrt+Enter are presed).
The documentation for this class was generated from the following file:
- /home/travis/build/CMU-Perceptual-Computing-Lab/openpose/include/openpose/gui/frameDisplayer.hpp