#include <Plot2d_AnalyticalCurve.h>
◆ anonymous enum
Enumerator |
---|
ActAddInView | |
ActRemoveFromView | Add curve in view.
|
ActUpdateInView | Remove curve from view.
|
ActNothing | Update curve in view.
Do nothing
|
◆ anonymous enum
Enumerator |
---|
StateOk | |
StateNeedUpdate | |
◆ Plot2d_AnalyticalCurve() [1/2]
Plot2d_AnalyticalCurve::Plot2d_AnalyticalCurve |
( |
| ) |
|
◆ Plot2d_AnalyticalCurve() [2/2]
Copy constructor. Makes deep copy of data
References getAction(), getColor(), getExpression(), getLine(), getLineWidth(), getMarker(), getMarkerSize(), getName(), getNbIntervals(), getRangeBegin(), getRangeEnd(), isActive(), isAutoAssign(), myAction, myActive, myAutoAssign, myColor, myCurve, myExpression, myLine, myLineWidth, myMarker, myMarkerSize, myName, myNbIntervals, myPoints, myRangeBegin, myRangeEnd, myState, and state().
◆ ~Plot2d_AnalyticalCurve()
Plot2d_AnalyticalCurve::~Plot2d_AnalyticalCurve |
( |
| ) |
|
|
virtual |
◆ autoFill()
void Plot2d_AnalyticalCurve::autoFill |
( |
const QwtPlot * |
thePlot | ) |
|
|
virtual |
◆ calculate()
void Plot2d_AnalyticalCurve::calculate |
( |
| ) |
|
|
virtual |
Calculate the curve points.
References ActUpdateInView, Plot2d_AnalyticalParser::calculate(), getExpression(), getNbIntervals(), getRangeBegin(), getRangeEnd(), myPoints, myRangeBegin, myRangeEnd, myState, Plot2d_AnalyticalParser::parser(), setAction(), state(), and StateOk.
◆ checkCurve()
bool Plot2d_AnalyticalCurve::checkCurve |
( |
const QwtPlot * |
thePlot | ) |
|
|
virtual |
◆ getAction()
int Plot2d_AnalyticalCurve::getAction |
( |
| ) |
const |
Gets the curve action.
References myAction.
◆ getColor()
QColor Plot2d_AnalyticalCurve::getColor |
( |
| ) |
const |
Gets curve's color
References myColor.
◆ getData()
long Plot2d_AnalyticalCurve::getData |
( |
double ** |
theX, |
|
|
double ** |
theY |
|
) |
| const |
◆ getExpression()
QString Plot2d_AnalyticalCurve::getExpression |
( |
| ) |
const |
◆ getLine()
Gets line type
References myLine.
◆ getLineWidth()
int Plot2d_AnalyticalCurve::getLineWidth |
( |
| ) |
const |
◆ getMarker()
◆ getMarkerSize()
int Plot2d_AnalyticalCurve::getMarkerSize |
( |
| ) |
const |
◆ getName()
QString Plot2d_AnalyticalCurve::getName |
( |
| ) |
const |
Gets the curve name.
References myName.
◆ getNbIntervals()
long Plot2d_AnalyticalCurve::getNbIntervals |
( |
| ) |
const |
◆ getRangeBegin()
double Plot2d_AnalyticalCurve::getRangeBegin |
( |
| ) |
const |
Gets X coordinate of the first curve points
References myRangeBegin.
◆ getRangeEnd()
double Plot2d_AnalyticalCurve::getRangeEnd |
( |
| ) |
const |
Gets X coordinate of the last curve points
References myRangeEnd.
◆ isActive()
bool Plot2d_AnalyticalCurve::isActive |
( |
| ) |
const |
Gets the curve active status.
References myActive.
◆ isAutoAssign()
bool Plot2d_AnalyticalCurve::isAutoAssign |
( |
| ) |
const |
◆ isSelected()
bool Plot2d_AnalyticalCurve::isSelected |
( |
| ) |
const |
◆ operator=()
operator=. Makes deep copy of data
References getAction(), getColor(), getExpression(), getLine(), getLineWidth(), getMarker(), getMarkerSize(), getName(), getNbIntervals(), getRangeBegin(), getRangeEnd(), isActive(), isAutoAssign(), myAction, myActive, myAutoAssign, myColor, myCurve, myExpression, myLine, myLineWidth, myMarker, myMarkerSize, myName, myNbIntervals, myPoints, myRangeBegin, myRangeEnd, myState, and state().
◆ plotItem()
◆ setAction()
void Plot2d_AnalyticalCurve::setAction |
( |
const int |
act | ) |
|
◆ setActive()
void Plot2d_AnalyticalCurve::setActive |
( |
const bool |
on | ) |
|
◆ setAutoAssign()
void Plot2d_AnalyticalCurve::setAutoAssign |
( |
bool |
on | ) |
|
◆ setColor()
void Plot2d_AnalyticalCurve::setColor |
( |
const QColor & |
color | ) |
|
◆ setExpression()
void Plot2d_AnalyticalCurve::setExpression |
( |
const QString & |
expr | ) |
|
◆ setLine()
◆ setLineWidth()
void Plot2d_AnalyticalCurve::setLineWidth |
( |
const int |
lineWidth | ) |
|
◆ setMarker()
◆ setMarkerSize()
void Plot2d_AnalyticalCurve::setMarkerSize |
( |
const int |
theSize | ) |
|
◆ setName()
void Plot2d_AnalyticalCurve::setName |
( |
const QString & |
name | ) |
|
◆ setNbIntervals()
void Plot2d_AnalyticalCurve::setNbIntervals |
( |
const long |
nb | ) |
|
◆ setRangeBegin()
void Plot2d_AnalyticalCurve::setRangeBegin |
( |
const double |
coord | ) |
|
◆ setRangeEnd()
void Plot2d_AnalyticalCurve::setRangeEnd |
( |
const double |
coord | ) |
|
◆ setSelected()
void Plot2d_AnalyticalCurve::setSelected |
( |
const bool |
on | ) |
|
◆ state()
int Plot2d_AnalyticalCurve::state |
( |
| ) |
const |
Gets the curve state.
References myState.
◆ updatePlotItem()
void Plot2d_AnalyticalCurve::updatePlotItem |
( |
| ) |
|
|
virtual |
Updates curve fields
References getColor(), getData(), getLine(), getLineWidth(), getMarker(), getMarkerSize(), getName(), isSelected(), myCurve, Plot2d::plot2qwtLine(), Plot2d::plot2qwtMarker(), Plot2d_Object::selectionColor(), Plot2d_SelectableItem::setLegendPen(), Plot2d_SelectableItem::setLegendSymbol(), and Plot2d_SelectableItem::setSelected().
◆ myAction
int Plot2d_AnalyticalCurve::myAction |
|
protected |
◆ myActive
bool Plot2d_AnalyticalCurve::myActive |
|
protected |
◆ myAutoAssign
bool Plot2d_AnalyticalCurve::myAutoAssign |
|
protected |
◆ myColor
QColor Plot2d_AnalyticalCurve::myColor |
|
protected |
◆ myCurve
◆ myExpression
QString Plot2d_AnalyticalCurve::myExpression |
|
protected |
◆ myIsSelected
bool Plot2d_AnalyticalCurve::myIsSelected |
|
protected |
◆ myLine
◆ myLineWidth
int Plot2d_AnalyticalCurve::myLineWidth |
|
protected |
◆ myMarker
◆ myMarkerSize
int Plot2d_AnalyticalCurve::myMarkerSize |
|
protected |
◆ myName
QString Plot2d_AnalyticalCurve::myName |
|
protected |
◆ myNbCurves
int Plot2d_AnalyticalCurve::myNbCurves = 0 |
|
staticprivate |
◆ myNbIntervals
long Plot2d_AnalyticalCurve::myNbIntervals |
|
protected |
◆ myPoints
◆ myRangeBegin
double Plot2d_AnalyticalCurve::myRangeBegin |
|
protected |
◆ myRangeEnd
double Plot2d_AnalyticalCurve::myRangeEnd |
|
protected |
◆ myState
int Plot2d_AnalyticalCurve::myState |
|
protected |
The documentation for this class was generated from the following files: