#include </home/florent/devel/release/src/gepetto-viewer/plugins/pyqcustomplot/qcustomplot-1.3.2/qcustomplot.h>
Public Member Functions | |
QCPLineEnding () | |
QCPLineEnding (EndingStyle style, double width=8, double length=10, bool inverted=false) | |
EndingStyle | style () const |
double | width () const |
double | length () const |
bool | inverted () const |
void | setStyle (EndingStyle style) |
void | setWidth (double width) |
void | setLength (double length) |
void | setInverted (bool inverted) |
double | boundingDistance () const |
double | realLength () const |
void | draw (QCPPainter *painter, const QVector2D &pos, const QVector2D &dir) const |
void | draw (QCPPainter *painter, const QVector2D &pos, double angle) const |
QCPLineEnding () | |
QCPLineEnding (EndingStyle style, double width=8, double length=10, bool inverted=false) | |
EndingStyle | style () const |
double | width () const |
double | length () const |
bool | inverted () const |
void | setStyle (EndingStyle style) |
void | setWidth (double width) |
void | setLength (double length) |
void | setInverted (bool inverted) |
double | boundingDistance () const |
double | realLength () const |
void | draw (QCPPainter *painter, const QCPVector2D &pos, const QCPVector2D &dir) const |
void | draw (QCPPainter *painter, const QCPVector2D &pos, double angle) const |
QCPLineEnding () | |
QCPLineEnding (EndingStyle style, double width=8, double length=10, bool inverted=false) | |
EndingStyle | style () const |
double | width () const |
double | length () const |
bool | inverted () const |
void | setStyle (EndingStyle style) |
void | setWidth (double width) |
void | setLength (double length) |
void | setInverted (bool inverted) |
double | boundingDistance () const |
double | realLength () const |
void | draw (QCPPainter *painter, const QVector2D &pos, const QVector2D &dir) const |
void | draw (QCPPainter *painter, const QVector2D &pos, double angle) const |
Protected Attributes | |
EndingStyle | mStyle |
double | mWidth |
double | mLength |
bool | mInverted |
Defines the type of ending decoration for line-like items, e.g. an arrow.
The width and length of these decorations can be controlled with the functions setWidth and setLength. Some decorations like esDisc, esSquare, esDiamond and esBar only support a width, the length property is ignored.
Enumerator | |
---|---|
esNone | No ending decoration. |
esFlatArrow | A filled arrow head with a straight/flat back (a triangle) |
esSpikeArrow | A filled arrow head with an indented back. |
esLineArrow | A non-filled arrow head with open back. |
esDisc | A filled circle. |
esSquare | A filled square. |
esDiamond | A filled diamond (45° rotated square) A filled diamond (45 degrees rotated square) |
esBar | A bar perpendicular to the line. |
esHalfBar | A bar perpendicular to the line, pointing out to only one side (to which side can be changed with setInverted) |
esSkewedBar | A bar that is skewed (skew controllable via setLength) |
esNone | No ending decoration. |
esFlatArrow | A filled arrow head with a straight/flat back (a triangle) |
esSpikeArrow | A filled arrow head with an indented back. |
esLineArrow | A non-filled arrow head with open back. |
esDisc | A filled circle. |
esSquare | A filled square. |
esDiamond | A filled diamond (45° rotated square) A filled diamond (45 degrees rotated square) |
esBar | A bar perpendicular to the line. |
esHalfBar | A bar perpendicular to the line, pointing out to only one side (to which side can be changed with setInverted) |
esSkewedBar | A bar that is skewed (skew controllable via setLength) |
esNone | No ending decoration. |
esFlatArrow | A filled arrow head with a straight/flat back (a triangle) |
esSpikeArrow | A filled arrow head with an indented back. |
esLineArrow | A non-filled arrow head with open back. |
esDisc | A filled circle. |
esSquare | A filled square. |
esDiamond | A filled diamond (45° rotated square) A filled diamond (45 degrees rotated square) |
esBar | A bar perpendicular to the line. |
esHalfBar | A bar perpendicular to the line, pointing out to only one side (to which side can be changed with setInverted) |
esSkewedBar | A bar that is skewed (skew controllable via setLength) |
Defines the type of ending decoration for line-like items, e.g. an arrow.
The width and length of these decorations can be controlled with the functions setWidth and setLength. Some decorations like esDisc, esSquare, esDiamond and esBar only support a width, the length property is ignored.
Enumerator | |
---|---|
esNone | No ending decoration. |
esFlatArrow | A filled arrow head with a straight/flat back (a triangle) |
esSpikeArrow | A filled arrow head with an indented back. |
esLineArrow | A non-filled arrow head with open back. |
esDisc | A filled circle. |
esSquare | A filled square. |
esDiamond | A filled diamond (45° rotated square) A filled diamond (45 degrees rotated square) |
esBar | A bar perpendicular to the line. |
esHalfBar | A bar perpendicular to the line, pointing out to only one side (to which side can be changed with setInverted) |
esSkewedBar | A bar that is skewed (skew controllable via setLength) |
esNone | No ending decoration. |
esFlatArrow | A filled arrow head with a straight/flat back (a triangle) |
esSpikeArrow | A filled arrow head with an indented back. |
esLineArrow | A non-filled arrow head with open back. |
esDisc | A filled circle. |
esSquare | A filled square. |
esDiamond | A filled diamond (45° rotated square) A filled diamond (45 degrees rotated square) |
esBar | A bar perpendicular to the line. |
esHalfBar | A bar perpendicular to the line, pointing out to only one side (to which side can be changed with setInverted) |
esSkewedBar | A bar that is skewed (skew controllable via setLength) |
esNone | No ending decoration. |
esFlatArrow | A filled arrow head with a straight/flat back (a triangle) |
esSpikeArrow | A filled arrow head with an indented back. |
esLineArrow | A non-filled arrow head with open back. |
esDisc | A filled circle. |
esSquare | A filled square. |
esDiamond | A filled diamond (45° rotated square) A filled diamond (45 degrees rotated square) |
esBar | A bar perpendicular to the line. |
esHalfBar | A bar perpendicular to the line, pointing out to only one side (to which side can be changed with setInverted) |
esSkewedBar | A bar that is skewed (skew controllable via setLength) |
Defines the type of ending decoration for line-like items, e.g. an arrow.
The width and length of these decorations can be controlled with the functions setWidth and setLength. Some decorations like esDisc, esSquare, esDiamond and esBar only support a width, the length property is ignored.
Enumerator | |
---|---|
esNone | No ending decoration. |
esFlatArrow | A filled arrow head with a straight/flat back (a triangle) |
esSpikeArrow | A filled arrow head with an indented back. |
esLineArrow | A non-filled arrow head with open back. |
esDisc | A filled circle. |
esSquare | A filled square. |
esDiamond | A filled diamond (45° rotated square) A filled diamond (45 degrees rotated square) |
esBar | A bar perpendicular to the line. |
esHalfBar | A bar perpendicular to the line, pointing out to only one side (to which side can be changed with setInverted) |
esSkewedBar | A bar that is skewed (skew controllable via setLength) |
esNone | No ending decoration. |
esFlatArrow | A filled arrow head with a straight/flat back (a triangle) |
esSpikeArrow | A filled arrow head with an indented back. |
esLineArrow | A non-filled arrow head with open back. |
esDisc | A filled circle. |
esSquare | A filled square. |
esDiamond | A filled diamond (45° rotated square) A filled diamond (45 degrees rotated square) |
esBar | A bar perpendicular to the line. |
esHalfBar | A bar perpendicular to the line, pointing out to only one side (to which side can be changed with setInverted) |
esSkewedBar | A bar that is skewed (skew controllable via setLength) |
esNone | No ending decoration. |
esFlatArrow | A filled arrow head with a straight/flat back (a triangle) |
esSpikeArrow | A filled arrow head with an indented back. |
esLineArrow | A non-filled arrow head with open back. |
esDisc | A filled circle. |
esSquare | A filled square. |
esDiamond | A filled diamond (45° rotated square) A filled diamond (45 degrees rotated square) |
esBar | A bar perpendicular to the line. |
esHalfBar | A bar perpendicular to the line, pointing out to only one side (to which side can be changed with setInverted) |
esSkewedBar | A bar that is skewed (skew controllable via setLength) |
QCPLineEnding::QCPLineEnding | ( | ) |
QCPLineEnding::QCPLineEnding | ( | EndingStyle | style, |
double | width = 8 , |
||
double | length = 10 , |
||
bool | inverted = false |
||
) |
QCPLineEnding::QCPLineEnding | ( | ) |
QCPLineEnding::QCPLineEnding | ( | EndingStyle | style, |
double | width = 8 , |
||
double | length = 10 , |
||
bool | inverted = false |
||
) |
QCPLineEnding::QCPLineEnding | ( | ) |
QCPLineEnding::QCPLineEnding | ( | EndingStyle | style, |
double | width = 8 , |
||
double | length = 10 , |
||
bool | inverted = false |
||
) |
double QCPLineEnding::boundingDistance | ( | ) | const |
double QCPLineEnding::boundingDistance | ( | ) | const |
double QCPLineEnding::boundingDistance | ( | ) | const |
void QCPLineEnding::draw | ( | QCPPainter * | painter, |
const QVector2D & | pos, | ||
const QVector2D & | dir | ||
) | const |
void QCPLineEnding::draw | ( | QCPPainter * | painter, |
const QVector2D & | pos, | ||
const QVector2D & | dir | ||
) | const |
void QCPLineEnding::draw | ( | QCPPainter * | painter, |
const QVector2D & | pos, | ||
double | angle | ||
) | const |
void QCPLineEnding::draw | ( | QCPPainter * | painter, |
const QVector2D & | pos, | ||
double | angle | ||
) | const |
void QCPLineEnding::draw | ( | QCPPainter * | painter, |
const QCPVector2D & | pos, | ||
const QCPVector2D & | dir | ||
) | const |
void QCPLineEnding::draw | ( | QCPPainter * | painter, |
const QCPVector2D & | pos, | ||
double | angle | ||
) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
double QCPLineEnding::realLength | ( | ) | const |
double QCPLineEnding::realLength | ( | ) | const |
double QCPLineEnding::realLength | ( | ) | const |
void QCPLineEnding::setInverted | ( | bool | inverted | ) |
void QCPLineEnding::setInverted | ( | bool | inverted | ) |
void QCPLineEnding::setInverted | ( | bool | inverted | ) |
void QCPLineEnding::setLength | ( | double | length | ) |
void QCPLineEnding::setLength | ( | double | length | ) |
void QCPLineEnding::setLength | ( | double | length | ) |
void QCPLineEnding::setStyle | ( | EndingStyle | style | ) |
void QCPLineEnding::setStyle | ( | EndingStyle | style | ) |
void QCPLineEnding::setStyle | ( | EndingStyle | style | ) |
void QCPLineEnding::setWidth | ( | double | width | ) |
void QCPLineEnding::setWidth | ( | double | width | ) |
void QCPLineEnding::setWidth | ( | double | width | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |