Class cv::viz::KeyboardEvent#
This class represents a keyboard event.
#include <opencv2/viz/types.hpp>Collaboration diagram for cv::viz::KeyboardEvent:
Public Types#
enum cv::viz::KeyboardEvent {
cv::viz::NONE = 0,
cv::viz::ALT = 1,
cv::viz::CTRL = 2,
cv::viz::SHIFT = 4
}Detailed Description#
This class represents a keyboard event.
Member Enumeration Documentation#
enum KeyboardEvent
|
|
|
|
enum Action
|
|
Constructor & Destructor Documentation#
KeyboardEvent()#
cv::viz::KeyboardEvent::KeyboardEvent(
Action action,
const String & symbol,
unsigned char code,
int modifiers )
Constructs a KeyboardEvent.
Parameters
action— Signals if key is pressed or released.symbol— Name of the key.code— Code of the key.modifiers— Signals if alt, ctrl or shift are pressed or their combination.
Member Data Documentation#
action#
Action cv::viz::KeyboardEvent::action
code#
unsigned char cv::viz::KeyboardEvent::code
modifiers#
int cv::viz::KeyboardEvent::modifiers
symbol#
String cv::viz::KeyboardEvent::symbol
Source file#
The documentation for this class was generated from the following file:
opencv2/viz/types.hpp