GUIDOLib  1.7.7
Guido Engine Internal Documentation
Public Member Functions | List of all members
guido::GuidoVoiceAndBarCollector Class Reference

a guido map collector retrieving the list of kNote/kRest events. For each kRest starting a measure, its box left is aligned on the measure left barline. More...

Inheritance diagram for guido::GuidoVoiceAndBarCollector:
guido::GuidoMapCollector MapCollector

Public Member Functions

 GuidoVoiceAndBarCollector (CGRHandler gr, int staffNum=0)
 
virtual ~GuidoVoiceAndBarCollector ()
 overrides the method called by guido for each graphic segment More...
 
virtual void Graph2TimeMap (const FloatRect &box, const TimeSegment &dates, const GuidoElementInfos &infos)
 a method called by the GuidoGetMap function More...
 
- Public Member Functions inherited from guido::GuidoMapCollector
 GuidoMapCollector (CGRHandler gr, GuidoElementSelector selector, const Filter *filter=0)
 
virtual ~GuidoMapCollector ()
 the method called by guido for each graphic segment More...
 
virtual void process (int page, float w, float h, Time2GraphicMap *outmap)
 
void add (const TimeSegment &ts, const FloatRect &r)
 
- Public Member Functions inherited from MapCollector
virtual ~MapCollector ()
 

Additional Inherited Members

- Protected Member Functions inherited from guido::GuidoMapCollector
void getEvents (int page, float w, float h, bool keepLeftmost, Time2GraphicMap &outmap, int staffNum=0)
 
- Protected Attributes inherited from guido::GuidoMapCollector
CGRHandler fGRHandler
 
GuidoElementSelector fSelector
 
const FilterfFilter
 
Time2GraphicMapfOutMap
 

Detailed Description

a guido map collector retrieving the list of kNote/kRest events. For each kRest starting a measure, its box left is aligned on the measure left barline.

Constructor & Destructor Documentation

◆ GuidoVoiceAndBarCollector()

guido::GuidoVoiceAndBarCollector::GuidoVoiceAndBarCollector ( CGRHandler  gr,
int  staffNum = 0 
)
inline

◆ ~GuidoVoiceAndBarCollector()

virtual guido::GuidoVoiceAndBarCollector::~GuidoVoiceAndBarCollector ( )
inlinevirtual

overrides the method called by guido for each graphic segment

Member Function Documentation

◆ Graph2TimeMap()

virtual void guido::GuidoVoiceAndBarCollector::Graph2TimeMap ( const FloatRect box,
const TimeSegment dates,
const GuidoElementInfos infos 
)
virtual

a method called by the GuidoGetMap function

Parameters
boxa graphic rectangle expressed with no scaling and no coordinates offset.
datesa time segment containing the corresponding start and end dates
infosinformation about the corresponding element.

Reimplemented from guido::GuidoMapCollector.


Guido Project Copyright © 2019 Grame-CNCM