Struct LSROptions
Defined in File LargeScaleReconstruction.hpp
Struct Documentation
-
struct LSROptions
Public Functions
-
inline void ensureCorrectness()
Make sure all options are correctly set and consistent with each other.
Public Members
-
fs::path outputDir
Directory to place output in. Defaults to “./<current date>/”.
-
fs::path tempDir
Directory for temporary output. Defaults to <outputDir>/temp/.
-
bool useGPU = false
Use GPU for normal computation.
-
bool useGPUDistances = false
Use GPU for signed distance computation.
-
std::vector<float> voxelSizes = {0.1}
voxelsizes for reconstruction. Only the first one produces most types of output.
-
float bgVoxelSize = 10
chunk size for the BigGrid and VGrid. Has to be a multiple of every voxel size.
-
float scale = 1
scale factor.
-
bool useRansac = false
Set this flag for RANSAC based normal estimation.
-
std::vector<float> flipPoint = {10000000, 10000000, 10000000}
FlipPoint for GPU normal computation.
-
bool extrude = true
Extend the grid. Might avoid additional holes in sparse data sets, but can cause artifacts in dense data sets.
-
bool optimizePlanes = false
Shift all triangle vertices of a cluster onto their shared plane.
-
float planeNormalThreshold = 0.85
(Plane Normal Threshold) Normal threshold for plane optimization.
-
bool retesselate = false
Retesselate regions that are in a regression plane. Implies optimizePlanes.
-
float lineFusionThreshold = 0.01
Threshold for fusing line segments while tesselating.
-
bool mergeChunkBorders = true
Ensure that chunks have consistent borders. Takes longer.
-
bool tiles3dCompress = false
when generating LSROutput::Tiles3d, compress the meshes using Draco
-
AllowedMemoryUsage tiles3dMemUsage = AllowedMemoryUsage::Moderate
-
inline void ensureCorrectness()