Public Slots | Public Member Functions | Protected Member Functions | Private Attributes | Friends
UPlotCurveThreshold Class Reference

#include <UPlot.h>

Inheritance diagram for UPlotCurveThreshold:
Inheritance graph
[legend]

List of all members.

Public Slots

void setOrientation (Qt::Orientation orientation)
void setThreshold (float threshold)

Public Member Functions

 UPlotCurveThreshold (const QString &name, float thesholdValue, Qt::Orientation orientation=Qt::Horizontal, QObject *parent=0)
virtual ~UPlotCurveThreshold ()

Protected Member Functions

virtual bool isMinMaxValid () const
virtual void update (float scaleX, float scaleY, float offsetX, float offsetY, float xDir, float yDir, int maxItemsKept)

Private Attributes

Qt::Orientation _orientation

Friends

class UPlot

Detailed Description

A special UPlotCurve that shows as a line at the specified value, spanning all the UPlot.

Definition at line 261 of file UPlot.h.


Constructor & Destructor Documentation

UPlotCurveThreshold::UPlotCurveThreshold ( const QString &  name,
float  thesholdValue,
Qt::Orientation  orientation = Qt::Horizontal,
QObject *  parent = 0 
)

Constructor.

Definition at line 1035 of file UPlot.cpp.

Definition at line 1051 of file UPlot.cpp.


Member Function Documentation

virtual bool UPlotCurveThreshold::isMinMaxValid ( ) const [inline, protected, virtual]

Reimplemented from UPlotCurve.

Definition at line 285 of file UPlot.h.

void UPlotCurveThreshold::setOrientation ( Qt::Orientation  orientation) [slot]

Set orientation (Qt::Horizontal or Qt::Vertical).

Definition at line 1085 of file UPlot.cpp.

void UPlotCurveThreshold::setThreshold ( float  threshold) [slot]

Set threshold value.

Definition at line 1056 of file UPlot.cpp.

void UPlotCurveThreshold::update ( float  scaleX,
float  scaleY,
float  offsetX,
float  offsetY,
float  xDir,
float  yDir,
int  maxItemsKept 
) [protected, virtual]

Reimplemented from UPlotCurve.

Definition at line 1105 of file UPlot.cpp.


Friends And Related Function Documentation

friend class UPlot [friend]

Reimplemented from UPlotCurve.

Definition at line 283 of file UPlot.h.


Member Data Documentation

Qt::Orientation UPlotCurveThreshold::_orientation [private]

Definition at line 288 of file UPlot.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jun 6 2019 21:59:39