Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | Related Pages

GroupedStemsMS Class Reference
[Musical Symbols]

Represents a group of stems. More...

#include <StemsMS.h>

Inheritance diagram for GroupedStemsMS:

MusicSymbol List of all members.

Public Member Functions

void setTuplet ()
void finalize ()
CollidergetCollider ()
 GroupedStemsMS ()
void addSupport (StemSupport *)
void draw (Painter *)
QString toString ()

Detailed Description

Represents a group of stems.

The stem representation require a sophisticated component to represent it. This class is full of computation that are more or less a ma This single class hold all the grouped stems representation. That is why it is so sohpisticated. You may use a lot of function A is the oriented regression factor. A regression with attract and repulsive points.

See also:
specs B is the ordinate(ordonnée) at x=0 translation Mean function gives ... euh Means Min an Max gives min and max of supports (Based on the range ylower and yupper) Var give the variance based on the either lower or upper (crête) according to the direction.

specifications


Constructor & Destructor Documentation

GroupedStemsMS::GroupedStemsMS  ) 
 

Build a grouped stems At the debug we build a number of support they should be removed after


Member Function Documentation

void GroupedStemsMS::addSupport StemSupport s  ) 
 

add a stem support to the group of stems

void GroupedStemsMS::draw Painter p  )  [virtual]
 

Draw The stems At the beginning we draw crosses

Here we determine the parameter of the regression.

Draw the first bar and compute the parameters

Draw the number of support over the stem if is a tuplet

Draw the vertical line tying the first bar

draws the second bar

This block is for the end of tied stem bar. Then you cannot represent the stem bar after so we draw it before.

In other cases we can represent the stem bar after

Implements MusicSymbol.

void GroupedStemsMS::finalize  ) 
 

This method is called before the stem is appended to the grouped stem vector it perform initialization of the supports and collider *

Here we check that no note head is too close of a stem bar

If the distance is not sufficient we modifiy the B and A parameter This can only be done if b and a are buffered

If a stem was detected to be too close of the stem bar we recompute the colliders support

Collider * GroupedStemsMS::getCollider  )  [virtual]
 

I hope no collision test are done

Implements MusicSymbol.

void GroupedStemsMS::setTuplet  ) 
 

if this method is called then the Stem will be represented with a tuplet symbol (i.e a number over the stem bar in the middle)

QString GroupedStemsMS::toString  )  [virtual]
 

For many symbols this function should be overrided.

Returns:
a string reprentation of the MusicSymbol (For a debug purpose).

Reimplemented from MusicSymbol.


The documentation for this class was generated from the following files:
Generated on Tue Jun 1 21:13:32 2004 for Alternate Take by doxygen 1.3.6