OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::GUI::GLGizmoMeasure::SelectedFeatures::Item Struct Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Gizmos/GLGizmoMeasure.hpp>

Public Member Functions

bool operator== (const Item &other) const
bool operator!= (const Item &other) const
void reset ()

Public Attributes

bool is_center { false }
std::optional< Measure::SurfaceFeature > source
std::optional< Measure::SurfaceFeature > feature

Detailed Description

Member Function Documentation

◆ operator!=()

bool Slic3r::GUI::GLGizmoMeasure::SelectedFeatures::Item::operator!= ( const Item & other) const
inline
126 {
127 return !operator == (other);
128 }
bool operator==(const Item &other) const
Definition GLGizmoMeasure.hpp:122

References operator==().

Here is the call graph for this function:

◆ operator==()

bool Slic3r::GUI::GLGizmoMeasure::SelectedFeatures::Item::operator== ( const Item & other) const
inline
122 {
123 return this->is_center == other.is_center && this->source == other.source && this->feature == other.feature;
124 }
std::optional< Measure::SurfaceFeature > source
Definition GLGizmoMeasure.hpp:119
std::optional< Measure::SurfaceFeature > feature
Definition GLGizmoMeasure.hpp:120
bool is_center
Definition GLGizmoMeasure.hpp:118

References feature, is_center, and source.

Referenced by operator!=().

Here is the caller graph for this function:

◆ reset()

void Slic3r::GUI::GLGizmoMeasure::SelectedFeatures::Item::reset ( )
inline
130 {
131 is_center = false;
132 source.reset();
133 feature.reset();
134 }

References feature, is_center, and source.

Member Data Documentation

◆ feature

std::optional<Measure::SurfaceFeature> Slic3r::GUI::GLGizmoMeasure::SelectedFeatures::Item::feature

◆ is_center

bool Slic3r::GUI::GLGizmoMeasure::SelectedFeatures::Item::is_center { false }
118{ false };

Referenced by Slic3r::GUI::GLGizmoMeasure::on_mouse(), operator==(), and reset().

◆ source

std::optional<Measure::SurfaceFeature> Slic3r::GUI::GLGizmoMeasure::SelectedFeatures::Item::source

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