Blame view

epsilon-master/apps/shared/memoized_curve_view_range.h 704 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
  #ifndef SHARED_MEMOIZED_CURVE_VIEW_RANGE_H
  #define SHARED_MEMOIZED_CURVE_VIEW_RANGE_H
  
  #include "curve_view_range.h"
  
  namespace Shared {
  
  class MemoizedCurveViewRange : public CurveViewRange {
  public:
    MemoizedCurveViewRange();
    //CurveViewWindow
    float xMin() override;
    float xMax() override;
    float yMin() override;
    float yMax() override;
    float xGridUnit() override;
    float yGridUnit() override;
    virtual void setXMin(float f);
    virtual void setXMax(float f);
    virtual void setYMin(float f);
    virtual void setYMax(float f);
  
  protected:
    // Window bounds of the data
    float m_xMin;
    float m_xMax;
    float m_yMin;
    float m_yMax;
    float m_xGridUnit;
    float m_yGridUnit;
  };
  
  }
  
  #endif