OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::GCodeProcessor::SeamsDetector Class Reference

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

Public Member Functions

void activate (bool active)
std::optional< Vec3f > get_first_vertex () const
void set_first_vertex (const Vec3f &vertex)
bool is_active () const
bool has_first_vertex () const

Private Attributes

bool m_active { false }
std::optional< Vec3f > m_first_vertex

Detailed Description

Member Function Documentation

◆ activate()

void Slic3r::GCodeProcessor::SeamsDetector::activate ( bool active)
inline
1071 {
1072 if (m_active != active) {
1073 m_active = active;
1074 if (m_active)
1075 m_first_vertex.reset();
1076 }
1077 }
std::optional< Vec3f > m_first_vertex
Definition GCodeProcessor.hpp:1068
bool m_active
Definition GCodeProcessor.hpp:1067

References m_active, and m_first_vertex.

◆ get_first_vertex()

std::optional< Vec3f > Slic3r::GCodeProcessor::SeamsDetector::get_first_vertex ( ) const
inline
1079{ return m_first_vertex; }

References m_first_vertex.

◆ has_first_vertex()

bool Slic3r::GCodeProcessor::SeamsDetector::has_first_vertex ( ) const
inline
1083{ return m_first_vertex.has_value(); }

References m_first_vertex.

◆ is_active()

bool Slic3r::GCodeProcessor::SeamsDetector::is_active ( ) const
inline
1082{ return m_active; }

References m_active.

◆ set_first_vertex()

void Slic3r::GCodeProcessor::SeamsDetector::set_first_vertex ( const Vec3f & vertex)
inline
1080{ m_first_vertex = vertex; }

References m_first_vertex.

Member Data Documentation

◆ m_active

bool Slic3r::GCodeProcessor::SeamsDetector::m_active { false }
private
1067{ false };

Referenced by activate(), and is_active().

◆ m_first_vertex

std::optional<Vec3f> Slic3r::GCodeProcessor::SeamsDetector::m_first_vertex
private

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