#include <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 | 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, const SnapshotData &snapshot_data, size_t time_to_load=SIZE_MAX) |
| |
| bool | redo (Slic3r::Model &model, Slic3r::GUI::GLGizmosManager &gizmos, 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 |
| |
| const Selection & | selection_deserialized () const |
| |
◆ Stack()
| Slic3r::UndoRedo::Stack::Stack |
( |
| ) |
|
friend class StackImpl
Definition UndoRedo.hpp:166
std::unique_ptr< StackImpl > pimpl
Definition UndoRedo.hpp:167
◆ ~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:1265
const Snapshot & snapshot(size_t time) const
Definition UndoRedo.cpp:1264
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 |
◆ has_redo_snapshot()
| bool Slic3r::UndoRedo::Stack::has_redo_snapshot |
( |
| ) |
const |
1257{
return pimpl->has_redo_snapshot(); }
References pimpl.
◆ has_undo_snapshot() [1/2]
| bool Slic3r::UndoRedo::Stack::has_undo_snapshot |
( |
| ) |
const |
1255{
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 |
1256{
return pimpl->has_undo_snapshot(time_to_load); }
References pimpl.
◆ mark_current_as_saved()
| void Slic3r::UndoRedo::Stack::mark_current_as_saved |
( |
| ) |
|
1267{
pimpl->mark_current_as_saved(); }
References pimpl.
◆ memsize()
| size_t Slic3r::UndoRedo::Stack::memsize |
( |
| ) |
const |
◆ project_modified()
| bool Slic3r::UndoRedo::Stack::project_modified |
( |
| ) |
const |
1268{
return pimpl->project_modified(); }
References pimpl.
◆ redo()
1260{
return pimpl->redo(model, gizmos, time_to_load); }
References pimpl.
◆ reduce_noisy_snapshots()
| void Slic3r::UndoRedo::Stack::reduce_noisy_snapshots |
( |
const std::string & |
new_name | ) |
|
1254{
pimpl->reduce_noisy_snapshots(new_name); }
References pimpl.
◆ release_least_recently_used()
| void Slic3r::UndoRedo::Stack::release_least_recently_used |
( |
| ) |
|
1251{
pimpl->release_least_recently_used(); }
References pimpl.
◆ selection_deserialized()
| const Selection & Slic3r::UndoRedo::Stack::selection_deserialized |
( |
| ) |
const |
1261{
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:1250
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 |
1263{
return pimpl->snapshots(); }
References pimpl.
◆ take_snapshot()
1253 {
pimpl->take_snapshot(snapshot_name, model, selection, gizmos, snapshot_data); }
References pimpl.
◆ temp_snapshot_active()
| bool Slic3r::UndoRedo::Stack::temp_snapshot_active |
( |
| ) |
const |
1266{
return pimpl->temp_snapshot_active(); }
References pimpl.
◆ undo()
1259 {
return pimpl->undo(model, selection, gizmos, snapshot_data, time_to_load); }
References pimpl.
◆ StackImpl
◆ pimpl
| std::unique_ptr<StackImpl> Slic3r::UndoRedo::Stack::pimpl |
|
private |
Referenced by active_snapshot_time(), clear(), empty(), get_memory_limit(), 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(), temp_snapshot_active(), and undo().
The documentation for this class was generated from the following files: