Classes | |
| struct | VecHash |
Public Member Functions | |
| AutoOrienter (OrientMesh *orient_mesh_, const OrientParams ¶ms_, std::function< void(unsigned)> progressind_, std::function< bool(void)> stopcond_) | |
| AutoOrienter (TriangleMesh *mesh_) | |
| Vec3f | quantize_vec3f (const Vec3f n1) |
| Vec3d | process () |
| void | preprocess () |
| void | area_cumulation (const Eigen::MatrixXf &normals_, const Eigen::VectorXf &areas_, int num_directions=10) |
| void | area_cumulation_accurate (std::vector< Vec3f > &normals_, const Eigen::MatrixXf &quantize_normals_, const Eigen::VectorXf &areas_, int num_directions=10) |
| void | add_supplements () |
| void | remove_duplicates (double tol=0.0000001) |
| remove duplicate orientations | |
| void | project_vertices (Vec3f orientation) |
| CostItems | get_features (Vec3f orientation, bool min_volume=true) |
| float | target_function (CostItems &costs, bool min_volume) |
| Vec3d | find_cooling_direction2 (Vec3d euler_angles, const Eigen::VectorXf &areas_in, TriangleMesh &mesh) |
Static Public Member Functions | |
| static Eigen::VectorXi | argsort (const Eigen::VectorXf &vec, std::string order="ascend") |
Public Attributes | |
| int | face_count_hull |
| OrientMesh * | orient_mesh = NULL |
| TriangleMesh * | mesh |
| TriangleMesh | mesh_convex_hull |
| Eigen::MatrixXf | normals |
| Eigen::MatrixXf | normals_quantize |
| Eigen::MatrixXf | normals_hull |
| Eigen::MatrixXf | normals_hull_quantize |
| Eigen::VectorXf | areas |
| Eigen::VectorXf | areas_hull |
| Eigen::VectorXf | is_apperance |
| Eigen::MatrixXf | z_projected |
| Eigen::VectorXf | z_max |
| Eigen::VectorXf | z_max_hull |
| Eigen::VectorXf | z_median |
| Eigen::VectorXf | z_mean |
| Eigen::VectorXf | areas_cooling |
| std::vector< Vec3f > | face_normals |
| std::vector< Vec3f > | face_normals_hull |
| OrientParams | params |
| bool | has_cooling_fan = false |
| std::vector< Vec3f > | orientations |
| std::function< void(unsigned)> | progressind = { } |
|
inline |
References has_cooling_fan, mesh, orient_mesh, params, PI, preprocess(), and progressind.
|
inline |
|
inline |
References orientations.
Referenced by process().
|
inline |
References orientations.
|
inline |
References orientations.
Referenced by process().
|
inlinestatic |
Referenced by get_features().
|
inline |
References areas, Slic3r::bounding_box(), Slic3r::TriangleMesh::bounding_box(), Slic3r::TriangleMesh::center(), Slic3r::orientation::OrientMesh::cooling_direction, Slic3r::TriangleMesh::its, Slic3r::its_face_normals(), mesh, PI, Slic3r::TriangleMesh::rotate_x(), Slic3r::TriangleMesh::rotate_y(), Slic3r::TriangleMesh::rotate_z(), and Slic3r::TriangleMesh::translate().
|
inline |
References Slic3r::orientation::CostItems::area_laf, Slic3r::orientation::CostItems::area_total, areas, Slic3r::orientation::CostItems::areas_cooling, areas_hull, argsort(), Slic3r::orientation::CostItems::bottom, Slic3r::orientation::CostItems::bottom_hull, Slic3r::contour(), Slic3r::orientation::CostItems::contour, EPSILON, Slic3r::orientation::OrientParams::FIRST_LAY_H, has_cooling_fan, is_apperance, Slic3r::its_volume(), mesh, normals, Slic3r::orientation::CostItems::overhang, params, Slic3r::orientation::CostItems::radius, Slic3r::orientation::CostItems::volume, z_max, z_max_hull, z_mean, and z_projected.
Referenced by process().
|
inline |
References Slic3r::area(), areas, areas_hull, face_count_hull, face_normals, face_normals_hull, is_apperance, Slic3r::its_face_normals(), mesh, mesh_convex_hull, normals, normals_hull, normals_hull_quantize, normals_quantize, orient_mesh, and quantize_vec3f().
Referenced by AutoOrienter(), and AutoOrienter().
|
inline |
References add_supplements(), area_cumulation_accurate(), areas, areas_cooling, areas_hull, EPSILON, face_normals, face_normals_hull, Slic3r::orientation::CostItems::field_names(), get_features(), normals_hull_quantize, normals_quantize, orientations, params, progressind, project_vertices(), remove_duplicates(), and target_function().
Referenced by Slic3r::orientation::_orient(), Slic3r::orientation::orient(), and Slic3r::orientation::orient().
|
inline |
References MAX3, MEDIAN3, mesh, mesh_convex_hull, z_max, z_max_hull, z_mean, z_median, and z_projected.
Referenced by process().
Referenced by preprocess().
|
inline |
remove duplicate orientations
| tol | tolerance. default 0.01 =sin(0.57\degree) |
References Slic3r::duplicate(), and orientations.
Referenced by process().
|
inline |
References Slic3r::orientation::CostItems::area_laf, Slic3r::orientation::CostItems::area_projected, Slic3r::orientation::CostItems::bottom, Slic3r::orientation::CostItems::bottom_hull, Slic3r::orientation::CostItems::contour, Slic3r::orientation::CostItems::overhang, params, and Slic3r::orientation::CostItems::unprintability.
Referenced by process().
| Eigen::VectorXf Slic3r::orientation::AutoOrienter::areas |
Referenced by find_cooling_direction2(), get_features(), preprocess(), and process().
| Eigen::VectorXf Slic3r::orientation::AutoOrienter::areas_cooling |
Referenced by process().
| Eigen::VectorXf Slic3r::orientation::AutoOrienter::areas_hull |
Referenced by get_features(), preprocess(), and process().
| int Slic3r::orientation::AutoOrienter::face_count_hull |
Referenced by preprocess().
| std::vector<Vec3f> Slic3r::orientation::AutoOrienter::face_normals |
Referenced by preprocess(), and process().
| std::vector<Vec3f> Slic3r::orientation::AutoOrienter::face_normals_hull |
Referenced by preprocess(), and process().
| bool Slic3r::orientation::AutoOrienter::has_cooling_fan = false |
Referenced by AutoOrienter(), and get_features().
| Eigen::VectorXf Slic3r::orientation::AutoOrienter::is_apperance |
Referenced by get_features(), and preprocess().
| TriangleMesh* Slic3r::orientation::AutoOrienter::mesh |
Referenced by AutoOrienter(), AutoOrienter(), find_cooling_direction2(), get_features(), preprocess(), and project_vertices().
| TriangleMesh Slic3r::orientation::AutoOrienter::mesh_convex_hull |
Referenced by preprocess(), and project_vertices().
| Eigen::MatrixXf Slic3r::orientation::AutoOrienter::normals |
Referenced by get_features(), and preprocess().
| Eigen::MatrixXf Slic3r::orientation::AutoOrienter::normals_hull |
Referenced by preprocess().
| Eigen::MatrixXf Slic3r::orientation::AutoOrienter::normals_hull_quantize |
Referenced by preprocess(), and process().
| Eigen::MatrixXf Slic3r::orientation::AutoOrienter::normals_quantize |
Referenced by preprocess(), and process().
| OrientMesh* Slic3r::orientation::AutoOrienter::orient_mesh = NULL |
Referenced by AutoOrienter(), and preprocess().
| std::vector< Vec3f> Slic3r::orientation::AutoOrienter::orientations |
Referenced by add_supplements(), area_cumulation(), area_cumulation_accurate(), process(), and remove_duplicates().
| OrientParams Slic3r::orientation::AutoOrienter::params |
Referenced by AutoOrienter(), get_features(), process(), and target_function().
| std::function<void(unsigned)> Slic3r::orientation::AutoOrienter::progressind = { } |
Referenced by AutoOrienter(), and process().
| Eigen::VectorXf Slic3r::orientation::AutoOrienter::z_max |
Referenced by get_features(), and project_vertices().
| Eigen::VectorXf Slic3r::orientation::AutoOrienter::z_max_hull |
Referenced by get_features(), and project_vertices().
| Eigen::VectorXf Slic3r::orientation::AutoOrienter::z_mean |
Referenced by get_features(), and project_vertices().
| Eigen::VectorXf Slic3r::orientation::AutoOrienter::z_median |
Referenced by project_vertices().
| Eigen::MatrixXf Slic3r::orientation::AutoOrienter::z_projected |
Referenced by get_features(), and project_vertices().