OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::TreeSupport3D::SupportElementMerging Struct Reference
Collaboration diagram for Slic3r::TreeSupport3D::SupportElementMerging:

Public Member Functions

const Eigen::AlignedBox< coord_t, 2 > & bbox () const
const Point centroid () const
void set_bbox (const BoundingBox &abbox)

Static Public Member Functions

static size_t idx ()

Public Attributes

SupportElementState state
SupportElement::ParentIndices parents
 All elements in the layer above the current one that are supported by this element.
SupportElementInfluenceAreas areas
Eigen::AlignedBox< coord_t, 2 > bbox_data

Detailed Description

Member Function Documentation

◆ bbox()

const Eigen::AlignedBox< coord_t, 2 > & Slic3r::TreeSupport3D::SupportElementMerging::bbox ( ) const
inline
1800{ return bbox_data;}
Eigen::AlignedBox< coord_t, 2 > bbox_data
Definition TreeSupport3D.cpp:1798

References bbox_data.

Referenced by Slic3r::TreeSupport3D::merge_influence_areas_two_elements().

Here is the caller graph for this function:

◆ centroid()

const Point Slic3r::TreeSupport3D::SupportElementMerging::centroid ( ) const
inline
1801{ return (bbox_data.min() + bbox_data.max()) / 2; }

References bbox_data.

◆ idx()

size_t Slic3r::TreeSupport3D::SupportElementMerging::idx ( )
inlinestatic
1807{ return 0; }

◆ set_bbox()

void Slic3r::TreeSupport3D::SupportElementMerging::set_bbox ( const BoundingBox & abbox)
inline
1803 { Point eps { coord_t(SCALED_EPSILON), coord_t(SCALED_EPSILON) }; bbox_data = { abbox.min - eps, abbox.max + eps }; }
#define SCALED_EPSILON
Definition libslic3r.h:109
int64_t coord_t
Definition libslic3r.h:48
Kernel::Point_3 Point
Definition MeshRepair.cpp:81

References bbox_data, Slic3r::BoundingBoxBase< PointType, APointsType >::max, Slic3r::BoundingBoxBase< PointType, APointsType >::min, and SCALED_EPSILON.

Referenced by Slic3r::TreeSupport3D::merge_influence_areas_two_elements().

Here is the caller graph for this function:

Member Data Documentation

◆ areas

SupportElementInfluenceAreas Slic3r::TreeSupport3D::SupportElementMerging::areas

◆ bbox_data

Eigen::AlignedBox<coord_t, 2> Slic3r::TreeSupport3D::SupportElementMerging::bbox_data

Referenced by bbox(), centroid(), and set_bbox().

◆ parents

SupportElement::ParentIndices Slic3r::TreeSupport3D::SupportElementMerging::parents

All elements in the layer above the current one that are supported by this element.

Referenced by Slic3r::TreeSupport3D::merge_influence_areas_two_elements().

◆ state

SupportElementState Slic3r::TreeSupport3D::SupportElementMerging::state

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