Commit 3b13ad9f authored by Will Schroeder's avatar Will Schroeder Committed by Kitware Robot

Merge topic 'PointCloudIntegrationIssues'

2afcadc7 Point cloud integration issues
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !2001
parents 28d72360 2afcadc7
Pipeline #27681 running with stage
in 0 seconds
......@@ -36,8 +36,8 @@ extract.Update()
timer.StopTimer()
time = timer.GetElapsedTime()
print("Time to remove points: {0}".format(time))
print(" Number removed: {0}".format(extract.GetNumberOfPointsRemoved()),
" (out of: {}".format(NPts))
print(" Number removed: {0}".format(extract.GetNumberOfPointsRemoved()))
print(" Original number of points: {0}".format(NPts))
# First output are the non-outliers
extMapper = vtk.vtkPointGaussianMapper()
......
......@@ -37,8 +37,8 @@ extract.Update()
timer.StopTimer()
time = timer.GetElapsedTime()
print("Time to extract points: {0}".format(time))
print(" Number removed: {0}".format(extract.GetNumberOfPointsRemoved()),
" (out of: {}".format(NPts))
print(" Number removed: {0}".format(extract.GetNumberOfPointsRemoved()))
print(" Original number of points: {0}".format(NPts))
# First output are the non-outliers
extMapper = vtk.vtkPointGaussianMapper()
......
......@@ -39,8 +39,8 @@ removal.Update()
timer.StopTimer()
time = timer.GetElapsedTime()
print("Time to remove points: {0}".format(time))
print(" Number removed: {0}".format(removal.GetNumberOfPointsRemoved()),
" (out of: {}".format(NPts))
print(" Number removed: {0}".format(removal.GetNumberOfPointsRemoved()))
print(" Original number of points: {0}".format(NPts))
# First output are the non-outliers
remMapper = vtk.vtkPointGaussianMapper()
......
......@@ -237,7 +237,7 @@ int vtkVoxelGrid::RequestData(
// Grab the point data for interpolation
vtkPointData *inPD = input->GetPointData();
vtkPointData *outPD = output->GetPointData();
outPD->InterpolateAllocate(inPD,numBins);
outPD->InterpolateAllocate(inPD,numOutPts);
// Finally run over all of the bins, and those that are not emoty are
// processed. The processing consists of averaging all of the points found
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment