|
svcore
1.9
|
RegionModel – a concrete IntervalModel for intervals associated with a value, which we call regions for no very compelling reason. More...
#include <RegionModel.h>
Classes | |
| struct | Comparator |
| struct | OrderComparator |
Public Member Functions | |
| RegionRec () | |
| RegionRec (long _frame) | |
| RegionRec (long _frame, float _value, int _duration, 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 |
| int | duration |
| QString | label |
RegionModel – a concrete IntervalModel for intervals associated with a value, which we call regions for no very compelling reason.
Region "point" type. A region is something that has an onset time, a single value, and a duration. Like other points, it can also have a label.
This is called RegionRec instead of Region to avoid name collisions with the X11 Region struct. Bah.
Definition at line 36 of file RegionModel.h.
|
inline |
Definition at line 39 of file RegionModel.h.
|
inline |
Definition at line 40 of file RegionModel.h.
|
inline |
Definition at line 41 of file RegionModel.h.
|
inline |
Definition at line 44 of file RegionModel.h.
|
inline |
Definition at line 51 of file RegionModel.h.
References label.
|
inline |
Definition at line 53 of file RegionModel.h.
References duration, XmlExportable::encodeEntities(), frame, label, and value.
|
inline |
Definition at line 63 of file RegionModel.h.
References duration, frame, RealTime::frame2RealTime(), label, RealTime::toString(), and value.
| long RegionRec::frame |
Definition at line 46 of file RegionModel.h.
Referenced by SparseModel< RegionRec >::getSetDataCommand(), CSVFileReader::load(), RegionRec::Comparator::operator()(), RegionRec::OrderComparator::operator()(), toDelimitedDataString(), and toXml().
| float RegionRec::value |
Definition at line 47 of file RegionModel.h.
Referenced by RegionModel::addPoint(), RegionRec::Comparator::operator()(), toDelimitedDataString(), and toXml().
| int RegionRec::duration |
Definition at line 48 of file RegionModel.h.
Referenced by CSVFileReader::load(), RegionRec::Comparator::operator()(), toDelimitedDataString(), and toXml().
| QString RegionRec::label |
Definition at line 49 of file RegionModel.h.
Referenced by getLabel(), RegionModel::getSetDataCommand(), CSVFileReader::load(), RegionRec::Comparator::operator()(), toDelimitedDataString(), and toXml().