#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Support/BeltFloorContext.hpp>
Public Member Functions | |
| BeltFloorContext ()=default | |
| bool | init (const SlicingParameters &sp, const PrintConfig &pcfg) |
| bool | init_local (const SlicingParameters &sp, const PrintConfig &pcfg, double global_z_offset) |
| bool | is_active () const |
| Polygons | surface_polygon (coordf_t print_z) const |
| Polygons | valid_region_polygon (coordf_t print_z) const |
| double | floor_print_z (const Point &pos_slicing) const |
| coordf_t | cutoff_u (coordf_t print_z) const |
| std::vector< Polygons > | compute_per_layer_floors (size_t num_layers, const std::function< double(size_t)> &layer_print_z) const |
| double | shear_factor () const |
| int | from_axis () const |
| double | z_shift () const |
| double | floor_offset () const |
Private Member Functions | |
| Polygons | half_plane (coordf_t print_z, bool belt_surface) const |
Private Attributes | |
| bool | m_active = false |
| double | m_shear_factor = 0.0 |
| int | m_from_axis = 1 |
| double | m_z_shift = 0.0 |
| double | m_floor_offset = 0.0 |
|
default |
| std::vector< Polygons > Slic3r::BeltFloorContext::compute_per_layer_floors | ( | size_t | num_layers, |
| const std::function< double(size_t)> & | layer_print_z ) const |
References m_active, and surface_polygon().
Referenced by Slic3r::TreeSupport3D::TreeModelVolumes::TreeModelVolumes().
References m_floor_offset, m_shear_factor, and m_z_shift.
Referenced by Slic3r::belt_brim_band_paths(), half_plane(), and Slic3r::make_belt_brim().
|
inline |
References m_floor_offset.
Referenced by Slic3r::make_belt_brim().
| double Slic3r::BeltFloorContext::floor_print_z | ( | const Point & | pos_slicing | ) | const |
References m_active, m_floor_offset, m_from_axis, m_shear_factor, m_z_shift, and Slic3r::unscale().
Referenced by Slic3r::belt_brim_band_paths(), Slic3r::TreeSupport::belt_floor_print_z(), Slic3r::TreeSupport::belt_node_landed(), and Slic3r::TreeSupport::belt_polygon_landed().
|
inline |
References m_from_axis.
Referenced by Slic3r::TreeSupport::detect_overhangs(), and Slic3r::make_belt_brim().
References cutoff_u(), m_active, m_from_axis, m_shear_factor, and scale_.
Referenced by surface_polygon(), and valid_region_polygon().
| bool Slic3r::BeltFloorContext::init | ( | const SlicingParameters & | sp, |
| const PrintConfig & | pcfg ) |
References Slic3r::SlicingParameters::belt_floor_from_axis, Slic3r::SlicingParameters::belt_floor_shear_factor, Slic3r::SlicingParameters::belt_floor_z_shift, EPSILON, m_active, m_floor_offset, m_from_axis, m_shear_factor, and m_z_shift.
Referenced by Slic3r::TreeSupport::belt_floor_print_z(), Slic3r::belt_floor_surface_polygon(), Slic3r::belt_floor_valid_region_polygon(), Slic3r::TreeSupport::belt_node_landed(), Slic3r::TreeSupport::belt_polygon_landed(), Slic3r::TreeSupport::detect_overhangs(), Slic3r::TreeSupport::draw_circles(), Slic3r::TreeSupport::generate_toolpaths(), init_local(), Slic3r::make_belt_brim(), and Slic3r::trim_support_layers_by_belt_floor().
| bool Slic3r::BeltFloorContext::init_local | ( | const SlicingParameters & | sp, |
| const PrintConfig & | pcfg, | ||
| double | global_z_offset ) |
References init(), and m_z_shift.
Referenced by Slic3r::TreeSupport3D::TreeModelVolumes::TreeModelVolumes(), and Slic3r::TreeSupport3D::generate_support_areas().
|
inline |
References m_active.
Referenced by Slic3r::TreeSupport3D::TreeModelVolumes::TreeModelVolumes(), and Slic3r::TreeSupport3D::generate_support_areas().
|
inline |
References m_shear_factor.
Referenced by Slic3r::TreeSupport::belt_node_landed(), Slic3r::TreeSupport::detect_overhangs(), and Slic3r::make_belt_brim().
References half_plane().
Referenced by Slic3r::belt_floor_surface_polygon(), and compute_per_layer_floors().
References half_plane().
Referenced by Slic3r::belt_floor_valid_region_polygon().
|
inline |
References m_z_shift.
Referenced by Slic3r::make_belt_brim().
|
private |
Referenced by compute_per_layer_floors(), floor_print_z(), half_plane(), init(), and is_active().
|
private |
Referenced by cutoff_u(), floor_offset(), floor_print_z(), and init().
|
private |
Referenced by floor_print_z(), from_axis(), half_plane(), and init().
|
private |
Referenced by cutoff_u(), floor_print_z(), half_plane(), init(), and shear_factor().
|
private |
Referenced by cutoff_u(), floor_print_z(), init(), init_local(), and z_shift().