![]() |
Prusa Slicer 2.6.0
|
#include <src/libslic3r/Model.hpp>
Inheritance diagram for Slic3r::FacetsAnnotation:
Collaboration diagram for Slic3r::FacetsAnnotation:Public Types | |
| using | Timestamp = uint64_t |
Public Member Functions | |
| void | assign (const FacetsAnnotation &rhs) |
| void | assign (FacetsAnnotation &&rhs) |
| const std::pair< std::vector< std::pair< int, int > >, std::vector< bool > > & | get_data () const throw () |
| bool | set (const TriangleSelector &selector) |
| indexed_triangle_set | get_facets (const ModelVolume &mv, EnforcerBlockerType type) const |
| indexed_triangle_set | get_facets_strict (const ModelVolume &mv, EnforcerBlockerType type) const |
| bool | has_facets (const ModelVolume &mv, EnforcerBlockerType type) const |
| bool | empty () const |
| void | reset () |
| std::string | get_triangle_as_string (int i) const |
| void | reserve (int n_triangles) |
| void | set_triangle_from_string (int triangle_id, const std::string &str) |
| void | shrink_to_fit () |
| Timestamp | timestamp () const override throw () |
| bool | timestamp_matches (const ObjectWithTimestamp &rhs) const throw () |
| bool | object_id_and_timestamp_match (const ObjectWithTimestamp &rhs) const throw () |
| void | touch () |
| ObjectID | id () const |
Protected Member Functions | |
| void | copy_timestamp (const ObjectWithTimestamp &rhs) |
| void | set_new_unique_id () |
| void | set_invalid_id () |
| void | copy_id (const ObjectBase &rhs) |
| virtual void | assign_new_unique_ids_recursive () |
Private Member Functions | |
| FacetsAnnotation ()=default | |
| FacetsAnnotation (int) | |
| FacetsAnnotation (const FacetsAnnotation &rhs)=default | |
| FacetsAnnotation (FacetsAnnotation &&rhs)=default | |
| FacetsAnnotation & | operator= (const FacetsAnnotation &rhs)=default |
| FacetsAnnotation & | operator= (FacetsAnnotation &&rhs)=default |
| template<class Archive > | |
| void | serialize (Archive &ar) |
Static Private Member Functions | |
| static ObjectID | generate_new_id () |
| template<class Archive > | |
| static void | load_and_construct (Archive &ar, cereal::construct< ObjectBase > &construct) |
Private Attributes | |
| std::pair< std::vector< std::pair< int, int > >, std::vector< bool > > | m_data |
| Timestamp | m_timestamp { 1 } |
| ObjectID | m_id |
Static Private Attributes | |
| static Timestamp | s_last_timestamp = 1 |
| static size_t | s_last_id = 0 |
Friends | |
| class | cereal::access |
| class | UndoRedo::StackImpl |
| class | ModelVolume |
|
inherited |
|
explicitprivatedefault |
|
inlineexplicitprivate |
|
explicitprivatedefault |
|
explicitprivatedefault |
|
inline |
References Slic3r::ObjectWithTimestamp::copy_timestamp(), m_data, and Slic3r::ObjectWithTimestamp::timestamp_matches().
Referenced by Slic3r::ModelObject::convert_units(), Slic3r::model_volume_list_copy_configs(), and Slic3r::GUI::Plater::priv::replace_volume_with_stl().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References Slic3r::ObjectWithTimestamp::copy_timestamp(), m_data, and Slic3r::ObjectWithTimestamp::timestamp_matches().
Here is the call graph for this function:
|
inlineprotectedvirtualinherited |
Reimplemented in Slic3r::Model, Slic3r::ModelObject, and Slic3r::ModelVolume.
References Slic3r::ObjectBase::set_new_unique_id().
Here is the call graph for this function:
|
inlineprotectedinherited |
References Slic3r::ObjectBase::id(), and Slic3r::ObjectBase::m_id.
Referenced by Slic3r::CutObjectBase::copy().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprotectedinherited |
References Slic3r::ObjectWithTimestamp::m_timestamp.
Referenced by assign(), Slic3r::LayerHeightProfile::assign(), assign(), and Slic3r::LayerHeightProfile::assign().
Here is the caller graph for this function:
|
inline |
References m_data.
Referenced by Slic3r::ModelVolume::ModelVolume(), Slic3r::ModelVolume::is_fdm_support_painted(), Slic3r::ModelVolume::is_mm_painted(), and Slic3r::ModelVolume::is_seam_painted().
Here is the caller graph for this function:
|
inlinestaticprivateinherited |
References Slic3r::ObjectBase::s_last_id.
Referenced by Slic3r::ObjectBase::set_new_unique_id().
Here is the caller graph for this function:
|
inline | |||||||||||||
| indexed_triangle_set Slic3r::FacetsAnnotation::get_facets | ( | const ModelVolume & | mv, |
| EnforcerBlockerType | type | ||
| ) | const |
References Slic3r::TriangleSelector::deserialize(), Slic3r::TriangleSelector::get_facets(), and Slic3r::ModelVolume::mesh().
Here is the call graph for this function:| indexed_triangle_set Slic3r::FacetsAnnotation::get_facets_strict | ( | const ModelVolume & | mv, |
| EnforcerBlockerType | type | ||
| ) | const |
References Slic3r::TriangleSelector::deserialize(), Slic3r::TriangleSelector::get_facets_strict(), and Slic3r::ModelVolume::mesh().
Here is the call graph for this function:| std::string Slic3r::FacetsAnnotation::get_triangle_as_string | ( | int | i | ) | const |
| bool Slic3r::FacetsAnnotation::has_facets | ( | const ModelVolume & | mv, |
| EnforcerBlockerType | type | ||
| ) | const |
|
inlineinherited |
References Slic3r::ObjectBase::m_id.
Referenced by Slic3r::Model::Model(), Slic3r::ModelInstance::ModelInstance(), Slic3r::ModelMaterial::ModelMaterial(), Slic3r::ModelObject::ModelObject(), Slic3r::ModelObject::ModelObject(), Slic3r::ModelObject::ModelObject(), Slic3r::ModelObject::ModelObject(), Slic3r::ModelObject::ModelObject(), Slic3r::ModelVolume::ModelVolume(), Slic3r::ModelVolume::ModelVolume(), Slic3r::ModelVolume::ModelVolume(), Slic3r::_3MF_Importer::_load_model_from_file(), Slic3r::GUI::Plater::priv::actualize_slicing_warnings(), Slic3r::ModelObjectStatusDB::add(), Slic3r::ModelObjectStatusDB::add_if_new(), Slic3r::Print::apply(), Slic3r::SLAPrint::apply(), Slic3r::GUI::GLGizmoFdmSupports::apply_data_from_backend(), Slic3r::ModelVolume::check(), Slic3r::check_model_ids_equal(), Slic3r::ModelObject::convert_units(), Slic3r::ObjectBase::copy_id(), Slic3r::PrintObjectStatusDB::count(), anonymous_namespace{RaycastManager.cpp}::create_key(), priv::create_volume(), Slic3r::GUI::Emboss::create_volume_sources(), Slic3r::GUI::GLGizmoHollow::data_changed(), Slic3r::GUI::GLGizmoPainterBase::data_changed(), Slic3r::GUI::GLGizmoSlaSupports::data_changed(), Slic3r::Model::delete_object(), Slic3r::GUI::Plater::export_stl_obj(), Slic3r::ModelObjectStatusDB::get(), Slic3r::GUI::get_arrange_poly(), Slic3r::GUI::GLGizmoSlaSupports::get_data_from_backend(), Slic3r::PrintObjectStatusDB::get_range(), Slic3r::GUI::GLGizmoFdmSupports::has_backend_supports(), Slic3r::GUI::GLGizmoSlaSupports::has_backend_supports(), Slic3r::CutObjectBase::has_same_id(), Slic3r::UndoRedo::StackImpl::immutable_object_id_impl(), Slic3r::GUI::GLGizmoSimplify::init_model(), Slic3r::inner_brim_area(), Slic3r::ModelObject::is_cut(), Slic3r::CutObjectBase::is_equal(), Slic3r::ObjectBase::load_and_construct(), Slic3r::UndoRedo::StackImpl::load_snapshot(), Slic3r::GUI::ObjectList::merge(), Slic3r::model_property_changed(), Slic3r::model_volume_list_changed(), Slic3r::model_volume_list_copy_configs(), Slic3r::ModelConfigObject::object_id_and_timestamp_match(), Slic3r::ObjectWithTimestamp::object_id_and_timestamp_match(), Slic3r::GUI::GLGizmoEmboss::on_mouse_change_selection(), Slic3r::GUI::CommonGizmosDataObjects::SelectionInfo::on_update(), Slic3r::CutObjectBase::operator<(), Slic3r::Model::operator=(), Slic3r::ModelObject::operator=(), Slic3r::ModelObject::operator=(), Slic3r::CutObjectBase::operator==(), Slic3r::GUI::GLGizmoCut3D::perform_cut(), Slic3r::GUI::GLGizmoEmboss::process(), Slic3r::GUI::processed_objects_idxs(), Slic3r::GUI::GLCanvas3D::reload_scene(), Slic3r::GUI::GLCanvas3D::LayersEditing::select_object(), Slic3r::ModelMaterial::serialize(), Slic3r::SLAPrintObject::SliceRecord::set_model_slice_idx(), Slic3r::SLAPrintObject::SliceRecord::set_support_slice_idx(), Slic3r::slices_to_regions(), Slic3r::ModelObject::split(), Slic3r::UndoRedo::StackImpl::take_snapshot(), Slic3r::top_level_outer_brim_area(), Slic3r::GUI::update_object_cut_id(), and anonymous_namespace{EmbossJob.cpp}::update_volume_name().
|
inlinestaticprivateinherited |
|
inlineinherited | ||||||||||||||
References Slic3r::ObjectID::id, Slic3r::ObjectBase::id(), and Slic3r::ObjectWithTimestamp::m_timestamp.
Here is the call graph for this function:
|
privatedefault |
|
privatedefault |
|
inline |
| void Slic3r::FacetsAnnotation::reset | ( | ) |
|
inlineprivate |
| bool Slic3r::FacetsAnnotation::set | ( | const TriangleSelector & | selector | ) |
References Slic3r::TriangleSelector::serialize().
Here is the call graph for this function:
|
inlineprotectedinherited |
References Slic3r::ObjectBase::m_id.
Referenced by Slic3r::CutObjectBase::invalidate().
Here is the caller graph for this function:
|
inlineprotectedinherited |
References Slic3r::ObjectBase::generate_new_id(), and Slic3r::ObjectBase::m_id.
Referenced by Slic3r::ModelVolume::ModelVolume(), Slic3r::Model::assign_new_unique_ids_recursive(), Slic3r::ObjectBase::assign_new_unique_ids_recursive(), Slic3r::ModelObject::assign_new_unique_ids_recursive(), Slic3r::CutObjectBase::init(), Slic3r::ModelMaterial::set_new_unique_id(), Slic3r::ModelObject::set_new_unique_id(), and Slic3r::ModelVolume::set_new_unique_id().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::FacetsAnnotation::set_triangle_from_string | ( | int | triangle_id, |
| const std::string & | str | ||
| ) |
|
inline |
|
inlineoverridevirtualinherited | |||||||||||||
|
inlineinherited | ||||||||||||||
References Slic3r::ObjectWithTimestamp::m_timestamp.
Referenced by Slic3r::Print::apply(), assign(), Slic3r::LayerHeightProfile::assign(), assign(), Slic3r::LayerHeightProfile::assign(), Slic3r::model_custom_seam_data_changed(), Slic3r::model_custom_supports_data_changed(), and Slic3r::model_mmu_segmentation_data_changed().
Here is the caller graph for this function:
|
inlineinherited |
References Slic3r::ObjectWithTimestamp::m_timestamp, and Slic3r::ObjectWithTimestamp::s_last_timestamp.
Referenced by Slic3r::LayerHeightProfile::clear(), Slic3r::LayerHeightProfile::set(), and Slic3r::LayerHeightProfile::set().
Here is the caller graph for this function:
|
friend |
|
friend |
|
friend |
|
private |
Referenced by assign(), assign(), empty(), get_data(), reserve(), serialize(), and shrink_to_fit().
|
privateinherited |
|
privateinherited |
|
staticprivateinherited |
Referenced by Slic3r::ObjectBase::generate_new_id().
|
staticprivateinherited |
Referenced by Slic3r::ObjectWithTimestamp::touch().