#include <mrpt/gui/CDisplayWindow.h>

Public Member Functions | |
| CDisplayWindow (const std::string &windowCaption=std::string()) | |
| Constructor. | |
| virtual | ~CDisplayWindow () |
| Destructor. | |
| void | showImageAndPoints (const CImage &img, const vector_float &x, const vector_float &y, const TColor &color=TColor::red) |
| Show a given color or grayscale image on the window and print a set of points on it. | |
| void | showImageAndPoints (const CImageFloat &img, const vector_float &x, const vector_float &y, const TColor &color=TColor::red) |
| Show a given color or grayscale image on the window and print a set of points on it. | |
| void | showImageAndPoints (const CImage &img, const mrpt::vision::CFeatureList &list, const TColor &color=TColor::red) |
| Show a given color or grayscale image on the window and print a set of points on it. | |
| void | showImage (const CImage &img) |
| Show a given color or grayscale image on the window. | |
| void | showImage (const CImageFloat &img) |
| Show a given grayscale image on the window. | |
| void | plot (const vector_float &x, const vector_float &y) |
| Plots a graph in MATLAB-like style. | |
| void | plot (const vector_float &y) |
| Plots a graph in MATLAB-like style. | |
| void | resize (unsigned int width, unsigned int height) |
| Resizes the window, stretching the image to fit into the display area. | |
| void | setPos (int x, int y) |
| Changes the position of the window on the screen. | |
| void | enableCursorCoordinatesVisualization (bool enable) |
| Enables or disables the visualization of cursor coordinates on the window caption (default = enabled). | |
| void | setWindowTitle (const std::string &str) |
| Changes the window title text. | |
Protected Attributes | |
| bool | m_enableCursorCoordinates |
| Enables or disables the visualization of cursor coordinates on the window caption. | |
Definition at line 51 of file CDisplayWindow.h.
| mrpt::gui::CDisplayWindow::CDisplayWindow | ( | const std::string & | windowCaption = std::string() |
) |
Constructor.
| virtual mrpt::gui::CDisplayWindow::~CDisplayWindow | ( | ) | [virtual] |
Destructor.
| void mrpt::gui::CDisplayWindow::enableCursorCoordinatesVisualization | ( | bool | enable | ) | [inline] |
Enables or disables the visualization of cursor coordinates on the window caption (default = enabled).
Definition at line 114 of file CDisplayWindow.h.
| void mrpt::gui::CDisplayWindow::plot | ( | const vector_float & | y | ) |
Plots a graph in MATLAB-like style.
| void mrpt::gui::CDisplayWindow::plot | ( | const vector_float & | x, | |
| const vector_float & | y | |||
| ) |
Plots a graph in MATLAB-like style.
| void mrpt::gui::CDisplayWindow::resize | ( | unsigned int | width, | |
| unsigned int | height | |||
| ) | [virtual] |
Resizes the window, stretching the image to fit into the display area.
Implements mrpt::gui::CBaseGUIWindow.
| void mrpt::gui::CDisplayWindow::setPos | ( | int | x, | |
| int | y | |||
| ) | [virtual] |
| void mrpt::gui::CDisplayWindow::setWindowTitle | ( | const std::string & | str | ) | [virtual] |
| void mrpt::gui::CDisplayWindow::showImage | ( | const CImageFloat & | img | ) |
Show a given grayscale image on the window.
It adapts the size of the window to that of the image.
| void mrpt::gui::CDisplayWindow::showImage | ( | const CImage & | img | ) |
Show a given color or grayscale image on the window.
It adapts the size of the window to that of the image.
| void mrpt::gui::CDisplayWindow::showImageAndPoints | ( | const CImage & | img, | |
| const mrpt::vision::CFeatureList & | list, | |||
| const TColor & | color = TColor::red | |||
| ) |
Show a given color or grayscale image on the window and print a set of points on it.
It adapts the size of the window to that of the image.
| void mrpt::gui::CDisplayWindow::showImageAndPoints | ( | const CImageFloat & | img, | |
| const vector_float & | x, | |||
| const vector_float & | y, | |||
| const TColor & | color = TColor::red | |||
| ) |
Show a given color or grayscale image on the window and print a set of points on it.
It adapts the size of the window to that of the image.
| void mrpt::gui::CDisplayWindow::showImageAndPoints | ( | const CImage & | img, | |
| const vector_float & | x, | |||
| const vector_float & | y, | |||
| const TColor & | color = TColor::red | |||
| ) |
Show a given color or grayscale image on the window and print a set of points on it.
It adapts the size of the window to that of the image.
bool mrpt::gui::CDisplayWindow::m_enableCursorCoordinates [protected] |
Enables or disables the visualization of cursor coordinates on the window caption.
Definition at line 60 of file CDisplayWindow.h.
| Page generated by Doxygen 1.5.9 for MRPT 0.7.1 SVN: at Mon Aug 17 22:20:53 EDT 2009 |