Base data hold data for create emboss shape. More...
#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Jobs/EmbossJob.hpp>
Public Member Functions | |
| DataBase (const std::string &volume_name, std::shared_ptr< std::atomic< bool > > cancel) | |
| DataBase (const std::string &volume_name, std::shared_ptr< std::atomic< bool > > cancel, EmbossShape &&shape) | |
| DataBase (DataBase &&)=default | |
| virtual | ~DataBase ()=default |
| virtual EmbossShape & | create_shape () |
| Create shape e.g. Text extract glyphs from font Not 'const' function because it could modify shape. | |
| virtual void | write (ModelVolume &volume) const |
| Write data how to reconstruct shape to volume. | |
Public Attributes | |
| bool | is_outside = true |
| Slic3r::Emboss::TextLines | text_lines = {} |
| std::optional< float > | from_surface |
| std::string | volume_name |
| std::shared_ptr< std::atomic< bool > > | cancel |
| EmbossShape | shape |
Base data hold data for create emboss shape.
|
inline |
References cancel, and volume_name.
Referenced by DataBase(), and anonymous_namespace{GLGizmoEmboss.cpp}::TextDataBase::TextDataBase().
|
inline |
References cancel, shape, and volume_name.
|
default |
|
virtualdefault |
|
inlinevirtual |
Create shape e.g. Text extract glyphs from font Not 'const' function because it could modify shape.
Reimplemented in anonymous_namespace{GLGizmoEmboss.cpp}::TextDataBase.
References shape.
Referenced by anonymous_namespace{EmbossJob.cpp}::create_mesh_per_glyph(), anonymous_namespace{EmbossJob.cpp}::create_shape(), and anonymous_namespace{EmbossJob.cpp}::cut_per_glyph_surface().
|
virtual |
Write data how to reconstruct shape to volume.
| volume | Data object for store emboss params |
Reimplemented in anonymous_namespace{GLGizmoEmboss.cpp}::TextDataBase.
References Slic3r::ModelVolume::emboss_shape, Slic3r::ModelVolume::name, shape, and volume_name.
Referenced by anonymous_namespace{EmbossJob.cpp}::create_volume(), Slic3r::GUI::Emboss::UpdateJob::update_volume(), and anonymous_namespace{GLGizmoEmboss.cpp}::TextDataBase::write().
| std::shared_ptr<std::atomic<bool> > Slic3r::GUI::Emboss::DataBase::cancel |
| std::optional<float> Slic3r::GUI::Emboss::DataBase::from_surface |
| bool Slic3r::GUI::Emboss::DataBase::is_outside = true |
| EmbossShape Slic3r::GUI::Emboss::DataBase::shape |
Referenced by DataBase(), anonymous_namespace{GLGizmoEmboss.cpp}::TextDataBase::TextDataBase(), anonymous_namespace{EmbossJob.cpp}::check(), anonymous_namespace{EmbossJob.cpp}::check(), anonymous_namespace{EmbossJob.cpp}::check(), anonymous_namespace{EmbossJob.cpp}::check(), anonymous_namespace{EmbossJob.cpp}::check(), anonymous_namespace{GLGizmoEmboss.cpp}::TextDataBase::create_shape(), create_shape(), anonymous_namespace{EmbossJob.cpp}::create_volume(), anonymous_namespace{EmbossJob.cpp}::cut_surface_to_its(), anonymous_namespace{EmbossJob.cpp}::start_create_object_job(), anonymous_namespace{EmbossJob.cpp}::start_create_volume_job(), anonymous_namespace{EmbossJob.cpp}::try_create_mesh(), and write().
| Slic3r::Emboss::TextLines Slic3r::GUI::Emboss::DataBase::text_lines = {} |
| std::string Slic3r::GUI::Emboss::DataBase::volume_name |