OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::Arachne::SkeletalTrapezoidationJoint Class Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Arachne/SkeletalTrapezoidationJoint.hpp>

Collaboration diagram for Slic3r::Arachne::SkeletalTrapezoidationJoint:

Classes

struct  BeadingPropagation

Public Member Functions

 SkeletalTrapezoidationJoint ()
 The distance near the skeleton to leave free because this joint is in the middle of a transition, as a fraction of the inner bead width of the bead at the higher transition.
bool hasBeading () const
void setBeading (std::shared_ptr< BeadingPropagation > storage)
std::shared_ptr< BeadingPropagation > getBeading ()

Public Attributes

coord_t distance_to_boundary
coord_t bead_count
float transition_ratio

Private Types

using Beading = BeadingStrategy::Beading

Private Attributes

std::weak_ptr< BeadingPropagation > beading

Detailed Description

Member Typedef Documentation

◆ Beading

Constructor & Destructor Documentation

◆ SkeletalTrapezoidationJoint()

Slic3r::Arachne::SkeletalTrapezoidationJoint::SkeletalTrapezoidationJoint ( )
inline

The distance near the skeleton to leave free because this joint is in the middle of a transition, as a fraction of the inner bead width of the bead at the higher transition.

38 , bead_count(-1)
40 {}
coord_t bead_count
Definition SkeletalTrapezoidationJoint.hpp:34
coord_t distance_to_boundary
Definition SkeletalTrapezoidationJoint.hpp:33
float transition_ratio
Definition SkeletalTrapezoidationJoint.hpp:35

References bead_count, distance_to_boundary, and transition_ratio.

Member Function Documentation

◆ getBeading()

std::shared_ptr< BeadingPropagation > Slic3r::Arachne::SkeletalTrapezoidationJoint::getBeading ( )
inline
51 {
52 return beading.lock();
53 }
std::weak_ptr< BeadingPropagation > beading
Definition SkeletalTrapezoidationJoint.hpp:57

References beading.

Referenced by Slic3r::Arachne::SkeletalTrapezoidation::getOrCreateBeading(), Slic3r::Arachne::SkeletalTrapezoidation::propagateBeadingsDownward(), and Slic3r::Arachne::SkeletalTrapezoidation::propagateBeadingsUpward().

Here is the caller graph for this function:

◆ hasBeading()

bool Slic3r::Arachne::SkeletalTrapezoidationJoint::hasBeading ( ) const
inline
43 {
44 return beading.use_count() > 0;
45 }

References beading.

Referenced by Slic3r::Arachne::SkeletalTrapezoidation::getOrCreateBeading(), Slic3r::Arachne::SkeletalTrapezoidation::propagateBeadingsDownward(), and Slic3r::Arachne::SkeletalTrapezoidation::propagateBeadingsUpward().

Here is the caller graph for this function:

◆ setBeading()

void Slic3r::Arachne::SkeletalTrapezoidationJoint::setBeading ( std::shared_ptr< BeadingPropagation > storage)
inline
47 {
48 beading = storage;
49 }

References beading.

Referenced by Slic3r::Arachne::SkeletalTrapezoidation::getOrCreateBeading(), Slic3r::Arachne::SkeletalTrapezoidation::propagateBeadingsDownward(), and Slic3r::Arachne::SkeletalTrapezoidation::propagateBeadingsUpward().

Here is the caller graph for this function:

Member Data Documentation

◆ bead_count

◆ beading

std::weak_ptr<BeadingPropagation> Slic3r::Arachne::SkeletalTrapezoidationJoint::beading
private

Referenced by getBeading(), hasBeading(), and setBeading().

◆ distance_to_boundary

◆ transition_ratio


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