Verovio
Source code documentation
vrv::BeamSpanSegment Class Reference
Inheritance diagram for vrv::BeamSpanSegment:
vrv::BeamSegment

Public Member Functions

void AppendSpanningCoordinates (const Measure *measure)
 
MeasureGetMeasure ()
 Set/get methods for member variables.
 
const MeasureGetMeasure () const
 
void SetMeasure (Measure *measure)
 
StaffGetStaff ()
 
const StaffGetStaff () const
 
void SetStaff (Staff *staff)
 
LayerGetLayer ()
 
const LayerGetLayer () const
 
void SetLayer (Layer *layer)
 
BeamElementCoordGetBeginCoord ()
 
const BeamElementCoordGetBeginCoord () const
 
void SetBeginCoord (BeamElementCoord *begin)
 
BeamElementCoordGetEndCoord ()
 
const BeamElementCoordGetEndCoord () const
 
void SetEndCoord (BeamElementCoord *end)
 
void SetSpanningType (int systemIndex, int systemCount)
 Set/get methods for spanning type of segment. More...
 
int GetSpanningType () const
 
- Public Member Functions inherited from vrv::BeamSegment
void RequestStaffSpace (const Doc *doc, const BeamDrawingInterface *beamInterface)
 Request staff space for mixed beams if minimal stem length is too short.
 
 BeamSegment ()
 
virtual ~BeamSegment ()
 
void Reset ()
 
void CalcBeam (const Layer *layer, Staff *staff, const Doc *doc, BeamDrawingInterface *beamInterface, data_BEAMPLACE place=BEAMPLACE_NONE, bool init=true)
 
const ArrayOfBeamElementCoords * GetElementCoordRefs ()
 
void InitCoordRefs (const ArrayOfBeamElementCoords *beamElementCoords)
 Initializes the m_beamElementCoords vector objects. More...
 
void ClearCoordRefs ()
 Clear the m_beamElementCoords vector and delete all the objects.
 
int GetAdjacentElementsDuration (int elementX) const
 Get longest duration of the elements that are adjacent to the X coordinate passed.
 
int GetStartingX () const
 
int GetStartingY () const
 
bool StemSameas () const
 
bool StemSameasIsUnset () const
 
bool StemSameasIsPrimary () const
 
bool StemSameasIsSecondary () const
 
void InitSameasRoles (Beam *sameasBeam, data_BEAMPLACE &drawingPlace)
 
void UpdateSameasRoles (data_BEAMPLACE place)
 
void CalcNoteHeadShiftForStemSameas (Beam *sameasBeam, data_BEAMPLACE place)
 

Additional Inherited Members

- Public Attributes inherited from vrv::BeamSegment
int m_nbNotesOrChords
 
double m_beamSlope
 
int m_verticalCenter
 
int m_ledgerLinesAbove
 
int m_ledgerLinesBelow
 
int m_uniformStemLength
 
data_BEAMPLACE m_weightedPlace
 
BeamElementCoordm_firstNoteOrChord
 
BeamElementCoordm_lastNoteOrChord
 
ArrayOfBeamElementCoords m_beamElementCoordRefs
 An array of coordinates for each element.
 
StemSameasDrawingRole m_stemSameasRole
 
StemSameasDrawingRole * m_stemSameasReverseRole
 

Member Function Documentation

◆ SetSpanningType()

void vrv::BeamSpanSegment::SetSpanningType ( int  systemIndex,
int  systemCount 
)

Set/get methods for spanning type of segment.

Set spanning type based on the positioning of the beam segment


The documentation for this class was generated from the following file: