#include <MeasureGr.h>
Inheritance diagram for MeasureGr:

Public Member Functions | |
| MeasureMusic * | getMeasureMC () |
| void | firstPass () |
| void | secondPass () |
| MeasureGr (Constraint *, Container *container, MeasureMusic *, AssoMCMS *, int measureSectionIndex, int partIndex, int lineIndex, int pgnb) | |
| double | getHeight () |
| void | computeCollision () |
| void | alterationCollisionDetection (MusicSymbol *) |
| void | collisionFix () |
| void | closeMeasure () |
| void | paint () |
|
||||||||||||||||||||||||||||||||||||
|
Constructor of measure Grapher The fatory bject is duplicated. This may be a good idea if this object were placed in the main container and shared by all the sub widget.
|
|
|
This method is used to compute the collision detection If the need came this method could be use as the first pass collision detection
We have to attach the Symbol of collision because it is possible that the collision detection is performed at the first pass like in the case of alterations. |
|
|
This method close the measure section it is called for the last measure in the line |
|
|
Call the collision solver. Note : If a collision is a dont know fix or if the collision resolution provoque another collision then nothing is done. But a warning is printed We might see this in the future. |
|
|
See if there are some collisions then add it to the collision stack. Note : You can debug this method to see where collisons had been detected by defining the DEBUGCOLLISION in the config.h file To complete the collision fix you have to call after the method fix collision Take care whith the DEBUGCOLLISION both of the collision met in the first pass and the second pass are represented.
We have to attach the Symbol of collision because it is possible that the collision detection is performed at the first pass like in the case of alterations. |
|
|
It is called in the first pass for a measure. This perfroms two operations the first is to build the notes the second is to build the alterations.
|
|
|
|
|
|
|
|
|
Sends a paint event to the aggregated staves Layout Implements Graphical. |
|
|
It is called in the second pass for a measure it performs an adjustment of the Y of the music symbol for instance if the line stats with two staves and ends with three
|
1.3.6