ImageCanvas Class Reference

Collaboration diagram for ImageCanvas:
Collaboration graph
[legend]

List of all members.

Public Slots

void paintEvent (QPaintEvent *)
void setImage (Image< PixRGB< byte > > &img)
 Convert the image to QPixmap and display.
void setImage (Image< float > &img)
 Convert the image to QPixmap and display.
void saveImg ()
Image< PixRGB< byte > > getImage ()

Signals

void mousePressed (int x, int y, int button)

Public Member Functions

 ImageCanvas (QWidget *parent=0, const char *name=0)

Public Attributes

std::vector< Point2D< int > > itsPointsClicked

Protected Member Functions

void mousePressEvent (QMouseEvent *e)
 Respond to mouse events.

Detailed Description

Definition at line 26 of file ImageCanvas.h.


Member Function Documentation

void ImageCanvas::mousePressEvent ( QMouseEvent *  e  )  [protected]

Respond to mouse events.

Definition at line 98 of file ImageCanvas.cpp.

void ImageCanvas::setImage ( Image< float > &  img  )  [slot]

Convert the image to QPixmap and display.

Definition at line 67 of file ImageCanvas.cpp.

References inplaceNormalize(), and toRGB().

void ImageCanvas::setImage ( Image< PixRGB< byte > > &  img  )  [slot]

Convert the image to QPixmap and display.

convert the image to QPixmap and display

Definition at line 30 of file ImageCanvas.cpp.


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:43:22 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3