PARP Research Group University of Murcia, Spain


QVImageCanvas Class Reference
[Graphical User Interface]

Viewer widget for QVImage objects and other data types. More...

#include <qvgui/qvimagecanvas.h>

Inherits QVPropertyContainer.

List of all members.

Public Slots

void rectSelectedSlot (QRect rect)
void polySelectedSlot (QPoint point, bool reset, TPolyMode mode)
void circleSelectedSlot (QPoint center, float radius)

Public Member Functions

 QVImageCanvas (const QString name=QString(), QWidget *parent=0)
void unlink ()
 Completely unlinks a property holder.
void setLowHigh (float low, float high)
virtual void custom_viewer ()
bool setDisplayColor (const QString &name, const QColor &color)
bool setPrintTags (const QString &name, const bool &printTags)
bool setRadiusSize (const QString &name, const int &radius)

Protected Member Functions

bool linkUnspecifiedInputProperty (QVPropertyContainer *sourceContainer, QString sourcePropName, LinkType linkType=AsynchronousLink)
bool linkUnspecifiedOutputProperty (QVPropertyContainer *destContainer, QString destPropName, LinkType linkType=AsynchronousLink)
bool treatUnlinkInputProperty (QString destPropName, QVPropertyContainer *sourceCont, QString sourcePropName)
void draw (const QList< QPoint > &pointList, QColor color=Qt::red, bool printTags=false, int radius=3)
void draw (const QList< QPointF > &pointList, QColor color=Qt::red, bool printTags=false, int radius=3)
void draw (const QVPolyline &polyline, QColor color=Qt::red, bool printTags=false)
void draw (const QVPolylineF &polylinef, QColor color=Qt::red, bool printTags=false)
void draw (const QRect &rectangle, QColor color=Qt::red, bool printTags=false)


Detailed Description

Viewer widget for QVImage objects and other data types.

Displays images from an image source:

qvimagecanvas_penguin.png

For further information about its usage, see section The image canvas widget.

Definition at line 47 of file qvimagecanvas.h.


Member Function Documentation

void QVImageCanvas::unlink (  )  [virtual]

Completely unlinks a property holder.

Deletes all the input and output links associated to the holder. Of course, all the corresponding necessary unlinks in other property holders are also performed.

Reimplemented from QVPropertyContainer.

Definition at line 262 of file qvimagecanvas.cpp.

void QVImageCanvas::circleSelectedSlot ( QPoint  center,
float  radius 
) [slot]

Todo:
¿El ROI debe mandarse al worker mientras se está arrastrando, o solo cuando se suente el ratón? -> Hacer concilio

¿Cuantos puntos debe contener la polilínea de la circunferencia, uno por pixel o menos? -> Hacer concilio

Definition at line 370 of file qvimagecanvas.cpp.

void QVImageCanvas::draw ( const QVPolyline polyline,
QColor  color = Qt::red,
bool  printTags = false 
) [protected]

Todo:
La posicione de los píxeles esta desplazado respecto a los clic de raton, esto se ve a la hora de pintar polilineas o seleccionar ROIs al máximo zoom, queriendo ajustar la precisión al pixel.

Definition at line 216 of file qvimagecanvas.cpp.


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



QVision framework. PARP research group, copyright 2007, 2008.