libVision  1.0
A vision library made by FRC team #4529
Public Member Functions | Public Attributes | List of all members
Viewer Class Reference

Viewer class. More...

#include <Viewer.h>

Inheritance diagram for Viewer:

Public Member Functions

 Viewer ()
 Viewer constructor. More...
 
 Viewer (std::string winName)
 Viewer constructor with window name. More...
 
 Viewer (const Mat &orig, std::string winName)
 Viewer constructor with reference cv::Mat and window name. More...
 
virtual ~Viewer ()
 Viewer destructor.
 
void update ()
 Refreshes the window. More...
 

Public Attributes

const std::string name
 Read-only window name.
 

Detailed Description

Viewer class.

Extends cv::Mat.

Warning
Window name must NOT be the same as another window name within this application.

Constructor & Destructor Documentation

Viewer::Viewer ( )

Viewer constructor.

Uses "out" as the window na,e

Viewer::Viewer ( std::string  winName)

Viewer constructor with window name.

Parameters
winNameTitlebar/name of window.
Viewer::Viewer ( const Mat &  orig,
std::string  winName 
)

Viewer constructor with reference cv::Mat and window name.

Parameters
origConst cv::Mat reference to use for the source.
winNameTitlebar/name of window.

Member Function Documentation

void Viewer::update ( )

Refreshes the window.

Data is taken from the inherited cv::Mat.


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