Classes | |
| struct | GeneratorDeleter |
| class | Filler |
| class | DistanceField |
| class | Generator |
| struct | GroundingLocation |
| class | Layer |
| class | Node |
Typedefs | |
| using | GeneratorPtr = std::unique_ptr<Generator, GeneratorDeleter> |
| using | NodeSPtr = std::shared_ptr<Node> |
| using | SparseNodeGrid = std::unordered_multimap<Point, std::weak_ptr<Node>, PointHash> |
Functions | |
| GeneratorPtr | build_generator (const PrintObject &print_object, const std::function< void()> &throw_on_cancel_callback) |
| static Point | to_grid_point (const Point &point, const BoundingBox &bbox) |
| static bool | polygonCollidesWithLineSegment (const Point &from, const Point &to, const EdgeGrid::Grid &loc_to_line) |
| bool | inside (const Polygons &polygons, const Point &p) |
| bool | lineSegmentPolygonsIntersection (const Point &a, const Point &b, const EdgeGrid::Grid &outline_locator, Point &result, const coord_t within_max_dist) |
| coord_t | locator_cell_size () |
| BoundingBox | get_extents (const NodeSPtr &root_node) |
| BoundingBox | get_extents (const std::vector< NodeSPtr > &tree_roots) |
Variables | |
| constexpr coord_t | radius_per_cell_size = 6 |
| typedef std::unique_ptr< Generator, GeneratorDeleter > Slic3r::FillLightning::GeneratorPtr = std::unique_ptr<Generator, GeneratorDeleter> |
| typedef std::shared_ptr< Node > Slic3r::FillLightning::NodeSPtr = std::shared_ptr<Node> |
| using Slic3r::FillLightning::SparseNodeGrid = std::unordered_multimap<Point, std::weak_ptr<Node>, PointHash> |
| GeneratorPtr Slic3r::FillLightning::build_generator | ( | const PrintObject & | print_object, |
| const std::function< void()> & | throw_on_cancel_callback ) |
Referenced by Slic3r::PrintObject::prepare_lightning_infill_data().
|
inline |
Referenced by Slic3r::FillLightning::DistanceField::DistanceField(), Slic3r::FillLightning::Generator::generateTrees(), Slic3r::FillLightning::Generator::generateTreesforSupport(), Slic3r::FillLightning::Node::get_extents, and Slic3r::FillLightning::Node::get_extents.
|
inline |
References Slic3r::Geometry::contains().
Referenced by Slic3r::FillLightning::Node::realign().
| bool Slic3r::FillLightning::lineSegmentPolygonsIntersection | ( | const Point & | a, |
| const Point & | b, | ||
| const EdgeGrid::Grid & | outline_locator, | ||
| Point & | result, | ||
| const coord_t | within_max_dist ) |
References Slic3r::grid(), Slic3r::Geometry::segment_segment_intersection(), and Slic3r::EdgeGrid::Grid::visit_cells_intersecting_line().
Referenced by Slic3r::FillLightning::Layer::reconnectRoots().
|
inline |
References Slic3r::scaled().
Referenced by Slic3r::FillLightning::Generator::generateTrees(), Slic3r::FillLightning::Generator::generateTreesforSupport(), Slic3r::FillLightning::Layer::getBestGroundingLocation(), and to_grid_point().
|
static |
References Slic3r::Line::a, Slic3r::Line::b, Slic3r::grid(), Slic3r::Geometry::segments_intersect(), and Slic3r::EdgeGrid::Grid::visit_cells_intersecting_line().
|
inlinestatic |
References locator_cell_size(), and Slic3r::BoundingBoxBase< PointType, APointsType >::min.
Referenced by Slic3r::FillLightning::Layer::fillLocator(), Slic3r::FillLightning::Layer::generateNewTrees(), Slic3r::FillLightning::Layer::getBestGroundingLocation(), and Slic3r::FillLightning::Layer::reconnectRoots().
|
constexpr |
Referenced by Slic3r::FillLightning::DistanceField::DistanceField().