OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::GUI::Plater::TakeSnapshot Class Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Plater.hpp>

Collaboration diagram for Slic3r::GUI::Plater::TakeSnapshot:

Public Member Functions

 TakeSnapshot (Plater *plater, const std::string &snapshot_name)
 TakeSnapshot (Plater *plater, const std::string &snapshot_name, UndoRedo::SnapshotType snapshot_type)
 ~TakeSnapshot ()

Private Attributes

Plater * m_plater

Detailed Description

Constructor & Destructor Documentation

◆ TakeSnapshot() [1/2]

Slic3r::GUI::Plater::TakeSnapshot::TakeSnapshot ( Plater * plater,
const std::string & snapshot_name )
inline
969 {
970 m_plater->take_snapshot(snapshot_name);
971 m_plater->suppress_snapshots();
972 }
Plater * m_plater
Definition Plater.hpp:994
static Plater * plater()
Definition GUI_Factories.cpp:400

References Slic3r::GUI::Plater::Plater(), m_plater, and Slic3r::GUI::plater().

Here is the call graph for this function:

◆ TakeSnapshot() [2/2]

Slic3r::GUI::Plater::TakeSnapshot::TakeSnapshot ( Plater * plater,
const std::string & snapshot_name,
UndoRedo::SnapshotType snapshot_type )
inline
979 {
980 m_plater->take_snapshot(snapshot_name, snapshot_type);
981 m_plater->suppress_snapshots();
982 }

References Slic3r::GUI::Plater::Plater(), m_plater, and Slic3r::GUI::plater().

Here is the call graph for this function:

◆ ~TakeSnapshot()

Slic3r::GUI::Plater::TakeSnapshot::~TakeSnapshot ( )
inline
990 {
991 m_plater->allow_snapshots();
992 }

References m_plater.

Member Data Documentation

◆ m_plater

Plater* Slic3r::GUI::Plater::TakeSnapshot::m_plater
private

The documentation for this class was generated from the following file:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Plater.hpp