#include <LargeScaleReconstruction.hpp>
Public Member Functions | |
HalfEdgeMesh< BaseVecT > | getPartialReconstruct (BoundingBox< BaseVecT > newChunksBB, std::shared_ptr< ChunkHashGrid > chunkHashGrid, float voxelSize) |
LargeScaleReconstruction () | |
LargeScaleReconstruction (LSROptions options) | |
LargeScaleReconstruction (vector< float > voxelSizes, float bgVoxelSize, float scale, uint nodeSize, int partMethod, int ki, int kd, int kn, bool useRansac, std::vector< float > flipPoint, bool extrude, int removeDanglingArtifacts, int cleanContours, int fillHoles, bool optimizePlanes, float getNormalThreshold, int planeIterations, int minPlaneSize, int smallRegionThreshold, bool retesselate, float lineFusionThreshold, bool bigMesh, bool debugChunks, bool useGPU) | |
int | mpiAndReconstruct (ScanProjectEditMarkPtr project) |
int | mpiChunkAndReconstruct (ScanProjectEditMarkPtr project, BoundingBox< BaseVecT > &newChunksBB, std::shared_ptr< ChunkHashGrid > chunkManager) |
Private Member Functions | |
void | addTSDFChunkManager (int x, int y, int z, shared_ptr< lvr2::PointsetGrid< BaseVector< float >, lvr2::FastBox< BaseVector< float >>>> ps_grid, shared_ptr< ChunkHashGrid > cm, std::string layerName) |
Private Attributes | |
float | m_bgVoxelSize |
bool | m_bigMesh = true |
float | m_chunkSize |
int | m_cleanContours |
bool | m_debugChunks = false |
bool | m_extrude |
string | m_filePath |
int | m_fillHoles |
std::vector< float > | m_flipPoint |
int | m_kd |
int | m_ki |
int | m_kn |
float | m_lineFusionThreshold |
int | m_minPlaneSize |
uint | m_nodeSize |
bool | m_optimizePlanes |
int | m_partMethod |
int | m_planeIterations |
float | m_planeNormalThreshold |
int | m_removeDanglingArtifacts |
bool | m_retesselate |
float | m_scale |
int | m_smallRegionThreshold |
bool | m_useGPU = false |
bool | m_useRansac |
vector< float > | m_voxelSizes |
Definition at line 134 of file LargeScaleReconstruction.hpp.
lvr2::LargeScaleReconstruction< BaseVecT >::LargeScaleReconstruction | ( | ) |
Constructor - uses default parameter for reconstruction
lvr2::LargeScaleReconstruction< BaseVecT >::LargeScaleReconstruction | ( | vector< float > | voxelSizes, |
float | bgVoxelSize, | ||
float | scale, | ||
uint | nodeSize, | ||
int | partMethod, | ||
int | ki, | ||
int | kd, | ||
int | kn, | ||
bool | useRansac, | ||
std::vector< float > | flipPoint, | ||
bool | extrude, | ||
int | removeDanglingArtifacts, | ||
int | cleanContours, | ||
int | fillHoles, | ||
bool | optimizePlanes, | ||
float | getNormalThreshold, | ||
int | planeIterations, | ||
int | minPlaneSize, | ||
int | smallRegionThreshold, | ||
bool | retesselate, | ||
float | lineFusionThreshold, | ||
bool | bigMesh, | ||
bool | debugChunks, | ||
bool | useGPU | ||
) |
Constructor with parameters
lvr2::LargeScaleReconstruction< BaseVecT >::LargeScaleReconstruction | ( | LSROptions | options | ) |
Constructor with parameters in a struct
|
private |
This method adds the tsdf-values of one chunk to the ChunkManager-Layer
@params x, y, z grid-coordinates for the chunk
ps_grid | HashGrid which contains the tsdf-values for the voxel |
cm | ChunkManager instance which manages the chunks |
layerName | the name of the chunkManager-layer |
HalfEdgeMesh<BaseVecT> lvr2::LargeScaleReconstruction< BaseVecT >::getPartialReconstruct | ( | BoundingBox< BaseVecT > | newChunksBB, |
std::shared_ptr< ChunkHashGrid > | chunkHashGrid, | ||
float | voxelSize | ||
) |
reconstruct a given area (+ neighboring chunks from a chunkmanager) with a given voxelsize
newChunksBB | area to be reconstructed |
chunkHashGrid | chunkmanager to manage chunks |
voxelSize | reconstruction parameter |
int lvr2::LargeScaleReconstruction< BaseVecT >::mpiAndReconstruct | ( | ScanProjectEditMarkPtr | project | ) |
this methods splits the given PointClouds via kd-Tree and calculates all required values for a later reconstruction
project | ScanProject containing Scans |
int lvr2::LargeScaleReconstruction< BaseVecT >::mpiChunkAndReconstruct | ( | ScanProjectEditMarkPtr | project, |
BoundingBox< BaseVecT > & | newChunksBB, | ||
std::shared_ptr< ChunkHashGrid > | chunkManager | ||
) |
this method splits the given PointClouds in to Chunks and calculates all required values for a later reconstruction
project | ScanProject containing Scans |
newChunksBB | sets the Bounding Box of the reconstructed area |
chunkManager | a chunkManager to handle chunks |
BaseVecT |
|
private |
Definition at line 224 of file LargeScaleReconstruction.hpp.
|
private |
Definition at line 209 of file LargeScaleReconstruction.hpp.
|
private |
Definition at line 230 of file LargeScaleReconstruction.hpp.
|
private |
Definition at line 265 of file LargeScaleReconstruction.hpp.
|
private |
Definition at line 212 of file LargeScaleReconstruction.hpp.
|
private |
Definition at line 255 of file LargeScaleReconstruction.hpp.
|
private |
Definition at line 218 of file LargeScaleReconstruction.hpp.
|
private |
Definition at line 268 of file LargeScaleReconstruction.hpp.
|
private |
Definition at line 248 of file LargeScaleReconstruction.hpp.
|
private |
Definition at line 242 of file LargeScaleReconstruction.hpp.
|
private |
Definition at line 239 of file LargeScaleReconstruction.hpp.
|
private |
Definition at line 245 of file LargeScaleReconstruction.hpp.
|
private |
Definition at line 289 of file LargeScaleReconstruction.hpp.
|
private |
Definition at line 280 of file LargeScaleReconstruction.hpp.
|
private |
Definition at line 233 of file LargeScaleReconstruction.hpp.
|
private |
Definition at line 271 of file LargeScaleReconstruction.hpp.
|
private |
Definition at line 236 of file LargeScaleReconstruction.hpp.
|
private |
Definition at line 277 of file LargeScaleReconstruction.hpp.
|
private |
Definition at line 274 of file LargeScaleReconstruction.hpp.
|
private |
Definition at line 262 of file LargeScaleReconstruction.hpp.
|
private |
Definition at line 286 of file LargeScaleReconstruction.hpp.
|
private |
Definition at line 227 of file LargeScaleReconstruction.hpp.
|
private |
Definition at line 283 of file LargeScaleReconstruction.hpp.
|
private |
Definition at line 215 of file LargeScaleReconstruction.hpp.
|
private |
Definition at line 251 of file LargeScaleReconstruction.hpp.
|
private |
Definition at line 221 of file LargeScaleReconstruction.hpp.