handles parameter history More...
#include <fit.h>

Public Member Functions | |
| ParameterHistoryMgr (Ftk *F) | |
| bool | push_param_history (const std::vector< realt > &aa) |
| void | clear_param_history () |
| int | get_param_history_size () const |
| void | load_param_history (int item_nr, bool relative) |
| bool | has_param_history_rel_item (int rel_nr) const |
| bool | can_undo () const |
| std::string | param_history_info () const |
| const std::vector< realt > & | get_item (int n) const |
| int | get_active_nr () const |
Protected Attributes | |
| Ftk * | F_ |
handles parameter history
Definition at line 90 of file fit.h.
| void ParameterHistoryMgr::load_param_history | ( | int | item_nr, | |
| bool | relative | |||
| ) |
loads vector of parameters from the history "relative" is used for undo/redo commands if history is not empty and current parameters are different from the ones pointed by param_hist_ptr_ (but have the same size), load_param_history(-1, true), i.e undo, will load the parameters pointed by param_hist_ptr_