26 typedef QPair<double, double>
Mark;
70 virtual Mark GetMark(
int markIndex,
int levelIndex)
const = 0;
Definition of a line in 2D-space.
Common interface for data model objects, which can be changed.
Interface for ruler implementation.
virtual void InsertMark(int levelIndex, const Mark &mark)=0
Insert new mark.
QPair< double, double > Mark
virtual void SetLevelsCount(int count)=0
Set levels count.
virtual void ReserveLevelSpace(int levelIndex, int marksCount)=0
Reserve marks space to optimize insert operation.
virtual void Clear()=0
Remove all marks, but doesn't change reserved space.
virtual void Reset()=0
Set levels count to 0 and remove all marks.
virtual i2d::CLine2d GetScreenLine() const =0
Get pixels range, that adequate mark value.
virtual int GetMarksCount(int levelIndex) const =0
Get count of marks on specified level.
virtual int GetLevelsCount() const =0
Get count of levels.
virtual Mark GetMark(int markIndex, int levelIndex) const =0
Get a mark.
In this library is defined 2D view concept and standard visualisation objects.