svcore
1.9
|
Time/value point type for use in a SparseModel or SparseValueModel. More...
#include <SparseTimeValueModel.h>
Classes | |
struct | Comparator |
struct | OrderComparator |
Public Member Functions | |
TimeValuePoint (long _frame) | |
TimeValuePoint (long _frame, float _value, QString _label) | |
int | getDimensions () const |
QString | getLabel () const |
void | toXml (QTextStream &stream, QString indent="", QString extraAttributes="") const |
QString | toDelimitedDataString (QString delimiter, int sampleRate) const |
Public Attributes | |
long | frame |
float | value |
QString | label |
Time/value point type for use in a SparseModel or SparseValueModel.
With this point type, the model basically represents a wiggly-line plot with points at arbitrary intervals of the model resolution.
Definition at line 29 of file SparseTimeValueModel.h.
TimeValuePoint::TimeValuePoint | ( | long | _frame | ) | [inline] |
Definition at line 32 of file SparseTimeValueModel.h.
TimeValuePoint::TimeValuePoint | ( | long | _frame, |
float | _value, | ||
QString | _label | ||
) | [inline] |
Definition at line 33 of file SparseTimeValueModel.h.
int TimeValuePoint::getDimensions | ( | ) | const [inline] |
Definition at line 36 of file SparseTimeValueModel.h.
QString TimeValuePoint::getLabel | ( | ) | const [inline] |
Definition at line 42 of file SparseTimeValueModel.h.
References label.
void TimeValuePoint::toXml | ( | QTextStream & | stream, |
QString | indent = "" , |
||
QString | extraAttributes = "" |
||
) | const [inline] |
Definition at line 44 of file SparseTimeValueModel.h.
References XmlExportable::encodeEntities(), frame, label, and value.
QString TimeValuePoint::toDelimitedDataString | ( | QString | delimiter, |
int | sampleRate | ||
) | const [inline] |
Definition at line 52 of file SparseTimeValueModel.h.
References frame, RealTime::frame2RealTime(), label, RealTime::toString(), and value.
Definition at line 38 of file SparseTimeValueModel.h.
Referenced by TimeValuePoint::Comparator::operator()(), TimeValuePoint::OrderComparator::operator()(), toDelimitedDataString(), and toXml().
float TimeValuePoint::value |
Definition at line 39 of file SparseTimeValueModel.h.
Referenced by SparseTimeValueModel::getSetDataCommand(), TimeValuePoint::Comparator::operator()(), toDelimitedDataString(), and toXml().
QString TimeValuePoint::label |
Definition at line 40 of file SparseTimeValueModel.h.
Referenced by getLabel(), SparseTimeValueModel::getSetDataCommand(), TimeValuePoint::Comparator::operator()(), toDelimitedDataString(), and toXml().