Skip to content

Commit

Permalink
replaced progress for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
amock committed Dec 10, 2024
1 parent a502d67 commit 15f586e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions include/lvr2/reconstruction/AdaptiveKSearchSurface.tcc
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,9 @@ void AdaptiveKSearchSurface<BaseVecT>::interpolateSurfaceNormals()

lvr2::logout::get() << lvr2::info << "[AdaptiveKSearchSurface] Interpolating " << numPoints << " Surface Normals using " << normal_interpolation_threads << " threads ..." << lvr2::endl;
// Create monitor output
lvr2::Monitor monitor(lvr2::LogLevel::info, "[AdaptiveKSearchSurface] Interpolating normals", numPoints / normal_interpolation_threads);
// lvr2::Monitor monitor(lvr2::LogLevel::info, "[AdaptiveKSearchSurface] Interpolating normals", numPoints / normal_interpolation_threads);

lvr2::PacmanProgressBar monitor(numPoints / normal_interpolation_threads, "[AdaptiveKSearchSurface] Interpolating Normals");

// Interpolate normals
#pragma omp parallel for schedule(dynamic) num_threads(normal_interpolation_threads) shared(monitor)
Expand All @@ -347,7 +349,8 @@ void AdaptiveKSearchSurface<BaseVecT>::interpolateSurfaceNormals()
++monitor;
}
}
monitor.terminate();
// monitor.terminate();
std::cout << std::endl;

lvr2::logout::get() << lvr2::info << "[AdaptiveKSearchSurface] Copying normals..." << lvr2::endl;
for(size_t i = 0; i < numPoints; i++){
Expand Down

0 comments on commit 15f586e

Please sign in to comment.