#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/SLAPrint.hpp>
Classes | |
| struct | Instance |
| class | SliceRecord |
| class | SupportData |
| class | HollowingData |
Public Types | |
| typedef PrintState< SLAPrintObjectStep, COUNT > | PrintObjectState |
| using | Timestamp |
Static Protected Member Functions | |
| static std::mutex & | state_mutex (PrintBase *print) |
| static std::function< void()> | cancel_callback (PrintBase *print) |
Protected Attributes | |
| std::vector< bool > | m_stepmask |
| friend | PrintType |
| SLAPrint * | m_print |
| ModelObject * | m_model_object |
Private Types | |
| using | Inherited = _SLAPrintObjectBase |
Private Member Functions | |
| const std::vector< ExPolygons > & | get_model_slices () const |
| const std::vector< ExPolygons > & | get_support_slices () const |
| void | serialize (Archive &ar) |
Static Private Member Functions | |
| template<class T> | |
| static T | level (const SliceRecord &sr) |
| template<class T> | |
| static SliceRecord | create_slice_record (T val) |
| template<class Container, class T> | |
| static auto | closest_slice_record (Container &cont, T lvl, T eps=std::numeric_limits< T >::max()) -> decltype(cont.begin()) |
| static ObjectID | generate_new_id () |
| static void | load_and_construct (Archive &ar, cereal::construct< ObjectBase > &construct) |
Private Attributes | |
| SLAPrintObjectConfig | m_config |
| Transform3d | m_trafo = Transform3d::Identity() |
| bool | m_left_handed = false |
| std::vector< Instance > | m_instances |
| std::vector< ExPolygons > | m_model_slices |
| std::vector< SliceRecord > | m_slice_index |
| std::vector< float > | m_model_height_levels |
| CachedObject< TriangleMesh > | m_transformed_rmesh |
| std::unique_ptr< SupportData > | m_supportdata |
| std::unique_ptr< HollowingData > | m_hollowing_data |
| PrintState< SLAPrintObjectStep, COUNT > | m_state |
| ObjectID | m_id |
Static Private Attributes | |
| static size_t | s_last_id |
Friends | |
| class | SLAPrint |
| class Slic3r::SLAPrintObject::HollowingData |
| Class Members | ||
|---|---|---|
| TriangleMesh | hollow_mesh_with_holes | |
| TriangleMesh | hollow_mesh_with_holes_trimmed | |
| InteriorPtr | interior | |
|
private |
|
inherited |
|
inherited |
|
delete |
References SLAPrintObject().
Referenced by SLAPrintObject(), operator=(), Slic3r::SLAPrintObject::SliceRecord::print_obj(), Slic3r::SLAPrintObject::SliceRecord::set_model_slice_idx(), and Slic3r::SLAPrintObject::SliceRecord::set_support_slice_idx().
|
protected |
References Slic3r::PrintObjectBaseWithState< SLAPrint, SLAPrintObjectStep, slaposCount >::m_model_object, m_stepmask, m_transformed_rmesh, Slic3r::PrintObjectBaseWithState< SLAPrint, SLAPrintObjectStep, slaposCount >::model_object(), Slic3r::PrintObjectBaseWithState< SLAPrint, SLAPrintObjectStep, slaposCount >::print(), Slic3r::slaposCount, and SLAPrint.
|
protected |
|
inlineprotectedinherited |
|
inlineprotectedvirtualinherited |
|
staticprotectedinherited |
|
inlinestaticprivate |
References create_slice_record(), Slic3r::diff(), and level().
Referenced by closest_slice_to_print_level(), closest_slice_to_slice_level(), and Slic3r::SLAPrint::Steps::slice_model().
|
inline |
References closest_slice_record(), Slic3r::SLAPrintObject::SliceRecord::EMPTY, and m_slice_index.
Referenced by Slic3r::GUI::GLCanvas3D::_render_sla_slices().
|
inline |
References closest_slice_record(), Slic3r::SLAPrintObject::SliceRecord::EMPTY, and m_slice_index.
|
inline |
References m_config.
Referenced by Slic3r::SLAPrintStatistics::finalize_output_path(), Slic3r::SLAPrint::Steps::slice_model(), Slic3r::SLAPrint::Steps::slice_supports(), Slic3r::SLAPrint::Steps::support_points(), and Slic3r::SLAPrint::Steps::support_tree().
|
inlineprotected |
|
inlineprotected |
|
inlineprotectedinherited |
|
inlinestaticprivate |
Referenced by closest_slice_record().
|
protectedinherited |
|
inlinestaticprivateinherited |
| double Slic3r::SLAPrintObject::get_current_elevation | ( | ) | const |
References get_elevation(), Slic3r::PrintObjectBaseWithState< SLAPrint, SLAPrintObjectStep, slaposCount >::is_step_done(), Slic3r::is_zero_elevation(), m_config, Slic3r::slaposPad, and Slic3r::slaposSupportTree.
| double Slic3r::SLAPrintObject::get_elevation | ( | ) | const |
References Slic3r::sla::PadConfig::embed_object, Slic3r::is_zero_elevation(), m_config, Slic3r::make_pad_cfg(), and Slic3r::sla::PadConfig::required_elevation().
Referenced by get_current_elevation(), and Slic3r::SLAPrint::Steps::slice_model().
| TriangleMesh Slic3r::SLAPrintObject::get_mesh | ( | SLAPrintObjectStep | step | ) | const |
References get_mesh_to_print(), m_hollowing_data, pad_mesh(), Slic3r::slaposDrillHoles, Slic3r::slaposPad, Slic3r::slaposSupportTree, and support_mesh().
Referenced by Slic3r::GLVolumeCollection::load_object_auxiliary().
|
inline |
References Slic3r::PrintObjectBaseWithState< SLAPrint, SLAPrintObjectStep, slaposCount >::is_step_done(), m_hollowing_data, Slic3r::slaposDrillHoles, and transformed_mesh().
Referenced by Slic3r::GUI::Plater::export_stl(), get_mesh(), Slic3r::SLAPrint::Steps::slice_model(), and Slic3r::SLAPrint::Steps::support_points().
|
inline |
References Slic3r::PrintObjectBaseWithState< SLAPrint, SLAPrintObjectStep, slaposCount >::is_step_done(), m_hollowing_data, Slic3r::slaposDrillHoles, and transformed_mesh().
Referenced by Slic3r::SLAPrint::Steps::slice_model().
|
inlineprivate |
References m_model_slices.
Referenced by Slic3r::SLAPrint::Steps::support_points().
|
inline |
References m_slice_index.
Referenced by Slic3r::GUI::GLCanvas3D::_render_sla_slices(), and Slic3r::SLAPrint::Steps::initialize_printer_input().
| const std::vector< sla::SupportPoint > & Slic3r::SLAPrintObject::get_support_points | ( | ) | const |
References m_supportdata.
|
private |
References m_supportdata.
| bool Slic3r::SLAPrintObject::has_mesh | ( | SLAPrintObjectStep | step | ) | const |
References Slic3r::TriangleMesh::empty(), m_hollowing_data, pad_mesh(), Slic3r::slaposDrillHoles, Slic3r::slaposPad, Slic3r::slaposSupportTree, and support_mesh().
| const indexed_triangle_set & Slic3r::SLAPrintObject::hollowed_interior_mesh | ( | ) | const |
References Slic3r::sla::get_mesh(), m_config, and m_hollowing_data.
|
inlineinherited |
Referenced by Slic3r::SLAPrintObject::SliceRecord::set_model_slice_idx(), and Slic3r::SLAPrintObject::SliceRecord::set_support_slice_idx().
|
inline |
References m_instances.
Referenced by Slic3r::GUI::GLCanvas3D::_render_sla_slices(), Slic3r::get_all_polygons(), and set_instances().
|
protected |
References Slic3r::PrintObjectBaseWithState< SLAPrint, SLAPrintObjectStep, slaposCount >::invalidate_all_steps(), and Slic3r::PrintObjectBaseWithState< SLAPrint, SLAPrintObjectStep, slaposCount >::m_print.
Referenced by invalidate_step().
|
inlineprotectedinherited |
|
protected |
References invalidate_step(), Slic3r::slaposHollowing, Slic3r::slaposObjectSlice, Slic3r::slaposPad, Slic3r::slaposSupportPoints, Slic3r::slaposSupportTree, and Slic3r::sort_remove_duplicates().
|
protected |
References invalidate_all_steps(), Slic3r::PrintObjectBaseWithState< SLAPrint, SLAPrintObjectStep, slaposCount >::invalidate_step(), Slic3r::PrintObjectBaseWithState< SLAPrint, SLAPrintObjectStep, slaposCount >::invalidate_steps(), Slic3r::PrintObjectBaseWithState< SLAPrint, SLAPrintObjectStep, slaposCount >::m_print, Slic3r::slaposDrillHoles, Slic3r::slaposHollowing, Slic3r::slaposObjectSlice, Slic3r::slaposPad, Slic3r::slaposSliceSupports, Slic3r::slaposSupportPoints, Slic3r::slaposSupportTree, and Slic3r::slapsMergeSlicesAndEval.
Referenced by invalidate_state_by_config_options().
|
inlineprotectedinherited |
|
inlineprotectedinherited |
Referenced by Slic3r::SLAPrintObject::invalidate_step().
|
inline |
References m_left_handed.
Referenced by Slic3r::GUI::GLCanvas3D::_render_sla_slices(), and Slic3r::get_all_polygons().
|
inlineinherited |
Referenced by Slic3r::SLAPrintObject::get_current_elevation(), Slic3r::SLAPrintObject::get_mesh_to_print(), and Slic3r::SLAPrintObject::get_mesh_to_slice().
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlinestaticprivate |
References Slic3r::SLAPrintObject::SliceRecord::print_level(), and Slic3r::SLAPrintObject::SliceRecord::slice_level().
Referenced by closest_slice_record().
|
inlinestaticprivateinherited |
|
inlineinherited |
|
inlineinherited |
Referenced by Slic3r::SLAPrintObject::SLAPrintObject(), and Slic3r::SLAPrintObject::SLAPrint.
|
delete |
| const TriangleMesh & Slic3r::SLAPrintObject::pad_mesh | ( | ) | const |
References m_config, and m_supportdata.
Referenced by get_mesh(), and has_mesh().
|
inlineinherited |
Referenced by Slic3r::SLAPrintObject::SLAPrintObject(), and Slic3r::SLAPrintObject::SLAPrint.
|
inlineinherited |
|
inlineprivateinherited |
|
inlineprotectedinherited |
|
inlineprotected |
References instances(), and m_instances.
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotected |
References m_left_handed, m_trafo, m_transformed_rmesh, and trafo().
|
staticprotectedinherited |
|
protectedinherited |
|
inlineinherited |
|
inlineinherited |
| const TriangleMesh & Slic3r::SLAPrintObject::support_mesh | ( | ) | const |
References m_config, and m_supportdata.
Referenced by get_mesh(), has_mesh(), and Slic3r::SLAPrint::Steps::support_tree().
|
inlineprotectedinherited |
|
inlinevirtualinherited |
|
inline |
References m_trafo.
Referenced by Slic3r::SLAPrint::apply(), Slic3r::GLVolumeCollection::load_object_auxiliary(), set_trafo(), transformed_drainhole_points(), and transformed_support_points().
| sla::DrainHoles Slic3r::SLAPrintObject::transformed_drainhole_points | ( | ) | const |
References Slic3r::sla::HoleStickOutLength, Slic3r::PrintObjectBaseWithState< SLAPrint, SLAPrintObjectStep, slaposCount >::m_model_object, and trafo().
| const TriangleMesh & Slic3r::SLAPrintObject::transformed_mesh | ( | ) | const |
References m_transformed_rmesh.
Referenced by Slic3r::SLAPrint::Steps::generate_pad(), get_mesh_to_print(), get_mesh_to_slice(), and Slic3r::SLAPrint::Steps::hollow_model().
| sla::SupportPoints Slic3r::SLAPrintObject::transformed_support_points | ( | ) | const |
References Slic3r::PrintObjectBaseWithState< SLAPrint, SLAPrintObjectStep, slaposCount >::m_model_object, and trafo().
Referenced by Slic3r::SLAPrint::Steps::support_points().
|
friend |
|
private |
Referenced by Slic3r::SLAPrint::Steps::apply_printer_corrections(), config(), config_apply(), config_apply_only(), Slic3r::SLAPrint::Steps::generate_pad(), get_current_elevation(), get_elevation(), Slic3r::SLAPrint::Steps::hollow_model(), hollowed_interior_mesh(), pad_mesh(), Slic3r::SLAPrint::Steps::slice_model(), Slic3r::SLAPrint::Steps::slice_supports(), support_mesh(), Slic3r::SLAPrint::Steps::support_points(), and Slic3r::SLAPrint::Steps::support_tree().
|
private |
|
privateinherited |
|
private |
Referenced by instances(), and set_instances().
|
private |
Referenced by is_left_handed(), and set_trafo().
|
private |
Referenced by Slic3r::SLAPrint::Steps::slice_model(), and Slic3r::SLAPrint::Steps::support_points().
|
protectedinherited |
|
private |
|
protectedinherited |
|
private |
|
privateinherited |
|
protected |
Referenced by SLAPrintObject(), and Slic3r::SLAPrint::set_task().
|
private |
Referenced by Slic3r::SLAPrint::Steps::apply_printer_corrections(), Slic3r::SLAPrint::Steps::generate_pad(), get_support_points(), get_support_slices(), pad_mesh(), Slic3r::SLAPrint::Steps::slice_model(), Slic3r::SLAPrint::Steps::slice_supports(), support_mesh(), Slic3r::SLAPrint::Steps::support_points(), and Slic3r::SLAPrint::Steps::support_tree().
|
private |
Referenced by set_trafo(), and trafo().
|
mutableprivate |
Referenced by SLAPrintObject(), set_trafo(), and transformed_mesh().
|
protectedinherited |
|
staticprivateinherited |