Analitza
#include <functiongraph.h>

Public Member Functions | |
virtual | ~FunctionGraph () |
void | clearIntervals () |
CoordinateSystem | coordinateSystem () const |
QString | display () const |
QStringList | errors () const |
const Analitza::Expression & | expression () const |
bool | hasIntervals () const |
QString | iconName () const |
QPair< Analitza::Expression, Analitza::Expression > | interval (const QString &argname, bool evaluate) const |
QPair< double, double > | interval (const QString &argname) const |
bool | isCorrect () const |
QStringList | parameters () const |
void | setDisplay (const QString &display) |
bool | setInterval (const QString &argname, const Analitza::Expression &min, const Analitza::Expression &max) |
bool | setInterval (const QString &argname, double min, double max) |
void | setResolution (int points) |
Dimension | spaceDimension () const |
QString | typeName () const |
Analitza::Variables * | variables () const |
![]() | |
PlotItem (const QString &name, const QColor &col) | |
virtual | ~PlotItem () |
void | addTags (const QSet< QString > &tag) |
void | clearTags () |
QColor | color () const |
bool | isVisible () const |
QString | name () const |
void | setColor (const QColor &newColor) |
void | setName (const QString &newName) |
void | setVisible (bool v) |
QSet< QString > | tags () const |
Protected Member Functions | |
FunctionGraph (AbstractFunctionGraph *g) | |
AbstractFunctionGraph * | backend () const |
![]() | |
void | emitDataChanged () |
void | setModel (PlotsModel *m) |
Detailed Description
Base class for any object that is a lambda expression.
This class is a common interface for functions objects.
Definition at line 41 of file functiongraph.h.
Constructor & Destructor Documentation
|
virtual |
|
protected |
Member Function Documentation
|
inlineprotected |
Definition at line 88 of file functiongraph.h.
void Analitza::FunctionGraph::clearIntervals | ( | ) |
|
virtual |
Implements Analitza::PlotItem.
|
virtual |
The display property will store the expression like it's been entered by the user.
This is useful because sometimes the expression is modified when entered so that we can plot it properly, this remembers what the user entered.
Implements Analitza::PlotItem.
QStringList Analitza::FunctionGraph::errors | ( | ) | const |
|
virtual |
Implements Analitza::PlotItem.
bool Analitza::FunctionGraph::hasIntervals | ( | ) | const |
|
virtual |
Implements Analitza::PlotItem.
QPair<Analitza::Expression, Analitza::Expression> Analitza::FunctionGraph::interval | ( | const QString & | argname, |
bool | evaluate | ||
) | const |
QPair<double, double> Analitza::FunctionGraph::interval | ( | const QString & | argname | ) | const |
bool Analitza::FunctionGraph::isCorrect | ( | ) | const |
QStringList Analitza::FunctionGraph::parameters | ( | ) | const |
- Returns
- the parameters that a function expects
void Analitza::FunctionGraph::setDisplay | ( | const QString & | display | ) |
bool Analitza::FunctionGraph::setInterval | ( | const QString & | argname, |
const Analitza::Expression & | min, | ||
const Analitza::Expression & | max | ||
) |
bool Analitza::FunctionGraph::setInterval | ( | const QString & | argname, |
double | min, | ||
double | max | ||
) |
void Analitza::FunctionGraph::setResolution | ( | int | points | ) |
This method gives a hint to the backend of how many points
we want the plots to have.
This is useful for telling the plot implementations an idea of where is this going to be plotted, so we can use lighter computations if we're previewing or if we're in a small device.
|
virtual |
Implements Analitza::PlotItem.
|
virtual |
Implements Analitza::PlotItem.
|
virtual |
Implements Analitza::PlotItem.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.