OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::SLAPrint::PrintLayer Class Reference

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

Collaboration diagram for Slic3r::SLAPrint::PrintLayer:

Public Member Functions

 PrintLayer (coord_t lvl)
bool operator< (const PrintLayer &other) const
void add (const SliceRecord &sr)
coord_t level () const
auto slices () const -> const decltype(m_slices)&
const ExPolygons & transformed_slices () const

Private Member Functions

template<class Container>
void transformed_slices (Container &&c)

Private Attributes

coord_t m_level
std::vector< std::reference_wrapper< const SliceRecord > > m_slices
ExPolygons m_transformed_slices

Friends

class SLAPrint::Steps

Detailed Description

Constructor & Destructor Documentation

◆ PrintLayer()

Slic3r::SLAPrint::PrintLayer::PrintLayer ( coord_t lvl)
inlineexplicit
535: m_level(lvl) {}
coord_t m_level
Definition SLAPrint.hpp:519

References m_level.

Referenced by operator<().

Here is the caller graph for this function:

Member Function Documentation

◆ add()

void Slic3r::SLAPrint::PrintLayer::add ( const SliceRecord & sr)
inline
542{ m_slices.emplace_back(sr); }
std::vector< std::reference_wrapper< const SliceRecord > > m_slices
Definition SLAPrint.hpp:522

References m_slices.

◆ level()

coord_t Slic3r::SLAPrint::PrintLayer::level ( ) const
inline
544{ return m_level; }

References m_level.

◆ operator<()

bool Slic3r::SLAPrint::PrintLayer::operator< ( const PrintLayer & other) const
inline
538 {
539 return m_level < other.m_level;
540 }

References PrintLayer(), and m_level.

Here is the call graph for this function:

◆ slices()

auto Slic3r::SLAPrint::PrintLayer::slices ( ) const->constdecltype(m_slices)&
inline
546{ return m_slices; }

References m_slices.

Referenced by Slic3r::SLAPrint::Steps::merge_slices_and_eval_stats().

Here is the caller graph for this function:

◆ transformed_slices() [1/2]

const ExPolygons & Slic3r::SLAPrint::PrintLayer::transformed_slices ( ) const
inline
548 {
550 }
ExPolygons m_transformed_slices
Definition SLAPrint.hpp:524

References m_transformed_slices.

◆ transformed_slices() [2/2]

template<class Container>
void Slic3r::SLAPrint::PrintLayer::transformed_slices ( Container && c)
inlineprivate
527 {
528 m_transformed_slices = std::forward<Container>(c);
529 }

References m_transformed_slices.

Referenced by Slic3r::SLAPrint::Steps::merge_slices_and_eval_stats(), and Slic3r::SLAPrint::Steps::rasterize().

Here is the caller graph for this function:

◆ SLAPrint::Steps

friend class SLAPrint::Steps
friend

Member Data Documentation

◆ m_level

coord_t Slic3r::SLAPrint::PrintLayer::m_level
private

Referenced by PrintLayer(), level(), and operator<().

◆ m_slices

std::vector<std::reference_wrapper<const SliceRecord> > Slic3r::SLAPrint::PrintLayer::m_slices
private

Referenced by add(), and slices().

◆ m_transformed_slices

ExPolygons Slic3r::SLAPrint::PrintLayer::m_transformed_slices
private

The documentation for this class was generated from the following file:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/SLAPrint.hpp