Ruben Dashyan
dd0be4471c
[apps/*/values_controller] Move m_setIntervalButton to derived classes
2019-09-03 14:49:26 +02:00
Ruben Dashyan
634e812806
[apps] Shared::ValuesParameterController gets the IntervalParameterController through FunctionApp
2019-09-03 14:49:26 +02:00
Ruben Dashyan
8053e683c0
[apps/*/function_app] Inline inputViewController getter in header
2019-09-03 14:49:26 +02:00
Léa Saviot
4ecf6835e7
[apps] Code cleaning
2019-09-03 14:21:14 +02:00
Léa Saviot
c3ee6a71e7
[apps/graph] Fix computeYRange for polar/cartesian functions
...
Was very slow, compute only 1000 values to evaluate the yRange
2019-09-03 14:21:14 +02:00
Léa Saviot
a4099c4c3e
[apps/graph] xAuto and YAuto for polar/param
2019-09-03 14:21:14 +02:00
Léa Saviot
18a458bae5
[apps/graph] init Range to -5..5 if polar/param
2019-09-02 17:56:56 +02:00
Émilie Feral
beac710e0e
[apps/graph] Do not restrain the cursor to the domain of definition in
...
the Graph
2019-09-02 16:55:40 +02:00
Émilie Feral
a7285ba1ca
[apps/graph] Implement defaultCursorT for FunctionGraphController
2019-09-02 16:55:39 +02:00
Émilie Feral
f017ac014d
[apps/graph] GraphController: when moving cursor vertically (on non
...
cartesian functions), going down increases the function index (to mimic
their vertical order in the function list)
2019-09-02 16:55:39 +02:00
Émilie Feral
6de497c2ed
[apps/shared] Templatize FloatParameterController to handle float/double
...
parameters.
Fix bug: when entering "e^234" as a parameter of a model keeping floats,
the FloatParameterController would accept the number (because e^234 is
defined in double) and store an undefined value in the model (because
e^234 is undefined in float).
2019-09-02 16:55:39 +02:00
Léa Saviot
c6fb5e5dfa
[apps/graph] Pop twice after plot type change
2019-09-02 11:12:18 +02:00
Émilie Feral
0f43a04225
[apps/graph] Implement move cursor vertically on graph with
...
parametric/polar curves
2019-08-30 17:15:12 +02:00
Émilie Feral
2d5b60640d
[apps/shared] Fix InteractiveCurveViewController::moveCursorVertically
...
for Sequence and Regression (add a TODO for Graph)
2019-08-30 17:14:26 +02:00
Léa Saviot
8b7e243d2d
[apps/graph/list] Handle right event to open submenu
2019-08-30 16:05:29 +02:00
Léa Saviot
fa413edc61
[apps/graph] fix banner view for polar and parametric
2019-08-30 15:04:27 +02:00
Léa Saviot
2071a65d43
[apps] Code cleaning
2019-08-30 13:49:49 +02:00
Léa Saviot
66ef85239d
[apps/graph] Step for polar and cartesian is definitionDomain/96.0
2019-08-30 11:44:53 +02:00
Léa Saviot
67e5114194
[apps/graph] Clip cursor navigation to definition domain
2019-08-30 11:37:31 +02:00
Léa Saviot
b3ecd16218
[apps/graph] Fix multiple curves drawing
2019-08-30 11:25:06 +02:00
Émilie Feral
99a6451074
[apps/graph/list] DomainParameterController: fix bug (use of out of
...
scope variable)
2019-08-30 10:40:58 +02:00
Émilie Feral
8c7819306a
[apps/graph/list] Add a row to the ListParameterController to set the
...
function domain
2019-08-29 17:45:30 +02:00
Émilie Feral
c8928adbdb
[apps/graph/list] Create a DomainParameterController to choose the
...
domain range
2019-08-29 17:44:46 +02:00
Émilie Feral
8f8333c7ae
[apps/graph] Add I18n messages regarding domain of functions
2019-08-29 17:43:08 +02:00
Émilie Feral
6c06e74dac
[apps/graph/list] Add a margin after Curve Type name and change
...
I18n::Message names to avoid duplicates
2019-08-29 15:54:52 +02:00
Ruben Dashyan
366daa9c88
[apps] Remove dummy checks in graph/graph_controller and shared/function_graph_controller
2019-08-29 15:13:40 +02:00
Ruben Dashyan
5effb5f6b2
[apps/*/values_controller] Inline intervalParameterController getter in header
...
and make it private
2019-08-29 13:51:49 +02:00
Ruben Dashyan
c0197f3b01
[apps] ValuesParameterController page title may be set dynamically
2019-08-29 13:51:49 +02:00
Ruben Dashyan
35ee467965
[apps/graph/cartesian_function_store] Define activeRecordOfTypeAtIndex
2019-08-29 13:51:49 +02:00
Ruben Dashyan
580f0f79f5
[apps/graph/values_controller] Define numberOfColumnsForRecord
2019-08-29 13:51:49 +02:00
Ruben Dashyan
b0d7344d6b
[apps/graph/values_controller] Clean handling of (in)active functions
2019-08-29 13:51:49 +02:00
Ruben Dashyan
fce39adb8b
[apps/graph/values_controller] Remove the isDerivativeColumn method
...
and fill instead a boolean isDerivative through recordAtColumn.
2019-08-29 13:51:49 +02:00
Ruben Dashyan
4a0746fd44
[apps/graph/values_controller] functionParameterController() returns the derivative controller
...
when a derivative function column is selected.
Remove configureDerivativeFunction and handleEvent.
2019-08-29 13:51:49 +02:00
Ruben Dashyan
6bee336349
[apps/*/values_controller] functionParameterController() returns a ViewController *
2019-08-29 13:51:49 +02:00
Ruben Dashyan
04fcc0eac4
[apps/*/editable_cell_table_view_controller] Use typeAtLocation
2019-08-29 13:51:49 +02:00
Léa Saviot
24d1594255
[apps] Draw curves according to their definition domain
2019-08-29 11:07:22 +02:00
Léa Saviot
a945c02edf
[poincare/Coordinate2D] Rename members x1 and x2
2019-08-29 11:07:22 +02:00
Léa Saviot
c71ef7ff79
[apps/graph] Evaluation methods renaming
2019-08-29 11:07:22 +02:00
Léa Saviot
28a721e96e
[apps] Start fixing apps as cursor has new member variable
2019-08-29 11:07:22 +02:00
Léa Saviot
7ea7ecd3c2
[poincare/coordinate2D] Rename member values to x and y
2019-08-29 11:07:22 +02:00
Léa Saviot
a15bc53e06
[poincare/Coordinate2D] Template for double or float
2019-08-29 11:07:22 +02:00
Léa Saviot
7d36634303
[apps/graph] Fix CurveParamCtrlr relayouting bug
...
Scenario:
f(x) = 1, g(theta) = 2, go to Graph.
Press ok on the polar curve, then Back, then OK on the cartesian curve :
the menu is drawn as if the curve was still polar.
2019-08-29 11:07:22 +02:00
Léa Saviot
ced3cc7e0c
[apps/graph] Clean curveParamCtrlr reusableCellCount
2019-08-29 11:07:22 +02:00
Ruben Dashyan
66e2119f30
[apps/graph/curve_parameter_controller] Customize menu according to plot type
2019-08-29 11:07:22 +02:00
Ruben Dashyan
acd1d112be
[apps/graph/app] XNT depends on plot type when editing a function
2019-08-29 11:07:22 +02:00
Ruben Dashyan
82951b0672
[apps] App::XNT() returns a CodePoint instead of a char
2019-08-29 11:07:22 +02:00
Ruben Dashyan
998a80fbcc
[apps/graph/list] Add TypeParameterController to ListParameterController
2019-08-29 11:07:22 +02:00
Ruben Dashyan
9b52d0d1f9
[apps/graph/list] Define TypeParameterController class
2019-08-29 11:07:22 +02:00
Ruben Dashyan
5a79139fb7
[apps/graph/list] Define PlotTypeHelper
2019-08-29 11:07:22 +02:00
Ruben Dashyan
9a803013b6
[apps/graph/graph_view] WIP: drawCurve according to PlotType
2019-08-29 11:07:22 +02:00