PARP Research Group Universidad de Murcia


QVFunctionPlot Class Reference
[GUI blocks based on the QWT library]

Widget for plotting QList<double> property values from a block, as an histogram, over the time. More...

#include <QVFunctionPlot>

Inherits QVPlot.

List of all members.

Public Member Functions

 QVFunctionPlot (const QString name=QString(), bool time=true, int step=10, QWidget *parent=0)
 Constructs a QVFunctionPlot with a given string identifier, and a iteration's parameters. Construct a new plot that shows QList<double> properties graphs as an histogram graph. This plot shows decorations, it hasn't got a pie graph, don't brush the data and autoshow. It can show graphs of QList<double> linked properties of different blocks.

Protected Member Functions

bool linkUnspecifiedInputProperty (QVPropertyContainer *sourceContainer, QString sourcePropName, LinkType linkType=AsynchronousLink)
 Links properties from blocks. This method safely links properties from blocks in a thread safe manner. If the iterations are based on block's iterations (time == false), the block must be synchronised with previous linked blocks. Only can be linked QList<double> properties.

Detailed Description

Widget for plotting QList<double> property values from a block, as an histogram, over the time.

This class creates a widget which plots some arrays of values as functions:

qvision_functionplot_window.png

For further information about its usage and functionality see section QVFunctionPlotWidget

See also:
QVNumericPlot
QVCPUPlot

Definition at line 48 of file qvfunctionplot.h.


Constructor & Destructor Documentation

QVFunctionPlot::QVFunctionPlot ( const QString  name = QString (),
bool  time = true,
int  step = 10,
QWidget *  parent = 0 
)

Constructs a QVFunctionPlot with a given string identifier, and a iteration's parameters. Construct a new plot that shows QList<double> properties graphs as an histogram graph. This plot shows decorations, it hasn't got a pie graph, don't brush the data and autoshow. It can show graphs of QList<double> linked properties of different blocks.

Parameters:
name Identifier for the object to be created.
time True if the iterations are based on clock time (in second hundredths), and false if they are based on block's iterations.
step Set the base measure to plot's iterations ratio.
maxim The left axis maximum value shown, if it is 0, the maximum value is auto scale.
minim The left axis minimum value shown, it must be less than maximum value.
parent Identifier for the parent widget.
Todo:
los parámetros de configuración de los widgets numericplot e histogramplot puedan ser propiedades dinámicas.

Definition at line 35 of file qvfunctionplot.cpp.


Member Function Documentation

bool QVFunctionPlot::linkUnspecifiedInputProperty ( QVPropertyContainer sourceContainer,
QString  sourcePropName,
LinkType  linkType = AsynchronousLink 
) [protected]

Links properties from blocks. This method safely links properties from blocks in a thread safe manner. If the iterations are based on block's iterations (time == false), the block must be synchronised with previous linked blocks. Only can be linked QList<double> properties.

See also QVPropertyContainer::LinkType.

Parameters:
sourceContainer The container that whants to be linked.
sourcePropName The name of the source property to be linked.
linkType The link's type.

Definition at line 44 of file qvfunctionplot.cpp.


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



QVision framework. PARP research group. Copyright © 2007, 2008, 2009, 2010, 2011.