Commit 2afcadc7 authored by Will Schroeder's avatar Will Schroeder

Point cloud integration issues

parent eef22564
Pipeline #27624 passed with stage
......@@ -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