Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Sequence::CurveViewRange Class Reference

#include <curve_view_range.h>

Inheritance diagram for Sequence::CurveViewRange:
Shared::InteractiveCurveViewRange Shared::MemoizedCurveViewRange Shared::CurveViewRange

Public Member Functions

 CurveViewRange (Shared::CurveViewCursor *cursor, Shared::InteractiveCurveViewRangeDelegate *delegate=nullptr)
 
void roundAbscissa () override
 
void normalize () override
 
void setTrigonometric () override
 
void setDefault () override
 
- Public Member Functions inherited from Shared::InteractiveCurveViewRange
 InteractiveCurveViewRange (CurveViewCursor *cursor, InteractiveCurveViewRangeDelegate *delegate=nullptr)
 
void setDelegate (InteractiveCurveViewRangeDelegate *delegate)
 
void setCursor (CurveViewCursor *cursor)
 
uint32_t rangeChecksum () override
 
bool yAuto ()
 
void setXMin (float f) override
 
void setXMax (float f) override
 
void setYMin (float f) override
 
void setYMax (float f) override
 
void setYAuto (bool yAuto)
 
void zoom (float ratio, float x, float y)
 
void panWithVector (float x, float y)
 
void centerAxisAround (Axis axis, float position)
 
void panToMakePointVisible (float x, float y, float topMarginRatio, float rightMarginRatio, float bottomMarginRation, float leftMarginRation)
 
bool isCursorVisible (float topMarginRatio, float rightMarginRatio, float bottomMarginRation, float leftMarginRation)
 
- Public Member Functions inherited from Shared::MemoizedCurveViewRange
 MemoizedCurveViewRange ()
 
float xMin () override
 
float xMax () override
 
float yMin () override
 
float yMax () override
 
float xGridUnit () override
 
float yGridUnit () override
 
- Public Member Functions inherited from Shared::CurveViewRange
float computeGridUnit (Axis axis, float min, float max)
 

Additional Inherited Members

- Public Types inherited from Shared::CurveViewRange
enum  Axis { Axis::X, Axis::Y }
 
- Static Public Attributes inherited from Shared::CurveViewRange
static constexpr float k_maxNumberOfXGridUnits = 18.0f
 
static constexpr float k_maxNumberOfYGridUnits = 13.0f
 
- Static Protected Member Functions inherited from Shared::InteractiveCurveViewRange
static float clipped (float f, bool isMax)
 
- Protected Attributes inherited from Shared::InteractiveCurveViewRange
bool m_yAuto
 
InteractiveCurveViewRangeDelegatem_delegate
 
- Protected Attributes inherited from Shared::MemoizedCurveViewRange
float m_xMin
 
float m_xMax
 
float m_yMin
 
float m_yMax
 
float m_xGridUnit
 
float m_yGridUnit
 

Detailed Description

Definition at line 8 of file curve_view_range.h.

Constructor & Destructor Documentation

◆ CurveViewRange()

Sequence::CurveViewRange::CurveViewRange ( Shared::CurveViewCursor cursor,
Shared::InteractiveCurveViewRangeDelegate delegate = nullptr 
)

Definition at line 11 of file curve_view_range.cpp.

Member Function Documentation

◆ normalize()

void Sequence::CurveViewRange::normalize ( )
overridevirtual

Reimplemented from Shared::InteractiveCurveViewRange.

Definition at line 37 of file curve_view_range.cpp.

◆ roundAbscissa()

void Sequence::CurveViewRange::roundAbscissa ( )
overridevirtual

Reimplemented from Shared::InteractiveCurveViewRange.

Definition at line 17 of file curve_view_range.cpp.

◆ setDefault()

void Sequence::CurveViewRange::setDefault ( )
overridevirtual

Reimplemented from Shared::InteractiveCurveViewRange.

Definition at line 77 of file curve_view_range.cpp.

◆ setTrigonometric()

void Sequence::CurveViewRange::setTrigonometric ( )
overridevirtual

Reimplemented from Shared::InteractiveCurveViewRange.

Definition at line 63 of file curve_view_range.cpp.


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