Namespaces | |
| namespace | anonymous_namespace{Clustering.cpp} |
| namespace | anonymous_namespace{Pad.cpp} |
| namespace | anonymous_namespace{Rotfinder.cpp} |
Classes | |
| struct | Colors |
| class | AGGRaster |
| class | RasterGrayscaleAA |
| class | RasterGrayscaleAAGammaPower |
| class | ConcaveHull |
| A fake concave hull that is constructed by connecting separate shapes with explicit bridges. Bridges are generated from each shape's centroid to the center of the "scene" which is the centroid calculated from the shape centroids (a star is created...). More... | |
| struct | _ccr |
| struct | _ccr< true > |
| struct | _ccr< false > |
| struct | Interior |
| struct | TriangleBubble |
| struct | DivFace |
| struct | HollowingConfig |
| struct | InteriorDeleter |
| struct | DrainHole |
| class | IndexedMesh |
| An index-triangle structure for libIGL functions. Also serves as an alternative (raw) input format for the SLASupportTree. More... | |
| struct | JobController |
| A Control structure for the support calculation. Consists of the status indicator callback and the stop condition predicate. More... | |
| struct | PadConfig |
| class | EncodedRaster |
| struct | Resolution |
| Type that represents a resolution in pixels. More... | |
| struct | PixelDim |
| Types that represents the dimension of a pixel in millimeters. More... | |
| class | RasterBase |
| struct | PNGRasterEncoder |
| struct | PPMRasterEncoder |
| struct | RotfinderBoilerplate |
| class | RotOptimizeParams |
| class | PointIndex |
| class | BoxIndex |
| struct | SupportPoint |
| class | SupportPointGenerator |
| struct | SupportTreeConfig |
| struct | SupportableMesh |
| class | SupportTree |
| The class containing mesh data for the generated supports. More... | |
| struct | SupportTreeNode |
| struct | Head |
| struct | Junction |
| struct | Pillar |
| struct | Pedestal |
| struct | Anchor |
| struct | Bridge |
| struct | DiffBridge |
| struct | Pad |
| class | SupportTreeBuilder |
| class | PointRing |
| class | PillarIndex |
| class | SupportTreeBuildsteps |
| class | StopCriteria |
| class | Optimizer |
Typedefs | |
| using | _RasterGrayscaleAA |
| using | Index3D = bgi::rtree< PointIndexEl, bgi::rstar<16, 4> > |
| using | ClusterEl = std::vector<unsigned> |
| using | ClusteredPoints = std::vector<ClusterEl> |
| using | ThrowOnCancel = std::function<void()> |
| using | ccr = _ccr<USE_FULL_CONCURRENCY> |
| using | ccr_seq = _ccr<false> |
| using | ccr_par = _ccr<true> |
| using | InteriorPtr = std::unique_ptr<Interior, InteriorDeleter> |
| using | DrainHoles = std::vector<DrainHole> |
| using | PointSet = Eigen::MatrixXd |
| using | RasterEncoder |
| using | RotOptimizeStatusCB = std::function<bool(int)> |
| typedef Eigen::Matrix< double, 3, 1, Eigen::DontAlign > | Vec3d |
| using | PointIndexEl = std::pair<Vec3d, unsigned> |
| using | BoxIndexEl = std::pair<Slic3r::BoundingBox, unsigned> |
| using | SupportPoints = std::vector<SupportPoint> |
| using | Portion = std::tuple<double, double> |
| using | AlgNLoptSubplex |
| using | AlgNLoptGenetic |
Enumerations | |
| enum | { NEW_FACE = -1 } |
| enum | HollowingFlags { hfRemoveInsideTriangles = 0x1 } |
| enum class | PointsStatus { NoPoints , Generating , AutoGenerated , UserModified } |
| enum class | PillarConnectionMode { zigzag , cross , dynamic } |
| enum class | MeshType { Support , Pad } |
| enum | { X , Y , Z } |
Functions | |
| ClusteredPoints | cluster (const std::vector< unsigned > &indices, std::function< Vec3d(unsigned)> pointfn, double dist, unsigned max_points) |
| ClusteredPoints | cluster (const std::vector< unsigned > &indices, std::function< Vec3d(unsigned)> pointfn, std::function< bool(const PointIndexEl &, const PointIndexEl &)> predicate, unsigned max_points) |
| ClusteredPoints | cluster (const Eigen::MatrixXd &pts, double dist, unsigned max_points) |
| template<class DistFn, class PointFn> | |
| long | cluster_centroid (const ClusterEl &clust, PointFn pointfn, DistFn df) |
| Vec3d | to_vec3 (const Vec2crd &v2) |
| Vec3d | to_vec3 (const Vec2d &v2) |
| Vec2crd | to_vec2 (const Vec3d &v3) |
| ExPolygons | offset_waffle_style_ex (const ConcaveHull &hull, coord_t delta) |
| Polygons | offset_waffle_style (const ConcaveHull &hull, coord_t delta) |
| Polygons | get_contours (const ExPolygons &poly) |
| indexed_triangle_set & | get_mesh (Interior &interior) |
| const indexed_triangle_set & | get_mesh (const Interior &interior) |
| static InteriorPtr | generate_interior_verbose (const TriangleMesh &mesh, const JobController &ctl, double min_thickness, double voxel_scale, double closing_dist) |
| InteriorPtr | generate_interior (const TriangleMesh &mesh, const HollowingConfig &hc, const JobController &ctl) |
| void | cut_drainholes (std::vector< ExPolygons > &obj_slices, const std::vector< float > &slicegrid, float closing_radius, const sla::DrainHoles &holes, std::function< void(void)> thr) |
| void | hollow_mesh (TriangleMesh &mesh, const HollowingConfig &cfg, int flags) |
| void | hollow_mesh (TriangleMesh &mesh, const Interior &interior, int flags) |
| static double | get_distance_raw (const Vec3f &p, const Interior &interior) |
| static double | get_distance (const TriangleBubble &b, const Interior &interior) |
| double | get_distance (const Vec3f &p, const Interior &interior) |
| template<class Fn> | |
| void | divide_triangle (const DivFace &face, Fn &&visitor) |
| void | remove_inside_triangles (TriangleMesh &mesh, const Interior &interior, const std::vector< bool > &exclude_mask) |
| template<class T> | |
| FloatingOnly< T > | get_distance (const Vec< 3, T > &p, const Interior &interior) |
| void | swap_normals (indexed_triangle_set &its) |
| static bool | point_on_edge (const Vec3d &p, const Vec3d &e1, const Vec3d &e2, double eps=0.05) |
| PointSet | normals (const PointSet &points, const IndexedMesh &mesh, double eps, std::function< void()> thr, const std::vector< unsigned > &pt_indices) |
| void | pad_blueprint (const indexed_triangle_set &mesh, ExPolygons &output, const std::vector< float > &, ThrowOnCancel thrfn=[] {}) |
| Calculate the polygon representing the silhouette. | |
| void | pad_blueprint (const indexed_triangle_set &mesh, ExPolygons &output, float h, float layerh, ThrowOnCancel thrfn) |
| void | create_pad (const ExPolygons &sup_blueprint, const ExPolygons &model_blueprint, indexed_triangle_set &out, const PadConfig &cfg, ThrowOnCancel thr) |
| std::ostream & | operator<< (std::ostream &stream, const EncodedRaster &bytes) |
| std::unique_ptr< RasterBase > | create_raster_grayscale_aa (const Resolution &res, const PixelDim &pxdim, double gamma, const RasterBase::Trafo &tr) |
| template<class Fn> | |
| void | foreach_vertex (ExPolygon &poly, Fn &&fn) |
| ExPolygons | raster_to_polygons (const RasterGrayscaleAA &rst, Vec2i32 windowsize) |
| template<class Pt> | |
| Vec3d | pos (const Pt &p) |
| template<class Pt> | |
| void | pos (Pt &p, const Vec3d &pp) |
| template<class PointType> | |
| void | reproject_support_points (const IndexedMesh &mesh, std::vector< PointType > &pts) |
| void | reproject_points_and_holes (ModelObject *object) |
| Vec2d | find_best_misalignment_rotation (const ModelObject &mo, const RotOptimizeParams ¶ms) |
| Vec2d | find_least_supports_rotation (const ModelObject &mo, const RotOptimizeParams ¶ms) |
| BoundingBoxf3 | bounding_box_with_tr (const indexed_triangle_set &its, const Transform3f &tr) |
| Vec2d | find_min_z_height_rotation (const ModelObject &mo, const RotOptimizeParams ¶ms) |
| static std::vector< SupportPointGenerator::MyLayer > | make_layers (const std::vector< ExPolygons > &slices, const std::vector< float > &heights, std::function< void(void)> throw_on_cancel) |
| std::vector< Vec2f > | sample_expolygon (const ExPolygon &expoly, float samples_per_mm2, std::mt19937 &rng) |
| std::vector< Vec2f > | sample_expolygon (const ExPolygons &expolys, float samples_per_mm2, std::mt19937 &rng) |
| void | sample_expolygon_boundary (const ExPolygon &expoly, float samples_per_mm, std::vector< Vec2f > &out, std::mt19937 &) |
| std::vector< Vec2f > | sample_expolygon_with_boundary (const ExPolygon &expoly, float samples_per_mm2, float samples_per_mm_boundary, std::mt19937 &rng) |
| std::vector< Vec2f > | sample_expolygon_with_boundary (const ExPolygons &expolys, float samples_per_mm2, float samples_per_mm_boundary, std::mt19937 &rng) |
| template<typename REFUSE_FUNCTION> | |
| static std::vector< Vec2f > | poisson_disk_from_samples (const std::vector< Vec2f > &raw_samples, float radius, REFUSE_FUNCTION refuse_function) |
| void | remove_bottom_points (std::vector< SupportPoint > &pts, float lvl) |
| template<class Vec> | |
| double | distance (const Vec &p) |
| template<class Vec> | |
| double | distance (const Vec &pp1, const Vec &pp2) |
| StopCriteria | get_criteria (const SupportTreeConfig &cfg) |
| template<class C, class Hit = IndexedMesh::hit_result> | |
| static Hit | min_hit (const C &hits) |
| std::pair< double, double > | dir_to_spheric (const Vec3d &n, double norm=1.) |
| Vec3d | spheric_to_dir (double polar, double azimuth) |
| Vec3d | spheric_to_dir (const std::tuple< double, double > &v) |
| Vec3d | spheric_to_dir (const std::pair< double, double > &v) |
| Vec3d | spheric_to_dir (const std::array< double, 2 > &v) |
| Vec3d | dirv (const Vec3d &startp, const Vec3d &endp) |
| template<class I, class DoubleI = IntegerOnly<I>> | |
| IntegerOnly< DoubleI > | pairhash (I a, I b) |
| indexed_triangle_set | sphere (double rho, Portion portion, double fa) |
| indexed_triangle_set | cylinder (double r, double h, size_t ssteps, const Vec3d &sp) |
| indexed_triangle_set | pinhead (double r_pin, double r_back, double length, size_t steps) |
| indexed_triangle_set | halfcone (double baseheight, double r_bottom, double r_top, const Vec3d &pos, size_t steps) |
| Portion | make_portion (double a, double b) |
| indexed_triangle_set | get_mesh (const Head &h, size_t steps) |
| indexed_triangle_set | get_mesh (const Pillar &p, size_t steps) |
| indexed_triangle_set | get_mesh (const Pedestal &p, size_t steps) |
| indexed_triangle_set | get_mesh (const Junction &j, size_t steps) |
| indexed_triangle_set | get_mesh (const Bridge &br, size_t steps) |
| indexed_triangle_set | get_mesh (const DiffBridge &br, size_t steps) |
| template<size_t N> | |
| Input< N > | initvals (const double(&a)[N]) |
| template<size_t N> | |
| Bounds< N > | bounds (const Bound(&b)[N]) |
Variables | |
| template<class Color> | |
| const Color | Colors< Color >::White = Color{255} |
| template<class Color> | |
| const Color | Colors< Color >::Black = Color{0} |
| const constexpr bool | USE_FULL_CONCURRENCY = true |
| constexpr float | HoleStickOutLength = 1.f |
| const Vec3d | DOWN = {0.0, 0.0, -1.0} |
| const double | D_SP = 0.1 |
| struct Slic3r::sla::_ccr |
| struct Slic3r::sla::TriangleBubble |
| Class Members | ||
|---|---|---|
| Vec3f | center | |
| double | R | |
| struct Slic3r::sla::DivFace |
| struct Slic3r::sla::HollowingConfig |
| struct Slic3r::sla::JobController |
A Control structure for the support calculation. Consists of the status indicator callback and the stop condition predicate.
| Class Members | ||
|---|---|---|
| CancelFn | cancelfn = [](){} | |
| StatusFn | statuscb = [](unsigned, const std::string&){} | |
| StopCond | stopcondition = [](){ return false; } | |
| using Slic3r::sla::BoxIndexEl = std::pair<Slic3r::BoundingBox, unsigned> |
| using Slic3r::sla::ccr = _ccr<USE_FULL_CONCURRENCY> |
| using Slic3r::sla::ccr_par = _ccr<true> |
| using Slic3r::sla::ccr_seq = _ccr<false> |
| using Slic3r::sla::ClusteredPoints = std::vector<ClusterEl> |
| using Slic3r::sla::ClusterEl = std::vector<unsigned> |
| using Slic3r::sla::DrainHoles = std::vector<DrainHole> |
| using Slic3r::sla::Index3D = bgi::rtree< PointIndexEl, bgi::rstar<16, 4> > |
| using Slic3r::sla::InteriorPtr = std::unique_ptr<Interior, InteriorDeleter> |
| using Slic3r::sla::PointIndexEl = std::pair<Vec3d, unsigned> |
| using Slic3r::sla::PointSet = Eigen::MatrixXd |
| using Slic3r::sla::Portion = std::tuple<double, double> |
| using Slic3r::sla::RotOptimizeStatusCB = std::function<bool(int)> |
| using Slic3r::sla::SupportPoints = std::vector<SupportPoint> |
| typedef std::function< void(void)> Slic3r::sla::ThrowOnCancel = std::function<void()> |
| typedef Eigen::Matrix<double, 3, 1, Eigen::DontAlign> Slic3r::sla::Vec3d |
| anonymous enum |
| Enumerator | |
|---|---|
| NEW_FACE | |
| anonymous enum |
| Enumerator | |
|---|---|
| hfRemoveInsideTriangles | |
|
strong |
|
strong |
|
strong |
|
inline |
Referenced by find_min_z_height_rotation().
| Bounds< N > Slic3r::opt::bounds | ( | const Bound(&) | b[N] | ) |
Referenced by Slic3r::sla::SupportTreeBuildsteps::connect_to_ground(), Slic3r::sla::SupportTreeBuildsteps::filter(), find_best_misalignment_rotation(), find_least_supports_rotation(), and Slic3r::sla::SupportTreeBuildsteps::search_widening_path().
| ClusteredPoints Slic3r::sla::cluster | ( | const Eigen::MatrixXd & | pts, |
| double | dist, | ||
| unsigned | max_points ) |
References cluster(), and Slic3r::Geometry::dist().
| ClusteredPoints Slic3r::sla::cluster | ( | const std::vector< unsigned > & | indices, |
| std::function< Vec3d(unsigned)> | pointfn, | ||
| double | dist, | ||
| unsigned | max_points ) |
References cluster(), and Slic3r::Geometry::dist().
Referenced by Slic3r::sla::SupportTreeBuildsteps::classify(), cluster(), cluster(), cluster(), and Slic3r::sla::SupportTreeBuildsteps::filter().
| ClusteredPoints Slic3r::sla::cluster | ( | const std::vector< unsigned > & | indices, |
| std::function< Vec3d(unsigned)> | pointfn, | ||
| std::function< bool(const PointIndexEl &, const PointIndexEl &)> | predicate, | ||
| unsigned | max_points ) |
References cluster().
| long Slic3r::sla::cluster_centroid | ( | const ClusterEl & | clust, |
| PointFn | pointfn, | ||
| DistFn | df ) |
Referenced by Slic3r::sla::SupportTreeBuildsteps::routing_to_ground().
| void Slic3r::sla::create_pad | ( | const ExPolygons & | sup_blueprint, |
| const ExPolygons & | model_blueprint, | ||
| indexed_triangle_set & | out, | ||
| const PadConfig & | cfg, | ||
| ThrowOnCancel | thr ) |
References Slic3r::its_merge().
Referenced by Slic3r::sla::Pad::Pad().
| std::unique_ptr< RasterBase > Slic3r::sla::create_raster_grayscale_aa | ( | const Resolution & | res, |
| const PixelDim & | pxdim, | ||
| double | gamma, | ||
| const RasterBase::Trafo & | tr ) |
Referenced by Slic3r::SL1Archive::create_raster(), Slic3r::GUI::CreateFontImageJob::process(), and Slic3r::GUI::Emboss::CreateFontStyleImagesJob::process().
| void Slic3r::sla::cut_drainholes | ( | std::vector< ExPolygons > & | obj_slices, |
| const std::vector< float > & | slicegrid, | ||
| float | closing_radius, | ||
| const sla::DrainHoles & | holes, | ||
| std::function< void(void)> | thr ) |
References Slic3r::diff_ex(), Slic3r::TriangleMesh::empty(), Slic3r::holes(), Slic3r::TriangleMesh::its, Slic3r::TriangleMesh::merge(), and Slic3r::slice_mesh_ex().
| indexed_triangle_set Slic3r::sla::cylinder | ( | double | r, |
| double | h, | ||
| size_t | ssteps, | ||
| const Vec3d & | sp ) |
Referenced by get_mesh(), get_mesh(), and Slic3r::sla::DrainHole::to_mesh().
|
inline |
Referenced by Slic3r::sla::SupportTreeBuildsteps::connect_to_ground(), Slic3r::sla::SupportTreeBuildsteps::create_ground_pillar(), Slic3r::sla::SupportTreeBuildsteps::filter(), and Slic3r::sla::SupportTreeBuildsteps::search_widening_path().
Referenced by Slic3r::sla::SupportTreeBuildsteps::connect_to_nearpillar(), Slic3r::sla::SupportTreeBuildsteps::interconnect(), and Slic3r::sla::SupportTreeBuildsteps::interconnect_pillars().
Terminology:
Support point: The point on the model surface that needs support.
Pillar: A thick column that spans from a support point to the ground and has a thick cone shaped base where it touches the ground.
Ground facing support point: A support point that can be directly connected with the ground with a pillar that does not collide or cut through the model.
Non ground facing support point: A support point that cannot be directly connected with the ground (only with the model surface).
Head: The pinhead that connects to the model surface with the sharp end end to a pillar or bridge stick with the dull end.
Headless support point: A support point on the model surface for which there is not enough place for the head. It is either in a hole or there is some barrier that would collide with the head geometry. The headless support point can be ground facing and non ground facing as well.
Bridge: A stick that connects two pillars or a head with a pillar.
Junction: A small ball in the intersection of two or more sticks (pillar, bridge, ...)
CompactBridge: A bridge that connects a headless support point with the model surface or a nearby pillar.
Referenced by Slic3r::sla::SupportTreeBuildsteps::classify(), Slic3r::sla::SupportTreeBuildsteps::connect_to_nearpillar(), distance(), Slic3r::sla::SupportTreeBuildsteps::interconnect(), Slic3r::sla::SupportTreeBuildsteps::interconnect_pillars(), and Slic3r::sla::SupportTreeBuildsteps::routing_to_ground().
| void Slic3r::sla::divide_triangle | ( | const DivFace & | face, |
| Fn && | visitor ) |
References divide_triangle(), Slic3r::sla::DivFace::faceid, Slic3r::sla::DivFace::indx, NEW_FACE, Slic3r::sla::DivFace::parent, and Slic3r::sla::DivFace::verts.
Referenced by divide_triangle(), and remove_inside_triangles().
| Vec2d Slic3r::sla::find_best_misalignment_rotation | ( | const ModelObject & | modelobj, |
| const RotOptimizeParams & | = {} ) |
The function should find the best rotation for SLA upside down printing.
| modelobj | The model object representing the 3d mesh. |
| accuracy | The optimization accuracy from 0.0f to 1.0f. Currently, the nlopt genetic optimizer is used and the number of iterations is accuracy * 100000. This can change in the future. |
| statuscb | A status indicator callback called with the int argument spanning from 0 to 100. May not reach 100 if the optimization finds an optimum before max iterations are reached. It should return a boolean signaling if the operation may continue (true) or not (false). A status value lower than 0 shall not update the status but still return a valid continuation indicator. |
References Slic3r::opt::bounds(), bounds(), Slic3r::opt::initvals(), Slic3r::opt::StopCriteria::max_iterations(), Slic3r::sla::RotfinderBoilerplate< MAX_ITER >::max_tries, Slic3r::sla::RotfinderBoilerplate< MAX_ITER >::mesh, Slic3r::opt::Optimizer< Method, Enable >::optimize(), PI, Slic3r::sla::RotfinderBoilerplate< MAX_ITER >::statusfn(), Slic3r::opt::StopCriteria::stop_condition(), and Slic3r::opt::Optimizer< Method, Enable >::to_max().
| Vec2d Slic3r::sla::find_least_supports_rotation | ( | const ModelObject & | mo, |
| const RotOptimizeParams & | params ) |
References Slic3r::opt::bounds(), bounds(), Slic3r::ModelObject::config, Slic3r::ModelConfig::get(), Slic3r::opt::initvals(), Slic3r::opt::StopCriteria::max_iterations(), Slic3r::sla::RotfinderBoilerplate< MAX_ITER >::max_tries, Slic3r::sla::RotfinderBoilerplate< MAX_ITER >::mesh, Slic3r::opt::Optimizer< Method, Enable >::optimize(), PI, Slic3r::sla::RotOptimizeParams::print_config(), Slic3r::sla::RotfinderBoilerplate< MAX_ITER >::statusfn(), Slic3r::opt::StopCriteria::stop_condition(), and Slic3r::opt::Optimizer< Method, Enable >::to_min().
| Vec2d Slic3r::sla::find_min_z_height_rotation | ( | const ModelObject & | mo, |
| const RotOptimizeParams & | params ) |
References bounding_box_with_tr(), Slic3r::TriangleMesh::convex_hull_3d(), DOWN, EPSILON, Slic3r::TriangleMesh::its, Slic3r::sla::RotfinderBoilerplate< MAX_ITER >::max_tries, Slic3r::sla::RotfinderBoilerplate< MAX_ITER >::mesh, Slic3r::reserve_vector(), Slic3r::BoundingBox3Base< PointType >::size(), Slic3r::sla::RotfinderBoilerplate< MAX_ITER >::statusfn(), X, and Y.
| void Slic3r::sla::foreach_vertex | ( | ExPolygon & | poly, |
| Fn && | fn ) |
Referenced by raster_to_polygons().
| InteriorPtr Slic3r::sla::generate_interior | ( | const TriangleMesh & | mesh, |
| const HollowingConfig & | hc, | ||
| const JobController & | ctl ) |
References Slic3r::sla::HollowingConfig::closing_distance, generate_interior_verbose(), Slic3r::its_compactify_vertices(), Slic3r::its_merge_vertices(), Slic3r::its_quadric_edge_collapse(), Slic3r::sla::Interior::mesh, Slic3r::sla::HollowingConfig::min_thickness, Slic3r::sla::HollowingConfig::quality, and swap_normals().
Referenced by hollow_mesh().
|
static |
References Slic3r::sla::Interior::closing_distance, Slic3r::grid_to_mesh(), Slic3r::sla::Interior::gridptr, Slic3r::TriangleMesh::its, L, Slic3r::sla::Interior::mesh, Slic3r::mesh_to_grid(), Slic3r::sla::Interior::nb_in, Slic3r::sla::Interior::nb_out, Slic3r::offset(), Slic3r::redistance_grid(), Slic3r::sla::JobController::statuscb, Slic3r::sla::JobController::stopcondition, Slic3r::sla::Interior::thickness, and Slic3r::sla::Interior::voxel_scale.
Referenced by generate_interior().
|
inline |
Referenced by Slic3r::sla::ConcaveHull::merge_polygons().
| StopCriteria Slic3r::sla::get_criteria | ( | const SupportTreeConfig & | cfg | ) |
References Slic3r::opt::StopCriteria::max_iterations(), Slic3r::sla::SupportTreeConfig::optimizer_max_iterations, Slic3r::sla::SupportTreeConfig::optimizer_rel_score_diff, and Slic3r::opt::StopCriteria::rel_score_diff().
Referenced by Slic3r::sla::SupportTreeBuildsteps::connect_to_ground(), Slic3r::sla::SupportTreeBuildsteps::filter(), and Slic3r::sla::SupportTreeBuildsteps::search_widening_path().
|
static |
References Slic3r::sla::TriangleBubble::center, Slic3r::sla::Interior::closing_distance, get_distance_raw(), Slic3r::sla::Interior::nb_in, Slic3r::sla::Interior::nb_out, Slic3r::sla::TriangleBubble::R, Slic3r::sla::Interior::thickness, and Slic3r::sla::Interior::voxel_scale.
Referenced by Slic3r::create_exclude_mask(), get_distance(), and remove_inside_triangles().
References Slic3r::sla::Interior::closing_distance, get_distance_raw(), and Slic3r::sla::Interior::voxel_scale.
| FloatingOnly< T > Slic3r::sla::get_distance | ( | const Vec< 3, T > & | p, |
| const Interior & | interior ) |
References Slic3r::cast(), and get_distance().
References Slic3r::sla::Interior::accessor, Slic3r::cast(), Slic3r::sla::Interior::gridptr, Slic3r::sla::Interior::reset_accessor(), and Slic3r::sla::Interior::voxel_scale.
Referenced by get_distance(), and get_distance().
|
inline |
References cylinder(), Slic3r::sla::Bridge::endp, Slic3r::sla::Bridge::r, and Slic3r::sla::Bridge::startp.
|
inline |
References Slic3r::cast(), Slic3r::sla::DiffBridge::end_r, Slic3r::sla::Bridge::get_dir(), Slic3r::sla::Bridge::get_length(), halfcone(), Slic3r::sla::Bridge::r, and Slic3r::sla::Bridge::startp.
|
inline |
References Slic3r::sla::Head::dir, Slic3r::sla::Head::fullwidth(), pinhead(), Slic3r::sla::Head::pos, pos(), Slic3r::sla::Head::r_back_mm, Slic3r::sla::Head::r_pin_mm, and Slic3r::sla::Head::width_mm.
| const indexed_triangle_set & Slic3r::sla::get_mesh | ( | const Interior & | interior | ) |
References Slic3r::sla::Interior::mesh.
|
inline |
References make_portion(), PI, Slic3r::sla::Junction::pos, pos(), Slic3r::sla::Junction::r, and sphere().
|
inline |
References halfcone(), Slic3r::sla::Pedestal::height, Slic3r::sla::Pedestal::pos, Slic3r::sla::Pedestal::r_bottom, and Slic3r::sla::Pedestal::r_top.
|
inline |
References cylinder(), Slic3r::sla::Pillar::endpoint(), EPSILON, Slic3r::sla::Pillar::height, and Slic3r::sla::Pillar::r.
| indexed_triangle_set & Slic3r::sla::get_mesh | ( | Interior & | interior | ) |
References Slic3r::sla::Interior::mesh.
Referenced by Slic3r::create_exclude_mask(), Slic3r::SLAPrint::Steps::hollow_model(), Slic3r::SLAPrintObject::hollowed_interior_mesh(), Slic3r::sla::SupportTreeBuilder::merged_mesh(), and Slic3r::SLAPrint::Steps::slice_model().
| indexed_triangle_set Slic3r::sla::halfcone | ( | double | baseheight, |
| double | r_bottom, | ||
| double | r_top, | ||
| const Vec3d & | pos, | ||
| size_t | steps ) |
Referenced by get_mesh(), and get_mesh().
| void Slic3r::sla::hollow_mesh | ( | TriangleMesh & | mesh, |
| const HollowingConfig & | cfg, | ||
| int | flags ) |
References generate_interior(), and hollow_mesh().
Referenced by hollow_mesh().
| void Slic3r::sla::hollow_mesh | ( | TriangleMesh & | mesh, |
| const Interior & | interior, | ||
| int | flags ) |
References Slic3r::TriangleMesh::empty(), Slic3r::sla::Interior::gridptr, hfRemoveInsideTriangles, Slic3r::TriangleMesh::merge(), Slic3r::sla::Interior::mesh, and remove_inside_triangles().
| Input< N > Slic3r::opt::initvals | ( | const double(&) | a[N] | ) |
Referenced by Slic3r::sla::SupportTreeBuildsteps::connect_to_ground(), Slic3r::sla::SupportTreeBuildsteps::filter(), and Slic3r::sla::SupportTreeBuildsteps::search_widening_path().
|
static |
References Slic3r::sla::_ccr< true >::for_each().
Referenced by Slic3r::sla::SupportPointGenerator::process().
|
inline |
Referenced by get_mesh(), and pinhead().
|
static |
| PointSet Slic3r::sla::normals | ( | const PointSet & | points, |
| const IndexedMesh & | mesh, | ||
| double | eps, | ||
| std::function< void()> | thr, | ||
| const std::vector< unsigned > & | pt_indices ) |
References Slic3r::sla::IndexedMesh::indices(), Slic3r::sla::IndexedMesh::normal_by_face_id(), point_on_edge(), Slic3r::range(), Slic3r::sla::IndexedMesh::vertices(), X, Y, and Z.
Referenced by Slic3r::sla::SupportTreeBuildsteps::filter().
| Polygons Slic3r::sla::offset_waffle_style | ( | const ConcaveHull & | hull, |
| coord_t | delta ) |
References Slic3r::closing(), Slic3r::jtRound, Slic3r::sla::ConcaveHull::polygons(), and Slic3r::scaled().
Referenced by offset_waffle_style_ex().
| ExPolygons Slic3r::sla::offset_waffle_style_ex | ( | const ConcaveHull & | hull, |
| coord_t | delta ) |
References offset_waffle_style(), and Slic3r::to_expolygons().
Referenced by Slic3r::sla::anonymous_namespace{Pad.cpp}::BelowPadSkeleton::BelowPadSkeleton(), and Slic3r::sla::anonymous_namespace{Pad.cpp}::_AroundPadSkeleton< Intersector >::wafflized_concave_hull().
| std::ostream & Slic3r::sla::operator<< | ( | std::ostream & | stream, |
| const EncodedRaster & | bytes ) |
References Slic3r::sla::EncodedRaster::data(), and Slic3r::sla::EncodedRaster::size().
| void Slic3r::sla::pad_blueprint | ( | const indexed_triangle_set & | mesh, |
| ExPolygons & | output, | ||
| const std::vector< float > & | heights, | ||
| ThrowOnCancel | thrfn ) |
Calculate the polygon representing the silhouette.
References count, Slic3r::reserve_vector(), Slic3r::scaled(), Slic3r::slice_mesh_ex(), and Slic3r::union_ex().
Referenced by Slic3r::sla::Pad::Pad(), Slic3r::SLAPrint::Steps::generate_pad(), and pad_blueprint().
| void Slic3r::sla::pad_blueprint | ( | const indexed_triangle_set & | mesh, |
| ExPolygons & | output, | ||
| float | h, | ||
| float | layerh, | ||
| ThrowOnCancel | thrfn ) |
References Slic3r::bounding_box(), Slic3r::grid(), pad_blueprint(), and Z.
| IntegerOnly< DoubleI > Slic3r::sla::pairhash | ( | I | a, |
| I | b ) |
References Slic3r::I.
Referenced by Slic3r::sla::SupportTreeBuildsteps::interconnect_pillars().
| indexed_triangle_set Slic3r::sla::pinhead | ( | double | r_pin, |
| double | r_back, | ||
| double | length, | ||
| size_t | steps ) |
References Slic3r::its_merge(), Slic3r::length(), make_portion(), PI, and sphere().
Referenced by get_mesh().
|
static |
Referenced by normals().
|
inlinestatic |
References Slic3r::cast(), poisson_disk_from_samples(), and Slic3r::reserve_vector().
Referenced by poisson_disk_from_samples(), and Slic3r::sla::SupportPointGenerator::uniformly_cover().
| Vec3d Slic3r::sla::pos | ( | const Pt & | p | ) |
References Slic3r::cast().
Referenced by Slic3r::sla::SupportPointGenerator::PointGrid3D::cell_id(), Slic3r::sla::SupportPointGenerator::PointGrid3D::collides_with(), Slic3r::sla::SupportPointGenerator::PointGrid3D::collides_with(), get_mesh(), get_mesh(), halfcone(), Slic3r::sla::SupportPointGenerator::PointGrid3D::insert(), and Slic3r::sla::SupportPointGenerator::uniformly_cover().
| void Slic3r::sla::pos | ( | Pt & | p, |
| const Vec3d & | pp ) |
| ExPolygons Slic3r::sla::raster_to_polygons | ( | const RasterGrayscaleAA & | rst, |
| Vec2i32 | windowsize ) |
References marchsq::execute(), foreach_vertex(), Slic3r::sla::Resolution::height_px, Slic3r::sla::AGGRaster< PixelRenderer, Renderer, Rasterizer, Scanline >::pixel_dimensions(), Slic3r::sla::AGGRaster< PixelRenderer, Renderer, Rasterizer, Scanline >::resolution(), Slic3r::scaled(), Slic3r::sla::AGGRaster< PixelRenderer, Renderer, Rasterizer, Scanline >::trafo(), Slic3r::union_ex(), and Slic3r::sla::Resolution::width_px.
| void Slic3r::sla::remove_bottom_points | ( | std::vector< SupportPoint > & | pts, |
| float | lvl ) |
References remove_bottom_points().
Referenced by remove_bottom_points().
| void Slic3r::sla::remove_inside_triangles | ( | TriangleMesh & | mesh, |
| const Interior & | interior, | ||
| const std::vector< bool > & | exclude_mask ) |
References Slic3r::TriangleMesh::bounding_box(), Slic3r::BoundingBox3Base< PointType >::center(), divide_triangle(), Slic3r::f(), get_distance(), Slic3r::BoundingBox3Base< PointType >::intersects(), Slic3r::TriangleMesh::its, NEW_FACE, Slic3r::sla::TriangleBubble::R, Slic3r::BoundingBox3Base< PointType >::radius(), Slic3r::sla::Interior::reset_accessor(), Slic3r::BoundingBox3Base< PointType >::size(), Slic3r::sla::Interior::thickness, and Slic3r::sla::Interior::voxel_scale.
Referenced by hollow_mesh().
|
inline |
References reproject_support_points(), Slic3r::ModelObject::sla_drain_holes, and Slic3r::ModelObject::sla_support_points.
Referenced by Slic3r::GUI::Plater::changed_mesh(), Slic3r::GUI::Plater::priv::reload_from_disk(), Slic3r::GUI::Plater::priv::replace_volume_with_stl(), and Slic3r::GUI::Emboss::UpdateJob::update_volume().
| void Slic3r::sla::reproject_support_points | ( | const IndexedMesh & | mesh, |
| std::vector< PointType > & | pts ) |
Referenced by reproject_points_and_holes().
| std::vector< Vec2f > Slic3r::sla::sample_expolygon | ( | const ExPolygon & | expoly, |
| float | samples_per_mm2, | ||
| std::mt19937 & | rng ) |
References Slic3r::cross2(), Slic3r::reserve_vector(), sample_expolygon(), and Slic3r::triangulate_expolygon_2f().
Referenced by sample_expolygon(), sample_expolygon(), sample_expolygon_with_boundary(), and Slic3r::sla::SupportPointGenerator::uniformly_cover().
| std::vector< Vec2f > Slic3r::sla::sample_expolygon | ( | const ExPolygons & | expolys, |
| float | samples_per_mm2, | ||
| std::mt19937 & | rng ) |
References Slic3r::append(), and sample_expolygon().
| void Slic3r::sla::sample_expolygon_boundary | ( | const ExPolygon & | expoly, |
| float | samples_per_mm, | ||
| std::vector< Vec2f > & | out, | ||
| std::mt19937 & | ) |
References Slic3r::contour(), Slic3r::ExPolygon::contour, Slic3r::ExPolygon::holes, sample_expolygon_boundary(), scale_, and Slic3r::unscale().
Referenced by sample_expolygon_boundary(), and sample_expolygon_with_boundary().
| std::vector< Vec2f > Slic3r::sla::sample_expolygon_with_boundary | ( | const ExPolygon & | expoly, |
| float | samples_per_mm2, | ||
| float | samples_per_mm_boundary, | ||
| std::mt19937 & | rng ) |
References sample_expolygon(), sample_expolygon_boundary(), and sample_expolygon_with_boundary().
Referenced by sample_expolygon_with_boundary(), sample_expolygon_with_boundary(), and Slic3r::sla::SupportPointGenerator::uniformly_cover().
| std::vector< Vec2f > Slic3r::sla::sample_expolygon_with_boundary | ( | const ExPolygons & | expolys, |
| float | samples_per_mm2, | ||
| float | samples_per_mm_boundary, | ||
| std::mt19937 & | rng ) |
References Slic3r::append(), and sample_expolygon_with_boundary().
| indexed_triangle_set Slic3r::sla::sphere | ( | double | rho, |
| Portion | portion, | ||
| double | fa ) |
References Slic3r::angle(), Slic3r::cast(), and PI.
Referenced by get_mesh(), and pinhead().
|
inline |
References spheric_to_dir().
|
inline |
|
inline |
|
inline |
Referenced by Slic3r::sla::SupportTreeBuildsteps::connect_to_ground(), Slic3r::sla::SupportTreeBuildsteps::create_ground_pillar(), Slic3r::sla::SupportTreeBuildsteps::filter(), Slic3r::sla::SupportTreeBuildsteps::search_widening_path(), spheric_to_dir(), spheric_to_dir(), and spheric_to_dir().
|
inline |
Referenced by generate_interior(), and Slic3r::SLAPrint::Steps::slice_model().
Referenced by Slic3r::sla::ConcaveHull::add_connector_rectangles().
| const Color Slic3r::sla::Colors< Color >::Black = Color{0} |
Referenced by Slic3r::sla::RasterGrayscaleAA::RasterGrayscaleAA().
| const Color Slic3r::sla::Colors< Color >::White = Color{255} |
Referenced by Slic3r::sla::RasterGrayscaleAA::RasterGrayscaleAA().
| const double Slic3r::sla::D_SP = 0.1 |
Referenced by Slic3r::sla::SupportTreeBuildsteps::filter().
| const Vec3d Slic3r::sla::DOWN = {0.0, 0.0, -1.0} |
Referenced by Slic3r::sla::SupportTreeBuildsteps::classify(), Slic3r::sla::SupportTreeBuildsteps::connect_to_ground(), Slic3r::sla::SupportTreeBuildsteps::connect_to_model_body(), Slic3r::sla::SupportTreeBuildsteps::connect_to_nearpillar(), Slic3r::sla::SupportTreeBuildsteps::create_ground_pillar(), find_min_z_height_rotation(), and Slic3r::sla::SupportTreeBuildsteps::interconnect_pillars().
|
constexpr |
Referenced by Slic3r::SLAPrintObject::transformed_drainhole_points().
|
constexpr |