![]() |
Prusa Slicer 2.6.0
|
Namespaces | |
| namespace | detail |
Classes | |
| class | BoundingBoxWrapper |
| struct | Intersecting |
| struct | Intersecting< Eigen::AlignedBox< CoordType, NumD > > |
| class | Tree |
| struct | Within |
| struct | Within< Eigen::AlignedBox< CoordType, NumD > > |
Typedefs | |
| using | Tree2f = Tree< 2, float > |
| using | Tree3f = Tree< 3, float > |
| using | Tree2d = Tree< 2, double > |
| using | Tree3d = Tree< 3, double > |
Functions | |
| template<typename VertexType , typename IndexedFaceType > | |
| Tree< 3, typename VertexType::Scalar > | build_aabb_tree_over_indexed_triangle_set (const std::vector< VertexType > &vertices, const std::vector< IndexedFaceType > &faces, const typename VertexType::Scalar eps=0) |
| template<typename VertexType , typename IndexedFaceType , typename TreeType , typename VectorType > | |
| bool | intersect_ray_first_hit (const std::vector< VertexType > &vertices, const std::vector< IndexedFaceType > &faces, const TreeType &tree, const VectorType &origin, const VectorType &dir, igl::Hit &hit, const double eps=0.000001) |
| template<typename VertexType , typename IndexedFaceType , typename TreeType , typename VectorType > | |
| bool | intersect_ray_all_hits (const std::vector< VertexType > &vertices, const std::vector< IndexedFaceType > &faces, const TreeType &tree, const VectorType &origin, const VectorType &dir, std::vector< igl::Hit > &hits, const double eps=0.000001) |
| template<typename VertexType , typename IndexedFaceType , typename TreeType , typename VectorType > | |
| VectorType::Scalar | squared_distance_to_indexed_triangle_set (const std::vector< VertexType > &vertices, const std::vector< IndexedFaceType > &faces, const TreeType &tree, const VectorType &point, size_t &hit_idx_out, Eigen::PlainObjectBase< VectorType > &hit_point_out) |
| template<typename VertexType , typename IndexedFaceType , typename TreeType , typename VectorType > | |
| bool | is_any_triangle_in_radius (const std::vector< VertexType > &vertices, const std::vector< IndexedFaceType > &faces, const TreeType &tree, const VectorType &point, typename VectorType::Scalar &max_distance_squared) |
| template<typename VertexType , typename IndexedFaceType , typename TreeType , typename VectorType > | |
| std::vector< size_t > | all_triangles_in_radius (const std::vector< VertexType > &vertices, const std::vector< IndexedFaceType > &faces, const TreeType &tree, const VectorType &point, typename VectorType::Scalar max_distance_squared) |
| template<typename TreeType , typename VectorType > | |
| void | get_candidate_idxs (const TreeType &tree, const VectorType &v, std::vector< size_t > &candidates, size_t node_idx=0) |
| template<class G > | |
| auto | intersecting (const G &g) |
| template<class G > | |
| auto | within (const G &g) |
| template<int Dims, typename T , typename Predicate , typename Fn > | |
| void | traverse (const Tree< Dims, T > &tree, Predicate &&pred, Fn &&callback) |
| struct Slic3r::AABBTreeIndirect::Intersecting |
| struct Slic3r::AABBTreeIndirect::Within |
| using Slic3r::AABBTreeIndirect::Tree2d = typedef Tree<2, double> |
| using Slic3r::AABBTreeIndirect::Tree2f = typedef Tree<2, float> |
| using Slic3r::AABBTreeIndirect::Tree3d = typedef Tree<3, double> |
| using Slic3r::AABBTreeIndirect::Tree3f = typedef Tree<3, float> |
|
inline |
References Slic3r::AABBTreeIndirect::detail::indexed_primitives_within_distance_squared_recurisve().
Here is the call graph for this function:
|
inline |
References input().
Referenced by Slic3r::SeamPlacerImpl::compute_global_occlusion(), Slic3r::SeamPlacerImpl::gather_enforcers_blockers(), and Slic3r::AABBMesh::AABBImpl::init().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::AABBTreeIndirect::get_candidate_idxs | ( | const TreeType & | tree, |
| const VectorType & | v, | ||
| std::vector< size_t > & | candidates, | ||
| size_t | node_idx = 0 |
||
| ) |
References get_candidate_idxs().
Referenced by get_candidate_idxs().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References Slic3r::AABBTreeIndirect::detail::RayIntersectorHits< VertexType, IndexedFaceType, TreeType, VectorType >::hits, and Slic3r::AABBTreeIndirect::detail::intersect_ray_recursive_all_hits().
Referenced by Slic3r::TriangleSelectorWrapper::enforce_spot(), and Slic3r::AABBMesh::AABBImpl::intersect_ray().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References Slic3r::AABBTreeIndirect::detail::intersect_ray_recursive_first_hit().
Referenced by Slic3r::AABBMesh::AABBImpl::intersect_ray().
Here is the call graph for this function:
Here is the caller graph for this function:| auto Slic3r::AABBTreeIndirect::intersecting | ( | const G & | g | ) |
|
inline |
References Slic3r::AABBTreeIndirect::detail::squared_distance_to_indexed_primitives_recursive().
Here is the call graph for this function:
|
inline |
References Slic3r::AABBTreeIndirect::detail::squared_distance_to_indexed_primitives_recursive().
Referenced by Slic3r::TriangleSelectorWrapper::enforce_spot(), and Slic3r::AABBMesh::AABBImpl::squared_distance().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::AABBTreeIndirect::traverse | ( | const Tree< Dims, T > & | tree, |
| Predicate && | pred, | ||
| Fn && | callback | ||
| ) |
References Slic3r::AABBTreeIndirect::Tree< ANumDimensions, ACoordType >::empty(), and Slic3r::AABBTreeIndirect::detail::traverse_recurse().
Referenced by Slic3r::Algorithm::sample_in_expolygons(), and Slic3r::RetractWhenCrossingPerimeters::travel_inside_internal_regions().
Here is the call graph for this function:
Here is the caller graph for this function:| auto Slic3r::AABBTreeIndirect::within | ( | const G & | g | ) |