|
ReUseX
0.0.1
3D Point Cloud Processing for Building Reuse
|
Solidifier solves room segmentation using Mixed Integer Programming. More...
#include <Solidifier.hpp>
Public Types | |
| using | Fd = CellComplex::Vertex |
| using | Cd = CellComplex::Vertex |
Public Member Functions | |
| Solidifier ()=delete | |
| Solidifier (std::shared_ptr< const CellComplex > cc) | |
| ~Solidifier () | |
| Solidifier (const Solidifier &)=delete | |
| Solidifier & | operator= (const Solidifier &)=delete |
| Solidifier (Solidifier &&)=delete | |
| Solidifier & | operator= (Solidifier &&)=delete |
| std::optional< std::pair< std::unordered_map< Cd, int >, std::unordered_map< Cd, std::set< int > > > > | solve () |
| Solve the MIP problem for room segmentation. | |
| std::pair< Eigen::MatrixXd, Eigen::MatrixXi > | toMesh (std::function< bool(const Cd)> filter) |
| Convert solved cell complex to mesh. | |
Protected Member Functions | |
| std::shared_ptr< const CellComplex > | get_cell_complex () const |
Solidifier solves room segmentation using Mixed Integer Programming.
Uses PIMPL idiom to hide CGAL MIP solver implementation details. This significantly reduces compile times by not exposing CGAL headers.
Definition at line 23 of file Solidifier.hpp.
Definition at line 26 of file Solidifier.hpp.
Definition at line 25 of file Solidifier.hpp.
|
delete |
Referenced by operator=(), operator=(), Solidifier(), and Solidifier().
|
explicit |
| ReUseX::geometry::Solidifier::~Solidifier | ( | ) |
|
delete |
References Solidifier().
|
delete |
References Solidifier().
|
protected |
|
delete |
References Solidifier().
|
delete |
References Solidifier().
| std::optional< std::pair< std::unordered_map< Cd, int >, std::unordered_map< Cd, std::set< int > > > > ReUseX::geometry::Solidifier::solve | ( | ) |
Solve the MIP problem for room segmentation.
| std::pair< Eigen::MatrixXd, Eigen::MatrixXi > ReUseX::geometry::Solidifier::toMesh | ( | std::function< bool(const Cd)> | filter | ) |
Convert solved cell complex to mesh.
| filter | Function to filter which cells to include in mesh |