https://github.com/umbrellaleaf5/graphic_calculator
Project of three first-year MIPT DAFE/RSE students (for engineering practical work in the first semester) to create a graphic calculator in FLTK C++
https://github.com/umbrellaleaf5/graphic_calculator
cmake cpp dafe doxygen-documentation fltk graphics mipt
Last synced: 2 months ago
JSON representation
Project of three first-year MIPT DAFE/RSE students (for engineering practical work in the first semester) to create a graphic calculator in FLTK C++
- Host: GitHub
- URL: https://github.com/umbrellaleaf5/graphic_calculator
- Owner: UmbrellaLeaf5
- License: unlicense
- Created: 2024-03-20T03:51:58.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-06T13:54:52.000Z (6 months ago)
- Last Synced: 2025-03-26T06:29:47.465Z (3 months ago)
- Topics: cmake, cpp, dafe, doxygen-documentation, fltk, graphics, mipt
- Language: C++
- Homepage: https://umbrellaleaf5.github.io/graphic_calculator/
- Size: 354 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Структура проекта
```console
graphic_calculator/
|
| ─── frontend/
| | ─── Graph_lib/
| | |---Shapes.h
| | |---Shapes.cpp
| | |---Widgets.h
| | |---Widgets.cpp
| | |---Window.h
| | |---Window.cpp
| | |---Point.h
| | `---fltk.h
| |
| | ─── Graphix_calc/
| | |---Axis.h
| | |---Axis.cpp
| | |---Graphix.h
| | |---Graphix.cpp
| | |---Segmented_graphix.h
| | |---Segmented_graphix.cpp
| | |
| | |---Function_box.h
| | |---Function_box.cpp
| | |---Point_box.h
| | |---Point_box.cpp
| | |---Bothput_box.h
| | |---Bothput_box.cpp
| | `---Numbed_button.h
| |
| | ─── Graphix_window/
| | |---Graphix_window.h
| | |---Graphix_window_init.cpp
| | |---Graphix_window_callbacks.cpp
| | `---Graphix_window_updaters.cpp
| |
| ` ─── utility/
| |---constants.h
| |---utilities.cpp
| `---utility.h
|
| ─── backend/
| | ─── Math_calc/
| | |---domain_segments.cpp
| | |---domain_segments.h
| | |
| | |---function_roots.h
| | |---function_roots.cpp
| | |---function_extremes.h
| | |---function_extremes.cpp
| | |---function_crosses.h
| | |---function_crosses.cpp
| | `---math_base.h
| |
| | ─── Math_func/
| | |---expose_func_str.h
| | |---expose_func_str.cpp
| | |
| | |---function.h
| | |---function.cpp
| | `---function_validation.cpp
| |
| | ─── utility/
| | |---constants.h
| | |---utilities.cpp
| | `---utility.h
| |
| `---temp_help.h
|
|
|---frontend.h
|---backend.h
`---main.cpp```
## Некоторая идеология кода
Фронтенд: пиксели и графики
Бэкенд: числа с плавающей запятой и функцииstd::string func_str
- строка обозначающая математическую функциюMath_func::function func
- математическая функция (с методом calculate и differentiate)Graphix_calc::Graphix graphix
- фигура, представляющая собой график, построенный по лямбде от мат. функцииGraphix_calc::Segmented_graphix seged_graphix
- фигура, представляющая собой тот же график, но правильный по О.Д.З.