#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/Utils/UndoRedo.hpp>
|
| | Stack () |
| | ~Stack () |
| void | clear () |
| bool | empty () const |
| void | set_memory_limit (size_t memsize) |
| size_t | get_memory_limit () const |
| size_t | memsize () const |
| void | release_least_recently_used () |
| void | take_snapshot (const std::string &snapshot_name, const Slic3r::Model &model, const Slic3r::GUI::Selection &selection, const Slic3r::GUI::GLGizmosManager &gizmos, const SnapshotData &snapshot_data) |
| void | take_snapshot (const std::string &snapshot_name, const Slic3r::Model &model, const Slic3r::GUI::Selection &selection, const Slic3r::GUI::GLGizmosManager &gizmos, const Slic3r::GUI::PartPlateList &plate_list, const SnapshotData &snapshot_data) |
| void | reduce_noisy_snapshots (const std::string &new_name) |
| bool | has_undo_snapshot () const |
| bool | has_redo_snapshot () const |
| bool | has_undo_snapshot (size_t time_to_load) const |
| bool | undo (Slic3r::Model &model, const Slic3r::GUI::Selection &selection, Slic3r::GUI::GLGizmosManager &gizmos, Slic3r::GUI::PartPlateList &plate_list, const SnapshotData &snapshot_data, size_t time_to_load=SIZE_MAX) |
| bool | redo (Slic3r::Model &model, Slic3r::GUI::GLGizmosManager &gizmos, Slic3r::GUI::PartPlateList &plate_list, size_t time_to_load=SIZE_MAX) |
| const std::vector< Snapshot > & | snapshots () const |
| const Snapshot & | snapshot (size_t time) const |
| size_t | active_snapshot_time () const |
| const Snapshot & | active_snapshot () const |
| bool | temp_snapshot_active () const |
| void | mark_current_as_saved () |
| bool | project_modified () const |
| bool | has_real_change_from (size_t time) const |
| const Selection & | selection_deserialized () const |
◆ Stack()
| Slic3r::UndoRedo::Stack::Stack |
( |
| ) |
|
friend class StackImpl
Definition UndoRedo.hpp:189
std::unique_ptr< StackImpl > pimpl
Definition UndoRedo.hpp:190
References pimpl, and StackImpl.
◆ ~Stack()
| Slic3r::UndoRedo::Stack::~Stack |
( |
| ) |
|
◆ active_snapshot()
| const Snapshot & Slic3r::UndoRedo::Stack::active_snapshot |
( |
| ) |
const |
|
inline |
size_t active_snapshot_time() const
Definition UndoRedo.cpp:1391
const Snapshot & snapshot(size_t time) const
Definition UndoRedo.cpp:1390
References active_snapshot_time(), and snapshot().
◆ active_snapshot_time()
| size_t Slic3r::UndoRedo::Stack::active_snapshot_time |
( |
| ) |
const |
◆ clear()
| void Slic3r::UndoRedo::Stack::clear |
( |
| ) |
|
◆ empty()
| bool Slic3r::UndoRedo::Stack::empty |
( |
| ) |
const |
◆ get_memory_limit()
| size_t Slic3r::UndoRedo::Stack::get_memory_limit |
( |
| ) |
const |
1373{
return pimpl->get_memory_limit(); }
References pimpl.
◆ has_real_change_from()
| bool Slic3r::UndoRedo::Stack::has_real_change_from |
( |
size_t | time | ) |
const |
◆ has_redo_snapshot()
| bool Slic3r::UndoRedo::Stack::has_redo_snapshot |
( |
| ) |
const |
1383{
return pimpl->has_redo_snapshot(); }
References pimpl.
◆ has_undo_snapshot() [1/2]
| bool Slic3r::UndoRedo::Stack::has_undo_snapshot |
( |
| ) |
const |
1381{
return pimpl->has_undo_snapshot(); }
References pimpl.
◆ has_undo_snapshot() [2/2]
| bool Slic3r::UndoRedo::Stack::has_undo_snapshot |
( |
size_t | time_to_load | ) |
const |
1382{
return pimpl->has_undo_snapshot(time_to_load); }
References pimpl.
◆ mark_current_as_saved()
| void Slic3r::UndoRedo::Stack::mark_current_as_saved |
( |
| ) |
|
◆ memsize()
| size_t Slic3r::UndoRedo::Stack::memsize |
( |
| ) |
const |
◆ project_modified()
| bool Slic3r::UndoRedo::Stack::project_modified |
( |
| ) |
const |
1394{
return pimpl->project_modified(); }
References pimpl.
◆ redo()
1386{
return pimpl->redo(model, gizmos, plate_list, time_to_load); }
References pimpl.
◆ reduce_noisy_snapshots()
| void Slic3r::UndoRedo::Stack::reduce_noisy_snapshots |
( |
const std::string & | new_name | ) |
|
1380{
pimpl->reduce_noisy_snapshots(new_name); }
References pimpl.
◆ release_least_recently_used()
| void Slic3r::UndoRedo::Stack::release_least_recently_used |
( |
| ) |
|
1375{
pimpl->release_least_recently_used(); }
References pimpl.
◆ selection_deserialized()
| const Selection & Slic3r::UndoRedo::Stack::selection_deserialized |
( |
| ) |
const |
1387{
return pimpl->selection_deserialized(); }
References pimpl.
◆ set_memory_limit()
| void Slic3r::UndoRedo::Stack::set_memory_limit |
( |
size_t | memsize | ) |
|
size_t memsize() const
Definition UndoRedo.cpp:1374
References memsize(), and pimpl.
◆ snapshot()
| const Snapshot & Slic3r::UndoRedo::Stack::snapshot |
( |
size_t | time | ) |
const |
◆ snapshots()
| const std::vector< Snapshot > & Slic3r::UndoRedo::Stack::snapshots |
( |
| ) |
const |
1389{
return pimpl->snapshots(); }
References pimpl.
◆ take_snapshot() [1/2]
1379 {
pimpl->take_snapshot(snapshot_name, model, selection, gizmos, plate_list, snapshot_data); }
References pimpl.
◆ take_snapshot() [2/2]
1377 {
pimpl->take_snapshot(snapshot_name, model, selection, gizmos, snapshot_data); }
References pimpl.
◆ temp_snapshot_active()
| bool Slic3r::UndoRedo::Stack::temp_snapshot_active |
( |
| ) |
const |
1392{
return pimpl->temp_snapshot_active(); }
References pimpl.
◆ undo()
1385 {
return pimpl->undo(model, selection, gizmos, plate_list, snapshot_data, time_to_load); }
References pimpl.
◆ StackImpl
◆ pimpl
| std::unique_ptr<StackImpl> Slic3r::UndoRedo::Stack::pimpl |
|
private |
Referenced by Stack(), active_snapshot_time(), clear(), empty(), get_memory_limit(), has_real_change_from(), has_redo_snapshot(), has_undo_snapshot(), has_undo_snapshot(), mark_current_as_saved(), memsize(), project_modified(), redo(), reduce_noisy_snapshots(), release_least_recently_used(), selection_deserialized(), set_memory_limit(), snapshot(), snapshots(), take_snapshot(), take_snapshot(), temp_snapshot_active(), and undo().
The documentation for this class was generated from the following files:
- /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/Utils/UndoRedo.hpp
- /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/Utils/UndoRedo.cpp