Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
Slic3r::branchingtree::Properties Class Reference

#include <src/libslic3r/BranchingTree/BranchingTree.hpp>

+ Collaboration diagram for Slic3r::branchingtree::Properties:

Public Member Functions

Propertiesmax_slope (double val) noexcept
 
Propertiesground_level (double val) noexcept
 
Propertiessampling_radius (double val) noexcept
 
Propertiesbed_shape (ExPolygons bed) noexcept
 
Propertiesmax_branch_length (double val) noexcept
 
double max_slope () const noexcept
 
double ground_level () const noexcept
 
double sampling_radius () const noexcept
 
double max_branch_length () const noexcept
 
const ExPolygonsbed_shape () const noexcept
 

Private Attributes

double m_max_slope = PI / 4.
 
double m_ground_level = 0.
 
double m_sampling_radius = .5
 
double m_max_branch_len = 10.
 
ExPolygons m_bed_shape
 

Detailed Description

Member Function Documentation

◆ bed_shape() [1/2]

const ExPolygons & Slic3r::branchingtree::Properties::bed_shape ( ) const
inlinenoexcept
59{ return m_bed_shape; }
ExPolygons m_bed_shape
Definition BranchingTree.hpp:20

References m_bed_shape.

◆ bed_shape() [2/2]

Properties & Slic3r::branchingtree::Properties::bed_shape ( ExPolygons  bed)
inlinenoexcept
44 {
45 m_bed_shape = std::move(bed);
46 return *this;
47 }

References m_bed_shape.

Referenced by Slic3r::sla::create_branching_tree().

+ Here is the caller graph for this function:

◆ ground_level() [1/2]

double Slic3r::branchingtree::Properties::ground_level ( ) const
inlinenoexcept
56{ return m_ground_level; }
double m_ground_level
Definition BranchingTree.hpp:16

References m_ground_level.

◆ ground_level() [2/2]

Properties & Slic3r::branchingtree::Properties::ground_level ( double  val)
inlinenoexcept
32 {
33 m_ground_level = val;
34 return *this;
35 }

References m_ground_level.

Referenced by Slic3r::sla::create_branching_tree(), Slic3r::branchingtree::PointCloud::foreach_reachable(), Slic3r::branchingtree::PointCloud::get_distance(), and Slic3r::branchingtree::get_support_cone_bb().

+ Here is the caller graph for this function:

◆ max_branch_length() [1/2]

double Slic3r::branchingtree::Properties::max_branch_length ( ) const
inlinenoexcept
58{ return m_max_branch_len; }
double m_max_branch_len
Definition BranchingTree.hpp:18

References m_max_branch_len.

◆ max_branch_length() [2/2]

Properties & Slic3r::branchingtree::Properties::max_branch_length ( double  val)
inlinenoexcept
50 {
51 m_max_branch_len = val;
52 return *this;
53 }

References m_max_branch_len.

Referenced by Slic3r::branchingtree::build_tree(), Slic3r::sla::create_branching_tree(), Slic3r::branchingtree::PointCloud::foreach_reachable(), Slic3r::branchingtree::PointCloud::get_distance(), and Slic3r::branchingtree::get_support_cone_bb().

+ Here is the caller graph for this function:

◆ max_slope() [1/2]

double Slic3r::branchingtree::Properties::max_slope ( ) const
inlinenoexcept
55{ return m_max_slope; }
double m_max_slope
Definition BranchingTree.hpp:15

References m_max_slope.

◆ max_slope() [2/2]

Properties & Slic3r::branchingtree::Properties::max_slope ( double  val)
inlinenoexcept
26 {
27 m_max_slope = val;
28 return *this;
29 }

References m_max_slope.

Referenced by Slic3r::sla::create_branching_tree(), Slic3r::branchingtree::PointCloud::get_distance(), and Slic3r::branchingtree::get_support_cone_bb().

+ Here is the caller graph for this function:

◆ sampling_radius() [1/2]

double Slic3r::branchingtree::Properties::sampling_radius ( ) const
inlinenoexcept
57{ return m_sampling_radius; }
double m_sampling_radius
Definition BranchingTree.hpp:17

References m_sampling_radius.

◆ sampling_radius() [2/2]

Properties & Slic3r::branchingtree::Properties::sampling_radius ( double  val)
inlinenoexcept
38 {
40 return *this;
41 }

References m_sampling_radius.

Member Data Documentation

◆ m_bed_shape

ExPolygons Slic3r::branchingtree::Properties::m_bed_shape
private

Referenced by bed_shape(), and bed_shape().

◆ m_ground_level

double Slic3r::branchingtree::Properties::m_ground_level = 0.
private

Referenced by ground_level(), and ground_level().

◆ m_max_branch_len

double Slic3r::branchingtree::Properties::m_max_branch_len = 10.
private

◆ m_max_slope

double Slic3r::branchingtree::Properties::m_max_slope = PI / 4.
private

Referenced by max_slope(), and max_slope().

◆ m_sampling_radius

double Slic3r::branchingtree::Properties::m_sampling_radius = .5
private

Referenced by sampling_radius(), and sampling_radius().


The documentation for this class was generated from the following file: