Create a new object of the calculator
staffline where the calculator should be attached
Get the plain bottomline array
Sampling units that are used to quantize the sky and bottom line
Get the plain skyline array
Parent staffline where the skybottomline calculator is attached to
This method calculates the Sky- and BottomLines for a StaffLine.
This method finds the maximum value of the BottomLine.
This method returns the maximum value of the bottom line around a specific bounding box. Will return undefined if the bounding box is not valid or inside staffline
Bounding box where the maximum should be retrieved from
Maximum value inside bounding box boundaries or undefined if not possible
This method finds the BottomLine's maximum value within a given range.
Start index of the range
End index of the range (excluding)
This method finds the minimum value of the SkyLine.
This method finds the SkyLine's minimum value within a given range.
Starting index
End index (including)
Resets a bottom line in a range to its original value
Start index of the range
End index of the range
Resets a SkyLine in a range to its original value
Start index of the range
End index of the range (excluding)
Update the whole bottomline with a certain value
value to be set
Update the whole skyline with a certain value
value to be set
This method updates the BottomLine for a given range with a given value
Start index of the range
End index of the range (excluding)
??
This method updates the skylines and bottomlines for mStaffLineParent.
the skylines and bottomlines of mStaffLineParent's measures calculated by SkyBottomLineBatchCalculator
This method updates the SkyLine for a given range with a given value //param to update the SkyLine for
Start index of the range
End index of the range
??
This method updates the StaffLine Borders with the Sky- and BottomLines Min- and MaxValues.
Updates sky- and bottom line with a boundingBox and its children
Bounding box to be added
This class calculates and holds the skyline and bottom line information. It also has functions to update areas of the two lines if new elements are added to the staffline (e.g. measure number, annotations, ...)