Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Graph::TangentGraphController Class Reference

#include <tangent_graph_controller.h>

Inheritance diagram for Graph::TangentGraphController:
Shared::SimpleInteractiveCurveViewController Shared::FunctionBannerDelegate Graph::GraphControllerHelper ViewController Responder

Public Member Functions

 TangentGraphController (Responder *parentResponder, GraphView *graphView, BannerView *bannerView, Shared::InteractiveCurveViewRange *curveViewRange, Shared::CurveViewCursor *cursor)
 
const char * title () override
 
void viewWillAppear () override
 
void setFunction (CartesianFunction *function)
 
- Public Member Functions inherited from Shared::SimpleInteractiveCurveViewController
 SimpleInteractiveCurveViewController (Responder *parentResponder, InteractiveCurveViewRange *interactiveRange, CurveView *curveView, CurveViewCursor *cursor)
 
Viewview () override
 
bool handleEvent (Ion::Events::Event event) override
 
- Public Member Functions inherited from ViewController
 ViewController (Responder *parentResponder)
 
virtual void viewDidDisappear ()
 
virtual DisplayParameter displayParameter ()
 
- Public Member Functions inherited from Responder
 Responder (Responder *parentResponder)
 
virtual void didBecomeFirstResponder ()
 
virtual void willResignFirstResponder ()
 
virtual void didEnterResponderChain (Responder *previousFirstResponder)
 
virtual void willExitResponderChain (Responder *nextFirstResponder)
 
ResponderparentResponder () const
 
RespondercommonAncestorWith (Responder *responder)
 
void setParentResponder (Responder *responder)
 
Appapp ()
 
virtual Toolboxtoolbox ()
 

Additional Inherited Members

- Public Types inherited from ViewController
enum  DisplayParameter { DisplayParameter::Default, DisplayParameter::DoNotShowOwnTitle, DisplayParameter::WantsMaximumSpace }
 
- Static Public Attributes inherited from Shared::SimpleInteractiveCurveViewController
static constexpr float k_cursorRightMarginRatio = 0.04f
 
static constexpr float k_cursorLeftMarginRatio = 0.04f
 
static constexpr float k_numberOfCursorStepsInGradUnit = 5.0f
 
- Static Public Attributes inherited from Shared::FunctionBannerDelegate
static constexpr int k_maxNumberOfCharacters = 50
 
static constexpr int k_maxDigitLegendLength = 11
 
- Protected Member Functions inherited from Shared::SimpleInteractiveCurveViewController
virtual bool handleZoom (Ion::Events::Event event)
 
virtual bool handleLeftRightEvent (Ion::Events::Event event)
 
- Protected Member Functions inherited from Shared::FunctionBannerDelegate
void reloadBannerViewForCursorOnFunction (CurveViewCursor *cursor, Function *function, char symbol)
 
- Protected Member Functions inherited from Graph::GraphControllerHelper
bool privateMoveCursorHorizontally (Shared::CurveViewCursor *cursor, int direction, Shared::InteractiveCurveViewRange *range, int numberOfStepsInGradUnit, Shared::Function *function, Shared::TextFieldDelegateApp *app, float cursorTopMarginRatio, float cursorRightMarginRatio, float cursorBottomMarginRatio, float cursorLeftMarginRatio)
 
void reloadDerivativeInBannerViewForCursorOnFunction (Shared::CurveViewCursor *cursor, CartesianFunction *function, Shared::TextFieldDelegateApp *app)
 
- Protected Attributes inherited from Shared::SimpleInteractiveCurveViewController
CurveViewCursorm_cursor
 
- Static Protected Attributes inherited from Graph::GraphControllerHelper
static constexpr int k_maxDigitLegendLength = 10
 

Detailed Description

Definition at line 13 of file tangent_graph_controller.h.

Constructor & Destructor Documentation

◆ TangentGraphController()

Graph::TangentGraphController::TangentGraphController ( Responder parentResponder,
GraphView graphView,
BannerView bannerView,
Shared::InteractiveCurveViewRange curveViewRange,
Shared::CurveViewCursor cursor 
)

Definition at line 9 of file tangent_graph_controller.cpp.

Member Function Documentation

◆ setFunction()

void Graph::TangentGraphController::setFunction ( CartesianFunction function)

Definition at line 31 of file tangent_graph_controller.cpp.

◆ title()

const char * Graph::TangentGraphController::title ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 18 of file tangent_graph_controller.cpp.

◆ viewWillAppear()

void Graph::TangentGraphController::viewWillAppear ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 22 of file tangent_graph_controller.cpp.


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