![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
QCustomPlot: small arrows at the bottom. More...
#include <ecvQCustomPlot.h>
Public Member Functions | |
| QCPArrow (QCPAxis *keyAxis, QCPAxis *valueAxis) | |
| void | setColor (int r, int g, int b) |
| Sets triangle 'inside' color. More... | |
Public Member Functions inherited from QCPSelectableCursor | |
| QCPSelectableCursor (QCPAxis *keyAxis, QCPAxis *valueAxis) | |
| Default constructor. More... | |
| virtual bool | isSelectable (QPoint click) const |
| double | currentVal () const |
| double | minVal () const |
| double | maxVal () const |
| void | range (double &minVal, double &maxVal) const |
| void | setCurrentVal (double val) |
| void | setRange (double minVal, double maxVal) |
| double | pixelToKey (int pixX) const |
| Converts a pixel value (X) to the equivalent key. More... | |
| double | pixelToValue (int pixY) const |
| Converts a pixel value (Y) to the equivalent value. More... | |
| virtual void | clearData () |
| double | selectTest (const QPointF &pos, bool onlySelectable, QVariant *details=0) const override |
Public Member Functions inherited from QCPAbstractPlottable | |
| QCPAbstractPlottable (QCPAxis *keyAxis, QCPAxis *valueAxis) | |
| QString | name () const |
| bool | antialiasedFill () const |
| bool | antialiasedScatters () const |
| bool | antialiasedErrorBars () const |
| QPen | pen () const |
| QPen | selectedPen () const |
| QBrush | brush () const |
| QBrush | selectedBrush () const |
| QCPAxis * | keyAxis () const |
| QCPAxis * | valueAxis () const |
| bool | selectable () const |
| bool | selected () const |
| void | setName (const QString &name) |
| void | setAntialiasedFill (bool enabled) |
| void | setAntialiasedScatters (bool enabled) |
| void | setAntialiasedErrorBars (bool enabled) |
| void | setPen (const QPen &pen) |
| void | setSelectedPen (const QPen &pen) |
| void | setBrush (const QBrush &brush) |
| void | setSelectedBrush (const QBrush &brush) |
| void | setKeyAxis (QCPAxis *axis) |
| void | setValueAxis (QCPAxis *axis) |
| Q_SLOT void | setSelectable (bool selectable) |
| Q_SLOT void | setSelected (bool selected) |
| virtual bool | addToLegend () |
| virtual bool | removeFromLegend () const |
| void | rescaleAxes (bool onlyEnlarge=false) const |
| void | rescaleKeyAxis (bool onlyEnlarge=false) const |
| void | rescaleValueAxis (bool onlyEnlarge=false) const |
Public Member Functions inherited from QCPLayerable | |
| QCPLayerable (QCustomPlot *plot, QString targetLayer=QString(), QCPLayerable *parentLayerable=0) | |
| ~QCPLayerable () | |
| bool | visible () const |
| QCustomPlot * | parentPlot () const |
| QCPLayerable * | parentLayerable () const |
| QCPLayer * | layer () const |
| bool | antialiased () const |
| void | setVisible (bool on) |
| Q_SLOT bool | setLayer (QCPLayer *layer) |
| bool | setLayer (const QString &layerName) |
| void | setAntialiased (bool enabled) |
| bool | realVisibility () const |
Protected Member Functions | |
| virtual void | draw (QCPPainter *painter) |
Protected Member Functions inherited from QCPSelectableCursor | |
| void | drawLegendIcon (QCPPainter *painter, const QRectF &rect) const override |
| QCPRange | getKeyRange (bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth) const override |
| QCPRange | getValueRange (bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth, const QCPRange &inKeyRange=QCPRange()) const override |
Protected Member Functions inherited from QCPAbstractPlottable | |
| virtual QRect | clipRect () const |
| virtual QCP::Interaction | selectionCategory () const |
| void | applyDefaultAntialiasingHint (QCPPainter *painter) const |
| virtual void | selectEvent (QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged) |
| virtual void | deselectEvent (bool *selectionStateChanged) |
| virtual QCPRange | getKeyRange (bool &foundRange, SignDomain inSignDomain=sdBoth) const =0 |
| virtual QCPRange | getValueRange (bool &foundRange, SignDomain inSignDomain=sdBoth) const =0 |
| void | coordsToPixels (double key, double value, double &x, double &y) const |
| const QPointF | coordsToPixels (double key, double value) const |
| void | pixelsToCoords (double x, double y, double &key, double &value) const |
| void | pixelsToCoords (const QPointF &pixelPos, double &key, double &value) const |
| QPen | mainPen () const |
| QBrush | mainBrush () const |
| void | applyFillAntialiasingHint (QCPPainter *painter) const |
| void | applyScattersAntialiasingHint (QCPPainter *painter) const |
| void | applyErrorBarsAntialiasingHint (QCPPainter *painter) const |
| double | distSqrToLine (const QPointF &start, const QPointF &end, const QPointF &point) const |
Protected Member Functions inherited from QCPLayerable | |
| virtual void | parentPlotInitialized (QCustomPlot *parentPlot) |
| void | initializeParentPlot (QCustomPlot *parentPlot) |
| void | setParentLayerable (QCPLayerable *parentLayerable) |
| bool | moveToLayer (QCPLayer *layer, bool prepend) |
| void | applyAntialiasingHint (QCPPainter *painter, bool localAntialiased, QCP::AntialiasedElement overrideElement) const |
Additional Inherited Members | |
Signals inherited from QCPAbstractPlottable | |
| void | selectionChanged (bool selected) |
| void | selectableChanged (bool selectable) |
Signals inherited from QCPLayerable | |
| void | layerChanged (QCPLayer *newLayer) |
Protected Types inherited from QCPAbstractPlottable | |
| enum | SignDomain { sdNegative, sdBoth, sdPositive } |
Protected Attributes inherited from QCPSelectableCursor | |
| double | mCurrentVal |
| double | mMinVal |
| double | mMaxVal |
| QPoint | mLastPos |
| int | mLastRadius |
Protected Attributes inherited from QCPAbstractPlottable | |
| QString | mName |
| bool | mAntialiasedFill |
| bool | mAntialiasedScatters |
| bool | mAntialiasedErrorBars |
| QPen | mPen |
| QPen | mSelectedPen |
| QBrush | mBrush |
| QBrush | mSelectedBrush |
| QPointer< QCPAxis > | mKeyAxis |
| QPointer< QCPAxis > | mValueAxis |
| bool | mSelectable |
| bool | mSelected |
Protected Attributes inherited from QCPLayerable | |
| bool | mVisible |
| QCustomPlot * | mParentPlot |
| QPointer< QCPLayerable > | mParentLayerable |
| QCPLayer * | mLayer |
| bool | mAntialiased |
QCustomPlot: small arrows at the bottom.
|
inlineprotectedvirtual |
Implements QCPAbstractPlottable.
References QCPAbstractPlottable::brush(), QCPAbstractPlottable::clipRect(), color, QCPAxis::coordToPixel(), QCPPainter::drawLine(), QCPAbstractPlottable::keyAxis(), QCPSelectableCursor::mCurrentVal, QCPSelectableCursor::mLastPos, QCPSelectableCursor::mLastRadius, QCPAbstractPlottable::pen(), and QCPPainter::setPen().
|
inline |
Sets triangle 'inside' color.
References QCPAbstractPlottable::mBrush, and QCPAbstractPlottable::setBrush().
Referenced by ccHistogramWindow::refresh().