![]() |
Prusa Slicer 2.6.0
|
#include <src/libslic3r/Measure.hpp>
Collaboration diagram for Slic3r::Measure::SurfaceFeature:Public Member Functions | |
| SurfaceFeature (SurfaceFeatureType type, const Vec3d &pt1, const Vec3d &pt2, std::optional< Vec3d > pt3=std::nullopt, double value=0.0) | |
| SurfaceFeature (const Vec3d &pt) | |
| SurfaceFeatureType | get_type () const |
| Vec3d | get_point () const |
| std::pair< Vec3d, Vec3d > | get_edge () const |
| std::tuple< Vec3d, double, Vec3d > | get_circle () const |
| std::tuple< int, Vec3d, Vec3d > | get_plane () const |
| std::optional< Vec3d > | get_extra_point () const |
| bool | operator== (const SurfaceFeature &other) const |
| bool | operator!= (const SurfaceFeature &other) const |
Private Attributes | |
| SurfaceFeatureType | m_type { SurfaceFeatureType::Undef } |
| Vec3d | m_pt1 { Vec3d::Zero() } |
| Vec3d | m_pt2 { Vec3d::Zero() } |
| std::optional< Vec3d > | m_pt3 |
| double | m_value { 0.0 } |
|
inline |
References Slic3r::Measure::Circle, m_pt1, m_pt2, m_type, and m_value.
Referenced by Slic3r::GUI::get_feature_offset(), Slic3r::Measure::get_measurement(), and Slic3r::GUI::GLGizmoMeasure::render_dimensioning().
Here is the caller graph for this function:References Slic3r::Measure::Edge, m_pt1, m_pt2, and m_type.
Referenced by Slic3r::Measure::edge_direction(), Slic3r::Measure::get_measurement(), and Slic3r::GUI::GLGizmoMeasure::render_dimensioning().
Here is the caller graph for this function:
|
inline |
References m_pt3, m_type, and Slic3r::Measure::Undef.
Referenced by Slic3r::GUI::get_feature_offset(), Slic3r::GUI::is_feature_with_center(), and Slic3r::GUI::GLGizmoMeasure::render_dimensioning().
Here is the caller graph for this function:References m_pt1, m_pt2, m_type, m_value, and Slic3r::Measure::Plane.
Referenced by Slic3r::Measure::get_measurement(), Slic3r::Measure::plane_normal(), and Slic3r::GUI::GLGizmoMeasure::render_dimensioning().
Here is the caller graph for this function:
|
inline |
References m_pt1, m_type, and Slic3r::Measure::Point.
Referenced by Slic3r::GUI::get_feature_offset(), Slic3r::Measure::get_measurement(), and Slic3r::GUI::GLGizmoMeasure::render_dimensioning().
Here is the caller graph for this function:
|
inline |
References m_type.
Referenced by Slic3r::Measure::are_parallel(), Slic3r::Measure::are_perpendicular(), Slic3r::Measure::edge_direction(), Slic3r::GUI::get_feature_offset(), Slic3r::Measure::get_measurement(), Slic3r::GUI::is_feature_with_center(), Slic3r::Measure::plane_normal(), and Slic3r::GUI::GLGizmoMeasure::render_dimensioning().
Here is the caller graph for this function:
|
inline |
References operator==().
Here is the call graph for this function:
|
inline |
References Slic3r::Measure::Circle, Slic3r::Measure::Edge, EPSILON, m_pt1, m_pt2, m_type, m_value, Slic3r::Measure::Plane, Slic3r::Measure::Point, and Slic3r::Measure::Undef.
Referenced by operator!=().
Here is the caller graph for this function:
|
private |
Referenced by get_circle(), get_edge(), get_plane(), get_point(), and operator==().
|
private |
Referenced by get_circle(), get_edge(), get_plane(), and operator==().
|
private |
Referenced by get_extra_point().
|
private |
Referenced by get_circle(), get_edge(), get_extra_point(), get_plane(), get_point(), get_type(), and operator==().
|
private |
Referenced by get_circle(), get_plane(), and operator==().