#include <Annotator.h>
Inherits Marsyas::MarSystem.
Public Member Functions | |
| Annotator (const Annotator &a) | |
| Annotator copy constructor. | |
| Annotator (std::string name) | |
| Annotator constructor. | |
| void | myProcess (realvec &in, realvec &out) |
| Implementation of the MarSystem::myProcess() method. | |
| ~Annotator () | |
| Annotator destructor. | |
Private Member Functions | |
| void | addControls () |
| Implementation of the MarSystem::addControls() method. | |
| void | myUpdate (MarControlPtr sender) |
| Implementation of the MarSystem::myUpdate() method. | |
Private Attributes | |
| MarControlPtr | ctrl_annotationName_ |
| MarControl for setting the annotation name. | |
| MarControlPtr | ctrl_label_ |
| MarControl for setting the annotation label. | |
| MarControlPtr | ctrl_labelInFront_ |
| MarControl toggle for putting the annotation label in front of the observations. | |
| mrs_bool | labelInFront_ |
| Cache for storing the value of the labelInFront control. | |
The Annotator adds an observation row for labeling the feature stream. The label can be set through the mrs_natural/label control. Note that this label control expects a natural number representation of the label. Also note that only one label can be given at each processing step and this given label is applied to all samples of the time slice.
Controls:
Definition at line 51 of file Annotator.h.
1.5.6