#include <SparseTimeValueModel.h>
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.
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, size_t sampleRate) const |
Public Attributes | |
| long | frame |
| float | value |
| QString | label |
Classes | |
| struct | Comparator |
| struct | OrderComparator |
| 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] |
| void TimeValuePoint::toXml | ( | QTextStream & | stream, | |
| QString | indent = "", |
|||
| QString | extraAttributes = "" | |||
| ) | const [inline] |
| QString TimeValuePoint::toDelimitedDataString | ( | QString | delimiter, | |
| size_t | sampleRate | |||
| ) | const [inline] |
Definition at line 51 of file SparseTimeValueModel.h.
References frame, RealTime::frame2RealTime(), label, RealTime::toString(), and value.
Definition at line 38 of file SparseTimeValueModel.h.
Referenced by TimeValueLayer::editOpen(), TimeValueLayer::moveSelection(), TimeValuePoint::OrderComparator::operator()(), TimeValuePoint::Comparator::operator()(), toDelimitedDataString(), and toXml().
| float TimeValuePoint::value |
Definition at line 39 of file SparseTimeValueModel.h.
Referenced by TimeValuePoint::Comparator::operator()(), TimeValueLayer::paste(), toDelimitedDataString(), and toXml().
| QString TimeValuePoint::label |
Definition at line 40 of file SparseTimeValueModel.h.
Referenced by getLabel(), TimeValuePoint::Comparator::operator()(), toDelimitedDataString(), and toXml().
1.5.1